CustomerRelationshipCollectionOperations Class

Implements

public class CustomerRelationshipCollectionOperations extends BasePartnerComponentString implements ICustomerRelationshipCollection

For two-tier partner scenarios, holds the operations for retrieving partner relationships of a customer with respect to the logged in partner.

Constructor Summary

Constructor Description
CustomerRelationshipCollectionOperations(IPartner rootPartnerOperations, String customerId)

Initializes a new instance of the CustomerRelationshipCollectionOperations class.

Method Summary

Modifier and Type Method and Description
ResourceCollection<PartnerRelationship> get()

Retrieves all the partner relationships associated to the customer based on the logged in partner.

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

CustomerRelationshipCollectionOperations

public CustomerRelationshipCollectionOperations(IPartner rootPartnerOperations, String customerId)

Initializes a new instance of the CustomerRelationshipCollectionOperations class.

Parameters:

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

Method Details

get

public ResourceCollection get()

Retrieves all the partner relationships associated to the customer based on the logged in partner.

Returns:

The partner relationships.

Applies to