public interface LprService extends TypeService, StateService
Modifier and Type | Method and Description |
---|---|
List<String> |
createBulkRelationshipsForLui(String luiId,
List<String> personIdList,
String relationState,
String luiPersonRelationTypeKey,
LprInfo luiPersonRelationInfo,
ContextInfo context)
Creates bulk relationships for one specified LUI.
|
List<String> |
createBulkRelationshipsForPerson(String personId,
List<String> luiIdList,
String relationState,
String luiPersonRelationTypeKey,
LprInfo luiPersonRelationInfo,
ContextInfo context)
Creates bulk relationships for one specified person.
|
String |
createLuiPersonRelation(String personId,
String luiId,
String luiPersonRelationTypeKey,
LprInfo luiPersonRelationInfo,
ContextInfo context)
Creates relation between the specified Person and LUI
|
StatusInfo |
deleteLuiPersonRelation(String luiPersonRelationId,
ContextInfo context)
Deletes relation between the specified Person and LUI
|
LprInfo |
fetchLuiPersonRelation(String luiPersonRelationId,
ContextInfo context)
Retrieves the Relation for the specified LUI Person Relation
|
List<String> |
findAllValidLuisForPerson(String personId,
String luiPersonRelationTypeKey,
String relationState,
String atpId,
ContextInfo context)
Retrieves LUIs for an academic time period where the specified relation type and state would be valid for the specified person
|
List<String> |
findLuiIdsRelatedToPerson(String personId,
String luiPersonRelationTypeKey,
String relationState,
ContextInfo context)
Retrieves the LUI Ids for Person related to LUI
|
List<String> |
findLuiPersonRelationIds(String personId,
String luiId,
ContextInfo context)
Retrieves LUI Person Relation Ids
|
List<String> |
findLuiPersonRelationIdsForLui(String luiId,
ContextInfo context)
Retrieves LUIPersonRelation for LUI
|
List<String> |
findLuiPersonRelationIdsForPerson(String personId,
ContextInfo context)
Retrieves LUI Person Relation Ids for Person
|
List<LprInfo> |
findLuiPersonRelations(String personId,
String luiId,
ContextInfo context)
Retrieves Person Relation for LUI
|
List<LprInfo> |
findLuiPersonRelationsByIdList(List<String> luiPersonRelationIdList,
ContextInfo context)
Retrieves the Relation for the specified list of LUI Person Relation Ids
|
List<LprInfo> |
findLuiPersonRelationsForLui(String luiId,
ContextInfo context)
Retrieves LUI Person Relation for a specified LUI
|
List<LprInfo> |
findLuiPersonRelationsForPerson(String personId,
ContextInfo context)
Retrieves LUI Person Relation for Person
|
List<String> |
findPersonIdsRelatedToLui(String luiId,
String luiPersonRelationTypeKey,
String relationState,
ContextInfo context)
Retrieves Person Ids related to the specified LUI
|
LprInfo |
updateLuiPersonRelation(String luiPersonRelationId,
LprInfo luiPersonRelationInfo,
ContextInfo context)
Update relation between Person and LUI
|
List<ValidationResultInfo> |
validateLuiPersonRelation(String validationType,
LprInfo luiPersonRelationInfo,
ContextInfo context)
Validates the particular relation in a state for a Person and LUI
|
getAllowedTypesForType, getType, getTypeRelationsByOwnerType, getTypesByRefObjectURI
getInitialValidStates, getNextHappyState, getProcessKeys, getState, getStatesByProcess
LprInfo fetchLuiPersonRelation(String luiPersonRelationId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
luiPersonRelationId
- Identifier for the LUI Person Relationcontext
- Context information containing the principalId and locale information about the caller of service operationDoesNotExistException
- luiPersonRelationId not foundInvalidParameterException
- invalid luiPersonRelationIdMissingParameterException
- missing luiPersonRelationIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureList<LprInfo> findLuiPersonRelationsByIdList(List<String> luiPersonRelationIdList, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
luiPersonRelationIdList
- List of identifiers for LUI Person Relationscontext
- Context information containing the principalId and locale information about the caller of service operationDoesNotExistException
- One or more luiPersonRelationIds not foundInvalidParameterException
- One or more invalid luiPersonRelationIdsMissingParameterException
- missing luiPersonRelationIdListOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureList<String> findLuiIdsRelatedToPerson(String personId, String luiPersonRelationTypeKey, String relationState, ContextInfo context) throws DoesNotExistException, DisabledIdentifierException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
personId
- Identifier for the LUI Person RelationluiPersonRelationTypeKey
- Type of LUI Person RelationrelationState
- Relation Statecontext
- Context information containing the principalId and locale information about the caller of service operationDoesNotExistException
- personId, luiPersonRelationTypeKey, relationState, person to LUI relationship not foundDisabledIdentifierException
- personId found, but has been retiredInvalidParameterException
- invalid personId, luiPersonRelationTypeKey, relationStateMissingParameterException
- missing personId, luiPersonRelationTypeKey, relationStateOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureList<String> findPersonIdsRelatedToLui(String luiId, String luiPersonRelationTypeKey, String relationState, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
luiId
- Identifier for the LUIluiPersonRelationTypeKey
- Type of LUI Person RelationrelationState
- Relation Statecontext
- Context information containing the principalId and locale information about the caller of service operationDoesNotExistException
- luiId, luiPersonRelationTypeKey, relationState, LUI to person relationship not foundInvalidParameterException
- invalid luiId, luiPersonRelationTypeKey, relationStateMissingParameterException
- missing luiId, luiPersonRelationTypeKey, relationStateOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureList<LprInfo> findLuiPersonRelations(String personId, String luiId, ContextInfo context) throws DoesNotExistException, DisabledIdentifierException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
personId
- Identifier for personluiId
- Identifier for LUIcontext
- Context information containing the principalId and locale information about the caller of service operationDoesNotExistException
- personId, luiId not foundDisabledIdentifierException
- personId found, but has been retiredInvalidParameterException
- invalid personId, luiIdMissingParameterException
- missing personId, luiIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureList<String> findLuiPersonRelationIds(String personId, String luiId, ContextInfo context) throws DoesNotExistException, DisabledIdentifierException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
personId
- Identifier for personluiId
- Identifier for LUIcontext
- Context information containing the principalId and locale information about the caller of service operationDoesNotExistException
- personId, luiId not foundDisabledIdentifierException
- personId found, but has been retiredInvalidParameterException
- invalid personId, luiIdMissingParameterException
- missing personId, luiIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureList<LprInfo> findLuiPersonRelationsForPerson(String personId, ContextInfo context) throws DoesNotExistException, DisabledIdentifierException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
personId
- Identifier for personcontext
- Context information containing the principalId and locale information about the caller of service operationDoesNotExistException
- personId not foundDisabledIdentifierException
- personId found, but has been retiredInvalidParameterException
- invalid personIdMissingParameterException
- missing personIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureList<String> findLuiPersonRelationIdsForPerson(String personId, ContextInfo context) throws DoesNotExistException, DisabledIdentifierException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
personId
- Identifier for personcontext
- Context information containing the principalId and locale information about the caller of service operationDoesNotExistException
- personId not foundDisabledIdentifierException
- personId found, but has been retiredInvalidParameterException
- invalid personIdMissingParameterException
- missing personIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureList<LprInfo> findLuiPersonRelationsForLui(String luiId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
luiId
- Identifier for LUIcontext
- 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 failureList<String> findLuiPersonRelationIdsForLui(String luiId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
luiId
- Identifier for LUIcontext
- 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 failureList<ValidationResultInfo> validateLuiPersonRelation(String validationType, LprInfo luiPersonRelationInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
validationType
- Identifier of the extent of validationluiPersonRelationInfo
- LuiPersonRelation to be validatedcontext
- Context information containing the principalId and locale information about the caller of service operationDoesNotExistException
- luiPersonRelationInfo not foundInvalidParameterException
- invalid luiPersonRelationInfo relationStateMissingParameterException
- missing luiPersonRelationInfoOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureList<String> findAllValidLuisForPerson(String personId, String luiPersonRelationTypeKey, String relationState, String atpId, ContextInfo context) throws DoesNotExistException, DisabledIdentifierException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
personId
- Identifier for personluiPersonRelationTypeKey
- Type of luiPersonRelationIrelationState
- Relation StateatpId
- Identifier for academic time periodcontext
- Context information containing the principalId and locale information about the caller of service operationDoesNotExistException
- personId, luiPersonRelationTypeKey, relationState, atpId not foundDisabledIdentifierException
- personId found, but has been retiredInvalidParameterException
- invalid personId, luiPersonRelationTypeKey, relationState, atpIdMissingParameterException
- missing personId, luiPersonRelationTypeKey, relationState, atpIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureString createLuiPersonRelation(String personId, String luiId, String luiPersonRelationTypeKey, LprInfo luiPersonRelationInfo, ContextInfo context) throws DataValidationErrorException, AlreadyExistsException, DoesNotExistException, DisabledIdentifierException, ReadOnlyException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
personId
- Person IdentifierluiId
- LUI IdentifierluiPersonRelationTypeKey
- Type of LUI to Person RelationluiPersonRelationInfo
- Information required to create the LUI Person relationcontext
- Context information containing the principalId and locale information about the caller of service operationAlreadyExistsException
- relation already existsDataValidationErrorException
- if luiPeronsRelationInfo is not validReadOnlyException
- attempt to update a read only attributeDoesNotExistException
- personId, luiId, relationState, luiPersonRelationTypeKey does not existDisabledIdentifierException
- personId found, but has been retiredInvalidParameterException
- invalid personId, luiId, relationState, luiPersonRelationTypeKey, luiPersonRelationInfoMissingParameterException
- missing personId, luiId, relationState, luiPersonRelationTypeKey, luiPersonRelationInfoOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureList<String> createBulkRelationshipsForPerson(String personId, List<String> luiIdList, String relationState, String luiPersonRelationTypeKey, LprInfo luiPersonRelationInfo, ContextInfo context) throws DataValidationErrorException, AlreadyExistsException, DoesNotExistException, DisabledIdentifierException, ReadOnlyException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
personId
- Identifier for PersonluiIdList
- Simple list of LUI identifiersrelationState
- Relation stateluiPersonRelationTypeKey
- Type of LUI Person relationluiPersonRelationInfo
- Information required to create the LUI Person relationcontext
- Context information containing the principalId
and locale information about the caller of service
operationAlreadyExistsException
- relation already existsDataValidationErrorException
- if luiPeronsRelationInfo is not validReadOnlyException
- attempt to update a read only attributeDoesNotExistException
- personId, luiId, relationState, luiPersonRelationTypeKey does not existDisabledIdentifierException
- personId found, but has been retiredInvalidParameterException
- invalid personId, luiId, relationState, luiPersonRelationTypeKey, luiPersonRelationInfoMissingParameterException
- missing personId, luiId, relationState, luiPersonRelationTypeKey, luiPersonRelationInfoOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureList<String> createBulkRelationshipsForLui(String luiId, List<String> personIdList, String relationState, String luiPersonRelationTypeKey, LprInfo luiPersonRelationInfo, ContextInfo context) throws AlreadyExistsException, DataValidationErrorException, DoesNotExistException, DisabledIdentifierException, ReadOnlyException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
luiId
- Identifier for LuipersonIdList
- Simple list of Person identifiersrelationState
- Relation stateluiPersonRelationTypeKey
- Type of LUI Person relationluiPersonRelationInfo
- Information required to create the LUI Person relationcontext
- Context information containing the principalId
and locale information about the caller of service
operationAlreadyExistsException
- relation already existsDoesNotExistException
- personId, luiId, relationState, luiPersonRelationTypeKey does not existDisabledIdentifierException
- personId found, but has been retiredDataValidationErrorException
- errors validating luiPersonRelationInfo with all data filled inInvalidParameterException
- invalid personId, luiId, relationState, luiPersonRelationTypeKey, luiPersonRelationInfoMissingParameterException
- missing personId, luiId, relationState, luiPersonRelationTypeKey, luiPersonRelationInfoOperationFailedException
- unable to complete requestReadOnlyException
- attempt to update a read only attributePermissionDeniedException
- authorization failureLprInfo updateLuiPersonRelation(String luiPersonRelationId, LprInfo luiPersonRelationInfo, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, ReadOnlyException, OperationFailedException, PermissionDeniedException, VersionMismatchException
luiPersonRelationId
- Identifier for the LUI Person RelationluiPersonRelationInfo
- Changed information about the LUI Person Relationcontext
- Context information containing the principalId
and locale information about the caller of service
operationDataValidationErrorException
- if luiPersonRelationInfo is not validDoesNotExistException
- luiPersonRelationId does not existInvalidParameterException
- invalid luiPersonRelationId, luiPersonRelationInfoMissingParameterException
- missing luiPersonRelationId, luiPersonRelationInfoReadOnlyException
- attempt to update a read only attributeOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureVersionMismatchException
- if optimistic lock version ind has changedStatusInfo deleteLuiPersonRelation(String luiPersonRelationId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
luiPersonRelationId
- Identifier for the LUI Person Relationcontext
- Context information containing the principalId
and locale information about the caller of service
operationDoesNotExistException
- luiPersonRelationId does not existInvalidParameterException
- invalid luiPersonRelationIdMissingParameterException
- missing luiPersonRelationIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureCopyright © 2004–2014 The Kuali Foundation. All rights reserved.