public class LearningObjectiveServiceImpl extends Object implements LearningObjectiveService
Constructor and Description |
---|
LearningObjectiveServiceImpl() |
Modifier and Type | Method and Description |
---|---|
StatusInfo |
addLoCategoryToLo(String loCategoryId,
String loId,
ContextInfo contextInfo)
Adds a LoCategory to a Lo
|
LoInfo |
createLo(String repositoryId,
String loType,
LoInfo loInfo,
ContextInfo contextInfo)
Creates a new Lo.
|
LoCategoryInfo |
createLoCategory(String loCategoryTypeKey,
LoCategoryInfo loCategoryInfo,
ContextInfo contextInfo)
Creates a new LoCategory.
|
LoLoRelationInfo |
createLoLoRelation(String loLoRelationTypeKey,
LoLoRelationInfo loLoRelationInfo,
ContextInfo contextInfo)
Creates a new LoLoRelation.
|
LoRepositoryInfo |
createLoRepository(String loRepositoryKey,
String loRepositoryTypeKey,
LoRepositoryInfo loRepositoryInfo,
ContextInfo contextInfo)
Creates a new LoRepository.
|
StatusInfo |
deleteLo(String loId,
ContextInfo contextInfo)
Deletes an existing Lo.
|
StatusInfo |
deleteLoCategory(String loCategoryId,
ContextInfo contextInfo)
Deletes an existing LoCategory.
|
StatusInfo |
deleteLoCategoryByLo(String loId,
ContextInfo contextInfo)
Deletes existing LoCategories of a Lo.
|
StatusInfo |
deleteLoLoRelation(String loLoRelationId,
ContextInfo contextInfo)
Deletes an existing LoLoRelation.
|
StatusInfo |
deleteLoRepository(String loRepositoryKey,
ContextInfo contextInfo)
Deletes an existing LoRepository.
|
LoInfo |
getLo(String loId,
ContextInfo contextInfo)
Retrieves a single Lo by an Lo Id.
|
List<LoCategoryInfo> |
getLoCategoriesByIds(List<String> loCategoryIds,
ContextInfo contextInfo)
Retrieves a list of LoCategories from a list of LoCategory Ids.
|
List<LoCategoryInfo> |
getLoCategoriesByLo(String loId,
ContextInfo contextInfo)
Retrieves a list of LoCategories by Lo.
|
List<LoCategoryInfo> |
getLoCategoriesByLoRepository(String loRepositoryKey,
ContextInfo contextInfo)
Retrieves a list of LoCategories by their associated repository key
|
LoCategoryInfo |
getLoCategory(String loCategoryId,
ContextInfo contextInfo)
Retrieves a single LoCategory by an LoCategory Id.
|
List<String> |
getLoCategoryIdsByType(String loCategoryTypeKey,
ContextInfo contextInfo)
Retrieves a list of LoCategory Ids by LoCategory Type.
|
TypeInfo |
getLoCategoryType(String loCategoryTypeKey,
ContextInfo contextInfo) |
List<TypeInfo> |
getLoCategoryTypes() |
LoDao |
getLoDao() |
List<String> |
getLoIdsByType(String loTypeKey,
ContextInfo contextInfo)
Retrieves a list of Lo Ids by Lo Type.
|
LoLoRelationInfo |
getLoLoRelation(String loLoRelationId,
ContextInfo contextInfo)
Retrieves a single LoLoRelation by an LoLoRelation Id.
|
List<String> |
getLoLoRelationIdsByType(String loLoRelationTypeKey,
ContextInfo contextInfo)
Retrieves a list of LoLoRelation Ids by LoLoRelation Type.
|
List<LoLoRelationInfo> |
getLoLoRelationsByIds(List<String> loLoRelationIds,
ContextInfo contextInfo)
Retrieves a list of LoLoRelations from a list of LoLoRelation Ids.
|
List<LoLoRelationInfo> |
getLoLoRelationsByLoId(String loId,
ContextInfo contextInfo)
Retrieves a list of LoLoRelations by Lo.
|
List<LoRepositoryInfo> |
getLoRepositories(ContextInfo contextInfo)
Retrieves a list of LoRepositories.
|
List<LoRepositoryInfo> |
getLoRepositoriesByKeys(List<String> loRepositoryKeys,
ContextInfo contextInfo)
Retrieves a list of LoRepositories from a list of LoRepository Keys.
|
LoRepositoryInfo |
getLoRepository(String loRepositoryKey,
ContextInfo contextInfo)
Retrieves a single LoRepository by an LoRepository Key.
|
List<String> |
getLoRepositoryKeysByType(String loRepositoryTypeKey,
ContextInfo contextInfo)
Retrieves a list of LoRepository keys by LoRepository Type.
|
List<LoInfo> |
getLosByIds(List<String> loIds,
ContextInfo contextInfo)
Retrieves a list of Los from a list of Lo Ids.
|
List<LoInfo> |
getLosByLoCategory(String loCategoryId,
ContextInfo contextInfo)
Retrieves a list of Los by LoCategory.
|
List<LoInfo> |
getLosByLoRepository(String loRepositoryKey,
String loTypeKey,
String loStateKey,
ContextInfo contextInfo)
Retrieves a list of Los by LoRepository.
|
List<LoInfo> |
getLosByRelatedLoId(String relatedLoId,
String loLoRelationTypeKey,
ContextInfo contextInfo)
Retrieves a list of Los by related Lo.
|
ObjectStructureDefinition |
getObjectStructure(String objectTypeKey,
ContextInfo contextInfo) |
List<LoInfo> |
getRelatedLosByLoId(String loId,
String loLoRelationTypeKey,
ContextInfo contextInfo)
Retrieves a list of related Los by Lo.
|
TypeInfo |
getSearchType(String searchTypeKey,
ContextInfo contextInfo)
Retrieves information about a particular search type.
|
List<TypeInfo> |
getSearchTypes(ContextInfo contextInfo)
Retrieves the list of search types known by this service.
|
ValidatorFactory |
getValidatorFactory() |
StatusInfo |
removeLoCategoryFromLo(String loCategoryId,
String loId,
ContextInfo contextInfo)
Removes a LoCategory from a Lo
|
SearchResultInfo |
search(SearchRequestInfo searchRequestInfo,
ContextInfo contextInfo)
Performs a search.
|
List<LoCategoryInfo> |
searchForLoCategories(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for LoCategories that meet the given search criteria.
|
List<String> |
searchForLoCategoryIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for LoCategories that meet the given search criteria.
|
List<String> |
searchForLoIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for Los that meet the given search criteria.
|
List<String> |
searchForLoLoRelationIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for LoLoRelations that meet the given search criteria.
|
List<LoLoRelationInfo> |
searchForLoLoRelations(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for LoLoRelations that meet the given search criteria.
|
List<LoRepositoryInfo> |
searchForLoRepositories(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for LoRepositories that meet the given search criteria.
|
List<String> |
searchForLoRepositoryKeys(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for LoRepositories that meet the given search criteria.
|
List<LoInfo> |
searchForLos(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for Los that meet the given search criteria.
|
void |
setDictionaryServiceDelegate(DictionaryService dictionaryServiceDelegate) |
void |
setLoDao(LoDao dao) |
void |
setSearchManager(SearchManager searchManager) |
void |
setValidatorFactory(ValidatorFactory validatorFactory) |
LoInfo |
updateLo(String loId,
LoInfo loInfo,
ContextInfo contextInfo)
Updates an existing Lo.
|
LoCategoryInfo |
updateLoCategory(String loCategoryId,
LoCategoryInfo loCategoryInfo,
ContextInfo contextInfo)
Updates an existing LoCategory.
|
LoLoRelationInfo |
updateLoLoRelation(String loLoRelationId,
LoLoRelationInfo loLoRelationInfo,
ContextInfo contextInfo)
Updates an existing LoLoRelation.
|
LoRepositoryInfo |
updateLoRepository(String loRepositoryKey,
LoRepositoryInfo loRepositoryInfo,
ContextInfo contextInfo)
Updates an existing LoRepository.
|
List<ValidationResultInfo> |
validateLo(String validationType,
LoInfo loInfo,
ContextInfo contextInfo)
Validates an Lo.
|
List<ValidationResultInfo> |
validateLoCategory(String validationType,
LoCategoryInfo loCategoryInfo,
ContextInfo contextInfo)
Validates an LoCategory.
|
List<ValidationResultInfo> |
validateLoLoRelation(String validationType,
LoLoRelationInfo loLoRelationInfo,
ContextInfo contextInfo)
Validates an LoLoRelation.
|
List<ValidationResultInfo> |
validateLoRepository(String validationTypeKey,
String loRepositoryTypeKey,
LoRepositoryInfo loRepositoryInfo,
ContextInfo contextInfo)
Validates an LoRepository.
|
public LearningObjectiveServiceImpl()
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(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
getLoRepositories
in interface LearningObjectiveService
contextInfo
- information containing the principalId and locale information about the caller of the service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<String> getLoRepositoryKeysByType(String loRepositoryTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
getLoRepositoryKeysByType
in interface LearningObjectiveService
loRepositoryTypeKey
- a unique key for an LoRepository TypecontextInfo
- information containing the principalId and locale information about the caller of the service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- loRepositoryTypeKey or context is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<String> searchForLoRepositoryKeys(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
searchForLoRepositoryKeys
in interface LearningObjectiveService
criteria
- the search criteriacontextInfo
- information containing the principalId and locale information about the caller of the service operationInvalidParameterException
- criteria or contextInfo is not validMissingParameterException
- criteria or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<LoRepositoryInfo> searchForLoRepositories(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
searchForLoRepositories
in interface LearningObjectiveService
criteria
- the search criteriacontextInfo
- information containing the principalId and locale information about the caller of the service operationInvalidParameterException
- criteria or context is not validMissingParameterException
- criteria or context is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<ValidationResultInfo> validateLoRepository(String validationTypeKey, String loRepositoryTypeKey, LoRepositoryInfo loRepositoryInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
validateLoRepository
in interface LearningObjectiveService
validationTypeKey
- the identifier for the validation TypeloRepositoryTypeKey
- the identifier for the LoRepository TypeloRepositoryInfo
- the LoRepository to be validatedcontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- validationTypeKey or loRepositoryTypeKey is not foundInvalidParameterException
- loRepositoryInfo or contextInfo is not validMissingParameterException
- validationTypeKey, loRepositoryTypeKey, loRepositoryInfo, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic LoRepositoryInfo createLoRepository(String loRepositoryKey, String loRepositoryTypeKey, LoRepositoryInfo loRepositoryInfo, ContextInfo contextInfo) throws AlreadyExistsException, DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
LearningObjectiveService
createLoRepository
in interface LearningObjectiveService
loRepositoryKey
- a unique key for the new LoRepositoryloRepositoryTypeKey
- the identifier for the Type of LoRepository to be createdloRepositoryInfo
- the data with which to create the LoRepositorycontextInfo
- information containing the principalId and locale information about the caller of the service operationAlreadyExistsException
- loRepositoryKey already existsDataValidationErrorException
- supplied data is invalidDoesNotExistException
- loRepositoryTypeKey does not exist or is not supportedInvalidParameterException
- loRepositoryInfo or contextInfo is not validMissingParameterException
- loRepositoryTypeKey, loRepositoryInfo, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredReadOnlyException
- an attempt at supplying information designated as read onlypublic LoRepositoryInfo updateLoRepository(String loRepositoryKey, LoRepositoryInfo loRepositoryInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
LearningObjectiveService
updateLoRepository
in interface LearningObjectiveService
loRepositoryKey
- the identifier for the LoRepository to be updatedloRepositoryInfo
- the new data for the LoRepositorycontextInfo
- information containing the principalId and locale information about the caller of the service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- loRepositoryKey is not foundInvalidParameterException
- loRepositoryInfo or contextInfo is not validMissingParameterException
- loRepositoryKey, loRepositoryInfo, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredReadOnlyException
- an attempt at changing information designated as read onlyVersionMismatchException
- an optimistic locking failure or the action was attempted on an out of date versionpublic StatusInfo deleteLoRepository(String loRepositoryKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
deleteLoRepository
in interface LearningObjectiveService
loRepositoryKey
- the identifier for the LoRepository to be deletedcontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- loRepositoryKey is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loRepositoryKey or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public LoRepositoryInfo getLoRepository(String loRepositoryKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
getLoRepository
in interface LearningObjectiveService
loRepositoryKey
- the identifier for the LoRepository to be retrievedcontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- loRepositoryKey is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loRepositoryKey or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<LoRepositoryInfo> getLoRepositoriesByKeys(List<String> loRepositoryKeys, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
getLoRepositoriesByKeys
in interface LearningObjectiveService
loRepositoryKeys
- a list of LoRepository KeyscontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- an loRepositoryKey in the list was not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loRepositoryKeys, a key in the loRepositoryKeys, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo addLoCategoryToLo(String loCategoryId, String loId, ContextInfo contextInfo) throws AlreadyExistsException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, UnsupportedActionException
LearningObjectiveService
addLoCategoryToLo
in interface LearningObjectiveService
loCategoryId
- the identifier for the LoCategoryloId
- the identifier for the LocontextInfo
- information containing the principalId and locale information about the caller of the service operationAlreadyExistsException
- LoCategory already exists for LoDoesNotExistException
- loCategoryId or loId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loCategoryId, loId, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredUnsupportedActionException
- loCategoryId and loId are not in the same repositorypublic List<LoLoRelationInfo> getLoLoRelationsByIds(List<String> loLoRelationIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
getLoLoRelationsByIds
in interface LearningObjectiveService
loLoRelationIds
- a list of LoLoRelation identifierscontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- an loLoRelationId in the list was not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loLoRelationIds, an Id in the loLoRelationIds, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<String> getLoLoRelationIdsByType(String loLoRelationTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
getLoLoRelationIdsByType
in interface LearningObjectiveService
loLoRelationTypeKey
- an identifier for an LoLoRelation TypecontextInfo
- information containing the principalId and locale information about the caller of the service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- loLoRelationTypeKey or context is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<String> searchForLoLoRelationIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
searchForLoLoRelationIds
in interface LearningObjectiveService
criteria
- the search criteriacontextInfo
- information containing the principalId and locale information about the caller of the service operationInvalidParameterException
- criteria or contextInfo is not validMissingParameterException
- criteria or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<LoLoRelationInfo> searchForLoLoRelations(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
searchForLoLoRelations
in interface LearningObjectiveService
criteria
- the search criteriacontextInfo
- information containing the principalId and locale information about the caller of the service operationInvalidParameterException
- criteria or context is not validMissingParameterException
- criteria or context is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public LoInfo createLo(String repositoryId, String loType, LoInfo loInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
LearningObjectiveService
createLo
in interface LearningObjectiveService
loInfo
- the data with which to create the LocontextInfo
- information containing the principalId and locale information about the caller of the service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- loTypeKey does not exist or is not supportedInvalidParameterException
- loInfo or contextInfo is not validMissingParameterException
- loTypeKey, loInfo, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredReadOnlyException
- an attempt at supplying information designated as read only@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteLo(String loId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, DependentObjectsExistException
LearningObjectiveService
deleteLo
in interface LearningObjectiveService
loId
- the identifier for the Lo to be deletedcontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- loId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loId or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredDependentObjectsExistException
@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteLoCategory(String loCategoryId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, DependentObjectsExistException
LearningObjectiveService
deleteLoCategory
in interface LearningObjectiveService
loCategoryId
- the identifier for the LoCategory to be deletedcontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- loCategoryId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loCategoryId or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredDependentObjectsExistException
public StatusInfo deleteLoCategoryByLo(String loId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
deleteLoCategoryByLo
in interface LearningObjectiveService
loId
- the identifier for the Lo for which LoCategories are to be deletedcontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- loId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loId or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public LoInfo getLo(String loId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
getLo
in interface LearningObjectiveService
loId
- the identifier for the Lo to be retrievedcontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- loId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loId or contextInfo is missing or nullOperationFailedException
- unable to complete request@Transactional(readOnly=true) public List<LoInfo> getLosByIds(List<String> loIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
getLosByIds
in interface LearningObjectiveService
loIds
- a list of Lo identifierscontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- an loId in the list was not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loIds, an Id in the loIds, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<String> getLoIdsByType(String loTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
getLoIdsByType
in interface LearningObjectiveService
loTypeKey
- an identifier for an Lo TypecontextInfo
- information containing the principalId and locale information about the caller of the service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- loTypeKey or context is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LoInfo> getLosByLoRepository(String loRepositoryKey, String loTypeKey, String loStateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
getLosByLoRepository
in interface LearningObjectiveService
loRepositoryKey
- a key for the LoRepositoryloTypeKey
- the identifier for the Lo TypeloStateKey
- the identifier for the Lo StatecontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- loRepositoryId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loRepositoryId or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public LoCategoryInfo getLoCategory(String loCategoryId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
getLoCategory
in interface LearningObjectiveService
loCategoryId
- the identifier for the LoCategory to be retrievedcontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- loCategoryId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loCategoryId or contextInfo is missing or nullOperationFailedException
- unable to complete requestpublic List<LoCategoryInfo> getLoCategoriesByIds(List<String> loCategoryIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
getLoCategoriesByIds
in interface LearningObjectiveService
loCategoryIds
- a list of LoCategory identifierscontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- an loCategoryId in the list was not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loCategoryIds, an Id in the loCategoryIds, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<String> getLoCategoryIdsByType(String loCategoryTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
getLoCategoryIdsByType
in interface LearningObjectiveService
loCategoryTypeKey
- an identifier for an LoCategory TypecontextInfo
- information containing the principalId and locale information about the caller of the service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- loCategoryTypeKey or context is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LoCategoryInfo> getLoCategoriesByLo(String loId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
getLoCategoriesByLo
in interface LearningObjectiveService
loId
- an identifier for the LocontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- loId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loId or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<String> searchForLoCategoryIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
searchForLoCategoryIds
in interface LearningObjectiveService
criteria
- the search criteriacontextInfo
- information containing the principalId and locale information about the caller of the service operationInvalidParameterException
- criteria or contextInfo is not validMissingParameterException
- criteria or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<LoCategoryInfo> searchForLoCategories(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
searchForLoCategories
in interface LearningObjectiveService
criteria
- the search criteriacontextInfo
- information containing the principalId and locale information about the caller of the service operationInvalidParameterException
- criteria or context is not validMissingParameterException
- criteria or context is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LoInfo> getLosByLoCategory(String loCategoryId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
getLosByLoCategory
in interface LearningObjectiveService
loCategoryId
- an identifier for the LoCategorycontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- loCategoryId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loCategoryId or contextInfo is missing or nullOperationFailedException
- unable to complete requestpublic List<String> searchForLoIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
searchForLoIds
in interface LearningObjectiveService
criteria
- the search criteriacontextInfo
- information containing the principalId and locale information about the caller of the service operationInvalidParameterException
- criteria or contextInfo is not validMissingParameterException
- criteria or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<LoInfo> searchForLos(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
searchForLos
in interface LearningObjectiveService
criteria
- the search criteriacontextInfo
- information containing the principalId and locale information about the caller of the service operationInvalidParameterException
- criteria or context is not validMissingParameterException
- criteria or context is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo removeLoCategoryFromLo(String loCategoryId, String loId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, UnsupportedActionException
LearningObjectiveService
removeLoCategoryFromLo
in interface LearningObjectiveService
loCategoryId
- the identifier for the LoCategoryloId
- the identifier for the LocontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- loCategoryId or loId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loCategoryId, loId, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredUnsupportedActionException
- loCategoryId and loId are not in the same repository@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public LoInfo updateLo(String loId, LoInfo loInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
LearningObjectiveService
updateLo
in interface LearningObjectiveService
loId
- the identifier for the Lo to be updatedloInfo
- the new data for the LocontextInfo
- information containing the principalId and locale information about the caller of the service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- loId is not foundInvalidParameterException
- loInfo or contextInfo is not validMissingParameterException
- loId, loInfo, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredVersionMismatchException
- an optimistic locking failure or the 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, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
LearningObjectiveService
updateLoCategory
in interface LearningObjectiveService
loCategoryId
- the identifier for the LoCategory to be updatedloCategoryInfo
- the new data for the LoCategorycontextInfo
- information containing the principalId and locale information about the caller of the service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- loCategoryId is not foundInvalidParameterException
- loCategoryInfo or contextInfo is not validMissingParameterException
- loCategoryId, loCategoryInfo, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredVersionMismatchException
- an optimistic locking failure or the action was attempted on an out of date versionpublic List<ValidationResultInfo> validateLo(String validationType, LoInfo loInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
validateLo
in interface LearningObjectiveService
validationType
- the identifier for the Lo Type to be validatedloInfo
- the Lo to be validatedcontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- validationTypeKey or loTypeKey is not foundInvalidParameterException
- loInfo or contextInfo is not validMissingParameterException
- validationTypeKey, loTypeKey, loInfo, or contextInfo is missing or nullOperationFailedException
- unable to complete requestpublic List<ValidationResultInfo> validateLoCategory(String validationType, LoCategoryInfo loCategoryInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
validateLoCategory
in interface LearningObjectiveService
validationType
- the identifier for the LoCategory Type to be validatedloCategoryInfo
- the LoCategory to be validatedcontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- validationTypeKey or loCategoryTypeKey is not foundInvalidParameterException
- loCategoryInfo or contextInfo is not validMissingParameterException
- validationTypeKey, loCategoryTypeKey, loCategoryInfo, or contextInfo is missing or nullOperationFailedException
- unable to complete requestpublic List<ValidationResultInfo> validateLoLoRelation(String validationType, LoLoRelationInfo loLoRelationInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LearningObjectiveService
validateLoLoRelation
in interface LearningObjectiveService
validationType
- the identifier for the LoLoRelation Type to be validatedloLoRelationInfo
- the LoLoRelation to be validatedcontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- validationTypeKey or loLoRelationTypeKey is not foundInvalidParameterException
- loLoRelationInfo or contextInfo is not validMissingParameterException
- validationTypeKey, loLoRelationTypeKey, loLoRelationInfo, or contextInfo is missing or nullOperationFailedException
- unable to complete requestpublic ObjectStructureDefinition getObjectStructure(String objectTypeKey, ContextInfo contextInfo)
public TypeInfo getSearchType(String searchTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
SearchService
getSearchType
in interface SearchService
searchTypeKey
- identifier of the search typecontextInfo
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- specified searchTypeKey not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- searchTypeKey or contextInfo is missing
or nullOperationFailedException
- unable to complete requestpublic List<TypeInfo> getSearchTypes(ContextInfo contextInfo) throws OperationFailedException, InvalidParameterException, MissingParameterException
SearchService
getSearchTypes
in interface SearchService
contextInfo
- information containing the principalId and locale
information about the caller of service operationOperationFailedException
- unable to complete requestInvalidParameterException
- contextInfo is not validMissingParameterException
- contextInfo is missing or null@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public LoLoRelationInfo createLoLoRelation(String loLoRelationTypeKey, LoLoRelationInfo loLoRelationInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
LearningObjectiveService
createLoLoRelation
in interface LearningObjectiveService
loLoRelationTypeKey
- the identifier for the Type of LoLoRelation to be createdloLoRelationInfo
- the data with which to create the LoLoRelationcontextInfo
- information containing the principalId and locale information about the caller of the service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- loLoRelationTypeKey does not exist or is not supportedInvalidParameterException
- loLoRelationInfo or contextInfo is not validMissingParameterException
- loLoRelationTypeKey, loLoRelationInfo, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredReadOnlyException
- an attempt at supplying information designated as read only@Transactional(readOnly=true) public LoLoRelationInfo getLoLoRelation(String loLoRelationId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
getLoLoRelation
in interface LearningObjectiveService
loLoRelationId
- the identifier for the LoLoRelation to be retrievedcontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- loLoRelationId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loLoRelationId or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LoLoRelationInfo> getLoLoRelationsByLoId(String loId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
getLoLoRelationsByLoId
in interface LearningObjectiveService
loId
- an identifier for the LocontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- loId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loId or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LoInfo> getLosByRelatedLoId(String relatedLoId, String loLoRelationTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
getLosByRelatedLoId
in interface LearningObjectiveService
relatedLoId
- an identifier for the related LoloLoRelationTypeKey
- the identifier for the LoLoRelation TypecontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- relatedLoId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- relatedLoId, loLoRelationTypeKey, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LoInfo> getRelatedLosByLoId(String loId, String loLoRelationTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
getRelatedLosByLoId
in interface LearningObjectiveService
loId
- an identifier for the LoloLoRelationTypeKey
- the identifier for the LoLoRelation TypecontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- loId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loId or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public LoLoRelationInfo updateLoLoRelation(String loLoRelationId, LoLoRelationInfo loLoRelationInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
LearningObjectiveService
updateLoLoRelation
in interface LearningObjectiveService
loLoRelationId
- the identifier for the LoLoRelation to be updatedloLoRelationInfo
- the new data for the LoLoRelationcontextInfo
- information containing the principalId and locale information about the caller of the service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- loLoRelationId is not foundInvalidParameterException
- loLoRelationInfo or contextInfo is not validMissingParameterException
- loLoRelationId, loLoRelationInfo, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredReadOnlyException
- an attempt at changing information designated as read onlyVersionMismatchException
- an optimistic locking failure or the action was attempted on an out of date versionpublic StatusInfo deleteLoLoRelation(String loLoRelationId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
deleteLoLoRelation
in interface LearningObjectiveService
loLoRelationId
- the identifier for the LoLoRelation to be deletedcontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- loLoRelationId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loLoRelationId or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public LoCategoryInfo createLoCategory(String loCategoryTypeKey, LoCategoryInfo loCategoryInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
LearningObjectiveService
createLoCategory
in interface LearningObjectiveService
loCategoryTypeKey
- the identifier for the Type of LoCategory to be createdloCategoryInfo
- the data with which to create the LoCategorycontextInfo
- information containing the principalId and locale information about the caller of the service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- loCategoryTypeKey does not exist or is not supportedInvalidParameterException
- loCategoryInfo or contextInfo is not validMissingParameterException
- loCategoryTypeKey, loCategoryInfo, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredReadOnlyException
- an attempt at supplying information designated as read only@Transactional(readOnly=true) public TypeInfo getLoCategoryType(String loCategoryTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getLoCategoryType
in interface LearningObjectiveService
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
@Transactional(readOnly=true) public List<TypeInfo> getLoCategoryTypes() throws OperationFailedException
getLoCategoryTypes
in interface LearningObjectiveService
OperationFailedException
@Transactional(readOnly=true) public List<LoCategoryInfo> getLoCategoriesByLoRepository(String loRepositoryKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveService
getLoCategoriesByLoRepository
in interface LearningObjectiveService
loRepositoryKey
- a list of LoCategory identifierscontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- an loCategoryId in the list was not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- loCategoryIds, an Id in the loCategoryIds, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic SearchResultInfo search(SearchRequestInfo searchRequestInfo, ContextInfo contextInfo) throws MissingParameterException, OperationFailedException, PermissionDeniedException, InvalidParameterException
SearchService
search
in interface SearchService
searchRequestInfo
- the search requestcontextInfo
- information containing the principalId and locale
information about the caller of service operationMissingParameterException
- searchRequestInfo or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredInvalidParameterException
- contextInfo is not validCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.