EntitlementCollectionOperations Class

Implements

public class EntitlementCollectionOperations extends BasePartnerComponentString implements IEntitlementCollection

Entitlement collection operations implementation class.

Constructor Summary

Constructor Description
EntitlementCollectionOperations(IPartner rootPartnerOperations, String customerId)

Initializes a new instance of the EntitlementCollectionOperations class.

Method Summary

Modifier and Type Method and Description
IEntireEntityCollectionRetrievalOperations<Entitlement,ResourceCollection<Entitlement>> byEntitlementType(String entitlementType)

Retrieves the operations that can be applied on entitlements with a given entitlement type.

ResourceCollection<Entitlement> get()

Gets the entitlements for a customer.

ResourceCollection<Entitlement> get(Boolean showExpiry)

Gets the entitlements for a customer.

Inherited Members

BasePartnerComponent<TContext>.getContext() BasePartnerComponent<TContext>.getPartner() java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructor Details

EntitlementCollectionOperations

public EntitlementCollectionOperations(IPartner rootPartnerOperations, String customerId)

Initializes a new instance of the EntitlementCollectionOperations class.

Parameters:

rootPartnerOperations - The root partner operations instance.
customerId - Identifier for the customer.

Method Details

byEntitlementType

public IEntireEntityCollectionRetrievalOperations> byEntitlementType(String entitlementType)

Retrieves the operations that can be applied on entitlements with a given entitlement type.

Parameters:

entitlementType - The type of entitlement.

Returns:

The entitlement collection operations by entitlement type.

get

public ResourceCollection get()

Gets the entitlements for a customer.

Returns:

The collection of entitlements for the customer.

get

public ResourceCollection get(Boolean showExpiry)

Gets the entitlements for a customer.

Parameters:

showExpiry - A flag to indicate if the expiry date is required to be returned along with the entitlement (if applicable).

Returns:

The collection of entitlements for the customer.

Applies to