@RelationshipResource(name="activities", entityResource=PeopleEntityResource.class, title="Person Activities") public class PersonActivitiesRelation extends Object implements RelationshipResourceAction.Read<Activity>, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
PersonActivitiesRelation() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
CollectionWithPagingInfo<Activity> |
readAll(String personId,
Parameters parameters)
Reads all the relationship entities from the collection using the related entityResourceId.
|
void |
setActivities(Activities activities) |
public void setActivities(Activities activities)
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public CollectionWithPagingInfo<Activity> readAll(String personId, Parameters parameters)
RelationshipResourceAction.Read
readAll
in interface RelationshipResourceAction.Read<Activity>
personId
- Entity resource context for this relationshipparameters
- - will never be null and will have the PAGING default valuesCopyright © 2005–2017 Alfresco Software. All rights reserved.