|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.alfresco.cmis.client.impl.AlfrescoAspectsImpl
public class AlfrescoAspectsImpl
| Constructor Summary | |
|---|---|
AlfrescoAspectsImpl(org.apache.chemistry.opencmis.client.api.Session session,
org.apache.chemistry.opencmis.client.api.CmisObject object)
|
|
| 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. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlfrescoAspectsImpl(org.apache.chemistry.opencmis.client.api.Session session,
org.apache.chemistry.opencmis.client.api.CmisObject object)
| Method Detail |
|---|
public org.apache.chemistry.opencmis.client.api.ObjectType getTypeWithAspects()
AlfrescoAspects
getTypeWithAspects in interface AlfrescoAspectspublic 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 | |||||||||