|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.student.lum.lo.service.impl.LearningObjectiveServiceImpl
public class LearningObjectiveServiceImpl
Constructor Summary | |
---|---|
LearningObjectiveServiceImpl()
|
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 repositoryId,
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> loIds)
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. |
LoDao |
getLoDao()
|
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. |
ObjectStructureDefinition |
getObjectStructure(String objectTypeKey)
|
List<String> |
getObjectTypes()
|
List<LoInfo> |
getRelatedLosByLoId(String loId,
String loLoRelationTypeKey)
Retrieves the list of related LO information for the specified LO Id and LU to LU relation type (getLosByRelatedLoId from the other direction) |
SearchCriteriaTypeInfo |
getSearchCriteriaType(String searchCriteriaTypeKey)
Retrieves information about a particular search criteria type. |
List<SearchCriteriaTypeInfo> |
getSearchCriteriaTypes()
Retrieves the list of search criteria types known by this service. |
SearchResultTypeInfo |
getSearchResultType(String searchResultTypeKey)
Retrieves information about a particular search result type. |
List<SearchResultTypeInfo> |
getSearchResultTypes()
Retrieves the list of search result types known by this service. |
SearchTypeInfo |
getSearchType(String searchTypeKey)
Retrieves information about a particular search type. |
List<SearchTypeInfo> |
getSearchTypes()
Retrieves the list of search types known by this service. |
List<SearchTypeInfo> |
getSearchTypesByCriteria(String searchCriteriaTypeKey)
Retrieves the list of search types which use criteria in the specified format. |
List<SearchTypeInfo> |
getSearchTypesByResult(String searchResultTypeKey)
Retrieves the list of search types which return results in the specified format. |
ValidatorFactory |
getValidatorFactory()
|
StatusInfo |
removeLoCategoryFromLo(String loCategoryId,
String loId)
Remove a existing learning objective category from an existing learning objective in the same repository. |
SearchResult |
search(SearchRequest searchRequest)
|
void |
setDictionaryServiceDelegate(DictionaryService dictionaryServiceDelegate)
|
void |
setLoDao(LoDao dao)
|
void |
setSearchManager(SearchManager searchManager)
|
void |
setValidatorFactory(ValidatorFactory validatorFactory)
|
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 class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LearningObjectiveServiceImpl()
Method Detail |
---|
public LoDao getLoDao()
public void setLoDao(LoDao dao)
public void setSearchManager(SearchManager searchManager)
public void setDictionaryServiceDelegate(DictionaryService dictionaryServiceDelegate)
public ValidatorFactory getValidatorFactory()
public void setValidatorFactory(ValidatorFactory validatorFactory)
@Transactional(readOnly=true) public List<LoRepositoryInfo> getLoRepositories() throws OperationFailedException
LearningObjectiveService
getLoRepositories
in interface LearningObjectiveService
OperationFailedException
- unable to complete request@Transactional(readOnly=true) public LoRepositoryInfo getLoRepository(String loRepositoryKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
getLoRepository
in interface LearningObjectiveService
loRepositoryKey
- learning objective repository identifier
DoesNotExistException
- specified learning objective repository not found
InvalidParameterException
- invalid loRepositoryKey
MissingParameterException
- loRepositoryKey not specified
OperationFailedException
- unable to complete request@Transactional(readOnly=true) public List<LoTypeInfo> getLoTypes() throws OperationFailedException
LearningObjectiveService
getLoTypes
in interface LearningObjectiveService
OperationFailedException
- unable to complete request@Transactional(readOnly=true) public LoTypeInfo getLoType(String loTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
getLoType
in interface LearningObjectiveService
loTypeKey
- learning objective type identifier
DoesNotExistException
- specified learning objective type not found
InvalidParameterException
- invalid loTypeKey
MissingParameterException
- loTypeKey not specified
OperationFailedException
- unable to complete request@Transactional(readOnly=true) public List<LoLoRelationTypeInfo> getLoLoRelationTypes() throws OperationFailedException
LearningObjectiveService
getLoLoRelationTypes
in interface LearningObjectiveService
OperationFailedException
- unable to complete request@Transactional(readOnly=true) public LoLoRelationTypeInfo getLoLoRelationType(String loLoRelationTypeKey) throws OperationFailedException, MissingParameterException, DoesNotExistException
LearningObjectiveService
getLoLoRelationType
in interface LearningObjectiveService
loLoRelationTypeKey
- Key of the LO to LO Relation Type
OperationFailedException
- unable to complete request
MissingParameterException
DoesNotExistException
@Transactional(readOnly=true) public List<String> getAllowedLoLoRelationTypesForLoType(String loTypeKey, String relatedLoTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
getAllowedLoLoRelationTypesForLoType
in interface LearningObjectiveService
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 request@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo addLoCategoryToLo(String loCategoryId, String loId) throws AlreadyExistsException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, UnsupportedActionException
LearningObjectiveService
addLoCategoryToLo
in interface LearningObjectiveService
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 repository@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public LoInfo createLo(String repositoryId, String loType, LoInfo loInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
createLo
in interface LearningObjectiveService
repositoryId
- 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 failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteLo(String loId) throws DependentObjectsExistException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
deleteLo
in interface LearningObjectiveService
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 failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteLoCategory(String loCategoryId) throws DependentObjectsExistException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
deleteLoCategory
in interface LearningObjectiveService
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 failure@Transactional(readOnly=true) public LoInfo getLo(String loId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
getLo
in interface LearningObjectiveService
loId
- learning objective identifier
DoesNotExistException
- loId not found
InvalidParameterException
- invalid loId
MissingParameterException
- missing loId
OperationFailedException
- unable to complete request@Transactional(readOnly=true) public List<LoInfo> getLoByIdList(List<String> loIds) throws InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
getLoByIdList
in interface LearningObjectiveService
loIds
- list of learning objective identifiers
InvalidParameterException
- invalid loIdList
MissingParameterException
- missing loIdList
OperationFailedException
- unable to complete request@Transactional(readOnly=true) public List<LoCategoryInfo> getLoCategories(String loRepositoryKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
getLoCategories
in interface LearningObjectiveService
loRepositoryKey
- loRepository identifier
DoesNotExistException
- loRepositoryKey not found
InvalidParameterException
- invalid loRepositoryKey
MissingParameterException
- missing loRepositoryKey
OperationFailedException
- unable to complete request@Transactional(readOnly=true) public List<LoCategoryInfo> getLoCategoriesForLo(String loId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
getLoCategoriesForLo
in interface LearningObjectiveService
loId
- learning objective identifier
DoesNotExistException
- loCategoryId not found
InvalidParameterException
- invalid loId
MissingParameterException
- missing loId
OperationFailedException
- unable to complete request@Transactional(readOnly=true) public LoCategoryInfo getLoCategory(String loCategoryId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
getLoCategory
in interface LearningObjectiveService
loCategoryId
- loCategory identifier
DoesNotExistException
- loCategoryId not found
InvalidParameterException
- invalid loCategoryId
MissingParameterException
- missing loCategoryId
OperationFailedException
- unable to complete request@Transactional(readOnly=true) public List<LoInfo> getLosByLoCategory(String loCategoryId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
getLosByLoCategory
in interface LearningObjectiveService
loCategoryId
- learning objective category identifier
DoesNotExistException
- loCategoryId not found
InvalidParameterException
- invalid loCategoryId
MissingParameterException
- missing loCategoryId
OperationFailedException
- unable to complete request@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo removeLoCategoryFromLo(String loCategoryId, String loId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, UnsupportedActionException
LearningObjectiveService
removeLoCategoryFromLo
in interface LearningObjectiveService
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 repository@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public LoInfo updateLo(String loId, LoInfo loInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
LearningObjectiveService
updateLo
in interface LearningObjectiveService
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.@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public LoCategoryInfo updateLoCategory(String loCategoryId, LoCategoryInfo loCategoryInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
LearningObjectiveService
updateLoCategory
in interface LearningObjectiveService
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.public List<ValidationResultInfo> validateLo(String validationType, LoInfo loInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
validateLo
in interface LearningObjectiveService
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 requestpublic List<ValidationResultInfo> validateLoCategory(String validationType, LoCategoryInfo loCategoryInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
validateLoCategory
in interface LearningObjectiveService
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 requestpublic List<ValidationResultInfo> validateLoLoRelation(String validationType, LoLoRelationInfo loLoRelationInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
validateLoLoRelation
in interface LearningObjectiveService
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 requestpublic ObjectStructureDefinition getObjectStructure(String objectTypeKey)
getObjectStructure
in interface DictionaryService
public List<String> getObjectTypes()
getObjectTypes
in interface DictionaryService
public SearchCriteriaTypeInfo getSearchCriteriaType(String searchCriteriaTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
SearchService
getSearchCriteriaType
in interface SearchService
searchCriteriaTypeKey
- identifier of the search criteria type
DoesNotExistException
- specified searchCriteriaTypeKey not found
InvalidParameterException
- invalid searchCriteriaTypeKey
MissingParameterException
- searchCriteriaTypeKey not specified
OperationFailedException
- unable to complete requestpublic List<SearchCriteriaTypeInfo> getSearchCriteriaTypes() throws OperationFailedException
SearchService
getSearchCriteriaTypes
in interface SearchService
OperationFailedException
- unable to complete requestpublic SearchResultTypeInfo getSearchResultType(String searchResultTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
SearchService
getSearchResultType
in interface SearchService
searchResultTypeKey
- identifier of the search result type
DoesNotExistException
- specified searchResultTypeKey not found
InvalidParameterException
- invalid searchResultTypeKey
MissingParameterException
- searchResultTypeKey not specified
OperationFailedException
- unable to complete requestpublic List<SearchResultTypeInfo> getSearchResultTypes() throws OperationFailedException
SearchService
getSearchResultTypes
in interface SearchService
OperationFailedException
- unable to complete requestpublic SearchTypeInfo getSearchType(String searchTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
SearchService
getSearchType
in interface SearchService
searchTypeKey
- identifier of the search type
DoesNotExistException
- specified searchTypeKey not found
InvalidParameterException
- invalid searchTypeKey
MissingParameterException
- searchTypeKey not specified
OperationFailedException
- unable to complete requestpublic List<SearchTypeInfo> getSearchTypes() throws OperationFailedException
SearchService
getSearchTypes
in interface SearchService
OperationFailedException
- unable to complete requestpublic List<SearchTypeInfo> getSearchTypesByCriteria(String searchCriteriaTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
SearchService
getSearchTypesByCriteria
in interface SearchService
searchCriteriaTypeKey
- identifier of the search criteria
DoesNotExistException
- specified searchCriteriaTypeKey not found
InvalidParameterException
- invalid searchCriteriaTypeKey
MissingParameterException
- searchCriteriaTypeKey not specified
OperationFailedException
- unable to complete requestpublic List<SearchTypeInfo> getSearchTypesByResult(String searchResultTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
SearchService
getSearchTypesByResult
in interface SearchService
searchResultTypeKey
- identifier of the search result type
DoesNotExistException
- specified searchResultTypeKey not found
InvalidParameterException
- invalid searchResultTypeKey
MissingParameterException
- searchResultTypeKey not specified
OperationFailedException
- unable to complete request@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public LoLoRelationInfo createLoLoRelation(String loId, String relatedLoId, String loLoRelationType, LoLoRelationInfo loLoRelationInfo) throws AlreadyExistsException, DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
createLoLoRelation
in interface LearningObjectiveService
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
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 failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteLoLoRelation(String loLoRelationId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
deleteLoLoRelation
in interface LearningObjectiveService
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@Transactional(readOnly=true) public LoLoRelationInfo getLoLoRelation(String loLoRelationId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
getLoLoRelation
in interface LearningObjectiveService
loLoRelationId
- identifier of the LO to LO relationship
DoesNotExistException
- loLoRelationId not found
InvalidParameterException
- invalid loLoRelationId
MissingParameterException
- missing loLoRelationId
OperationFailedException
- unable to complete request@Transactional(readOnly=true) public List<LoLoRelationInfo> getLoLoRelationsByLoId(String loId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
getLoLoRelationsByLoId
in interface LearningObjectiveService
loId
- identifier of the LO
DoesNotExistException
- loId not found
InvalidParameterException
- invalid loId
MissingParameterException
- missing loId
OperationFailedException
- unable to complete request@Transactional(readOnly=true) public List<LoInfo> getLosByRelatedLoId(String relatedLoId, String loLoRelationType) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
getLosByRelatedLoId
in interface LearningObjectiveService
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 request@Transactional(readOnly=true) public List<LoInfo> getRelatedLosByLoId(String loId, String loLoRelationTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
getRelatedLosByLoId
in interface LearningObjectiveService
loId
- identifier of the LOloLoRelationTypeKey
- the LO to LO relation type
DoesNotExistException
- loId, loLoRelationType not found
InvalidParameterException
- invalid loId, loLoRelationType
MissingParameterException
- missing loId, loLoRelationType
OperationFailedException
- unable to complete request@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public LoLoRelationInfo updateLoLoRelation(String loLoRelationId, LoLoRelationInfo loLoRelationInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
LearningObjectiveService
updateLoLoRelation
in interface LearningObjectiveService
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.@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public LoCategoryInfo createLoCategory(String loRepositoryKey, String loCategoryTypeKey, LoCategoryInfo loCategoryInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
createLoCategory
in interface LearningObjectiveService
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 failure@Transactional(readOnly=true) public LoCategoryTypeInfo getLoCategoryType(String loCategoryTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
getLoCategoryType
in interface LearningObjectiveService
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 request@Transactional(readOnly=true) public List<LoCategoryTypeInfo> getLoCategoryTypes() throws OperationFailedException
LearningObjectiveService
getLoCategoryTypes
in interface LearningObjectiveService
OperationFailedException
- unable to complete request@Transactional(readOnly=true) public List<LoInfo> getLosByRepository(String loRepositoryKey, String loTypeKey, String loStateKey) throws InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
getLosByRepository
in interface LearningObjectiveService
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 requestpublic SearchResult search(SearchRequest searchRequest) throws MissingParameterException
search
in interface SearchService
MissingParameterException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |