CustomerProductCollectionByTargetViewOperations Class

Implements

public class CustomerProductCollectionByTargetViewOperations extends BasePartnerComponent<Tuple<String,String>> implements ICustomerProductCollectionByTargetView

Implements the product operations by customer identifier and target view.

Constructor Summary

Constructor Description
CustomerProductCollectionByTargetViewOperations(IPartner rootPartnerOperations, String customerId, String targetView)

Initializes a new instance of the CustomerProductCollectionByTargetViewOperations class.

Method Summary

Modifier and Type Method and Description
ICustomerProductCollectionByTargetViewByReservationScope byReservationScope(String reservationScope)

Gets the operations that can be applied on products in a given catalog view and that apply to a given customer, filtered by reservation scope.

ICustomerProductCollectionByTargetViewByTargetSegment byTargetSegment(String targetSegment)

Gets the operations that can be applied on products in a given catalog view and that apply to a given customer, filtered by target segment.

ResourceCollection<Product> get()

Gets all the products in a given catalog view 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

CustomerProductCollectionByTargetViewOperations

public CustomerProductCollectionByTargetViewOperations(IPartner rootPartnerOperations, String customerId, String targetView)

Initializes a new instance of the CustomerProductCollectionByTargetViewOperations class.

Parameters:

rootPartnerOperations - The root partner operations instance.
customerId - Identifier for the customer.
targetView - The target view which contains the products.

Method Details

byReservationScope

public ICustomerProductCollectionByTargetViewByReservationScope byReservationScope(String reservationScope)

Gets the operations that can be applied on products in a given catalog view and that apply to a given customer, filtered by reservation scope.

Parameters:

reservationScope - The reservation scope filter.

Returns:

The product collection operations by customer, by target view and by reservation scope.

byTargetSegment

public ICustomerProductCollectionByTargetViewByTargetSegment byTargetSegment(String targetSegment)

Gets the operations that can be applied on products in a given catalog view and that apply to a given customer, filtered by target segment.

Parameters:

targetSegment - The product segment filter.

Returns:

The product collection operations by customer, by target view and by target segment.

get

public ResourceCollection get()

Gets all the products in a given catalog view that apply to a given customer.

Returns:

The products in a given catalog view that apply to a given customer.

Applies to