public class UserHomeNodeLocator extends AbstractNodeLocator
NodeLocator
identifies and returns the node representing the current users home folder.Constructor and Description |
---|
UserHomeNodeLocator() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
org.alfresco.service.cmr.repository.NodeRef |
getNode(org.alfresco.service.cmr.repository.NodeRef source,
Map<String,Serializable> params)
|
void |
setRepositoryHelper(Repository repositoryHelper) |
getParameterDefinitions, setNodeLocatorService
public static final String NAME
public org.alfresco.service.cmr.repository.NodeRef getNode(org.alfresco.service.cmr.repository.NodeRef source, Map<String,Serializable> params)
NodeRef
given a starting NodeRef
and a
Map
of parameters.
Returns null
if the specified node could not be found.source
- the starting point for locating a new node. The source node. Can be null
.params
- an arbitrary Map
of parameters.Can be null
.null
.public String getName()
getName
in class AbstractNodeLocator
public void setRepositoryHelper(Repository repositoryHelper)
repositoryHelper
- the repositoryHelper to setCopyright © 2005–2017 Alfresco Software. All rights reserved.