| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LprService
The Lui Person Relationship (LPR) Service Maintains the relationship between a Learning Unit Instance and a Person. Depending on the type this service maintains relationships such as:
| Method Summary | |
|---|---|
|  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 | 
| Methods inherited from interface org.kuali.student.contract.model.test.source.TypeService | 
|---|
| getAllowedTypesForType, getType, getTypeRelationsByOwnerType, getTypesByRefObjectURI | 
| Methods inherited from interface org.kuali.student.contract.model.test.source.StateService | 
|---|
| getInitialValidStates, getNextHappyState, getProcessKeys, getState, getStatesByProcess | 
| Method Detail | 
|---|
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 operation
DoesNotExistException - luiPersonRelationId not found
InvalidParameterException - invalid luiPersonRelationId
MissingParameterException - missing luiPersonRelationId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
List<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 operation
DoesNotExistException - One or more luiPersonRelationIds not found
InvalidParameterException - One or more invalid luiPersonRelationIds
MissingParameterException - missing luiPersonRelationIdList
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
List<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 operation
DoesNotExistException - personId, luiPersonRelationTypeKey, relationState, person to LUI relationship not found
DisabledIdentifierException - personId found, but has been retired
InvalidParameterException - invalid personId, luiPersonRelationTypeKey, relationState
MissingParameterException - missing personId, luiPersonRelationTypeKey, relationState
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
List<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 operation
DoesNotExistException - luiId, luiPersonRelationTypeKey, relationState, LUI to person relationship not found
InvalidParameterException - invalid luiId, luiPersonRelationTypeKey, relationState
MissingParameterException - missing luiId, luiPersonRelationTypeKey, relationState
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
List<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 operation
DoesNotExistException - personId, luiId not found
DisabledIdentifierException - personId found, but has been retired
InvalidParameterException - invalid personId, luiId
MissingParameterException - missing personId, luiId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
List<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 operation
DoesNotExistException - personId, luiId not found
DisabledIdentifierException - personId found, but has been retired
InvalidParameterException - invalid personId, luiId
MissingParameterException - missing personId, luiId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
List<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 operation
DoesNotExistException - personId not found
DisabledIdentifierException - personId found, but has been retired
InvalidParameterException - invalid personId
MissingParameterException - missing personId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
List<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 operation
DoesNotExistException - personId not found
DisabledIdentifierException - personId found, but has been retired
InvalidParameterException - invalid personId
MissingParameterException - missing personId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
List<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 operation
DoesNotExistException - luiId not found
InvalidParameterException - invalid luiId
MissingParameterException - missing luiId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
List<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 operation
DoesNotExistException - luiId not found
InvalidParameterException - invalid luiId
MissingParameterException - missing luiId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
List<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 operation
DoesNotExistException - luiPersonRelationInfo not found
InvalidParameterException - invalid luiPersonRelationInfo relationState
MissingParameterException - missing luiPersonRelationInfo
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
List<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 operation
DoesNotExistException - personId, luiPersonRelationTypeKey, relationState, atpId not found
DisabledIdentifierException - personId found, but has been retired
InvalidParameterException - invalid personId, luiPersonRelationTypeKey, relationState, atpId
MissingParameterException - missing personId, luiPersonRelationTypeKey, relationState, atpId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
String 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 operation
AlreadyExistsException - relation already exists
DataValidationErrorException - if luiPeronsRelationInfo is not valid
ReadOnlyException - attempt to update a read only attribute
DoesNotExistException - personId, luiId, relationState, luiPersonRelationTypeKey does not exist
DisabledIdentifierException - personId found, but has been retired
InvalidParameterException - invalid personId, luiId, relationState, luiPersonRelationTypeKey, luiPersonRelationInfo
MissingParameterException - missing personId, luiId, relationState, luiPersonRelationTypeKey, luiPersonRelationInfo
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
List<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
                              operation
AlreadyExistsException - relation already exists
DataValidationErrorException - if luiPeronsRelationInfo is not valid
ReadOnlyException - attempt to update a read only attribute
DoesNotExistException - personId, luiId, relationState, luiPersonRelationTypeKey does not exist
DisabledIdentifierException - personId found, but has been retired
InvalidParameterException - invalid personId, luiId, relationState, luiPersonRelationTypeKey, luiPersonRelationInfo
MissingParameterException - missing personId, luiId, relationState, luiPersonRelationTypeKey, luiPersonRelationInfo
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
List<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
                              operation
AlreadyExistsException - relation already exists
DoesNotExistException - personId, luiId, relationState, luiPersonRelationTypeKey does not exist
DisabledIdentifierException - personId found, but has been retired
DataValidationErrorException - errors validating luiPersonRelationInfo with all data filled in
InvalidParameterException - invalid personId, luiId, relationState, luiPersonRelationTypeKey, luiPersonRelationInfo
MissingParameterException - missing personId, luiId, relationState, luiPersonRelationTypeKey, luiPersonRelationInfo
OperationFailedException - unable to complete request
ReadOnlyException - attempt to update a read only attribute
PermissionDeniedException - authorization failure
LprInfo 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
                              operation
DataValidationErrorException - if luiPersonRelationInfo is not valid
DoesNotExistException - luiPersonRelationId does not exist
InvalidParameterException - invalid luiPersonRelationId, luiPersonRelationInfo
MissingParameterException - missing luiPersonRelationId, luiPersonRelationInfo
ReadOnlyException - attempt to update a read only attribute
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
VersionMismatchException - if optimistic lock version ind has changed
StatusInfo 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
                            operation
DoesNotExistException - luiPersonRelationId does not exist
InvalidParameterException - invalid luiPersonRelationId
MissingParameterException - missing luiPersonRelationId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||