public static interface PersonInvitationSDK.PersonInvitationClient
PersonInvitation resource APIs.| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> |
accept(String inviteId,
String createdPersonId)
Accept a person invitation with invite id.
|
com.google.common.util.concurrent.CheckedFuture<PersonInvitation,com.covisint.core.http.service.core.ServiceException> |
add(PersonInvitation invite)
Add a new person invitation.
|
com.google.common.util.concurrent.CheckedFuture<PersonInvitation,com.covisint.core.http.service.core.ServiceException> |
delete(String inviteId)
Delete a person invitation.
|
com.google.common.util.concurrent.CheckedFuture<PersonInvitation,com.covisint.core.http.service.core.ServiceException> |
get(String inviteId)
Get a person invitation by id.
|
com.google.common.util.concurrent.CheckedFuture<List<PersonInvitation>,com.covisint.core.http.service.core.ServiceException> |
search(List<String> inviteeIds,
List<String> invitorIds,
com.covisint.core.http.service.core.Page page)
Search for person invitations based on the given criteria.
|
@Nonnull com.google.common.util.concurrent.CheckedFuture<PersonInvitation,com.covisint.core.http.service.core.ServiceException> get(@Nonnull@NotEmpty String inviteId)
inviteId - The id of the person invitation to be returned.@Nonnull com.google.common.util.concurrent.CheckedFuture<PersonInvitation,com.covisint.core.http.service.core.ServiceException> add(@Nonnull PersonInvitation invite)
invite - The person invitation to be added.@Nonnull com.google.common.util.concurrent.CheckedFuture<PersonInvitation,com.covisint.core.http.service.core.ServiceException> delete(@Nonnull@NotEmpty String inviteId)
inviteId - The id of the person invitation to delete.@Nonnull com.google.common.util.concurrent.CheckedFuture<List<PersonInvitation>,com.covisint.core.http.service.core.ServiceException> search(List<String> inviteeIds, List<String> invitorIds, @Nonnull com.covisint.core.http.service.core.Page page)
inviteeIds - The invitee ids to search. Returns all invitations sent to one of the specified invitees.
Pass null to skip filtering on invitee.invitorIds - The invitor ids to search. Returns all invitations sent by one of the specified invitors.
Pass null to skip filtering on invitor.page - The pagination criteria. Use Page.DEFAULT if no specific page criteria is needed.@Nonnull com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> accept(@Nonnull@NotEmpty String inviteId, @Nonnull@NotEmpty String createdPersonId)
inviteId - The unique identifier of the invitation being accepted.createdPersonId - The unique identifier of the person created during the registration process that was
initiated by the accepted invitation. This is specified solely for tracking purposes.Copyright © 2015 Covisint. All rights reserved.