public class RepositoryFolderConfigBean extends RepositoryPathConfigBean
path
to identify a root and then a
folder-name path to identify a folder.Constructor and Description |
---|
RepositoryFolderConfigBean() |
Modifier and Type | Method and Description |
---|---|
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 |
getFolderPathOrNull(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(String folderPath)
Set the folder name path relative to the
path . |
String |
toString() |
getRootPath, getStore, getStoreRef, resolveNodePath, setRootPath, setStore
public String getFolderPath()
public void setFolderPath(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.
org.alfresco.error.AlfrescoRuntimeException
- if path cannot be resolved or found node is not a folderpublic org.alfresco.service.cmr.repository.NodeRef getFolderPathOrNull(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.
Copyright © 2005–2017 Alfresco Software. All rights reserved.