public interface AlfrescoAspects
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
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.ObjectType getTypeWithAspects()
boolean hasAspect(String id)
id - the aspect idtrue if the aspect is applied, false
otherwiseboolean hasAspect(org.apache.chemistry.opencmis.client.api.ObjectType type)
type - the aspect object typetrue if the aspect is applied, false
otherwiseCollection<org.apache.chemistry.opencmis.client.api.ObjectType> getAspects()
org.apache.chemistry.opencmis.client.api.ObjectType findAspect(String propertyId)
propertyId - the property idnull otherwiseorg.apache.chemistry.opencmis.client.api.CmisObject addAspect(String... id)
id - the aspect id or idsorg.apache.chemistry.opencmis.client.api.CmisObject addAspect(org.apache.chemistry.opencmis.client.api.ObjectType... type)
type - the aspect type or typesorg.apache.chemistry.opencmis.client.api.CmisObject addAspect(org.apache.chemistry.opencmis.client.api.ObjectType type,
Map<String,?> properties)
type - the aspect typeproperties - the aspect propertiesorg.apache.chemistry.opencmis.client.api.CmisObject addAspect(org.apache.chemistry.opencmis.client.api.ObjectType[] type,
Map<String,?> properties)
type - the aspect typesproperties - the aspect propertiesorg.apache.chemistry.opencmis.client.api.CmisObject addAspect(String id, Map<String,?> properties)
id - the aspect typeproperties - the aspect propertiesorg.apache.chemistry.opencmis.client.api.CmisObject addAspect(String[] id, Map<String,?> properties)
id - the aspect typesproperties - the aspect propertiesorg.apache.chemistry.opencmis.client.api.CmisObject removeAspect(String... id)
id - the aspect id or idsorg.apache.chemistry.opencmis.client.api.CmisObject removeAspect(org.apache.chemistry.opencmis.client.api.ObjectType... type)
id - the aspect type or typesCopyright © 2011–2014 Alfresco. All rights reserved.