CustomerUsersCollectionOperations Class

Implements

public class CustomerUsersCollectionOperations extends BasePartnerComponent<String> implements ICustomerUserCollection

Constructor Summary

Constructor Description
CustomerUsersCollectionOperations(IPartner rootPartnerOperations, String customerId)

Initializes a new instance of the CustomerUsersCollectionOperations class.

Method Summary

Modifier and Type Method and Description
ICustomerUser byId(String userId)

Retrieves the customer user operations for the specified user.

CustomerUser create(CustomerUser newCustomerUser)

Creates a new user.

SeekBasedResourceCollection<CustomerUser> get()

Retrieves all the customer users.

SeekBasedResourceCollection<CustomerUser> query(IQuery customerUsersQuery)

Queries customer users associated to the partner's customers.

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

CustomerUsersCollectionOperations

public CustomerUsersCollectionOperations(IPartner rootPartnerOperations, String customerId)

Initializes a new instance of the CustomerUsersCollectionOperations class.

Parameters:

rootPartnerOperations - The root partner operations instance.
customerId - The customer identifier.

Method Details

byId

public ICustomerUser byId(String userId)

Retrieves the customer user operations for the specified user.

Parameters:

userId - The user identifier.

Returns:

The customer user operations for the specified user.

create

public CustomerUser create(CustomerUser newCustomerUser)

Creates a new user.

Parameters:

newCustomerUser - The user to be created.

Returns:

The newly created user.

get

public SeekBasedResourceCollection get()

Retrieves all the customer users.

Returns:

All the customer users.

query

public SeekBasedResourceCollection query(IQuery customerUsersQuery)

Queries customer users associated to the partner's customers.

Parameters:

customerUsersQuery - A query to apply onto customer users. Check QueryFactory to see how to build queries.

Returns:

Customer user collection.

Applies to