|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LearningObjectiveService
Method Summary | |
---|---|
StatusInfo |
addLoCategoryToLo(String loCategoryId,
String loId)
Add a existing learning objective category to an existing learning objective in the same repository. |
LoInfo |
createLo(String loRepositoryKey,
String loType,
LoInfo loInfo)
Create a learning objective. |
LoCategoryInfo |
createLoCategory(String loRepositoryKey,
String loCategoryTypeKey,
LoCategoryInfo loCategoryInfo)
Create a learning objective category in a particular learning objective repository. |
LoLoRelationInfo |
createLoLoRelation(String loId,
String relatedLoId,
String loLoRelationType,
LoLoRelationInfo loLoRelationInfo)
Create a directional relationship between two LOs |
StatusInfo |
deleteLo(String loId)
Delete a learning objective. |
StatusInfo |
deleteLoCategory(String loCategoryId)
Deletes a learning objective category. |
StatusInfo |
deleteLoLoRelation(String loLoRelationId)
Deletes a relationship between two LOs |
List<String> |
getAllowedLoLoRelationTypesForLoType(String loTypeKey,
String relatedLoTypeKey)
Retrieves the list of allowed relation types between the two specified LO Types |
LoInfo |
getLo(String loId)
Retrieves information on a single learning objective. |
List<LoInfo> |
getLoByIdList(List<String> loId)
Retrieves information on multiple learning objectives. |
List<LoCategoryInfo> |
getLoCategories(String loRepositoryKey)
Retrieves information about all the learning objective categories in a given learning objective repository. |
List<LoCategoryInfo> |
getLoCategoriesForLo(String loId)
Retrieves a list of learning objective categories for a specific learning objective. |
LoCategoryInfo |
getLoCategory(String loCategoryId)
Retrieves information about an learning objective category. |
LoCategoryTypeInfo |
getLoCategoryType(String loCategoryTypeKey)
Retrieves information about a particular learning objective category type. |
List<LoCategoryTypeInfo> |
getLoCategoryTypes()
Retrieves the list of learning objective category types known by this service. |
LoLoRelationInfo |
getLoLoRelation(String loLoRelationId)
Retrieves the relationship information between LOs for a particular relationship identifier |
List<LoLoRelationInfo> |
getLoLoRelationsByLoId(String loId)
Retrieves the relationship information between LOs for a particular LO. |
LoLoRelationTypeInfo |
getLoLoRelationType(String loLoRelationTypeKey)
Retrieves the LO to LO relation type |
List<LoLoRelationTypeInfo> |
getLoLoRelationTypes()
Retrieves the complete list of LO to LO relation types |
List<LoRepositoryInfo> |
getLoRepositories()
Retrieves the list of learning objective repositories known by this service. |
LoRepositoryInfo |
getLoRepository(String loRepositoryKey)
Retrieves information about a particular learning objective repository. |
List<LoInfo> |
getLosByLoCategory(String loCategoryId)
Retrieves a list of learning objectives that have a specific learning objective category. |
List<LoInfo> |
getLosByRelatedLoId(String relatedLoId,
String loLoRelationType)
Retrieves the list of LO information for the LOs related to a specified LO Id with a certain LU to LU relation type (getRelatedLosByLoId from the other direction) |
List<LoInfo> |
getLosByRepository(String loRepositoryKey,
String loTypeKey,
String loStateKey)
Retrieves learning objectives from a given repository of a given type and state. |
LoTypeInfo |
getLoType(String loTypeKey)
Retrieves information about a particular learning objective type. |
List<LoTypeInfo> |
getLoTypes()
Retrieves the list of learning objective types known by this service. |
List<LoInfo> |
getRelatedLosByLoId(String loId,
String loLoRelationType)
Retrieves the list of related LO information for the specified LO Id and LU to LU relation type (getLosByRelatedLoId from the other direction) |
StatusInfo |
removeLoCategoryFromLo(String loCategoryId,
String loId)
Remove a existing learning objective category from an existing learning objective in the same repository. |
LoInfo |
updateLo(String loId,
LoInfo loInfo)
Update a learning objective. |
LoCategoryInfo |
updateLoCategory(String loCategoryId,
LoCategoryInfo loCategoryInfo)
Updates a learning objective category in a particular learning objective repository. |
LoLoRelationInfo |
updateLoLoRelation(String loLoRelationId,
LoLoRelationInfo loLoRelationInfo)
Updates a relationship between two LOs |
List<ValidationResultInfo> |
validateLo(String validationType,
LoInfo loInfo)
Validates a learning objective. |
List<ValidationResultInfo> |
validateLoCategory(String validationType,
LoCategoryInfo loCategoryInfo)
Validates a learning objective category. |
List<ValidationResultInfo> |
validateLoLoRelation(String validationType,
LoLoRelationInfo loLoRelationInfo)
Validates a loLoRelation. |
Methods inherited from interface org.kuali.student.common.dictionary.service.DictionaryService |
---|
getObjectStructure, getObjectTypes |
Methods inherited from interface org.kuali.student.common.search.service.SearchService |
---|
getSearchCriteriaType, getSearchCriteriaTypes, getSearchResultType, getSearchResultTypes, getSearchType, getSearchTypes, getSearchTypesByCriteria, getSearchTypesByResult, search |
Method Detail |
---|
List<LoRepositoryInfo> getLoRepositories() throws OperationFailedException
OperationFailedException
- unable to complete requestLoRepositoryInfo getLoRepository(String loRepositoryKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
loRepositoryKey
- learning objective repository identifier
DoesNotExistException
- specified learning objective repository not found
InvalidParameterException
- invalid loRepositoryKey
MissingParameterException
- loRepositoryKey not specified
OperationFailedException
- unable to complete requestList<LoCategoryTypeInfo> getLoCategoryTypes() throws OperationFailedException
OperationFailedException
- unable to complete requestLoCategoryTypeInfo getLoCategoryType(String loCategoryTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
loCategoryTypeKey
- learning objective category type identifier
DoesNotExistException
- specified learning objective category type not found
InvalidParameterException
- invalid loCategoryTypeKey
MissingParameterException
- loCategoryTypeKey not specified
OperationFailedException
- unable to complete requestList<LoTypeInfo> getLoTypes() throws OperationFailedException
OperationFailedException
- unable to complete requestLoTypeInfo getLoType(String loTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
loTypeKey
- learning objective type identifier
DoesNotExistException
- specified learning objective type not found
InvalidParameterException
- invalid loTypeKey
MissingParameterException
- loTypeKey not specified
OperationFailedException
- unable to complete requestList<LoLoRelationTypeInfo> getLoLoRelationTypes() throws OperationFailedException
OperationFailedException
- unable to complete requestLoLoRelationTypeInfo getLoLoRelationType(String loLoRelationTypeKey) throws OperationFailedException, MissingParameterException, DoesNotExistException
loLoRelationTypeKey
- Key of the LO to LO Relation Type
OperationFailedException
- unable to complete request
MissingParameterException
DoesNotExistException
List<String> getAllowedLoLoRelationTypesForLoType(String loTypeKey, String relatedLoTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
loTypeKey
- Key of the first LO TyperelatedLoTypeKey
- Key of the second LO Type
DoesNotExistException
- loTypeKey, relatedLoTypeKey not found
InvalidParameterException
- invalid loTypeKey, relatedLoTypeKey
MissingParameterException
- missing loTypeKey, relatedLoTypeKey
OperationFailedException
- unable to complete requestList<LoCategoryInfo> getLoCategories(String loRepositoryKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
loRepositoryKey
- loRepository identifier
DoesNotExistException
- loRepositoryKey not found
InvalidParameterException
- invalid loRepositoryKey
MissingParameterException
- missing loRepositoryKey
OperationFailedException
- unable to complete requestLoCategoryInfo getLoCategory(String loCategoryId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
loCategoryId
- loCategory identifier
DoesNotExistException
- loCategoryId not found
InvalidParameterException
- invalid loCategoryId
MissingParameterException
- missing loCategoryId
OperationFailedException
- unable to complete requestLoInfo getLo(String loId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
loId
- learning objective identifier
DoesNotExistException
- loId not found
InvalidParameterException
- invalid loId
MissingParameterException
- missing loId
OperationFailedException
- unable to complete requestList<LoInfo> getLoByIdList(List<String> loId) throws InvalidParameterException, MissingParameterException, OperationFailedException
loId
- list of learning objective identifiers
InvalidParameterException
- invalid loIdList
MissingParameterException
- missing loIdList
OperationFailedException
- unable to complete requestList<LoInfo> getLosByRepository(String loRepositoryKey, String loTypeKey, String loStateKey) throws InvalidParameterException, MissingParameterException, OperationFailedException
loRepositoryKey
- repository identifierloTypeKey
- learning objective type identifierloStateKey
- learning objective state identifier
InvalidParameterException
- one or more parameters invalid
MissingParameterException
- one or more missing parameters missing
OperationFailedException
- unable to complete requestList<LoCategoryInfo> getLoCategoriesForLo(String loId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
loId
- learning objective identifier
DoesNotExistException
- loCategoryId not found
InvalidParameterException
- invalid loId
MissingParameterException
- missing loId
OperationFailedException
- unable to complete requestList<LoInfo> getLosByLoCategory(String loCategoryId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
loCategoryId
- learning objective category identifier
DoesNotExistException
- loCategoryId not found
InvalidParameterException
- invalid loCategoryId
MissingParameterException
- missing loCategoryId
OperationFailedException
- unable to complete requestList<LoInfo> getLosByRelatedLoId(String relatedLoId, String loLoRelationType) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
relatedLoId
- identifier of the LOloLoRelationType
- the LO to LO relation type
DoesNotExistException
- relatedLoId, loLoRelationType not found
InvalidParameterException
- invalid relatedLoId, loLoRelationType
MissingParameterException
- missing relatedLoId, loLoRelationType
OperationFailedException
- unable to complete requestList<LoInfo> getRelatedLosByLoId(String loId, String loLoRelationType) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
loId
- identifier of the LOloLoRelationType
- the LO to LO relation type
DoesNotExistException
- loId, loLoRelationType not found
InvalidParameterException
- invalid loId, loLoRelationType
MissingParameterException
- missing loId, loLoRelationType
OperationFailedException
- unable to complete requestLoLoRelationInfo getLoLoRelation(String loLoRelationId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
loLoRelationId
- identifier of the LO to LO relationship
DoesNotExistException
- loLoRelationId not found
InvalidParameterException
- invalid loLoRelationId
MissingParameterException
- missing loLoRelationId
OperationFailedException
- unable to complete requestList<LoLoRelationInfo> getLoLoRelationsByLoId(String loId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
loId
- identifier of the LO
DoesNotExistException
- loId not found
InvalidParameterException
- invalid loId
MissingParameterException
- missing loId
OperationFailedException
- unable to complete requestList<ValidationResultInfo> validateLoCategory(String validationType, LoCategoryInfo loCategoryInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
validationType
- identifier of the extent of validationloCategoryInfo
- learning objective category information to be tested.
DoesNotExistException
- validationTypeKey not found
InvalidParameterException
- invalid validationTypeKey, loCategoryInfo
MissingParameterException
- missing validationTypeKey, loCategoryInfo
OperationFailedException
- unable to complete requestLoCategoryInfo createLoCategory(String loRepositoryKey, String loCategoryTypeKey, LoCategoryInfo loCategoryInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
loRepositoryKey
- identifier of the learning objective repositoryloCategoryTypeKey
- identifier of the learning objective category typeloCategoryInfo
- information to create the learning objective category
DataValidationErrorException
- One or more values invalid for this operation
DoesNotExistException
- loRepositoryKey, loCategoryTypeKey not found
InvalidParameterException
- invalid loRepositoryKey, loCategoryTypeKey, loCategoryInfo
MissingParameterException
- missing loRepositoryKey, loCategoryTypeKey, loCategoryInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failureLoCategoryInfo updateLoCategory(String loCategoryId, LoCategoryInfo loCategoryInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
loCategoryId
- the learning objective category identifierloCategoryInfo
- information to create the learning objective category
DataValidationErrorException
- One or more values invalid for this operation
DoesNotExistException
- loCategoryId not found
InvalidParameterException
- invalid loCategoryId, loCategoryInfo
MissingParameterException
- missing loCategoryId, loCategoryInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
VersionMismatchException
- action was attempted on an out of date version.StatusInfo deleteLoCategory(String loCategoryId) throws DependentObjectsExistException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
loCategoryId
- learning objective category identifier
DependentObjectsExistException
- learning objective category is still attached to one or more learning objectives
DoesNotExistException
- loCategoryId not found
InvalidParameterException
- invalid loCategoryId
MissingParameterException
- missing loCategoryId
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failureList<ValidationResultInfo> validateLo(String validationType, LoInfo loInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
validationType
- identifier of the extent of validationloInfo
- learning objective information to be tested.
DoesNotExistException
- validationTypeKey not found
InvalidParameterException
- invalid validationTypeKey, loInfo
MissingParameterException
- missing validationTypeKey, loInfo
OperationFailedException
- unable to complete requestLoInfo createLo(String loRepositoryKey, String loType, LoInfo loInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
loRepositoryKey
- identifier of the learning objective repositoryloType
- type for the learning objectiveloInfo
- information to create the learning objective
DataValidationErrorException
- One or more values invalid for this operation
DoesNotExistException
- loRepositoryKey, loType not found
InvalidParameterException
- invalid loRepositoryKey, loType, loInfo
MissingParameterException
- missing loRepositoryKey, loType, loInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failureLoInfo updateLo(String loId, LoInfo loInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
loId
- identifier of the learning objective to updateloInfo
- updated information on the learning objective
DataValidationErrorException
- One or more values invalid for this operation
DoesNotExistException
- loId not found
InvalidParameterException
- invalid loId, loInfo
MissingParameterException
- missing loId, loInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
VersionMismatchException
- action was attempted on an out of date version.StatusInfo deleteLo(String loId) throws DependentObjectsExistException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
loId
- identifier of the learning objective to delete
DependentObjectsExistException
- removing the learning objective will orphan one or more child learning objectives
DoesNotExistException
- loId not found
InvalidParameterException
- invalid loId
MissingParameterException
- missing loId
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failureStatusInfo addLoCategoryToLo(String loCategoryId, String loId) throws AlreadyExistsException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, UnsupportedActionException
loCategoryId
- identifier of the learning objective category to addloId
- identifier of the learning objective
AlreadyExistsException
- loCategoryId is already set as a category of the LoId
DoesNotExistException
- loId, loCategoryId not found
InvalidParameterException
- invalid loId, loCategoryId
MissingParameterException
- missing loId, loCategoryId
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
UnsupportedActionException
- loId, loCategoryId are not in the same repositoryStatusInfo removeLoCategoryFromLo(String loCategoryId, String loId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, UnsupportedActionException
loCategoryId
- identifier of the learning objective category to removeloId
- identifier of the learning objective
DoesNotExistException
- loId, loCategoryId not found
InvalidParameterException
- invalid loId, loCategoryId
MissingParameterException
- missing loId, loCategoryId
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
UnsupportedActionException
- loId, loCategoryId are not in the same repositoryList<ValidationResultInfo> validateLoLoRelation(String validationType, LoLoRelationInfo loLoRelationInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
validationType
- identifier of the extent of validationloLoRelationInfo
- loLoRelation information to be tested.
DoesNotExistException
- validationTypeKey not found
InvalidParameterException
- invalid validationTypeKey, loLoRelationInfo
MissingParameterException
- missing validationTypeKey, loLoRelationInfo
OperationFailedException
- unable to complete requestLoLoRelationInfo createLoLoRelation(String loId, String relatedLoId, String loLoRelationType, LoLoRelationInfo loLoRelationInfo) throws AlreadyExistsException, CircularRelationshipException, DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
loId
- identifier of the first LO in the relationship - The From or Parent of the relationrelatedLoId
- identifier of the second LO in the relationship to be related to - the To or Child of the RelationloLoRelationType
- the type of the LO to LO relationshiploLoRelationInfo
- information about the relationship between the two LOs
AlreadyExistsException
- relationship already exists
CircularRelationshipException
- Relation would create a loop (with ancestor Lo)
DataValidationErrorException
- One or more values invalid for this operation
DoesNotExistException
- loId, relatedLoId, luLuRelationType not found
InvalidParameterException
- invalid loId, relatedLoId, luluRelationType, loLoRelationInfo
MissingParameterException
- missing loId, relatedLoId, luluRelationType, loLoRelationInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failureLoLoRelationInfo updateLoLoRelation(String loLoRelationId, LoLoRelationInfo loLoRelationInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
loLoRelationId
- identifier of the LO to LO relation to be updatedloLoRelationInfo
- changed information about the LO to LO relationship
DataValidationErrorException
- One or more values invalid for this operation
DoesNotExistException
- loLoRelationId not found
InvalidParameterException
- invalid loLoRelationId, loLoRelationInfo
MissingParameterException
- missing loLoRelationId, loLoRelationInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
VersionMismatchException
- The action was attempted on an out of date version.StatusInfo deleteLoLoRelation(String loLoRelationId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
loLoRelationId
- identifier of LO to LO relationship to delete
DoesNotExistException
- loLoRelationId not found
InvalidParameterException
- invalid loLoRelationId
MissingParameterException
- missing loLoRelationId
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
DependentObjectsExistException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |