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 -
Method Summary
Modifier and TypeMethodDescriptionvoidreadAll(String personId, Parameters parameters) Reads set the relationship entities from the collection using the related entityResourceId.readById(String personId, String networkId, Parameters parameters) voidsetNetworks(Networks networks)
-
Constructor Details
-
PersonNetworksRelation
public PersonNetworksRelation()
-
-
Method Details
-
setNetworks
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
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<PersonNetwork>- Parameters:
personId- Entity resource context for this relationshipparameters- - will never be null and will have the PAGING default values
-
readById
- Specified by:
readByIdin interfaceRelationshipResourceAction.ReadById<PersonNetwork>
-