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 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(String modelName, List<CustomAspect> aspects, Parameters parameters) voiddelete(String modelName, String aspectName, Parameters parameters) readAll(String modelName, Parameters parameters) Reads set the relationship entities from the collection using the related entityResourceId.readById(String modelName, String aspectName, Parameters parameters) voidsetCustomModels(CustomModels customModels) update(String modelName, CustomAspect aspect, Parameters parameters)
-
Constructor Details
-
CustomModelAspectsRelation
public CustomModelAspectsRelation()
-
-
Method Details
-
setCustomModels
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
readAll
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
- Specified by:
readByIdin interfaceRelationshipResourceAction.ReadById<CustomAspect>
-
delete
- Specified by:
deletein interfaceRelationshipResourceAction.Delete
-
update
- Specified by:
updatein interfaceRelationshipResourceAction.Update<CustomAspect>
-
create
public List<CustomAspect> create(String modelName, List<CustomAspect> aspects, Parameters parameters) - Specified by:
createin interfaceRelationshipResourceAction.Create<CustomAspect>
-