org.alfresco.repo.nodelocator
Class SitesHomeNodeLocator
java.lang.Object
org.alfresco.repo.nodelocator.AbstractNodeLocator
org.alfresco.repo.nodelocator.SitesHomeNodeLocator
- All Implemented Interfaces:
- NodeLocator
public class SitesHomeNodeLocator
- extends AbstractNodeLocator
Locates the Sites Home NodeRef
.
- Since:
- 4.0
Field Summary |
static java.lang.String |
NAME
|
Method Summary |
java.lang.String |
getName()
|
org.alfresco.service.cmr.repository.NodeRef |
getNode(org.alfresco.service.cmr.repository.NodeRef source,
java.util.Map params)
Finds a NodeRef given a starting NodeRef and a
Map of parameters. |
void |
setSiteService(SiteServiceInternal siteService)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
SitesHomeNodeLocator
public SitesHomeNodeLocator()
getNode
public org.alfresco.service.cmr.repository.NodeRef getNode(org.alfresco.service.cmr.repository.NodeRef source,
java.util.Map params)
- Finds a
NodeRef
given a starting NodeRef
and a
Map
of parameters.
Returns null
if the specified node could not be found.
params
- an arbitrary Map
of parameters.Can be null
.
- Returns:
- the node to be found or
null
.
getName
public java.lang.String getName()
-
- Specified by:
getName
in class AbstractNodeLocator
setSiteService
public void setSiteService(SiteServiceInternal siteService)
- Parameters:
siteService
- the siteService to set
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.