Class NuxeoFileableObject
- java.lang.Object
-
- org.nuxeo.ecm.core.opencmis.impl.client.NuxeoObject
-
- org.nuxeo.ecm.core.opencmis.impl.client.NuxeoFileableObject
-
- 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.ObjectId
- Direct Known Subclasses:
NuxeoDocument
,NuxeoFolder
public abstract class NuxeoFileableObject extends NuxeoObject implements org.apache.chemistry.opencmis.client.api.FileableCmisObject
Base abstract fileable live local CMIS Object.
-
-
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 NuxeoFileableObject(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 void
addToFolder(org.apache.chemistry.opencmis.client.api.ObjectId folderId, boolean allVersions)
List<org.apache.chemistry.opencmis.client.api.Folder>
getParents()
List<org.apache.chemistry.opencmis.client.api.Folder>
getParents(org.apache.chemistry.opencmis.client.api.OperationContext context)
List<String>
getPaths()
NuxeoFileableObject
move(org.apache.chemistry.opencmis.client.api.ObjectId sourceFolder, org.apache.chemistry.opencmis.client.api.ObjectId targetFolder)
NuxeoFileableObject
move(org.apache.chemistry.opencmis.client.api.ObjectId sourceFolder, org.apache.chemistry.opencmis.client.api.ObjectId targetFolder, org.apache.chemistry.opencmis.client.api.OperationContext context)
void
removeFromFolder(org.apache.chemistry.opencmis.client.api.ObjectId folderId)
-
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
-
NuxeoFileableObject
public NuxeoFileableObject(NuxeoSession session, NuxeoObjectData data, org.apache.chemistry.opencmis.client.api.ObjectType type, List<org.apache.chemistry.opencmis.client.api.SecondaryType> secondaryTypes)
-
-
Method Detail
-
getParents
public List<org.apache.chemistry.opencmis.client.api.Folder> getParents(org.apache.chemistry.opencmis.client.api.OperationContext context)
- Specified by:
getParents
in interfaceorg.apache.chemistry.opencmis.client.api.FileableCmisObject
-
getParents
public List<org.apache.chemistry.opencmis.client.api.Folder> getParents()
- Specified by:
getParents
in interfaceorg.apache.chemistry.opencmis.client.api.FileableCmisObject
-
getPaths
public List<String> getPaths()
- Specified by:
getPaths
in interfaceorg.apache.chemistry.opencmis.client.api.FileableCmisObject
-
addToFolder
public void addToFolder(org.apache.chemistry.opencmis.client.api.ObjectId folderId, boolean allVersions)
- Specified by:
addToFolder
in interfaceorg.apache.chemistry.opencmis.client.api.FileableCmisObject
-
removeFromFolder
public void removeFromFolder(org.apache.chemistry.opencmis.client.api.ObjectId folderId)
- Specified by:
removeFromFolder
in interfaceorg.apache.chemistry.opencmis.client.api.FileableCmisObject
-
move
public NuxeoFileableObject move(org.apache.chemistry.opencmis.client.api.ObjectId sourceFolder, org.apache.chemistry.opencmis.client.api.ObjectId targetFolder, org.apache.chemistry.opencmis.client.api.OperationContext context)
- Specified by:
move
in interfaceorg.apache.chemistry.opencmis.client.api.FileableCmisObject
-
move
public NuxeoFileableObject move(org.apache.chemistry.opencmis.client.api.ObjectId sourceFolder, org.apache.chemistry.opencmis.client.api.ObjectId targetFolder)
- Specified by:
move
in interfaceorg.apache.chemistry.opencmis.client.api.FileableCmisObject
-
-