public interface ServicePackageGrantClient extends com.covisint.core.http.service.client.ResourceClient<ServicePackageGrant>
ServicePackageGrant resources.| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.CheckedFuture<ServicePackageGrant,com.covisint.core.http.service.core.ServiceException> |
assignOrganizationGrant(String organizationId,
String packageId,
org.apache.http.protocol.HttpContext httpContext)
Grants a service package to an organization, based on the given organizationId and packageId.
|
com.google.common.util.concurrent.CheckedFuture<ServicePackageGrant,com.covisint.core.http.service.core.ServiceException> |
assignPersonGrant(String personId,
String packageId,
org.apache.http.protocol.HttpContext httpContext)
Grants a service package to a person, based on the given personId and packageId.
|
com.google.common.util.concurrent.CheckedFuture<ServicePackageGrant,com.covisint.core.http.service.core.ServiceException> |
getOrganizationGrant(String organizationId,
String packageId,
org.apache.http.protocol.HttpContext httpContext)
Retrieves a
ServicePackageGrant issued to the given organization, that matches the package id. |
com.google.common.util.concurrent.CheckedFuture<ServicePackageGrant,com.covisint.core.http.service.core.ServiceException> |
getPersonGrant(String personId,
String packageId,
org.apache.http.protocol.HttpContext httpContext)
Retrieves a
ServicePackageGrant issued to the given person, that matches the package id. |
com.google.common.util.concurrent.CheckedFuture<Iterable<ServicePackageGrant>,com.covisint.core.http.service.core.ServiceException> |
searchOrganizationGrants(String organizationId,
org.apache.http.protocol.HttpContext httpContext,
com.covisint.core.http.service.core.Page page)
Searches for all service package grants issued to the given organization.
|
com.google.common.util.concurrent.CheckedFuture<Iterable<ServicePackageGrant>,com.covisint.core.http.service.core.ServiceException> |
searchPersonGrants(String personId,
org.apache.http.protocol.HttpContext httpContext,
com.covisint.core.http.service.core.Page page)
Searches for all service package grants issued to the given person.
|
@Nonnull com.google.common.util.concurrent.CheckedFuture<Iterable<ServicePackageGrant>,com.covisint.core.http.service.core.ServiceException> searchPersonGrants(@Nonnull@NotEmpty String personId, @Nonnull org.apache.http.protocol.HttpContext httpContext, @Nonnull com.covisint.core.http.service.core.Page page)
personId - The id of the person to search on.httpContext - The http context used to store session-level attributes.page - The pagination criteria.@Nonnull com.google.common.util.concurrent.CheckedFuture<Iterable<ServicePackageGrant>,com.covisint.core.http.service.core.ServiceException> searchOrganizationGrants(@Nonnull@NotEmpty String organizationId, @Nonnull org.apache.http.protocol.HttpContext httpContext, @Nonnull com.covisint.core.http.service.core.Page page)
organizationId - The id of the organization to search on.httpContext - The http context used to store session-level attributes.page - The pagination criteria.@Nonnull com.google.common.util.concurrent.CheckedFuture<ServicePackageGrant,com.covisint.core.http.service.core.ServiceException> getPersonGrant(@Nonnull@NotEmpty String personId, @Nonnull@NotEmpty String packageId, @Nonnull org.apache.http.protocol.HttpContext httpContext)
ServicePackageGrant issued to the given person, that matches the package id.personId - The id of the grantee.packageId - The id of the granted package.httpContext - The http context used to store session-level attributes.@Nonnull com.google.common.util.concurrent.CheckedFuture<ServicePackageGrant,com.covisint.core.http.service.core.ServiceException> getOrganizationGrant(@Nonnull@NotEmpty String organizationId, @Nonnull@NotEmpty String packageId, @Nonnull org.apache.http.protocol.HttpContext httpContext)
ServicePackageGrant issued to the given organization, that matches the package id.organizationId - The id of the grantee.packageId - The id of the granted package.httpContext - The http context used to store session-level attributes.@Nonnull com.google.common.util.concurrent.CheckedFuture<ServicePackageGrant,com.covisint.core.http.service.core.ServiceException> assignPersonGrant(@Nonnull@NotEmpty String personId, @Nonnull@NotEmpty String packageId, @Nonnull org.apache.http.protocol.HttpContext httpContext)
personId - The id of the person receiving the package grantpackageId - The id of the package about to be grantedhttpContext - The http context used to store session-level attributes@Nonnull com.google.common.util.concurrent.CheckedFuture<ServicePackageGrant,com.covisint.core.http.service.core.ServiceException> assignOrganizationGrant(@Nonnull@NotEmpty String organizationId, @Nonnull@NotEmpty String packageId, @Nonnull org.apache.http.protocol.HttpContext httpContext)
organizationId - The id of the organization receiving the package grantpackageId - The id of the package about to be grantedhttpContext - The http context used to store session-level attributesCopyright © 2015 Covisint. All rights reserved.