public class LprServiceMockImpl extends Object implements LprService, MockService
Constructor and Description |
---|
LprServiceMockImpl() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear all cached service data.
|
LprInfo |
createLpr(String personId,
String luiId,
String lprTypeKey,
LprInfo lprInfo,
ContextInfo contextInfo)
Creates relation between the specified Person and LUI
|
List<BulkStatusInfo> |
createLprsForLui(String luiId,
String lprTypeKey,
List<LprInfo> lprInfos,
ContextInfo contextInfo)
Creates multiple LPRs for one specified LUI.
|
List<BulkStatusInfo> |
createLprsForPerson(String personId,
String lprTypeKey,
List<LprInfo> lprInfos,
ContextInfo contextInfo)
Creates multiple LPRs for one specified person.
|
LprTransactionInfo |
createLprTransaction(String lprTransactionType,
LprTransactionInfo lprTransactionInfo,
ContextInfo contextInfo)
This method creates a LPR transaction of the specified type
Validates the transaction generates a unique id for the request and
persists it in the back-end.
|
LprTransactionInfo |
createLprTransactionFromExisting(String lprTransactionId,
ContextInfo contextInfo)
Creates a new Lpr Transaction from an existing LPR transaction
Copies the transaction's Items as well.
|
StatusInfo |
deleteLpr(String lprId,
ContextInfo contextInfo)
Deletes relation between the specified Person and LUI
|
StatusInfo |
deleteLprTransaction(String lprTransactionId,
ContextInfo contextInfo)
Deletes an lpr Transaction based on Id.
|
LprInfo |
getLpr(String lprId,
ContextInfo contextInfo)
Retrieves the Relation for the specified LUI Person Relation id
|
List<LprInfo> |
getLprsByIds(List<String> lprIds,
ContextInfo contextInfo)
Retrieves the Relation for the specified list of LUI Person Relation Ids
|
List<LprInfo> |
getLprsByLui(String luiId,
ContextInfo contextInfo)
Retrieves LUI Person Relation for a specified LUI
Example Use Case: Can be used to get all the people and their relationships to a particular
course offering.
|
List<LprInfo> |
getLprsByLuiAndType(String luiId,
String lprTypeKey,
ContextInfo contextInfo)
Retrieves LUI Person Relation for a particular type and specified LUI
Example: Can be used to get all the people with a particular relationship to a
specified course offering.
|
List<LprInfo> |
getLprsByPerson(String personId,
ContextInfo contextInfo)
Retrieves LUI Person Relations for Person
Example Use Case: Can be used to get all the course registrations for a person for as long as
they have been at the school, but please note it could include student registrations
in things that are not courses OR student's acting as teaching assistants
to courses.
|
List<LprInfo> |
getLprsByPersonAndLui(String personId,
String luiId,
ContextInfo contextInfo)
Retrieves Person Relation for person and LUI
Example Use Case: Can be used to get course registrations for a person in a particular course.
|
List<LprInfo> |
getLprsByPersonAndLuiType(String personId,
String luiTypeKey,
ContextInfo contextInfo)
Gets the LPRs for a person and the type Lui.
|
List<LprInfo> |
getLprsByPersonAndTypeForAtp(String personId,
String atpId,
String lprTypeKey,
ContextInfo contextInfo)
Retrieves a list of LPRs for a person and particular ATP by the type of
LPR.
|
List<LprInfo> |
getLprsByPersonForAtp(String personId,
String atpId,
ContextInfo contextInfo)
Retrieves a list of LPRs by person and ATP
Example Use Case: Can be used to get a list of registrations or instructor assignments for a person and a term
Note: the ATP is not stored on the LPR but on the Lui so the ATP specified is used
to select or filter the Lui ids that can appear on the LPRs that are returned.
|
List<LprInfo> |
getLprsByPersonForAtpAndLuiType(String personId,
String atpId,
String luiTypeKey,
ContextInfo contextInfo)
Gets the the LPRs for a person and atp and Lui type.
|
LprTransactionInfo |
getLprTransaction(String lprTransactionId,
ContextInfo contextInfo)
Retrieves the LPR Transactions based on it's identifier.
|
List<LprTransactionItemInfo> |
getLprTransactionItemsByLui(String luiId,
ContextInfo contextInfo)
Retrieves LPR Transaction Items based on an item with the specified LUI.
|
List<LprTransactionItemInfo> |
getLprTransactionItemsByPersonAndLui(String personId,
String luiId,
ContextInfo contextInfo)
Retrieves LPR Transactions with an item by Person and LUI
Selects all transactions that have at least one item that matches the specified
person and either the existing or new lui.
|
List<LprTransactionItemInfo> |
getLprTransactionItemsByResultingLpr(String lprId,
ContextInfo contextInfo)
Retrieves LPR Transaction Items based on the resulting LPR.
|
List<LprTransactionInfo> |
getLprTransactionsByIds(List<String> lprTransactionIds,
ContextInfo contextInfo)
Get lpr transactions for the specified list of transaction ids.
|
List<String> |
getLuiIdsByPersonAndTypeAndState(String personId,
String lprTypeKey,
String relationState,
ContextInfo contextInfo)
Retrieves the LUI Ids for Person, type and state.
|
LuiService |
getLuiService() |
List<String> |
getPersonIdsByLuiAndTypeAndState(String luiId,
String lprTypeKey,
String relationState,
ContextInfo contextInfo)
Retrieves Person Ids related to the specified LUI, type and state
This would allow you to get a list of people who are active (state) students (type=registration)
for a particular course (luiId)
Example Use Case: get all students in a course.
|
List<LprTransactionInfo> |
getUnsubmittedLprTransactionsByRequestingPersonAndAtp(String requestingPersonId,
String atpId,
ContextInfo contextInfo)
Retrieves transactions for the requesting person and the ATP.
|
LprTransactionInfo |
processLprTransaction(String lprTransactionId,
ContextInfo contextInfo)
Submits a LPR transaction - validates the input and based on the type of
transaction creates, updates, cancels or removes LPRs.
|
List<String> |
searchForLprIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches details of LUI Person Relation Ids
|
List<LprInfo> |
searchForLprs(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches details of LUI Person Relation by search criteria
|
List<String> |
searchForLprTransactionIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Search for matching LPR transactions returning their ids
|
List<LprTransactionInfo> |
searchForLprTransactions(QueryByCriteria criteria,
ContextInfo contextInfo)
search for matching LPR transactions
|
void |
setLuiService(LuiService luiService) |
LprInfo |
updateLpr(String lprId,
LprInfo lprInfo,
ContextInfo contextInfo)
Update relations between Person and LUI
|
LprTransactionInfo |
updateLprTransaction(String lprTransactionId,
LprTransactionInfo lprTransactionInfo,
ContextInfo contextInfo)
This method updates an LPR Transaction and all of it's items.
|
List<ValidationResultInfo> |
validateLpr(String validationType,
String luiId,
String personId,
String lprTypeKey,
LprInfo lprInfo,
ContextInfo contextInfo)
Validates the particular relation in a state for a Person and LUI
|
List<ValidationResultInfo> |
verifyLprTransaction(String lprTransactionId,
ContextInfo contextInfo)
Validate the LPR Transaction
|
public LprServiceMockImpl()
public LuiService getLuiService()
public void setLuiService(LuiService luiService)
public void clear()
MockService
clear
in interface MockService
public LprInfo getLpr(String lprId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
getLpr
in interface LprService
lprId
- Identifier for the LUI Person RelationcontextInfo
- Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- lprId not foundInvalidParameterException
- invalid lprIdMissingParameterException
- missing lprIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<LprInfo> getLprsByIds(List<String> lprIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
getLprsByIds
in interface LprService
lprIds
- List of identifiers for LUI Person
RelationscontextInfo
- Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- One or more lprIds not foundInvalidParameterException
- One or more invalid
lprIdsMissingParameterException
- missing lprIdsOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<String> getLuiIdsByPersonAndTypeAndState(String personId, String lprTypeKey, String relationState, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
getLuiIdsByPersonAndTypeAndState
in interface LprService
personId
- Identifier for the PersonlprTypeKey
- Type of LUI Person RelationrelationState
- Relation StatecontextInfo
- Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- personId, lprTypeKey,
relationState, person to LUI relationship not foundInvalidParameterException
- invalid personId,
lprTypeKey, relationStateMissingParameterException
- missing personId,
lprTypeKey, relationStateOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<String> getPersonIdsByLuiAndTypeAndState(String luiId, String lprTypeKey, String relationState, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
getPersonIdsByLuiAndTypeAndState
in interface LprService
luiId
- Identifier for the LUIlprTypeKey
- Type of LUI Person RelationrelationState
- Relation StatecontextInfo
- Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- luiId, lprTypeKey,
relationState, LUI to person relationship not foundInvalidParameterException
- invalid luiId,
lprTypeKey, relationStateMissingParameterException
- missing luiId,
lprTypeKey, relationStateOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<LprInfo> getLprsByPersonAndLui(String personId, String luiId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
getLprsByPersonAndLui
in interface LprService
personId
- Identifier for personluiId
- Identifier for LUIcontextInfo
- Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- personId, luiId not foundInvalidParameterException
- invalid personId, luiIdMissingParameterException
- missing personId, luiIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<LprInfo> getLprsByPerson(String personId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
getLprsByPerson
in interface LprService
personId
- Identifier for personcontextInfo
- Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- personId not foundInvalidParameterException
- invalid personIdMissingParameterException
- missing personIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<LprInfo> getLprsByLui(String luiId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
getLprsByLui
in interface LprService
luiId
- Identifier for LUIcontextInfo
- Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- luiId not foundInvalidParameterException
- invalid luiIdMissingParameterException
- missing luiIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<LprInfo> getLprsByLuiAndType(String luiId, String lprTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
getLprsByLuiAndType
in interface LprService
luiId
- Identifier for LUIlprTypeKey
- LUI person relation type keycontextInfo
- Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- luiId not foundInvalidParameterException
- invalid luiIdMissingParameterException
- missing luiIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<LprInfo> getLprsByPersonForAtp(String personId, String atpId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
getLprsByPersonForAtp
in interface LprService
personId
- the person idatpId
- the id of the academic time periodcontextInfo
- Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- luiId not foundInvalidParameterException
- invalid luiIdMissingParameterException
- missing luiIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<LprInfo> getLprsByPersonAndTypeForAtp(String personId, String atpId, String lprTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
getLprsByPersonAndTypeForAtp
in interface LprService
personId
- the person idatpId
- the id of the academic time periodlprTypeKey
- LUI person relation type keycontextInfo
- Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- luiId not foundInvalidParameterException
- invalid luiIdMissingParameterException
- missing luiIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<LprInfo> getLprsByPersonAndLuiType(String personId, String luiTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
getLprsByPersonAndLuiType
in interface LprService
personId
- person identifierluiTypeKey
- type of the LUIcontextInfo
- Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- luiId not foundInvalidParameterException
- invalid luiIdMissingParameterException
- missing luiIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<LprInfo> getLprsByPersonForAtpAndLuiType(String personId, String atpId, String luiTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
getLprsByPersonForAtpAndLuiType
in interface LprService
personId
- person identifieratpId
- academic time period identifierluiTypeKey
- type of the LUIcontextInfo
- Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- luiId not foundInvalidParameterException
- invalid luiIdMissingParameterException
- missing luiIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<ValidationResultInfo> validateLpr(String validationType, String luiId, String personId, String lprTypeKey, LprInfo lprInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
validateLpr
in interface LprService
validationType
- Identifier of the extent of validationluiId
- the identifier of the luipersonId
- the identifier of the personlprTypeKey
- the key to the type of the relationshiplprInfo
- lpr to be validatedcontextInfo
- Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- lprInfo not foundInvalidParameterException
- invalid lprInfo
relationStateMissingParameterException
- missing lprInfoOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<String> searchForLprIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
searchForLprIds
in interface LprService
criteria
- Criteria to be used for retrieval of multiple LUI Person
Relation identifierscontextInfo
- Context information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- invalid relation criteriaMissingParameterException
- missing relation criteriaOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<LprInfo> searchForLprs(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
searchForLprs
in interface LprService
criteria
- Criteria to be used for retrieval of multiple LUI Person
Relation identifierscontextInfo
- Context information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- invalid relation criteriaMissingParameterException
- missing relation criteriaOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic LprInfo createLpr(String personId, String luiId, String lprTypeKey, LprInfo lprInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
LprService
createLpr
in interface LprService
personId
- Person IdentifierluiId
- LUI IdentifierlprTypeKey
- Type of LUI to Person RelationlprInfo
- Information required to create the LUI
Person relationcontextInfo
- Context information containing the principalId and locale
information about the caller of service operationDataValidationErrorException
- if lprInfo is not
validDoesNotExistException
- personId, luiId, relationState,
lprTypeKey does not existInvalidParameterException
- invalid personId, luiId, relationState,
lprTypeKey, lprInfoMissingParameterException
- missing personId, luiId, relationState,
lprTypeKey, lprInfoOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureReadOnlyException
- attempt to update a read only attributepublic List<BulkStatusInfo> createLprsForPerson(String personId, String lprTypeKey, List<LprInfo> lprInfos, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
LprService
createLprsForPerson
in interface LprService
personId
- Identifier for PersonlprTypeKey
- Type of LUI Person relationlprInfos
- List of Information required to create the LUI
Person relationcontextInfo
- Context information containing the principalId and locale
information about the caller of service operationDataValidationErrorException
- if luiPersonsRelationInfo is not
validDoesNotExistException
- personId, lprTypeKey does not existInvalidParameterException
- invalid personId, lprTypeKey, lprInfoMissingParameterException
- missing personId, lprTypeKey, lprInfoOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureReadOnlyException
- attempt to update a read only attributepublic List<BulkStatusInfo> createLprsForLui(String luiId, String lprTypeKey, List<LprInfo> lprInfos, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
LprService
createLprsForLui
in interface LprService
luiId
- Identifier for LuilprTypeKey
- Type of LUI Person relationlprInfos
- List of Information required to create the LUI
Person relationcontextInfo
- Context information containing the principalId and locale
information about the caller of service operationDataValidationErrorException
- if luiPersonsRelationInfo is not
validDoesNotExistException
- luiId, lprTypeKey does not existInvalidParameterException
- invalid luiId, lprTypeKey, lprInfosMissingParameterException
- missing luiId, lprTypeKey, lprInfosOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureReadOnlyException
- attempt to update a read only attributepublic LprInfo updateLpr(String lprId, LprInfo lprInfo, ContextInfo contextInfo) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
LprService
updateLpr
in interface LprService
lprId
- Identifier for the LUI Person RelationlprInfo
- Changed information about the LUI Person
RelationcontextInfo
- Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- lprId does not existDataValidationErrorException
- if lprInfo is not
validInvalidParameterException
- invalid lprId,
lprInfoMissingParameterException
- missing lprId,
lprInfoOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureReadOnlyException
- attempt to update a read only attributeVersionMismatchException
- if optimistic lock version ind has
changedpublic StatusInfo deleteLpr(String lprId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
deleteLpr
in interface LprService
lprId
- Identifier for the LUI Person RelationcontextInfo
- Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- lprId does not existInvalidParameterException
- invalid lprIdMissingParameterException
- missing lprIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic LprTransactionInfo createLprTransaction(String lprTransactionType, LprTransactionInfo lprTransactionInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
createLprTransaction
in interface LprService
lprTransactionType
- LPR transaction typelprTransactionInfo
- LPR transaction infocontextInfo
- context infoDataValidationErrorException
- if LprTransactionInfo fields are not
validDoesNotExistException
- LUI or Person doesn't existInvalidParameterException
- Invalid lprTransactionType, lprTransactionMissingParameterException
- Missing fields on LprTransactionInfoOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic LprTransactionInfo createLprTransactionFromExisting(String lprTransactionId, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
createLprTransactionFromExisting
in interface LprService
lprTransactionId
- LprTransaction identifiercontextInfo
- the context informationDataValidationErrorException
- LprTransactionInfo is not validDoesNotExistException
- lprTransactionId doesn't existInvalidParameterException
- Invalid lprTransactionIdMissingParameterException
- Missing lprTransactionIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic LprTransactionInfo updateLprTransaction(String lprTransactionId, LprTransactionInfo lprTransactionInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
LprService
updateLprTransaction
in interface LprService
lprTransactionId
- The transaction identifierlprTransactionInfo
- The updated Lpr TransactionDataValidationErrorException
- LprTransactionInfo is not validDoesNotExistException
- lprTransactionId doesn't existInvalidParameterException
- Invalid lprTransactionId or
lprTransactionInfoMissingParameterException
- Missing lprTransactionId or
lprTransactionInfoOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureVersionMismatchException
- for when Optimistic Locking encounters a version mis-match.public LprTransactionInfo getLprTransaction(String lprTransactionId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
getLprTransaction
in interface LprService
lprTransactionId
- The transaction identifiercontextInfo
- the contextual informationDoesNotExistException
- lprTransactionId doesn't existInvalidParameterException
- Invalid lprTransactionIdMissingParameterException
- Missing lprTransactionIdOperationFailedException
- Unable to complete requestPermissionDeniedException
- Authorization failurepublic List<LprTransactionItemInfo> getLprTransactionItemsByPersonAndLui(String personId, String luiId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
getLprTransactionItemsByPersonAndLui
in interface LprService
personId
- The person identifierluiId
- The LUI idcontextInfo
- the context informationDoesNotExistException
- personId or luiId doesn't existInvalidParameterException
- Invalid personId or luiIdMissingParameterException
- Missing personId or luiIdOperationFailedException
- Unable to complete requestPermissionDeniedException
- Authorization failurepublic List<LprTransactionInfo> getLprTransactionsByIds(List<String> lprTransactionIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
getLprTransactionsByIds
in interface LprService
lprTransactionIds
- the ids of the lpr transactionscontextInfo
- the context informationDoesNotExistException
- personId or luiId doesn't existInvalidParameterException
- Invalid personId or luiIdMissingParameterException
- Missing personId or luiIdOperationFailedException
- Unable to complete requestPermissionDeniedException
- Authorization failurepublic List<LprTransactionItemInfo> getLprTransactionItemsByResultingLpr(String lprId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
getLprTransactionItemsByResultingLpr
in interface LprService
lprId
- The resulting lprcontextInfo
- the context infoInvalidParameterException
- Invalid personIdMissingParameterException
- Missing personIdOperationFailedException
- Unable to complete requestPermissionDeniedException
- Authorization failurepublic List<LprTransactionItemInfo> getLprTransactionItemsByLui(String luiId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
getLprTransactionItemsByLui
in interface LprService
luiId
- The LUI identifiercontextInfo
- the ontext infoInvalidParameterException
- Invalid personIdMissingParameterException
- Missing personIdOperationFailedException
- Unable to complete requestPermissionDeniedException
- Authorization failurepublic List<LprTransactionInfo> getUnsubmittedLprTransactionsByRequestingPersonAndAtp(String requestingPersonId, String atpId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
getUnsubmittedLprTransactionsByRequestingPersonAndAtp
in interface LprService
requestingPersonId
- The person identifieratpId
- The ATP IdcontextInfo
- the context infoInvalidParameterException
- Invalid personId or atpIdMissingParameterException
- Missing personId or atpIdOperationFailedException
- Unable to complete requestPermissionDeniedException
- Authorization failurepublic StatusInfo deleteLprTransaction(String lprTransactionId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
deleteLprTransaction
in interface LprService
lprTransactionId
- LPR Transaction identifiercontextInfo
- the context infoDoesNotExistException
- lprTransactionId doesn't existInvalidParameterException
- Invalid lprTransactionIdMissingParameterException
- Missing lprTransactionIdOperationFailedException
- Unable to complete requestPermissionDeniedException
- Authorization failurepublic LprTransactionInfo processLprTransaction(String lprTransactionId, ContextInfo contextInfo) throws AlreadyExistsException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
processLprTransaction
in interface LprService
lprTransactionId
- the id for the LPR transactionAlreadyExistsException
- LPR is already presentDoesNotExistException
- lprTransactionId doesn't existInvalidParameterException
- Invalid lprTransactionIdMissingParameterException
- Missing lprTransactionIdOperationFailedException
- Unable to complete requestPermissionDeniedException
- Authorization failurepublic List<ValidationResultInfo> verifyLprTransaction(String lprTransactionId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
verifyLprTransaction
in interface LprService
lprTransactionId
- the id of the transactioncontextInfo
- the context infoDoesNotExistException
- lprTransactionId doesn't existInvalidParameterException
- Invalid lprTransactionIdMissingParameterException
- Missing lprTransactionIdOperationFailedException
- Unable to complete requestPermissionDeniedException
- Authorization failurepublic List<LprTransactionInfo> searchForLprTransactions(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
searchForLprTransactions
in interface LprService
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
public List<String> searchForLprTransactionIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LprService
searchForLprTransactionIds
in interface LprService
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.