PartnerServiceRequestCollectionOperations Class

Implements

public class PartnerServiceRequestCollectionOperations extends BasePartnerComponentString implements IPartnerServiceRequestCollection

The partner's service requests operations and implementation.

Constructor Summary

Constructor Description
PartnerServiceRequestCollectionOperations(IPartner rootPartnerOperations)

Initializes a new instance of the PartnerServiceRequestCollectionOperations class.

Method Summary

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

Retrieves a Service Request specified by Id.

ServiceRequest create(ServiceRequest serviceRequest, String agentLocale)

Creates a service request.

ResourceCollection<ServiceRequest> get()

Retrieves Service Requests associated to the partner.

ISupportTopicsCollection getSupportTopics()

Retrieves a collection of operations that can be performed on support topics.

ResourceCollection<ServiceRequest> query(IQuery serviceRequestsQuery)

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

PartnerServiceRequestCollectionOperations

public PartnerServiceRequestCollectionOperations(IPartner rootPartnerOperations)

Initializes a new instance of the PartnerServiceRequestCollectionOperations class.

Parameters:

rootPartnerOperations - The root partner operations instance.

Method Details

byId

public IServiceRequest byId(String serviceRequestId)

Retrieves a Service Request specified by Id.

Parameters:

serviceRequestId - Incident Id.

Returns:

Service Request Operations.

create

public ServiceRequest create(ServiceRequest serviceRequest, String agentLocale)

Creates a service request.

Parameters:

serviceRequest - Service request to be created.
agentLocale - The agent locale.

Returns:

The created service request with associated Identifier.

get

public ResourceCollection get()

Retrieves Service Requests associated to the partner.

Returns:

A collection of service requests.

getSupportTopics

public ISupportTopicsCollection getSupportTopics()

Retrieves a collection of operations that can be performed on support topics.

Returns:

a collection of operations that can be performed on support topics.

query

public ResourceCollection query(IQuery serviceRequestsQuery)

Queries for service requests associated with the partner.

Parameters:

serviceRequestsQuery - The query with search parameters.

Returns:

A collection of service requests matching the criteria.

Applies to