org.alfresco.repo.nodelocator
Class AbstractNodeLocator

java.lang.Object
  extended by org.alfresco.repo.nodelocator.AbstractNodeLocator
All Implemented Interfaces:
NodeLocator
Direct Known Subclasses:
AncestorNodeLocator, CompanyHomeNodeLocator, DocLibNodeLocator, SelfNodeLocator, SitesHomeNodeLocator, UserHomeNodeLocator, XPathNodeLocator

public abstract class AbstractNodeLocator
extends java.lang.Object
implements NodeLocator

Base class for all NodeLocator implementations.

Extending this class with automatically register the node locator with the NodeLocatorService.

Since:
4.0

Constructor Summary
AbstractNodeLocator()
           
 
Method Summary
abstract  java.lang.String getName()
           
 java.util.List getParameterDefinitions()
          A list containing the parmameter defintions for this NodeLocator.
 void setNodeLocatorService(NodeLocatorService nodeLocatorService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.alfresco.repo.nodelocator.NodeLocator
getNode
 

Constructor Detail

AbstractNodeLocator

public AbstractNodeLocator()
Method Detail

setNodeLocatorService

public void setNodeLocatorService(NodeLocatorService nodeLocatorService)

getParameterDefinitions

public java.util.List getParameterDefinitions()
A list containing the parmameter defintions for this NodeLocator.

Specified by:
getParameterDefinitions in interface NodeLocator
Returns:
a list of parameter definitions

getName

public abstract java.lang.String getName()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.