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 java.lang.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 void
afterPropertiesSet()
CollectionWithPagingInfo<PersonNetwork>
readAll(java.lang.String personId, Parameters parameters)
Reads set the relationship entities from the collection using the related entityResourceId.PersonNetwork
readById(java.lang.String personId, java.lang.String networkId, Parameters parameters)
void
setNetworks(Networks networks)
-
-
-
Method Detail
-
setNetworks
public void setNetworks(Networks networks)
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
readAll
public CollectionWithPagingInfo<PersonNetwork> readAll(java.lang.String personId, Parameters parameters)
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
public PersonNetwork readById(java.lang.String personId, java.lang.String networkId, Parameters parameters)
- Specified by:
readById
in interfaceRelationshipResourceAction.ReadById<PersonNetwork>
-
-