Package org.alfresco.util.config
Class RepositoryPathConfigBean
java.lang.Object
org.alfresco.util.config.RepositoryPathConfigBean
- Direct Known Subclasses:
RepositoryFolderConfigBean
Composite property bean to identify a repository path.
- Since:
- 3.2
- Author:
- Derek Hulley
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the path within the storegetStore()Gets the Alfresco store referenceresolveNodePath(NamespaceService namespaceService, NodeService nodeService, SearchService searchService) Helper method to resolve the path represented by this configuration bean.voidsetRootPath(String path) Sets the path within the store.voidSets the Alfresco store name.
-
Constructor Details
-
RepositoryPathConfigBean
public RepositoryPathConfigBean()
-
-
Method Details
-
getStoreRef
Gets the Alfresco store reference- Returns:
- the Alfresco store reference
-
getStore
- Returns:
- Returns the string representation of the store reference
-
setStore
Sets the Alfresco store name.- Parameters:
storeRef- the Alfresco store name
-
getRootPath
Gets the path within the store -
setRootPath
Sets the path within the store. This must start with / at least.- Parameters:
path- the path within the store
-
resolveNodePath
public NodeRef resolveNodePath(NamespaceService namespaceService, NodeService nodeService, SearchService searchService) Helper method to resolve the path represented by this configuration bean.Authentication and transactions are the client's responsibility.
- Returns:
- Returns the node reference (first one found) or null
-