@RelationshipResource(name="networks", entityResource=PeopleEntityResource.class, title="Person Networks") public class PersonNetworksRelation extends java.lang.Object implements RelationshipResourceAction.Read, RelationshipResourceAction.ReadById, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
PersonNetworksRelation() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
CollectionWithPagingInfo |
readAll(java.lang.String personId,
Parameters parameters)
Reads all 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) |
public void setNetworks(Networks networks)
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public CollectionWithPagingInfo readAll(java.lang.String personId, Parameters parameters)
RelationshipResourceAction.Read
readAll
in interface RelationshipResourceAction.Read
personId
- Entity resource context for this relationshipparameters
- - will never be null and will have the PAGING default valuespublic PersonNetwork readById(java.lang.String personId, java.lang.String networkId, Parameters parameters)
readById
in interface RelationshipResourceAction.ReadById
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.