public interface RateService
| Modifier and Type | Method and Description |
|---|---|
StatusInfo |
changeCatalogRateState(String catalogRateId,
String stateKey,
ContextInfo contextInfo)
Changes the state of a CatalogRate.
|
StatusInfo |
changeRateState(String rateId,
String stateKey,
ContextInfo contextInfo)
Changes the state of a Rate.
|
CatalogRateInfo |
createCatalogRate(String catalogRateTypeKey,
CatalogRateInfo catalogRateInfo,
ContextInfo contextInfo)
Creates a new CatalogRate.
|
RateInfo |
createRate(String catalogRateId,
String rateTypeKey,
RateInfo rateInfo,
ContextInfo contextInfo)
Creates a new Rate.
|
StatusInfo |
deleteCatalogRate(String catalogRateId,
ContextInfo contextInfo)
Deletes an existing CatalogRate.
|
StatusInfo |
deleteRate(String rateId,
ContextInfo contextInfo)
Deletes an existing Rate.
|
CatalogRateInfo |
getCatalogRate(String catalogRateId,
ContextInfo contextInfo)
Retrieves a single CatalogRate by CatalogRate Id.
|
List<String> |
getCatalogRateIdsByType(String catalogRateTypeKey,
ContextInfo contextInfo)
Retrieves a list of CatalogRate Ids by CatalogRate Type.
|
List<CatalogRateInfo> |
getCatalogRatesByCode(String code,
ContextInfo contextInfo)
Retrieves a list of CatalogRates by code.
|
List<CatalogRateInfo> |
getCatalogRatesByIds(List<String> catalogRateIds,
ContextInfo contextInfo)
Retrieves a list of CatalogRates from a list of CatalogRate
Ids.
|
RateInfo |
getRate(String rateId,
ContextInfo contextInfo)
Retrieves a single Rate by Rate Id.
|
List<String> |
getRateIdsByType(String rateTypeKey,
ContextInfo contextInfo)
Retrieves a list of Rate Ids by Rate Type.
|
List<RateInfo> |
getRatesByCatalogRate(String catalogRateId,
ContextInfo contextInfo)
Retrieves a list of Rates belonging to a CatalogRate.
|
List<RateInfo> |
getRatesByIds(List<String> rateIds,
ContextInfo contextInfo)
Retrieves a list of Rates from a list of Rate Ids.
|
List<String> |
searchForCatalogRateIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for CatalogRates based on the criteria and returns a
list of CatalogRate identifiers which match the search
criteria.
|
List<CatalogRateInfo> |
searchForCatalogRates(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for CatalogRates based on the criteria and returns a
list of CatalogRates which match the search criteria.
|
List<String> |
searchForRateIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for Rates based on the criteria and returns a list of
Rate identifiers which match the search criteria.
|
List<RateInfo> |
searchForRates(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for Rates based on the criteria and returns a list of
Rates which match the search criteria.
|
CatalogRateInfo |
updateCatalogRate(String catalogRateId,
CatalogRateInfo catalogRateInfo,
ContextInfo contextInfo)
Updates an existing CatalogRate.
|
RateInfo |
updateRate(String rateId,
RateInfo rateInfo,
ContextInfo contextInfo)
Updates an existing Rate.
|
List<ValidationResultInfo> |
validateCatalogRate(String validationTypeKey,
String catalogRateTypeKey,
CatalogRateInfo catalogRateInfo,
ContextInfo contextInfo)
Validates a CatalogRate.
|
List<ValidationResultInfo> |
validateRate(String validationTypeKey,
String catalogRateId,
String rateTypeKey,
RateInfo rateInfo,
ContextInfo contextInfo)
Validates a Rate.
|
CatalogRateInfo getCatalogRate(String catalogRateId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
catalogRateId - the identifier for the rate to be retrievedcontextInfo - information containing the principalId and
locale information about the caller of service operationDoesNotExistException - catalogRateId not foundInvalidParameterException - contextInfo is not validMissingParameterException - catalogRateId or contextInfo is
missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredList<CatalogRateInfo> getCatalogRatesByIds(List<String> catalogRateIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
catalogRateIds - a list of CatalogRate identifierscontextInfo - information containing the principalId and
locale information about the caller of service operationDoesNotExistException - a catalogRateId in the list not foundInvalidParameterException - contextInfo is invalidMissingParameterException - catalogRateIds, an Id in
catalogRateIds, or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredList<String> getCatalogRateIdsByType(String catalogRateTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
catalogRateTypeKey - an identifier for a CatalogRate TypecontextInfo - information containing the principalId and
locale information about the caller of service operationInvalidParameterException - contextInfo is not validMissingParameterException - catalogRateTypeKey or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredList<CatalogRateInfo> getCatalogRatesByCode(String code, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
code - a CatalogRate codecontextInfo - information containing the principalId and
locale information about the caller of service operationInvalidParameterException - contextInfo is invalidMissingParameterException - code or contextInfo is
missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredList<String> searchForCatalogRateIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
criteria - the search criteriacontextInfo - information containing the principalId and
locale information about the caller of service operationInvalidParameterException - criteria or contextInfo is
not validMissingParameterException - criteria or contextInfo is
missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredList<CatalogRateInfo> searchForCatalogRates(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
criteria - the search criteriacontextInfo - information containing the principalId and
locale information about the caller of service operationInvalidParameterException - criteria or contextInfo is
not validMissingParameterException - criteria or contextInfo is
missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredList<ValidationResultInfo> validateCatalogRate(String validationTypeKey, String catalogRateTypeKey, CatalogRateInfo catalogRateInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
validationTypeKey - the identifier for the validation TypecatalogRateTypeKey - the identifier for the rate TypecatalogRateInfo - the CatalogRate information to be validatedcontextInfo - information containing the principalId and
locale information about the caller of service operationDoesNotExistException - validationTypeKey or
catalogRateTypeKey is not foundInvalidParameterException - catalogRateInfo or contextInfo
is not validMissingParameterException - validationTypeKey,
catalogRateTypeKey, catalogRateInfo, or contextInfo is
missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredCatalogRateInfo createCatalogRate(String catalogRateTypeKey, CatalogRateInfo catalogRateInfo, ContextInfo contextInfo) throws DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
catalogRateTypeKey - the identifier for the Type of the new
CatalogRatecatalogRateInfo - the data with which to create the CatalogRatecontextInfo - information containing the principalId and
locale information about the caller of service operationDataValidationErrorException - supplied data is invalidDoesNotExistException - catalogRateTypeKey does not
exist is not supportedInvalidParameterException - catalogRateInfo or contextInfo
is not validMissingParameterException - catalogRateTypeKey,
catalogRateInfo or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredReadOnlyException - an attempt at supplying information
designated as read-onlyCatalogRateInfo updateCatalogRate(String catalogRateId, CatalogRateInfo catalogRateInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
catalogRateId - the identifier for the CatalogRate to be
updatedcatalogRateInfo - the new data for the CatalogRatecontextInfo - information containing the principalId and
locale information about the caller of service operationDataValidationErrorException - supplied data is invalidDoesNotExistException - catalogRateId not foundInvalidParameterException - catalogRateInfo or
contextInfo is not validMissingParameterException - catalogRateId,
catalogRateInfo, or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredReadOnlyException - an attempt at changing information
designated as read-onlyVersionMismatchException - optimistic locking failure or
the action was attempted on an out of date versionStatusInfo changeCatalogRateState(String catalogRateId, String stateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
catalogRateId - the Id of the CatalogRatestateKey - the identifier for the new StatecontextInfo - information containing the principalId and
locale information about the caller of service operationDoesNotExistException - catalogRateId not found or
stateKey not found in CatalogRate LifecycleInvalidParameterException - contextInfo is not validMissingParameterException - catalogRateId, stateKey, or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredStatusInfo deleteCatalogRate(String catalogRateId, ContextInfo contextInfo) throws DependentObjectsExistException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
catalogRateId - the identifier for the CatalogRate to be
deletedcontextInfo - information containing the principalId and
locale information about the caller of service operationDependentObjectsExistException - Rates are attached to
this RateCatalogDoesNotExistException - catalogRateId not foundInvalidParameterException - contextInfo is not validMissingParameterException - catalogRateId or contextInfo
is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredRateInfo getRate(String rateId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
rateId - the identifier for the rate to be retrievedcontextInfo - information containing the principalId and
locale information about the caller of service operationDoesNotExistException - rateId not foundInvalidParameterException - contextInfo is not validMissingParameterException - rateId or contextInfo is
missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredList<RateInfo> getRatesByIds(List<String> rateIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
rateIds - a list of Rate identifierscontextInfo - information containing the principalId and
locale information about the caller of service operationDoesNotExistException - a rateId in the list not foundInvalidParameterException - contextInfo is invalidMissingParameterException - rateIds, an Id in rateIds, or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredList<String> getRateIdsByType(String rateTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
rateTypeKey - an identifier for a Rate TypecontextInfo - information containing the principalId and
locale information about the caller of service operationInvalidParameterException - contextInfo is not validMissingParameterException - rateTypeKey or contextInfo is
missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredList<RateInfo> getRatesByCatalogRate(String catalogRateId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
catalogRateId - the identifier for a rate catalog entrycontextInfo - information containing the principalId and
locale information about the caller of service operationInvalidParameterException - contextInfo is not validMissingParameterException - catalogRateId or contextInfo
is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredList<String> searchForRateIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
criteria - the search criteriacontextInfo - information containing the principalId and
locale information about the caller of service operationInvalidParameterException - criteria or contextInfo is
not validMissingParameterException - criteria or contextInfo is
missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredList<RateInfo> searchForRates(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
criteria - the search criteriacontextInfo - information containing the principalId and
locale information about the caller of service operationInvalidParameterException - criteria or contextInfo is
not validMissingParameterException - criteria or contextInfo is
missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredList<ValidationResultInfo> validateRate(String validationTypeKey, String catalogRateId, String rateTypeKey, RateInfo rateInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
validationTypeKey - the identifier for the validation TypecatalogRateId - the identifier for the rate catalog entryrateTypeKey - the identifier for the rate TyperateInfo - the Rate information to be validatedcontextInfo - information containing the principalId and
locale information about the caller of service operationDoesNotExistException - validationTypeKey, catalogRateId,
or rateTypeKey is not foundInvalidParameterException - rateInfo or contextInfo is
not validMissingParameterException - validationTypeKey,
catalogRateId, rateTypeKey, rateInfo, or contextInfo is
missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredRateInfo createRate(String catalogRateId, String rateTypeKey, RateInfo rateInfo, ContextInfo contextInfo) throws DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
catalogRateId - the identifier for the rate catalog entryrateTypeKey - the identifier for the Type of the new RaterateInfo - the data with which to create the RatecontextInfo - information containing the principalId and
locale information about the caller of service operationDataValidationErrorException - supplied data is invalidDoesNotExistException - catalogRateId or rateTypeKey does
not exist or is not supportedInvalidParameterException - rateInfo or contextInfo is not
validMissingParameterException - catalogRateId, rateTypeKey,
rateInfo or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredReadOnlyException - an attempt at supplying information
designated as read-onlyRateInfo updateRate(String rateId, RateInfo rateInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
rateId - the identifier for the Rate to be updatedrateInfo - the new data for the RatecontextInfo - information containing the principalId and
locale information about the caller of service operationDataValidationErrorException - supplied data is invalidDoesNotExistException - rateId not foundInvalidParameterException - rateInfo or contextInfo is
not validMissingParameterException - rateId, rateInfo, or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredReadOnlyException - an attempt at changing information
designated as read-onlyVersionMismatchException - optimistic locking failure or
the action was attempted on an out of date versionStatusInfo changeRateState(String rateId, String stateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
rateId - the Id of the RatestateKey - the identifier for the new StatecontextInfo - information containing the principalId and
locale information about the caller of service operationDoesNotExistException - rateId not found or stateKey
not found in Rate LifecycleInvalidParameterException - contextInfo is not validMissingParameterException - rateId, stateKey, or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredStatusInfo deleteRate(String rateId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
rateId - the identifier for the Rate to be deletedcontextInfo - information containing the principalId and
locale information about the caller of service operationDoesNotExistException - rateId not foundInvalidParameterException - contextInfo is not validMissingParameterException - rateId or contextInfo is
missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredCopyright © 2004–2014 The Kuali Foundation. All rights reserved.