|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.util.config.RepositoryPathConfigBean
org.alfresco.util.config.RepositoryFolderConfigBean
public class RepositoryFolderConfigBean
Composite property bean to identify a folder in the repository. This uses the
path
to identify a root and then a
folder-name path
to identify a folder.
Constructor Summary | |
---|---|
RepositoryFolderConfigBean()
|
Method Summary | |
---|---|
java.util.List |
getFolderNames()
Get the folder name path |
java.lang.String |
getFolderPath()
|
org.alfresco.service.cmr.repository.NodeRef |
getFolderPath(org.alfresco.service.namespace.NamespaceService namespaceService,
org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.search.SearchService searchService,
FileFolderService fileFolderService)
Helper method to find the folder path referenced by this bean. |
org.alfresco.service.cmr.repository.NodeRef |
getOrCreateFolderPath(org.alfresco.service.namespace.NamespaceService namespaceService,
org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.search.SearchService searchService,
FileFolderService fileFolderService)
Helper method to find or create the folder path referenced by this bean. |
void |
setFolderPath(java.lang.String folderPath)
Set the folder name path relative to the path . |
java.lang.String |
toString()
|
Methods inherited from class org.alfresco.util.config.RepositoryPathConfigBean |
---|
getRootPath, getStore, getStoreRef, resolveNodePath, setRootPath, setStore |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RepositoryFolderConfigBean()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List getFolderNames()
public java.lang.String getFolderPath()
public void setFolderPath(java.lang.String folderPath)
path
.
folderPath
- a folder-name path using the '/' path separator e.g. 'IMAP HOME/MAIL-1'public org.alfresco.service.cmr.repository.NodeRef getFolderPath(org.alfresco.service.namespace.NamespaceService namespaceService, org.alfresco.service.cmr.repository.NodeService nodeService, org.alfresco.service.cmr.search.SearchService searchService, FileFolderService fileFolderService)
path
to the start of the folder path
must exist.
Authentication and transactions are the client's responsibility.
public org.alfresco.service.cmr.repository.NodeRef getOrCreateFolderPath(org.alfresco.service.namespace.NamespaceService namespaceService, org.alfresco.service.cmr.repository.NodeService nodeService, org.alfresco.service.cmr.search.SearchService searchService, FileFolderService fileFolderService)
path
to the start of the folder path
must exist. The folder path will be created, if required.
Authentication and transactions are the client's responsibility.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |