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
LearningObjectiveServicegetLoRepositories in interface LearningObjectiveServicecontextInfo - 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
LearningObjectiveServicegetLoRepositoryKeysByType in interface LearningObjectiveServiceloRepositoryTypeKey - 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
LearningObjectiveServicesearchForLoRepositoryKeys in interface LearningObjectiveServicecriteria - 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
LearningObjectiveServicesearchForLoRepositories in interface LearningObjectiveServicecriteria - 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
LearningObjectiveServicevalidateLoRepository in interface LearningObjectiveServicevalidationTypeKey - 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
LearningObjectiveServicecreateLoRepository in interface LearningObjectiveServiceloRepositoryKey - 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
LearningObjectiveServiceupdateLoRepository in interface LearningObjectiveServiceloRepositoryKey - 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
LearningObjectiveServicedeleteLoRepository in interface LearningObjectiveServiceloRepositoryKey - 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
LearningObjectiveServicegetLoRepository in interface LearningObjectiveServiceloRepositoryKey - 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
LearningObjectiveServicegetLoRepositoriesByKeys in interface LearningObjectiveServiceloRepositoryKeys - 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
LearningObjectiveServiceaddLoCategoryToLo in interface LearningObjectiveServiceloCategoryId - 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
LearningObjectiveServicegetLoLoRelationsByIds in interface LearningObjectiveServiceloLoRelationIds - 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
LearningObjectiveServicegetLoLoRelationIdsByType in interface LearningObjectiveServiceloLoRelationTypeKey - 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
LearningObjectiveServicesearchForLoLoRelationIds in interface LearningObjectiveServicecriteria - 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
LearningObjectiveServicesearchForLoLoRelations in interface LearningObjectiveServicecriteria - 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
LearningObjectiveServicecreateLo in interface LearningObjectiveServiceloInfo - 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
LearningObjectiveServicedeleteLo in interface LearningObjectiveServiceloId - 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
LearningObjectiveServicedeleteLoCategory in interface LearningObjectiveServiceloCategoryId - 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 occurredDependentObjectsExistExceptionpublic StatusInfo deleteLoCategoryByLo(String loId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveServicedeleteLoCategoryByLo in interface LearningObjectiveServiceloId - 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
LearningObjectiveServicegetLo in interface LearningObjectiveServiceloId - 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
LearningObjectiveServicegetLosByIds in interface LearningObjectiveServiceloIds - 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
LearningObjectiveServicegetLoIdsByType in interface LearningObjectiveServiceloTypeKey - 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
LearningObjectiveServicegetLosByLoRepository in interface LearningObjectiveServiceloRepositoryKey - 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
LearningObjectiveServicegetLoCategory in interface LearningObjectiveServiceloCategoryId - 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
LearningObjectiveServicegetLoCategoriesByIds in interface LearningObjectiveServiceloCategoryIds - 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
LearningObjectiveServicegetLoCategoryIdsByType in interface LearningObjectiveServiceloCategoryTypeKey - 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
LearningObjectiveServicegetLoCategoriesByLo in interface LearningObjectiveServiceloId - 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
LearningObjectiveServicesearchForLoCategoryIds in interface LearningObjectiveServicecriteria - 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
LearningObjectiveServicesearchForLoCategories in interface LearningObjectiveServicecriteria - 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
LearningObjectiveServicegetLosByLoCategory in interface LearningObjectiveServiceloCategoryId - 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
LearningObjectiveServicesearchForLoIds in interface LearningObjectiveServicecriteria - 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
LearningObjectiveServicesearchForLos in interface LearningObjectiveServicecriteria - 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
LearningObjectiveServiceremoveLoCategoryFromLo in interface LearningObjectiveServiceloCategoryId - 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
LearningObjectiveServiceupdateLo in interface LearningObjectiveServiceloId - 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
LearningObjectiveServiceupdateLoCategory in interface LearningObjectiveServiceloCategoryId - 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
LearningObjectiveServicevalidateLo in interface LearningObjectiveServicevalidationType - 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
LearningObjectiveServicevalidateLoCategory in interface LearningObjectiveServicevalidationType - 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
LearningObjectiveServicevalidateLoLoRelation in interface LearningObjectiveServicevalidationType - 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
SearchServicegetSearchType in interface SearchServicesearchTypeKey - 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
SearchServicegetSearchTypes in interface SearchServicecontextInfo - 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
LearningObjectiveServicecreateLoLoRelation in interface LearningObjectiveServiceloLoRelationTypeKey - 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
LearningObjectiveServicegetLoLoRelation in interface LearningObjectiveServiceloLoRelationId - 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
LearningObjectiveServicegetLoLoRelationsByLoId in interface LearningObjectiveServiceloId - 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
LearningObjectiveServicegetLosByRelatedLoId in interface LearningObjectiveServicerelatedLoId - 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
LearningObjectiveServicegetRelatedLosByLoId in interface LearningObjectiveServiceloId - 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
LearningObjectiveServiceupdateLoLoRelation in interface LearningObjectiveServiceloLoRelationId - 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
LearningObjectiveServicedeleteLoLoRelation in interface LearningObjectiveServiceloLoRelationId - 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
LearningObjectiveServicecreateLoCategory in interface LearningObjectiveServiceloCategoryTypeKey - 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 LearningObjectiveServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedException@Transactional(readOnly=true) public List<TypeInfo> getLoCategoryTypes() throws OperationFailedException
getLoCategoryTypes in interface LearningObjectiveServiceOperationFailedException@Transactional(readOnly=true) public List<LoCategoryInfo> getLoCategoriesByLoRepository(String loRepositoryKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LearningObjectiveServicegetLoCategoriesByLoRepository in interface LearningObjectiveServiceloRepositoryKey - 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
SearchServicesearch in interface SearchServicesearchRequestInfo - 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.