Package 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 HomeNodeRef.- Since:
- 4.0
- Author:
- Nick Smith
-
-
Constructor Summary
Constructors Constructor Description SitesHomeNodeLocator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()NodeRefgetNode(NodeRef source, Map<String,Serializable> params)voidsetSiteService(SiteServiceInternal siteService)-
Methods inherited from class org.alfresco.repo.nodelocator.AbstractNodeLocator
getParameterDefinitions, setNodeLocatorService
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNode
public NodeRef getNode(NodeRef source, Map<String,Serializable> params)
Finds aNodeRefgiven a startingNodeRefand aMapof parameters. Returnsnullif the specified node could not be found.- Parameters:
source- the starting point for locating a new node. The source node. Can benull.params- an arbitraryMapof parameters.Can benull.- Returns:
- the node to be found or
null.
-
getName
public String getName()
- Specified by:
getNamein classAbstractNodeLocator
-
setSiteService
public void setSiteService(SiteServiceInternal siteService)
- Parameters:
siteService- the siteService to set
-
-