public abstract class AbstractFilableCmisObject extends AbstractCmisObject implements FileableCmisObject
| Constructor and Description |
|---|
AbstractFilableCmisObject() |
| 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, findObjectType, getAcl, getAcl, getAdapter, getAllowableActions, getBaseType, getBaseTypeId, getBinding, getChangeToken, getCreatedBy, getCreationContext, getCreationDate, getDescription, getExtensions, getId, getLastModificationDate, getLastModifiedBy, getName, getObjectFactory, getObjectId, getObjectType, getPermissionsForPrincipal, getPermissonsForPrincipal, getPolicies, getProperties, getProperty, getPropertyQueryName, getPropertyValue, getRefreshTimestamp, getRelationships, getRenditions, getRepositoryId, getSecondaryTypes, getSession, getType, hasAllowableAction, initialize, readLock, readUnlock, refresh, refreshIfOld, removeAcl, removePolicy, rename, rename, setAcl, toString, updateProperties, updateProperties, writeLock, writeUnlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAcl, applyAcl, applyPolicy, delete, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPermissionsForPrincipal, getPermissonsForPrincipal, getPolicies, getRefreshTimestamp, getRelationships, getRenditions, hasAllowableAction, refresh, refreshIfOld, removeAcl, removePolicy, rename, rename, setAcl, updateProperties, updatePropertiesfindObjectType, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getSecondaryTypes, getTypepublic List<Folder> getParents()
FileableCmisObjectgetParents in interface FileableCmisObjectpublic List<Folder> getParents(OperationContext context)
FileableCmisObjectgetParents in interface FileableCmisObjectcontext - the OperationContext to use to fetch the parent folder
objectspublic List<String> getPaths()
FileableCmisObjectgetPaths in interface FileableCmisObjectpublic FileableCmisObject move(ObjectId sourceFolderId, ObjectId targetFolderId)
FileableCmisObjectmove in interface FileableCmisObjectsourceFolderId - the object ID of the source foldertargetFolderId - the object ID of the target folderpublic FileableCmisObject move(ObjectId sourceFolderId, ObjectId targetFolderId, OperationContext context)
FileableCmisObjectmove in interface FileableCmisObjectsourceFolderId - the object ID of the source foldertargetFolderId - the object ID of the target foldercontext - the OperationContext to use to fetch the moved objectpublic void addToFolder(ObjectId folderId, boolean allVersions)
FileableCmisObjectaddToFolder in interface FileableCmisObjectfolderId - 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
folderpublic void removeFromFolder(ObjectId folderId)
FileableCmisObjectremoveFromFolder in interface FileableCmisObjectfolderId - the object ID of the folder from which this object should be
removedCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.