|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.chemistry.opencmis.client.runtime.AbstractCmisObject
org.apache.chemistry.opencmis.client.runtime.AbstractFilableCmisObject
org.apache.chemistry.opencmis.client.runtime.FolderImpl
org.alfresco.cmis.client.impl.AlfrescoFolderImpl
public class AlfrescoFolderImpl
| Field Summary | |
|---|---|
protected AlfrescoAspectsImpl |
aspects
|
| Constructor Summary | |
|---|---|
AlfrescoFolderImpl(org.apache.chemistry.opencmis.client.runtime.SessionImpl session,
org.apache.chemistry.opencmis.client.api.ObjectType objectType,
org.apache.chemistry.opencmis.commons.data.ObjectData objectData,
org.apache.chemistry.opencmis.client.api.OperationContext context)
|
|
| Method Summary | |
|---|---|
org.apache.chemistry.opencmis.client.api.CmisObject |
addAspect(org.apache.chemistry.opencmis.client.api.ObjectType... type)
Adds one or more aspects to the object. |
org.apache.chemistry.opencmis.client.api.CmisObject |
addAspect(org.apache.chemistry.opencmis.client.api.ObjectType[] type,
Map<String,?> properties)
Adds aspects and sets aspect properties. |
org.apache.chemistry.opencmis.client.api.CmisObject |
addAspect(org.apache.chemistry.opencmis.client.api.ObjectType type,
Map<String,?> properties)
Adds an aspect and sets aspect properties. |
org.apache.chemistry.opencmis.client.api.CmisObject |
addAspect(String... id)
Adds one or more aspects to the object. |
org.apache.chemistry.opencmis.client.api.CmisObject |
addAspect(String[] id,
Map<String,?> properties)
Adds aspects and sets aspect properties. |
org.apache.chemistry.opencmis.client.api.CmisObject |
addAspect(String id,
Map<String,?> properties)
Adds an aspect and sets aspect properties. |
protected org.apache.chemistry.opencmis.client.api.TransientCmisObject |
createTransientCmisObject()
|
org.apache.chemistry.opencmis.client.api.ObjectType |
findAspect(String propertyId)
Returns the aspect type that defines the given property. |
Collection<org.apache.chemistry.opencmis.client.api.ObjectType> |
getAspects()
Returns all applied aspects. |
org.apache.chemistry.opencmis.client.api.ObjectType |
getTypeWithAspects()
Returns a type definition with the applied aspects. |
boolean |
hasAspect(org.apache.chemistry.opencmis.client.api.ObjectType type)
Returns if the given aspect is applied to this object. |
boolean |
hasAspect(String id)
Returns if the given aspect is applied to this object. |
protected void |
initialize(org.apache.chemistry.opencmis.client.runtime.SessionImpl session,
org.apache.chemistry.opencmis.client.api.ObjectType objectType,
org.apache.chemistry.opencmis.commons.data.ObjectData objectData,
org.apache.chemistry.opencmis.client.api.OperationContext context)
|
org.apache.chemistry.opencmis.client.api.CmisObject |
removeAspect(org.apache.chemistry.opencmis.client.api.ObjectType... type)
Removes one or more aspects from the object. |
org.apache.chemistry.opencmis.client.api.CmisObject |
removeAspect(String... id)
Removes one or more aspects from the object. |
org.apache.chemistry.opencmis.client.api.ObjectId |
updateProperties(Map<String,?> properties,
boolean refresh)
|
| Methods inherited from class org.apache.chemistry.opencmis.client.runtime.FolderImpl |
|---|
createDocument, createDocument, createDocumentFromSource, createDocumentFromSource, createFolder, createFolder, createItem, createItem, createPolicy, createPolicy, deleteTree, getAllowedChildObjectTypes, getCheckedOutDocs, getCheckedOutDocs, getChildren, getChildren, getDescendants, getDescendants, getFolderParent, getFolderTree, getFolderTree, getParentId, getParents, getPath, getPaths, getTransientFolder, isRootFolder |
| Methods inherited from class org.apache.chemistry.opencmis.client.runtime.AbstractFilableCmisObject |
|---|
addToFolder, getParents, move, move, removeFromFolder |
| Methods inherited from class org.apache.chemistry.opencmis.client.runtime.AbstractCmisObject |
|---|
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, getTransientObject, getType, readLock, readUnlock, refresh, refreshIfOld, removeAcl, removePolicy, setAcl, toString, updateProperties, writeLock, writeUnlock |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.chemistry.opencmis.client.api.Folder |
|---|
createDocument, createDocument, createDocumentFromSource, createDocumentFromSource, createFolder, createFolder, createItem, createItem, createPolicy, createPolicy, deleteTree, getCheckedOutDocs, getCheckedOutDocs, getChildren, getChildren, getDescendants, getDescendants, getFolderParent, getFolderTree, getFolderTree, getPath, getTransientFolder, isRootFolder |
| Methods inherited from interface org.apache.chemistry.opencmis.client.api.FileableCmisObject |
|---|
addToFolder, getParents, getParents, getPaths, move, move, removeFromFolder |
| Methods inherited from interface org.apache.chemistry.opencmis.client.api.CmisObject |
|---|
addAcl, applyAcl, applyPolicy, delete, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPolicies, getRefreshTimestamp, getRelationships, getRenditions, getTransientObject, refresh, refreshIfOld, removeAcl, removePolicy, setAcl, updateProperties |
| Methods inherited from interface org.apache.chemistry.opencmis.client.api.ObjectId |
|---|
getId |
| Methods inherited from interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties |
|---|
findObjectType, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getSecondaryTypes, getType |
| Methods inherited from interface org.apache.chemistry.opencmis.client.api.FolderProperties |
|---|
getAllowedChildObjectTypes, getParentId |
| Field Detail |
|---|
protected AlfrescoAspectsImpl aspects
| Constructor Detail |
|---|
public AlfrescoFolderImpl(org.apache.chemistry.opencmis.client.runtime.SessionImpl session,
org.apache.chemistry.opencmis.client.api.ObjectType objectType,
org.apache.chemistry.opencmis.commons.data.ObjectData objectData,
org.apache.chemistry.opencmis.client.api.OperationContext context)
| Method Detail |
|---|
protected void initialize(org.apache.chemistry.opencmis.client.runtime.SessionImpl session,
org.apache.chemistry.opencmis.client.api.ObjectType objectType,
org.apache.chemistry.opencmis.commons.data.ObjectData objectData,
org.apache.chemistry.opencmis.client.api.OperationContext context)
initialize in class org.apache.chemistry.opencmis.client.runtime.AbstractCmisObjectprotected org.apache.chemistry.opencmis.client.api.TransientCmisObject createTransientCmisObject()
createTransientCmisObject in class org.apache.chemistry.opencmis.client.runtime.FolderImplpublic org.apache.chemistry.opencmis.client.api.ObjectType getTypeWithAspects()
AlfrescoAspects
getTypeWithAspects in interface AlfrescoAspects
public org.apache.chemistry.opencmis.client.api.ObjectId updateProperties(Map<String,?> properties,
boolean refresh)
updateProperties in interface org.apache.chemistry.opencmis.client.api.CmisObjectupdateProperties in class org.apache.chemistry.opencmis.client.runtime.AbstractCmisObjectpublic boolean hasAspect(String id)
AlfrescoAspects
hasAspect in interface AlfrescoAspectsid - the aspect id
true if the aspect is applied, false
otherwisepublic boolean hasAspect(org.apache.chemistry.opencmis.client.api.ObjectType type)
AlfrescoAspects
hasAspect in interface AlfrescoAspectstype - the aspect object type
true if the aspect is applied, false
otherwisepublic Collection<org.apache.chemistry.opencmis.client.api.ObjectType> getAspects()
AlfrescoAspects
getAspects in interface AlfrescoAspectspublic org.apache.chemistry.opencmis.client.api.ObjectType findAspect(String propertyId)
AlfrescoAspects
findAspect in interface AlfrescoAspectspropertyId - the property id
null otherwisepublic org.apache.chemistry.opencmis.client.api.CmisObject addAspect(String... id)
AlfrescoAspects
addAspect in interface AlfrescoAspectsid - the aspect id or ids
public org.apache.chemistry.opencmis.client.api.CmisObject addAspect(org.apache.chemistry.opencmis.client.api.ObjectType... type)
AlfrescoAspects
addAspect in interface AlfrescoAspectstype - the aspect type or types
public org.apache.chemistry.opencmis.client.api.CmisObject addAspect(org.apache.chemistry.opencmis.client.api.ObjectType type,
Map<String,?> properties)
AlfrescoAspects
addAspect in interface AlfrescoAspectstype - the aspect typeproperties - the aspect properties
public org.apache.chemistry.opencmis.client.api.CmisObject addAspect(org.apache.chemistry.opencmis.client.api.ObjectType[] type,
Map<String,?> properties)
AlfrescoAspects
addAspect in interface AlfrescoAspectstype - the aspect typesproperties - the aspect properties
public org.apache.chemistry.opencmis.client.api.CmisObject addAspect(String id,
Map<String,?> properties)
AlfrescoAspects
addAspect in interface AlfrescoAspectsid - the aspect typeproperties - the aspect properties
public org.apache.chemistry.opencmis.client.api.CmisObject addAspect(String[] id,
Map<String,?> properties)
AlfrescoAspects
addAspect in interface AlfrescoAspectsid - the aspect typesproperties - the aspect properties
public org.apache.chemistry.opencmis.client.api.CmisObject removeAspect(String... id)
AlfrescoAspects
removeAspect in interface AlfrescoAspectsid - the aspect id or ids
public org.apache.chemistry.opencmis.client.api.CmisObject removeAspect(org.apache.chemistry.opencmis.client.api.ObjectType... type)
AlfrescoAspects
removeAspect in interface AlfrescoAspects
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||