@RelationshipResource(name="members", entityResource=GroupsEntityResource.class, title="Group Members") public class GroupMembersRelation extends Object implements RelationshipResourceAction.Read<GroupMember>, RelationshipResourceAction.Create<GroupMember>, RelationshipResourceAction.Delete, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
GroupMembersRelation() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
List<GroupMember> |
create(String groupId,
List<GroupMember> entity,
Parameters params) |
void |
delete(String entityResourceId,
String id,
Parameters parameters) |
CollectionWithPagingInfo<GroupMember> |
readAll(String groupId,
Parameters params)
Reads set the relationship entities from the collection using the related entityResourceId.
|
void |
setGroups(Groups groups) |
public void setGroups(Groups groups)
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic CollectionWithPagingInfo<GroupMember> readAll(String groupId, Parameters params)
RelationshipResourceAction.ReadreadAll in interface RelationshipResourceAction.Read<GroupMember>groupId - Entity resource context for this relationshipparams - - will never be null and will have the PAGING default valuespublic List<GroupMember> create(String groupId, List<GroupMember> entity, Parameters params)
create in interface RelationshipResourceAction.Create<GroupMember>public void delete(String entityResourceId, String id, Parameters parameters)
delete in interface RelationshipResourceAction.DeleteCopyright © 2005–2018 Alfresco Software. All rights reserved.