|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.service.cmr.model.FileFolderUtil
public class FileFolderUtil
Higher level utility methods to be used in conjunction with the FileFolderService.
Constructor Summary | |
---|---|
FileFolderUtil()
|
Method Summary | |
---|---|
static FileInfo |
makeFolders(FileFolderService service,
org.alfresco.service.cmr.repository.NodeRef parentNodeRef,
java.util.List pathElements,
org.alfresco.service.namespace.QName folderTypeQName)
Checks for the presence of, and creates as necessary, the folder structure in the provided path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileFolderUtil()
Method Detail |
---|
public static FileInfo makeFolders(FileFolderService service, org.alfresco.service.cmr.repository.NodeRef parentNodeRef, java.util.List pathElements, org.alfresco.service.namespace.QName folderTypeQName)
An empty path list is not allowed as it would be impossible to necessarily return file info for the parent node - it might not be a folder node.
parentNodeRef
- the node under which the path will be createdpathElements
- the folder name path to create - may not be emptyfolderTypeQName
- the types of nodes to create. This must be a valid subtype of
they folder
type
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |