CustomerServiceRequestCollectionOperations Class

Implements

public class CustomerServiceRequestCollectionOperations extends BasePartnerComponentString implements IServiceRequestCollection

The customer's service requests operations implementation.

Constructor Summary

Constructor Description
CustomerServiceRequestCollectionOperations(IPartner rootPartnerOperations, String customerId)

Initializes a new instance of the CustomerServiceRequestCollectionOperations class.

Method Summary

Modifier and Type Method and Description
IServiceRequest byId(String serviceRequestId)

Retrieves a Service Request specified by Id

ResourceCollection<ServiceRequest> get()

Retrieves Service Requests associated to the customer.

SeekBasedResourceCollection<ServiceRequest> query(IQuery serviceRequestsQuery)

Queries for service requests associated with 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

CustomerServiceRequestCollectionOperations

public CustomerServiceRequestCollectionOperations(IPartner rootPartnerOperations, String customerId)

Initializes a new instance of the CustomerServiceRequestCollectionOperations class.

Parameters:

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

Method Details

byId

public IServiceRequest byId(String serviceRequestId)

Retrieves a Service Request specified by Id

Parameters:

serviceRequestId - Service Request Id

Returns:

Service Request Operations

get

public ResourceCollection get()

Retrieves Service Requests associated to the customer.

Returns:

A collection of service requests

query

public SeekBasedResourceCollection query(IQuery serviceRequestsQuery)

Queries for service requests associated with a customer

Parameters:

serviceRequestsQuery - The query with search parameters

Returns:

A collection of service requests matching the criteria

Applies to