| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> |
activate(String personId)
Activates a
Person in pending status. |
com.google.common.util.concurrent.CheckedFuture<Person,com.covisint.core.http.service.core.ServiceException> |
add(Person person)
Add a new person.
|
com.google.common.util.concurrent.CheckedFuture<Person,com.covisint.core.http.service.core.ServiceException> |
get(String personId)
Get a person by id.
|
com.google.common.util.concurrent.CheckedFuture<List<Person>,com.covisint.core.http.service.core.ServiceException> |
search(List<String> ids,
String authenicationDomain,
String username,
String parentOrganizationId,
com.covisint.core.http.service.core.Page page)
Search for persons based on the given criteria.
|
com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> |
suspend(String personId)
Suspends a
Person in active status. |
com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> |
unsuspend(String personId)
Unsuspends a
Person in suspend status. |
com.google.common.util.concurrent.CheckedFuture<Person,com.covisint.core.http.service.core.ServiceException> |
update(Person person)
Updates an existing person on the server.
|
@Nonnull com.google.common.util.concurrent.CheckedFuture<Person,com.covisint.core.http.service.core.ServiceException> get(@Nonnull@NotEmpty String personId)
personId - The id of the person to be returned.@Nonnull com.google.common.util.concurrent.CheckedFuture<Person,com.covisint.core.http.service.core.ServiceException> add(@Nonnull Person person)
person - The person to be added.@Nonnull com.google.common.util.concurrent.CheckedFuture<Person,com.covisint.core.http.service.core.ServiceException> update(@Nonnull Person person)
person - The person to persist.@Nonnull com.google.common.util.concurrent.CheckedFuture<List<Person>,com.covisint.core.http.service.core.ServiceException> search(List<String> ids, String authenicationDomain, String username, String parentOrganizationId, @Nonnull com.covisint.core.http.service.core.Page page)
ids - The ids of the persons to retrieve.authenicationDomain - The person's authentication domain. This value is useful to constrain the
username parameter further, since there may be multiple usernames in use across
multiple authentication domains. If unsure what value to provide, leave this null.username - The username to search for.parentOrganizationId - The id of the person's parent organization.page - The pagination criteria. Pass Page.DEFAULT to return the default page.com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> activate(@Nonnull@NotEmpty String personId)
Person in pending status.personId - The id of the Person to activate.com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> suspend(@Nonnull@NotEmpty String personId)
Person in active status.personId - The id of the Person to suspend.com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> unsuspend(@Nonnull@NotEmpty String personId)
Person in suspend status.personId - The id of the Person to unsuspend.Copyright © 2015 Covisint. All rights reserved.