org.apache.chemistry.opencmis.client.runtime
Class AbstractFilableCmisObject

java.lang.Object
  extended by org.apache.chemistry.opencmis.client.runtime.AbstractCmisObject
      extended by org.apache.chemistry.opencmis.client.runtime.AbstractFilableCmisObject
All Implemented Interfaces:
Serializable, CmisObject, CmisObjectProperties, FileableCmisObject, ObjectId
Direct Known Subclasses:
DocumentImpl, FolderImpl, PolicyImpl

public abstract class AbstractFilableCmisObject
extends AbstractCmisObject
implements FileableCmisObject

Base class for all filable persistent session object impl classes.

See Also:
Serialized Form

Constructor Summary
AbstractFilableCmisObject()
           
 
Method Summary
 void addToFolder(ObjectId folderId, boolean allVersions)
          Adds this object to a folder.
 List<Folder> getParents()
          Returns the parents of this object.
 List<String> getPaths()
          Returns the paths of this object.
 FileableCmisObject move(ObjectId sourceFolderId, ObjectId targetFolderId)
          Moves the object.
 void removeFromFolder(ObjectId folderId)
          Removes this object from a folder.
 
Methods inherited from class org.apache.chemistry.opencmis.client.runtime.AbstractCmisObject
addAcl, applyAcl, applyPolicy, createTransientCmisObject, delete, getAcl, getAcl, getAdapter, getAllowableActions, getBaseType, getBaseTypeId, getBinding, getChangeToken, getCreatedBy, getCreationContext, getCreationDate, getExtensions, getId, getLastModificationDate, getLastModifiedBy, getName, getObjectFactory, getObjectId, getObjectType, getPolicies, getProperties, getProperty, getPropertyQueryName, getPropertyValue, getRefreshTimestamp, getRelationships, getRenditions, getRepositoryId, getSession, getTransientObject, getType, initialize, readLock, readUnlock, refresh, refreshIfOld, removeAcl, removePolicy, updateProperties, updateProperties, writeLock, writeUnlock
 
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, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPolicies, getRefreshTimestamp, getRelationships, getRenditions, getTransientObject, refresh, refreshIfOld, removeAcl, removePolicy, updateProperties, updateProperties
 
Methods inherited from interface org.apache.chemistry.opencmis.client.api.ObjectId
getId
 
Methods inherited from interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties
getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getType
 

Constructor Detail

AbstractFilableCmisObject

public AbstractFilableCmisObject()
Method Detail

getParents

public List<Folder> getParents()
Description copied from interface: FileableCmisObject
Returns the parents of this object.

Specified by:
getParents in interface FileableCmisObject

getPaths

public List<String> getPaths()
Description copied from interface: FileableCmisObject
Returns the paths of this object.

Specified by:
getPaths in interface FileableCmisObject

move

public FileableCmisObject move(ObjectId sourceFolderId,
                               ObjectId targetFolderId)
Description copied from interface: FileableCmisObject
Moves the object.

Specified by:
move in interface FileableCmisObject

addToFolder

public void addToFolder(ObjectId folderId,
                        boolean allVersions)
Description copied from interface: FileableCmisObject
Adds this object to a folder.

Specified by:
addToFolder in interface FileableCmisObject

removeFromFolder

public void removeFromFolder(ObjectId folderId)
Description copied from interface: FileableCmisObject
Removes this object from a folder.

Specified by:
removeFromFolder in interface FileableCmisObject


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.