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, getPolicies, getProperties, getProperty, getPropertyQueryName, getPropertyValue, getRefreshTimestamp, getRelationships, getRenditions, getRepositoryId, getSecondaryTypes, getSession, getType, initialize, readLock, readUnlock, refresh, refreshIfOld, removeAcl, removePolicy, rename, rename, setAcl, toString, updateProperties, updateProperties, writeLock, writeUnlock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAcl, applyAcl, applyPolicy, delete, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPolicies, getRefreshTimestamp, getRelationships, getRenditions, refresh, refreshIfOld, removeAcl, removePolicy, rename, rename, setAcl, updateProperties, updateProperties
findObjectType, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getSecondaryTypes, getType
public List<Folder> getParents()
FileableCmisObject
getParents
in interface FileableCmisObject
public List<Folder> getParents(OperationContext context)
FileableCmisObject
getParents
in interface FileableCmisObject
context
- the OperationContext
to use to fetch the parent folder
objectspublic List<String> getPaths()
FileableCmisObject
getPaths
in interface FileableCmisObject
public FileableCmisObject move(ObjectId sourceFolderId, ObjectId targetFolderId)
FileableCmisObject
move
in interface FileableCmisObject
sourceFolderId
- the object ID of the source foldertargetFolderId
- the object ID of the target folderpublic FileableCmisObject move(ObjectId sourceFolderId, ObjectId targetFolderId, OperationContext context)
FileableCmisObject
move
in interface FileableCmisObject
sourceFolderId
- 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)
FileableCmisObject
addToFolder
in interface FileableCmisObject
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
folderpublic void removeFromFolder(ObjectId folderId)
FileableCmisObject
removeFromFolder
in interface FileableCmisObject
folderId
- the object ID of the folder from which this object should be
removedCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.