|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.student.lum.lo.service.impl.LearningObjectiveServiceImpl
@Transactional(readOnly=true,
noRollbackFor=DoesNotExistException.class,
rollbackFor=java.lang.Throwable.class)
public class LearningObjectiveServiceImpl
| Field Summary | |
|---|---|
private DictionaryService |
dictionaryServiceDelegate
|
private LoDao |
loDao
|
private SearchManager |
searchManager
|
private ValidatorFactory |
validatorFactory
|
| 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. |
private void |
checkForEmptyList(Object param,
String paramName)
|
private void |
checkForMissingParameter(Object param,
String paramName)
Check for missing parameter and throw localized exception if missing |
private LoCategory |
cloneLoCategory(LoCategory loCategory,
LoCategoryInfo loCategoryInfo)
|
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 |
private boolean |
doesLoCategoryExist(String loRepositoryKey,
LoCategoryInfo loCategoryInfo,
String loCategoryId)
|
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()
|
private void |
groupCategories(SearchResult result)
|
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 |
| Field Detail |
|---|
private LoDao loDao
private SearchManager searchManager
private DictionaryService dictionaryServiceDelegate
private ValidatorFactory validatorFactory
| 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)
public List<LoRepositoryInfo> getLoRepositories()
throws OperationFailedException
LearningObjectiveService
getLoRepositories in interface LearningObjectiveServiceOperationFailedException - unable to complete request
public LoRepositoryInfo getLoRepository(String loRepositoryKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
LearningObjectiveService
getLoRepository in interface LearningObjectiveServiceloRepositoryKey - learning objective repository identifier
DoesNotExistException - specified learning objective repository not found
InvalidParameterException - invalid loRepositoryKey
MissingParameterException - loRepositoryKey not specified
OperationFailedException - unable to complete request
public List<LoTypeInfo> getLoTypes()
throws OperationFailedException
LearningObjectiveService
getLoTypes in interface LearningObjectiveServiceOperationFailedException - unable to complete request
public LoTypeInfo getLoType(String loTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
LearningObjectiveService
getLoType in interface LearningObjectiveServiceloTypeKey - learning objective type identifier
DoesNotExistException - specified learning objective type not found
InvalidParameterException - invalid loTypeKey
MissingParameterException - loTypeKey not specified
OperationFailedException - unable to complete request
public List<LoLoRelationTypeInfo> getLoLoRelationTypes()
throws OperationFailedException
LearningObjectiveService
getLoLoRelationTypes in interface LearningObjectiveServiceOperationFailedException - unable to complete request
public LoLoRelationTypeInfo getLoLoRelationType(String loLoRelationTypeKey)
throws OperationFailedException,
MissingParameterException,
DoesNotExistException
LearningObjectiveService
getLoLoRelationType in interface LearningObjectiveServiceloLoRelationTypeKey - Key of the LO to LO Relation Type
OperationFailedException - unable to complete request
MissingParameterException
DoesNotExistException
public List<String> getAllowedLoLoRelationTypesForLoType(String loTypeKey,
String relatedLoTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
LearningObjectiveService
getAllowedLoLoRelationTypesForLoType in interface LearningObjectiveServiceloTypeKey - 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 LearningObjectiveServiceloCategoryId - 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 LearningObjectiveServicerepositoryId - 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 LearningObjectiveServiceloId - 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 LearningObjectiveServiceloCategoryId - 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
public LoInfo getLo(String loId)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
LearningObjectiveService
getLo in interface LearningObjectiveServiceloId - learning objective identifier
DoesNotExistException - loId not found
InvalidParameterException - invalid loId
MissingParameterException - missing loId
OperationFailedException - unable to complete request
public List<LoInfo> getLoByIdList(List<String> loIds)
throws InvalidParameterException,
MissingParameterException,
OperationFailedException
LearningObjectiveService
getLoByIdList in interface LearningObjectiveServiceloIds - list of learning objective identifiers
InvalidParameterException - invalid loIdList
MissingParameterException - missing loIdList
OperationFailedException - unable to complete request
public List<LoCategoryInfo> getLoCategories(String loRepositoryKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
LearningObjectiveService
getLoCategories in interface LearningObjectiveServiceloRepositoryKey - loRepository identifier
DoesNotExistException - loRepositoryKey not found
InvalidParameterException - invalid loRepositoryKey
MissingParameterException - missing loRepositoryKey
OperationFailedException - unable to complete request
public List<LoCategoryInfo> getLoCategoriesForLo(String loId)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
LearningObjectiveService
getLoCategoriesForLo in interface LearningObjectiveServiceloId - learning objective identifier
DoesNotExistException - loCategoryId not found
InvalidParameterException - invalid loId
MissingParameterException - missing loId
OperationFailedException - unable to complete request
public LoCategoryInfo getLoCategory(String loCategoryId)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
LearningObjectiveService
getLoCategory in interface LearningObjectiveServiceloCategoryId - loCategory identifier
DoesNotExistException - loCategoryId not found
InvalidParameterException - invalid loCategoryId
MissingParameterException - missing loCategoryId
OperationFailedException - unable to complete request
public List<LoInfo> getLosByLoCategory(String loCategoryId)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
LearningObjectiveService
getLosByLoCategory in interface LearningObjectiveServiceloCategoryId - 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 LearningObjectiveServiceloCategoryId - 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 LearningObjectiveServiceloId - 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 LearningObjectiveServiceloCategoryId - 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.
private LoCategory cloneLoCategory(LoCategory loCategory,
LoCategoryInfo loCategoryInfo)
throws DoesNotExistException,
InvalidParameterException,
OperationFailedException
DoesNotExistException
InvalidParameterException
OperationFailedException
public List<ValidationResultInfo> validateLo(String validationType,
LoInfo loInfo)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
LearningObjectiveService
validateLo in interface LearningObjectiveServicevalidationType - 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 request
public List<ValidationResultInfo> validateLoCategory(String validationType,
LoCategoryInfo loCategoryInfo)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
LearningObjectiveService
validateLoCategory in interface LearningObjectiveServicevalidationType - 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 request
public List<ValidationResultInfo> validateLoLoRelation(String validationType,
LoLoRelationInfo loLoRelationInfo)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
LearningObjectiveService
validateLoLoRelation in interface LearningObjectiveServicevalidationType - 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 request
private void checkForMissingParameter(Object param,
String paramName)
throws MissingParameterException
param - parameter - name
MissingParameterException
private void checkForEmptyList(Object param,
String paramName)
throws MissingParameterException
param - paramName -
MissingParameterException
private boolean doesLoCategoryExist(String loRepositoryKey,
LoCategoryInfo loCategoryInfo,
String loCategoryId)
throws MissingParameterException,
DataValidationErrorException
loRepositoryKey - loCategoryInfo - loCategoryId -
MissingParameterException,OperationFailedException
MissingParameterException
DataValidationErrorExceptionpublic ObjectStructureDefinition getObjectStructure(String objectTypeKey)
getObjectStructure in interface DictionaryServicepublic List<String> getObjectTypes()
getObjectTypes in interface DictionaryService
public SearchCriteriaTypeInfo getSearchCriteriaType(String searchCriteriaTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
SearchService
getSearchCriteriaType in interface SearchServicesearchCriteriaTypeKey - identifier of the search criteria type
DoesNotExistException - specified searchCriteriaTypeKey not found
InvalidParameterException - invalid searchCriteriaTypeKey
MissingParameterException - searchCriteriaTypeKey not specified
OperationFailedException - unable to complete request
public List<SearchCriteriaTypeInfo> getSearchCriteriaTypes()
throws OperationFailedException
SearchService
getSearchCriteriaTypes in interface SearchServiceOperationFailedException - unable to complete request
public SearchResultTypeInfo getSearchResultType(String searchResultTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
SearchService
getSearchResultType in interface SearchServicesearchResultTypeKey - identifier of the search result type
DoesNotExistException - specified searchResultTypeKey not found
InvalidParameterException - invalid searchResultTypeKey
MissingParameterException - searchResultTypeKey not specified
OperationFailedException - unable to complete request
public List<SearchResultTypeInfo> getSearchResultTypes()
throws OperationFailedException
SearchService
getSearchResultTypes in interface SearchServiceOperationFailedException - unable to complete request
public SearchTypeInfo getSearchType(String searchTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
SearchService
getSearchType in interface SearchServicesearchTypeKey - identifier of the search type
DoesNotExistException - specified searchTypeKey not found
InvalidParameterException - invalid searchTypeKey
MissingParameterException - searchTypeKey not specified
OperationFailedException - unable to complete request
public List<SearchTypeInfo> getSearchTypes()
throws OperationFailedException
SearchService
getSearchTypes in interface SearchServiceOperationFailedException - unable to complete request
public List<SearchTypeInfo> getSearchTypesByCriteria(String searchCriteriaTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
SearchService
getSearchTypesByCriteria in interface SearchServicesearchCriteriaTypeKey - identifier of the search criteria
DoesNotExistException - specified searchCriteriaTypeKey not found
InvalidParameterException - invalid searchCriteriaTypeKey
MissingParameterException - searchCriteriaTypeKey not specified
OperationFailedException - unable to complete request
public List<SearchTypeInfo> getSearchTypesByResult(String searchResultTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
SearchService
getSearchTypesByResult in interface SearchServicesearchResultTypeKey - 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 LearningObjectiveServiceloId - 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 LearningObjectiveServiceloLoRelationId - 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
public LoLoRelationInfo getLoLoRelation(String loLoRelationId)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
LearningObjectiveService
getLoLoRelation in interface LearningObjectiveServiceloLoRelationId - identifier of the LO to LO relationship
DoesNotExistException - loLoRelationId not found
InvalidParameterException - invalid loLoRelationId
MissingParameterException - missing loLoRelationId
OperationFailedException - unable to complete request
public List<LoLoRelationInfo> getLoLoRelationsByLoId(String loId)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
LearningObjectiveService
getLoLoRelationsByLoId in interface LearningObjectiveServiceloId - identifier of the LO
DoesNotExistException - loId not found
InvalidParameterException - invalid loId
MissingParameterException - missing loId
OperationFailedException - unable to complete request
public List<LoInfo> getLosByRelatedLoId(String relatedLoId,
String loLoRelationType)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
LearningObjectiveService
getLosByRelatedLoId in interface LearningObjectiveServicerelatedLoId - 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
public List<LoInfo> getRelatedLosByLoId(String loId,
String loLoRelationTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
LearningObjectiveService
getRelatedLosByLoId in interface LearningObjectiveServiceloId - 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 LearningObjectiveServiceloLoRelationId - 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 LearningObjectiveServiceloRepositoryKey - 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
public LoCategoryTypeInfo getLoCategoryType(String loCategoryTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
LearningObjectiveService
getLoCategoryType in interface LearningObjectiveServiceloCategoryTypeKey - 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
public List<LoCategoryTypeInfo> getLoCategoryTypes()
throws OperationFailedException
LearningObjectiveService
getLoCategoryTypes in interface LearningObjectiveServiceOperationFailedException - unable to complete request
public List<LoInfo> getLosByRepository(String loRepositoryKey,
String loTypeKey,
String loStateKey)
throws InvalidParameterException,
MissingParameterException,
OperationFailedException
LearningObjectiveService
getLosByRepository in interface LearningObjectiveServiceloRepositoryKey - 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 request
public SearchResult search(SearchRequest searchRequest)
throws MissingParameterException
search in interface SearchServiceMissingParameterExceptionprivate void groupCategories(SearchResult result)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||