public interface FileableCmisObject extends CmisObject
Modifier and Type | Method and Description |
---|---|
void |
addToFolder(ObjectId folderId,
boolean allVersions)
Adds this object to a folder.
|
List<Folder> |
getParents()
Returns the parents of this object.
|
List<Folder> |
getParents(OperationContext context)
Returns the parents of this object.
|
List<String> |
getPaths()
Returns the paths of this object.
|
FileableCmisObject |
move(ObjectId sourceFolderId,
ObjectId targetFolderId)
Moves this object.
|
FileableCmisObject |
move(ObjectId sourceFolderId,
ObjectId targetFolderId,
OperationContext context)
Moves this object.
|
void |
removeFromFolder(ObjectId folderId)
Removes this object from a folder.
|
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
findObjectType, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getSecondaryTypes, getType
FileableCmisObject move(ObjectId sourceFolderId, ObjectId targetFolderId)
sourceFolderId
- the object ID of the source foldertargetFolderId
- the object ID of the target folderFileableCmisObject move(ObjectId sourceFolderId, ObjectId targetFolderId, OperationContext context)
sourceFolderId
- the object ID of the source foldertargetFolderId
- the object ID of the target foldercontext
- the OperationContext
to use to fetch the moved objectList<Folder> getParents()
List<Folder> getParents(OperationContext context)
context
- the OperationContext
to use to fetch the parent folder
objectsList<String> getPaths()
void addToFolder(ObjectId folderId, boolean allVersions)
folderId
- the object ID of the folder to which this object should be
addedallVersions
- if this parameter is true
and this object is a
document, all versions of the version series are added to the
foldervoid removeFromFolder(ObjectId folderId)
folderId
- the object ID of the folder from which this object should be
removedCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.