Package org.alfresco.rest.api.people
Class PersonNetworksRelation
- java.lang.Object
-
- org.alfresco.rest.api.people.PersonNetworksRelation
-
- All Implemented Interfaces:
RelationshipResourceAction.Read<PersonNetwork>,RelationshipResourceAction.ReadById<PersonNetwork>,ResourceAction,org.springframework.beans.factory.InitializingBean
@RelationshipResource(name="networks", entityResource=PeopleEntityResource.class, title="Person Networks") public class PersonNetworksRelation extends Object implements RelationshipResourceAction.Read<PersonNetwork>, RelationshipResourceAction.ReadById<PersonNetwork>, org.springframework.beans.factory.InitializingBean
- Author:
- steveglover
-
-
Constructor Summary
Constructors Constructor Description PersonNetworksRelation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()CollectionWithPagingInfo<PersonNetwork>readAll(String personId, Parameters parameters)Reads set the relationship entities from the collection using the related entityResourceId.PersonNetworkreadById(String personId, String networkId, Parameters parameters)voidsetNetworks(Networks networks)
-
-
-
Method Detail
-
setNetworks
public void setNetworks(Networks networks)
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
readAll
public CollectionWithPagingInfo<PersonNetwork> readAll(String personId, 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<PersonNetwork>- Parameters:
personId- Entity resource context for this relationshipparameters- - will never be null and will have the PAGING default values
-
readById
public PersonNetwork readById(String personId, String networkId, Parameters parameters)
- Specified by:
readByIdin interfaceRelationshipResourceAction.ReadById<PersonNetwork>
-
-