|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AlfrescoAspects
Alfresco aspects interface.
| Method Summary | |
|---|---|
void |
addAspect(org.apache.chemistry.opencmis.client.api.ObjectType... type)
Adds one or more aspects to the object. |
void |
addAspect(org.apache.chemistry.opencmis.client.api.ObjectType[] type,
Map<String,?> properties)
Adds aspects and sets aspect properties. |
void |
addAspect(org.apache.chemistry.opencmis.client.api.ObjectType type,
Map<String,?> properties)
Adds an aspect and sets aspect properties. |
void |
addAspect(String... id)
Adds one or more aspects to the object. |
void |
addAspect(String[] id,
Map<String,?> properties)
Adds aspects and sets aspect properties. |
void |
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. |
void |
removeAspect(org.apache.chemistry.opencmis.client.api.ObjectType... type)
Removes one or more aspects from the object. |
void |
removeAspect(String... id)
Removes one or more aspects from the object. |
| Method Detail |
|---|
org.apache.chemistry.opencmis.client.api.ObjectType getTypeWithAspects()
boolean hasAspect(String id)
id - the aspect id
true if the aspect is applied, false
otherwiseboolean hasAspect(org.apache.chemistry.opencmis.client.api.ObjectType type)
type - the aspect object type
true 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 id
null otherwisevoid addAspect(String... id)
id - the aspect id or idsvoid addAspect(org.apache.chemistry.opencmis.client.api.ObjectType... type)
type - the aspect type or types
void addAspect(org.apache.chemistry.opencmis.client.api.ObjectType type,
Map<String,?> properties)
type - the aspect typeproperties - the aspect properties
void addAspect(org.apache.chemistry.opencmis.client.api.ObjectType[] type,
Map<String,?> properties)
type - the aspect typesproperties - the aspect properties
void addAspect(String id,
Map<String,?> properties)
id - the aspect typeproperties - the aspect properties
void addAspect(String[] id,
Map<String,?> properties)
id - the aspect typesproperties - the aspect propertiesvoid removeAspect(String... id)
id - the aspect id or idsvoid removeAspect(org.apache.chemistry.opencmis.client.api.ObjectType... type)
id - the aspect type or types
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||