|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FolderData
| Method Summary | |
|---|---|
void |
addObject(ObjectData object)
Add existed fileable object in this folder. |
ItemsIterator<ObjectData> |
getChildren(String orderBy)
Get children of current folder. |
String |
getPath()
Get absolute path to folder. |
boolean |
hasChildren()
|
boolean |
isAllowedChildType(String typeId)
Check is specified type in list of allowed child object types. |
boolean |
isRoot()
|
void |
removeObject(ObjectData object)
Remove fileable object from current folder. |
| Methods inherited from interface org.xcmis.spi.ObjectData |
|---|
accept, applyPolicy, getACL, getBaseType, getChangeToken, getContentStream, getCreatedBy, getCreationDate, getLastModificationDate, getLastModifiedBy, getName, getObjectId, getParent, getParents, getPolicies, getProperties, getProperties, getProperty, getRelationships, getTypeDefinition, getTypeId, removePolicy, setACL, setProperties, setProperty |
| Method Detail |
|---|
String getPath()
ItemsIterator<ObjectData> getChildren(String orderBy)
orderBy - comma-separated list of query names and the ascending
modifier 'ASC' or the descending modifier 'DESC' for each query
name. This parameter may be ignored if implementation has not
possibility to sort items
ItemsIterator must be returned, never
null.boolean hasChildren()
true if current folder has children and
otherwise
void addObject(ObjectData object)
throws ConstraintException
NotSupportedException should be thrown.
object - the object to be added
ConstraintException - if object has type that is
unsupported by current folder. See
CMIS#ALLOWED_CHILD_OBJECT_TYPE_IDS
NotSupportedException - if multifiling capability is not supportedvoid removeObject(ObjectData object)
NotSupportedException should be thrown.
object - object to be removed from current folder
NotSupportedException - if unfiling capability is not supportedboolean isAllowedChildType(String typeId)
null
property minds there is no any constrains about child type for this folder
and any fileable objects may be created or added (if multifiling
supported) in this folder.
typeId - type to be checked
true if type allowed as child and false
otherwiseboolean isRoot()
true if current folder is root folder and
otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||