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, delete, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPolicies, getRefreshTimestamp, getRelationships, getRenditions, getTransientObject, refresh, refreshIfOld, removeAcl, removePolicy, setAcl, 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-2013 The Apache Software Foundation. All Rights Reserved.