@RelationshipResource(name="site-membership-requests", entityResource=PeopleEntityResource.class, title="Site Membership Requests") public class PersonSiteMembershipRequestsRelation extends Object implements RelationshipResourceAction.Read<SiteMembershipRequest>, RelationshipResourceAction.Delete, RelationshipResourceAction.Update<SiteMembershipRequest>, RelationshipResourceAction.Create<SiteMembershipRequest>, RelationshipResourceAction.ReadById<SiteMembershipRequest>, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
PersonSiteMembershipRequestsRelation() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
List<SiteMembershipRequest> |
create(String personId,
List<SiteMembershipRequest> invites,
Parameters parameters) |
void |
delete(String personId,
String siteId,
Parameters parameters) |
CollectionWithPagingInfo<SiteMembershipRequest> |
readAll(String personId,
Parameters parameters)
Reads all the relationship entities from the collection using the related entityResourceId.
|
SiteMembershipRequest |
readById(String personId,
String siteId,
Parameters parameters) |
void |
setSiteMembershipRequests(SiteMembershipRequests siteMembershipRequests) |
SiteMembershipRequest |
update(String personId,
SiteMembershipRequest siteInvite,
Parameters parameters) |
public PersonSiteMembershipRequestsRelation()
public void setSiteMembershipRequests(SiteMembershipRequests siteMembershipRequests)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public SiteMembershipRequest readById(String personId, String siteId, Parameters parameters) throws RelationshipResourceNotFoundException
readById
in interface RelationshipResourceAction.ReadById<SiteMembershipRequest>
RelationshipResourceNotFoundException
public List<SiteMembershipRequest> create(String personId, List<SiteMembershipRequest> invites, Parameters parameters)
create
in interface RelationshipResourceAction.Create<SiteMembershipRequest>
public void delete(String personId, String siteId, Parameters parameters)
delete
in interface RelationshipResourceAction.Delete
public CollectionWithPagingInfo<SiteMembershipRequest> readAll(String personId, Parameters parameters)
RelationshipResourceAction.Read
readAll
in interface RelationshipResourceAction.Read<SiteMembershipRequest>
personId
- Entity resource context for this relationshipparameters
- - will never be null and will have the PAGING default valuespublic SiteMembershipRequest update(String personId, SiteMembershipRequest siteInvite, Parameters parameters)
update
in interface RelationshipResourceAction.Update<SiteMembershipRequest>
Copyright © 2005–2017 Alfresco Software. All rights reserved.