Class UserHomeNodeLocator

java.lang.Object
org.alfresco.repo.nodelocator.AbstractNodeLocator
org.alfresco.repo.nodelocator.UserHomeNodeLocator
All Implemented Interfaces:
NodeLocator

public class UserHomeNodeLocator extends AbstractNodeLocator
This NodeLocator identifies and returns the node representing the current users home folder.
Since:
4.0
Author:
Nick Smith
  • Field Details

  • Constructor Details

    • UserHomeNodeLocator

      public UserHomeNodeLocator()
  • Method Details

    • getNode

      public NodeRef getNode(NodeRef source, Map<String,Serializable> params)
      Finds a NodeRef given a starting NodeRef and a Map of parameters. Returns null if the specified node could not be found.
      Parameters:
      source - the starting point for locating a new node. The source node. Can be null.
      params - an arbitrary Map of parameters.Can be null.
      Returns:
      the node to be found or null.
    • getName

      public String getName()
      Specified by:
      getName in class AbstractNodeLocator
    • setRepositoryHelper

      public void setRepositoryHelper(Repository repositoryHelper)
      Parameters:
      repositoryHelper - the repositoryHelper to set