Package org.alfresco.rest.api.cmm
Class CustomModelAspectsRelation
- java.lang.Object
-
- org.alfresco.rest.api.cmm.CustomModelAspectsRelation
-
- All Implemented Interfaces:
RelationshipResourceAction.Create<CustomAspect>,RelationshipResourceAction.Delete,RelationshipResourceAction.Read<CustomAspect>,RelationshipResourceAction.ReadById<CustomAspect>,RelationshipResourceAction.Update<CustomAspect>,ResourceAction,org.springframework.beans.factory.InitializingBean
@RelationshipResource(name="aspects", entityResource=CustomModelEntityResource.class, title="Custom Model Aspects") public class CustomModelAspectsRelation extends java.lang.Object implements RelationshipResourceAction.Read<CustomAspect>, RelationshipResourceAction.ReadById<CustomAspect>, RelationshipResourceAction.Create<CustomAspect>, RelationshipResourceAction.Update<CustomAspect>, RelationshipResourceAction.Delete, org.springframework.beans.factory.InitializingBean
- Author:
- Jamal Kaabi-Mofrad
-
-
Constructor Summary
Constructors Constructor Description CustomModelAspectsRelation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()java.util.List<CustomAspect>create(java.lang.String modelName, java.util.List<CustomAspect> aspects, Parameters parameters)voiddelete(java.lang.String modelName, java.lang.String aspectName, Parameters parameters)CollectionWithPagingInfo<CustomAspect>readAll(java.lang.String modelName, Parameters parameters)Reads set the relationship entities from the collection using the related entityResourceId.CustomAspectreadById(java.lang.String modelName, java.lang.String aspectName, Parameters parameters)voidsetCustomModels(CustomModels customModels)CustomAspectupdate(java.lang.String modelName, CustomAspect aspect, Parameters parameters)
-
-
-
Method Detail
-
setCustomModels
public void setCustomModels(CustomModels customModels)
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
java.lang.Exception
-
readAll
public CollectionWithPagingInfo<CustomAspect> readAll(java.lang.String modelName, Parameters parameters)
Description copied from interface:RelationshipResourceAction.ReadReads set the relationship entities from the collection using the related entityResourceId. Paging information is provided.- Specified by:
readAllin interfaceRelationshipResourceAction.Read<CustomAspect>- Parameters:
modelName- Entity resource context for this relationshipparameters- - will never be null and will have the PAGING default values
-
readById
public CustomAspect readById(java.lang.String modelName, java.lang.String aspectName, Parameters parameters)
- Specified by:
readByIdin interfaceRelationshipResourceAction.ReadById<CustomAspect>
-
delete
public void delete(java.lang.String modelName, java.lang.String aspectName, Parameters parameters)- Specified by:
deletein interfaceRelationshipResourceAction.Delete
-
update
public CustomAspect update(java.lang.String modelName, CustomAspect aspect, Parameters parameters)
- Specified by:
updatein interfaceRelationshipResourceAction.Update<CustomAspect>
-
create
public java.util.List<CustomAspect> create(java.lang.String modelName, java.util.List<CustomAspect> aspects, Parameters parameters)
- Specified by:
createin interfaceRelationshipResourceAction.Create<CustomAspect>
-
-