CustomerProductCollectionOperations Class

Implements

public class CustomerProductCollectionOperations extends BasePartnerComponentString implements ICustomerProductCollection

Product operations by customer id implementation class.

Constructor Summary

Constructor Description
CustomerProductCollectionOperations(IPartner rootPartnerOperations, String customerId)

Initializes a new instance of the CustomerProductCollectionOperations class.

Method Summary

Modifier and Type Method and Description
IProduct byId(String productId)

Retrieves the operations tied with a specific product for a given customer.

ICustomerProductCollectionByTargetView byTargetView(String targetView)

Retrieves the operations that can be applied on products in a given catalog view and that apply to a given 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

CustomerProductCollectionOperations

public CustomerProductCollectionOperations(IPartner rootPartnerOperations, String customerId)

Initializes a new instance of the CustomerProductCollectionOperations class.

Parameters:

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

Method Details

byId

public IProduct byId(String productId)

Retrieves the operations tied with a specific product for a given customer.

Parameters:

productId - Identifier for the product.

Returns:

The operations that can be performed on a single product.

byTargetView

public ICustomerProductCollectionByTargetView byTargetView(String targetView)

Retrieves the operations that can be applied on products in a given catalog view and that apply to a given customer.

Parameters:

targetView

Returns:

The catalog view operations by target view

Applies to