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 TypeMethodDescriptionvoid
readAll
(String personId, Parameters parameters) Reads set the relationship entities from the collection using the related entityResourceId.readById
(String personId, String networkId, Parameters parameters) void
setNetworks
(Networks networks)
-
Constructor Details
-
PersonNetworksRelation
public PersonNetworksRelation()
-
-
Method Details
-
setNetworks
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
readAll
Description copied from interface:RelationshipResourceAction.Read
Reads set the relationship entities from the collection using the related entityResourceId. Paging information is provided.- Specified by:
readAll
in 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:
readById
in interfaceRelationshipResourceAction.ReadById<PersonNetwork>
-