|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LuiService
Learning Unit Insntance (LUI) Service Managages the creation of Instances of the cannonical Learning unit. An instance is associated with a particular time period during which is is offered. This includes course and section offerings as well as program offerings Version: 1.0 (Dev)
| Method Summary | |
|---|---|
LuiInfo |
createLui(String cluId,
String atpKey,
LuiInfo luiInfo,
ContextInfo context)
Creates a new LUI. |
LuiLuiRelationInfo |
createLuiLuiRelation(String luiId,
String relatedLuiId,
String luLuRelationTypeKey,
LuiLuiRelationInfo luiLuiRelationInfo,
ContextInfo context)
Create a relationship between two LUIs. |
StatusInfo |
deleteLui(String luiId,
ContextInfo context)
Deletes a LUI record. |
StatusInfo |
deleteLuiLuiRelation(String luiLuiRelationId,
ContextInfo context)
Deletes a relationship between two LUIs. |
LuiInfo |
getLui(String luiId,
ContextInfo context)
Retrieves information about a LUI. |
List<String> |
getLuiIdsByCluId(String cluId,
ContextInfo context)
Retrieves the list of LUI ids for the specified CLU. |
List<String> |
getLuiIdsByRelation(String relatedLuiId,
String luLuRelationTypeKey,
ContextInfo context)
Retrieves the list of LUI Ids for the specified related LUI Id and LU to LU relation type (getRelatedLuiIdsByLuiId from the other direction). |
List<String> |
getLuiIdsInAtpByCluId(String cluId,
String atpKey,
ContextInfo context)
Retrieves the list of LUI ids for the specified CLU and Time period. |
LuiLuiRelationInfo |
getLuiLuiRelation(String luiLuiRelationId,
ContextInfo context)
Retrieves the relationship information between LUIs given a specific relation instance. |
List<LuiLuiRelationInfo> |
getLuiLuiRelationsByLui(String luiId,
ContextInfo context)
Retrieves the list of relationship information for the specified LUI. |
List<LuiInfo> |
getLuisByIdList(List<String> luiIdList,
ContextInfo context)
Retrieves information about LUIs from a list of Ids. |
List<LuiInfo> |
getLuisByRelation(String relatedLuiId,
String luLuRelationTypeKey,
ContextInfo context)
Retrieves the list of LUI information for the LUIs related to the specified LUI Id with a certain LU to LU relation type. |
List<LuiInfo> |
getLuisInAtpByCluId(String cluId,
String atpKey,
ContextInfo context)
Retrieves the list of LUIs for the specified CLU and period. |
List<String> |
getRelatedLuiIdsByLuiId(String luiId,
String luLuRelationTypeKey,
ContextInfo context)
Retrieves the list of related LUI Ids for the specified LUI Id and LU to LU relation type. |
List<LuiInfo> |
getRelatedLuisByLuiId(String luiId,
String luLuRelationTypeKey,
ContextInfo context)
Retrieves the list of related LUI information for the specified LUI Id and LU to LU relation type (getLuisByRelation from the other direction). |
LuiInfo |
updateLui(String luiId,
LuiInfo luiInfo,
ContextInfo context)
Updates an existing LUI. |
LuiLuiRelationInfo |
updateLuiLuiRelation(String luiLuiRelationId,
LuiLuiRelationInfo luiLuiRelationInfo,
ContextInfo context)
Updates a relationship between two LUIs. |
LuiInfo |
updateLuiState(String luiId,
String luState,
ContextInfo context)
Updates the state of the LUI. |
List<ValidationResultInfo> |
validateLui(String validationType,
LuiInfo luiInfo,
ContextInfo context)
Validates a LUI. |
List<ValidationResultInfo> |
validateLuiLuiRelation(String validationType,
LuiLuiRelationInfo luiLuiRelationInfo,
ContextInfo context)
Validates a relationship between LUIs. |
| Methods inherited from interface org.kuali.student.datadictionary.service.DataDictionaryService |
|---|
getDataDictionaryEntry, getDataDictionaryEntryKeys |
| Methods inherited from interface org.kuali.student.common.service.TypeService |
|---|
getAllowedTypesForType, getType, getTypeRelationsByOwnerType, getTypesByRefObjectURI |
| Method Detail |
|---|
LuiInfo getLui(String luiId,
ContextInfo context)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
luiId - identifier of the LUIcontext - Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException - lui not found
InvalidParameterException - invalid luiId
MissingParameterException - missing luiId
OperationFailedException - unable to complete request
List<LuiInfo> getLuisByIdList(List<String> luiIdList,
ContextInfo context)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
luiIdList - List of LUI identifierscontext - Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException - One or more luis not found
InvalidParameterException - One or more invalid luiIds
MissingParameterException - missing luiIdList
OperationFailedException - unable to complete request
List<LuiInfo> getLuisInAtpByCluId(String cluId,
String atpKey,
ContextInfo context)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
cluId - identifier of the CLUatpKey - identifier for the academic time periodcontext - Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException - clu, atp not found
InvalidParameterException - invalid cluId, atpKey
MissingParameterException - missing cluId, atpKey
OperationFailedException - unable to complete request
List<String> getLuiIdsByCluId(String cluId,
ContextInfo context)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
cluId - identifier of the CLUcontext - Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException - clu not found
InvalidParameterException - invalid cluId
MissingParameterException - missing cluId
OperationFailedException - unable to complete request
List<String> getLuiIdsInAtpByCluId(String cluId,
String atpKey,
ContextInfo context)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
cluId - identifier of the CLUatpKey - identifier for the academic time periodcontext - Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException - clu, atp not found
InvalidParameterException - invalid cluId, atpKey
MissingParameterException - missing cluId, atpKey
OperationFailedException - unable to complete request
List<LuiInfo> getLuisByRelation(String relatedLuiId,
String luLuRelationTypeKey,
ContextInfo context)
throws InvalidParameterException,
MissingParameterException,
OperationFailedException
relatedLuiId - identifier of the LUIluLuRelationTypeKey - the LU to LU relation typecontext - Context information containing the principalId
and locale information about the caller of service
operation
InvalidParameterException - invalid relatedLuiId, luLuRelationTypeKey
MissingParameterException - missing relatedLuiId, luLuRelationTypeKey
OperationFailedException - unable to complete request
List<String> getLuiIdsByRelation(String relatedLuiId,
String luLuRelationTypeKey,
ContextInfo context)
throws InvalidParameterException,
MissingParameterException,
OperationFailedException
relatedLuiId - identifier of the LUIluLuRelationTypeKey - the LU to LU relation typecontext - Context information containing the principalId
and locale information about the caller of service
operation
InvalidParameterException - invalid relatedLuiId, luLuRelationTypeKey
MissingParameterException - missing relatedLuiId, luLuRelationTypeKey
OperationFailedException - unable to complete request
List<LuiInfo> getRelatedLuisByLuiId(String luiId,
String luLuRelationTypeKey,
ContextInfo context)
throws InvalidParameterException,
MissingParameterException,
OperationFailedException
luiId - identifier of the LUIluLuRelationTypeKey - the LU to LU relation typecontext - Context information containing the principalId
and locale information about the caller of service
operation
InvalidParameterException - invalid luiId, luLuRelationTypeKey
MissingParameterException - missing luiId, luLuRelationTypeKey
OperationFailedException - unable to complete request
List<String> getRelatedLuiIdsByLuiId(String luiId,
String luLuRelationTypeKey,
ContextInfo context)
throws InvalidParameterException,
MissingParameterException,
OperationFailedException
luiId - identifier of the LUIluLuRelationTypeKey - the LU to LU relation typecontext - Context information containing the principalId
and locale information about the caller of service
operation
InvalidParameterException - invalid luiId, luLuRelationTypeKey
MissingParameterException - missing luiId, luLuRelationTypeKey
OperationFailedException - unable to complete request
LuiLuiRelationInfo getLuiLuiRelation(String luiLuiRelationId,
ContextInfo context)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
luiLuiRelationId - identifier of LUI to LUI relatiocontext - Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException - luiLuiRelation not found
InvalidParameterException - invalid luiLuiRelationId
MissingParameterException - missing luiLuiRelationId
OperationFailedException - unable to complete request
List<LuiLuiRelationInfo> getLuiLuiRelationsByLui(String luiId,
ContextInfo context)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
luiId - identifier of the LUIcontext - Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException - lui not found
InvalidParameterException - invalid luiId
MissingParameterException - missing luiId
OperationFailedException - unable to complete request
List<ValidationResultInfo> validateLui(String validationType,
LuiInfo luiInfo,
ContextInfo context)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
validationType - identifier of the extent of validationluiInfo - LUI information to be tested.context - Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException - validationTypeKey not found
InvalidParameterException - invalid validationTypeKey, luiInfo
MissingParameterException - missing validationTypeKey, luiInfo
OperationFailedException - unable to complete request
LuiInfo createLui(String cluId,
String atpKey,
LuiInfo luiInfo,
ContextInfo context)
throws AlreadyExistsException,
DataValidationErrorException,
DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException
cluId - identifier of the CLU for the LUI being createdatpKey - identifier of the academic time period for the
LUI being createdluiInfo - information about the LUI being createdcontext - Context information containing the principalId
and locale information about the caller of service
operation
AlreadyExistsException - LUI already exists
DataValidationErrorException - One or more values invalid
for this operation
DoesNotExistException - clu, atp not found
InvalidParameterException - invalid cluId, atpKey, luiInfo
MissingParameterException - missing cluId, atpKey, luiInfo
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
LuiInfo updateLui(String luiId,
LuiInfo luiInfo,
ContextInfo context)
throws DataValidationErrorException,
DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException,
VersionMismatchException
luiId - identifier for the LUI to be updatedluiInfo - updated information about the LUIcontext - Context information containing the principalId
and locale information about the caller of service
operation
DataValidationErrorException - One or more values invalid
for this operation
DoesNotExistException - lui not found
InvalidParameterException - invalid luiId, luiInfo
MissingParameterException - missing luiId, luiInfo
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
VersionMismatchException - The action was attempted on an
out of date version.
StatusInfo deleteLui(String luiId,
ContextInfo context)
throws DependentObjectsExistException,
DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException
luiId - identifier for the LUI to be deletedcontext - Context information containing the principalId
and locale information about the caller of service
operation
DependentObjectsExistException - delete would leave
orphaned objects or violate integrity constraints
DoesNotExistException - lui not found
InvalidParameterException - invalid luiId
MissingParameterException - missing luiId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
LuiInfo updateLuiState(String luiId,
String luState,
ContextInfo context)
throws DataValidationErrorException,
DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException
luiId - identifier for the LUI to be updatedluState - New state for LUI. Value is expected to be
constrained to those in the luState enumeration.context - Context information containing the principalId
and locale information about the caller of service
operation
DataValidationErrorException - New state not valid for
existing state of LUI
DoesNotExistException - lui, luState not found
InvalidParameterException - invalid luiId, luState
MissingParameterException - missing luiId, luState
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
List<ValidationResultInfo> validateLuiLuiRelation(String validationType,
LuiLuiRelationInfo luiLuiRelationInfo,
ContextInfo context)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
validationType - identifier of the extent of validationluiLuiRelationInfo - LUI to LUI relationship information
to be tested.context - Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException - validationTypeKey not found
InvalidParameterException - invalid validationTypeKey,
luiLuiRelationInfo
MissingParameterException - missing validationTypeKey,
luiLuiRelationInfo
OperationFailedException - unable to complete request
LuiLuiRelationInfo createLuiLuiRelation(String luiId,
String relatedLuiId,
String luLuRelationTypeKey,
LuiLuiRelationInfo luiLuiRelationInfo,
ContextInfo context)
throws AlreadyExistsException,
CircularRelationshipException,
DataValidationErrorException,
DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException
luiId - identifier of the first LUI in the relationshiprelatedLuiId - identifier of the second LUI in the
relationship to be related toluLuRelationTypeKey - the LU to LU relationship type of the
relationshipluiLuiRelationInfo - information about the relationship
between the two LUIscontext - Context information containing the principalId
and locale information about the caller of service
operation
AlreadyExistsException - relationship already exists
CircularRelationshipException - luiId equals relatedLuiId
DataValidationErrorException - One or more values invalid
for this operation
DoesNotExistException - luiId, relatedLuiId,
luLuRelationTypeKey not found
InvalidParameterException - invalid luiIds,
luLuRelationTypeKey, luiLuiRelationInfo
MissingParameterException - missing luiIds,
luLuRelationTypeKey, luiLuiRelationInfo
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
LuiLuiRelationInfo updateLuiLuiRelation(String luiLuiRelationId,
LuiLuiRelationInfo luiLuiRelationInfo,
ContextInfo context)
throws DataValidationErrorException,
DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException,
VersionMismatchException
luiLuiRelationId - identifier of the LUI to LUI relation to updateluiLuiRelationInfo - changed information about the
relationship between the two LUIscontext - Context information containing the principalId
and locale information about the caller of service
operation
DataValidationErrorException - One or more values invalid
for this operation
DoesNotExistException - luiLuiRelation not found
InvalidParameterException - invalid luiLuiRelationId,
luiLuiRelationInfo
MissingParameterException - missing luiLuiRelationId,
luiLuiRelationInfo
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
VersionMismatchException - The action was attempted on an
out of date version.
StatusInfo deleteLuiLuiRelation(String luiLuiRelationId,
ContextInfo context)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException
luiLuiRelationId - identifier of the LUI to LUI relation
to deletecontext - Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException - luiLuiRelation not found
InvalidParameterException - invalid luiLuiRelationId
MissingParameterException - missing luiLuiRelationId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||