Class NuxeoFolder
- java.lang.Object
-
- org.nuxeo.ecm.core.opencmis.impl.client.NuxeoObject
-
- org.nuxeo.ecm.core.opencmis.impl.client.NuxeoFileableObject
-
- org.nuxeo.ecm.core.opencmis.impl.client.NuxeoFolder
-
- All Implemented Interfaces:
org.apache.chemistry.opencmis.client.api.CmisObject
,org.apache.chemistry.opencmis.client.api.CmisObjectProperties
,org.apache.chemistry.opencmis.client.api.FileableCmisObject
,org.apache.chemistry.opencmis.client.api.Folder
,org.apache.chemistry.opencmis.client.api.FolderProperties
,org.apache.chemistry.opencmis.client.api.ObjectId
public class NuxeoFolder extends NuxeoFileableObject implements org.apache.chemistry.opencmis.client.api.Folder
Live local CMIS Folder, which is backed by a Nuxeo folderish document.
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.core.opencmis.impl.client.NuxeoObject
allTypes, data, nuxeoCmisService, objectFactory, secondaryTypes, service, session, type, UPDATABILITY_READWRITE
-
-
Constructor Summary
Constructors Constructor Description NuxeoFolder(NuxeoSession session, NuxeoObjectData data, org.apache.chemistry.opencmis.client.api.ObjectType type, List<org.apache.chemistry.opencmis.client.api.SecondaryType> secondaryTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.chemistry.opencmis.client.api.Document
createDocument(Map<String,?> properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState)
org.apache.chemistry.opencmis.client.api.Document
createDocument(Map<String,?> properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addAces, List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces, org.apache.chemistry.opencmis.client.api.OperationContext context)
NuxeoDocument
createDocumentFromSource(org.apache.chemistry.opencmis.client.api.ObjectId source, Map<String,?> properties, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState)
NuxeoDocument
createDocumentFromSource(org.apache.chemistry.opencmis.client.api.ObjectId source, Map<String,?> properties, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addACEs, List<org.apache.chemistry.opencmis.commons.data.Ace> removeACEs, org.apache.chemistry.opencmis.client.api.OperationContext context)
org.apache.chemistry.opencmis.client.api.Folder
createFolder(Map<String,?> properties)
org.apache.chemistry.opencmis.client.api.Folder
createFolder(Map<String,?> properties, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addAces, List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces, org.apache.chemistry.opencmis.client.api.OperationContext context)
org.apache.chemistry.opencmis.client.api.Item
createItem(Map<String,?> properties)
org.apache.chemistry.opencmis.client.api.Item
createItem(Map<String,?> properties, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addAces, List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces, org.apache.chemistry.opencmis.client.api.OperationContext context)
org.apache.chemistry.opencmis.client.api.Policy
createPolicy(Map<String,?> properties)
org.apache.chemistry.opencmis.client.api.Policy
createPolicy(Map<String,?> properties, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addAces, List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces, org.apache.chemistry.opencmis.client.api.OperationContext context)
List<String>
deleteTree(boolean allVersions, org.apache.chemistry.opencmis.commons.enums.UnfileObject unfile, boolean continueOnFailure)
List<org.apache.chemistry.opencmis.client.api.ObjectType>
getAllowedChildObjectTypes()
org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.Document>
getCheckedOutDocs()
org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.Document>
getCheckedOutDocs(org.apache.chemistry.opencmis.client.api.OperationContext context)
org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.CmisObject>
getChildren()
org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.CmisObject>
getChildren(org.apache.chemistry.opencmis.client.api.OperationContext context)
List<org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.FileableCmisObject>>
getDescendants(int depth)
List<org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.FileableCmisObject>>
getDescendants(int depth, org.apache.chemistry.opencmis.client.api.OperationContext context)
org.apache.chemistry.opencmis.client.api.Folder
getFolderParent()
List<org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.FileableCmisObject>>
getFolderTree(int depth)
List<org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.FileableCmisObject>>
getFolderTree(int depth, org.apache.chemistry.opencmis.client.api.OperationContext context)
org.apache.chemistry.opencmis.client.api.FolderType
getFolderType()
String
getParentId()
String
getPath()
boolean
isRootFolder()
-
Methods inherited from class org.nuxeo.ecm.core.opencmis.impl.client.NuxeoFileableObject
addToFolder, getParents, getParents, getPaths, move, move, removeFromFolder
-
Methods inherited from class org.nuxeo.ecm.core.opencmis.impl.client.NuxeoObject
addAcl, applyAcl, applyPolicy, applyPolicy, construct, delete, delete, findObjectType, getAcl, getAdapter, getAllowableActions, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getExtensions, getId, getLastModificationDate, getLastModifiedBy, getName, getPermissionsForPrincipal, getPolicies, getPolicyIds, getProperties, getProperty, getPropertyValue, getRefreshTimestamp, getRelationships, getRenditions, getRepositoryId, getSecondaryTypes, getType, hasAllowableAction, refresh, refreshIfOld, removeAcl, removePolicy, removePolicy, rename, rename, setAcl, updateProperties, updateProperties, updateProperties, updateProperties
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.chemistry.opencmis.client.api.CmisObject
addAcl, applyAcl, applyPolicy, applyPolicy, delete, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPermissionsForPrincipal, getPolicies, getPolicyIds, getRefreshTimestamp, getRelationships, getRenditions, hasAllowableAction, refresh, refreshIfOld, removeAcl, removePolicy, removePolicy, rename, rename, setAcl, updateProperties, updateProperties, updateProperties, updateProperties
-
Methods inherited from interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties
findObjectType, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getSecondaryTypes, getType
-
-
-
-
Constructor Detail
-
NuxeoFolder
public NuxeoFolder(NuxeoSession session, NuxeoObjectData data, org.apache.chemistry.opencmis.client.api.ObjectType type, List<org.apache.chemistry.opencmis.client.api.SecondaryType> secondaryTypes)
-
-
Method Detail
-
getFolderType
public org.apache.chemistry.opencmis.client.api.FolderType getFolderType()
- Specified by:
getFolderType
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
createDocument
public org.apache.chemistry.opencmis.client.api.Document createDocument(Map<String,?> properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState)
- Specified by:
createDocument
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
createDocument
public org.apache.chemistry.opencmis.client.api.Document createDocument(Map<String,?> properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addAces, List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces, org.apache.chemistry.opencmis.client.api.OperationContext context)
- Specified by:
createDocument
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
createDocumentFromSource
public NuxeoDocument createDocumentFromSource(org.apache.chemistry.opencmis.client.api.ObjectId source, Map<String,?> properties, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState)
- Specified by:
createDocumentFromSource
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
createDocumentFromSource
public NuxeoDocument createDocumentFromSource(org.apache.chemistry.opencmis.client.api.ObjectId source, Map<String,?> properties, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addACEs, List<org.apache.chemistry.opencmis.commons.data.Ace> removeACEs, org.apache.chemistry.opencmis.client.api.OperationContext context)
- Specified by:
createDocumentFromSource
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
createFolder
public org.apache.chemistry.opencmis.client.api.Folder createFolder(Map<String,?> properties)
- Specified by:
createFolder
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
createFolder
public org.apache.chemistry.opencmis.client.api.Folder createFolder(Map<String,?> properties, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addAces, List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces, org.apache.chemistry.opencmis.client.api.OperationContext context)
- Specified by:
createFolder
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
createPolicy
public org.apache.chemistry.opencmis.client.api.Policy createPolicy(Map<String,?> properties)
- Specified by:
createPolicy
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
createPolicy
public org.apache.chemistry.opencmis.client.api.Policy createPolicy(Map<String,?> properties, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addAces, List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces, org.apache.chemistry.opencmis.client.api.OperationContext context)
- Specified by:
createPolicy
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
createItem
public org.apache.chemistry.opencmis.client.api.Item createItem(Map<String,?> properties)
- Specified by:
createItem
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
createItem
public org.apache.chemistry.opencmis.client.api.Item createItem(Map<String,?> properties, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addAces, List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces, org.apache.chemistry.opencmis.client.api.OperationContext context)
- Specified by:
createItem
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
deleteTree
public List<String> deleteTree(boolean allVersions, org.apache.chemistry.opencmis.commons.enums.UnfileObject unfile, boolean continueOnFailure)
- Specified by:
deleteTree
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
getAllowedChildObjectTypes
public List<org.apache.chemistry.opencmis.client.api.ObjectType> getAllowedChildObjectTypes()
- Specified by:
getAllowedChildObjectTypes
in interfaceorg.apache.chemistry.opencmis.client.api.FolderProperties
-
getCheckedOutDocs
public org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.Document> getCheckedOutDocs()
- Specified by:
getCheckedOutDocs
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
getCheckedOutDocs
public org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.Document> getCheckedOutDocs(org.apache.chemistry.opencmis.client.api.OperationContext context)
- Specified by:
getCheckedOutDocs
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
getChildren
public org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.CmisObject> getChildren()
- Specified by:
getChildren
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
getChildren
public org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.CmisObject> getChildren(org.apache.chemistry.opencmis.client.api.OperationContext context)
- Specified by:
getChildren
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
getDescendants
public List<org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.FileableCmisObject>> getDescendants(int depth)
- Specified by:
getDescendants
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
getDescendants
public List<org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.FileableCmisObject>> getDescendants(int depth, org.apache.chemistry.opencmis.client.api.OperationContext context)
- Specified by:
getDescendants
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
getFolderParent
public org.apache.chemistry.opencmis.client.api.Folder getFolderParent()
- Specified by:
getFolderParent
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
getParentId
public String getParentId()
- Specified by:
getParentId
in interfaceorg.apache.chemistry.opencmis.client.api.FolderProperties
-
getFolderTree
public List<org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.FileableCmisObject>> getFolderTree(int depth)
- Specified by:
getFolderTree
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
getFolderTree
public List<org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.FileableCmisObject>> getFolderTree(int depth, org.apache.chemistry.opencmis.client.api.OperationContext context)
- Specified by:
getFolderTree
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
getPath
public String getPath()
- Specified by:
getPath
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
isRootFolder
public boolean isRootFolder()
- Specified by:
isRootFolder
in interfaceorg.apache.chemistry.opencmis.client.api.Folder
-
-