org.apache.chemistry.opencmis.client.api
Interface FileableCmisObject

All Superinterfaces:
CmisObject, CmisObjectProperties, ObjectId
All Known Subinterfaces:
Document, Folder, Policy

public interface FileableCmisObject
extends CmisObject

Fileable CMIS object.


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 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
 

Method Detail

move

FileableCmisObject move(ObjectId sourceFolderId,
                        ObjectId targetFolderId)
Moves the object.


getParents

List<Folder> getParents()
Returns the parents of this object.


getPaths

List<String> getPaths()
Returns the paths of this object.


addToFolder

void addToFolder(ObjectId folderId,
                 boolean allVersions)
Adds this object to a folder.


removeFromFolder

void removeFromFolder(ObjectId folderId)
Removes this object from a folder.



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