@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
Constructor and Description |
---|
PersonNetworksRelation() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
CollectionWithPagingInfo<PersonNetwork> |
readAll(String personId,
Parameters parameters)
Reads all the relationship entities from the collection using the related entityResourceId.
|
PersonNetwork |
readById(String personId,
String networkId,
Parameters parameters) |
void |
setNetworks(Networks networks) |
public void setNetworks(Networks networks)
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public CollectionWithPagingInfo<PersonNetwork> readAll(String personId, Parameters parameters)
RelationshipResourceAction.Read
readAll
in interface RelationshipResourceAction.Read<PersonNetwork>
personId
- Entity resource context for this relationshipparameters
- - will never be null and will have the PAGING default valuespublic PersonNetwork readById(String personId, String networkId, Parameters parameters)
readById
in interface RelationshipResourceAction.ReadById<PersonNetwork>
Copyright © 2005–2017 Alfresco Software. All rights reserved.