|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.student.r2.lum.lo.service.impl.LearningObjectiveServiceImpl
public class LearningObjectiveServiceImpl
Constructor Summary | |
---|---|
LearningObjectiveServiceImpl()
|
Method Summary | |
---|---|
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. |
List<String> |
getAllowedLoLoRelationTypesForLoType(String loTypeKey,
String relatedLoTypeKey,
ContextInfo contextInfo)
|
LoInfo |
getLo(String loId,
ContextInfo contextInfo)
Retrieves a single Lo by an Lo Id. |
List<LoInfo> |
getLoByIdList(List<String> loIds,
ContextInfo contextInfo)
|
List<LoCategoryInfo> |
getLoCategories(String loRepositoryKey,
ContextInfo contextInfo)
|
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 |
List<LoCategoryInfo> |
getLoCategoriesForLo(String loId,
ContextInfo contextInfo)
|
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. |
LoCategoryTypeInfo |
getLoCategoryType(String loCategoryTypeKey,
ContextInfo contextInfo)
|
List<LoCategoryTypeInfo> |
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. |
LoLoRelationTypeInfo |
getLoLoRelationType(String loLoRelationTypeKey,
ContextInfo contextInfo)
|
List<LoLoRelationTypeInfo> |
getLoLoRelationTypes(ContextInfo contextInfo)
|
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. |
List<LoInfo> |
getLosByRepository(String loRepositoryKey,
String loTypeKey,
String loStateKey)
|
LoTypeInfo |
getLoType(String loTypeKey,
ContextInfo contextInfo)
|
List<LoTypeInfo> |
getLoTypes(ContextInfo contextInfo)
|
ObjectStructureDefinition |
getObjectStructure(String objectTypeKey,
ContextInfo contextInfo)
|
List<LoInfo> |
getRelatedLosByLoId(String loId,
String loLoRelationTypeKey,
ContextInfo contextInfo)
Retrieves a list of related Los by Lo. |
SearchCriteriaTypeInfo |
getSearchCriteriaType(String searchCriteriaTypeKey)
Retrieves information about a particular search criteria type. |
List<SearchCriteriaTypeInfo> |
getSearchCriteriaTypes()
Retrieves the list of search criteria types known by this service. |
SearchResultTypeInfo |
getSearchResultType(String searchResultTypeKey)
Retrieves information about a particular search result type. |
List<SearchResultTypeInfo> |
getSearchResultTypes()
Retrieves the list of search result types known by this service. |
SearchTypeInfo |
getSearchType(String searchTypeKey)
Retrieves information about a particular search type. |
List<SearchTypeInfo> |
getSearchTypes()
Retrieves the list of search types known by this service. |
List<SearchTypeInfo> |
getSearchTypesByCriteria(String searchCriteriaTypeKey)
Retrieves the list of search types which use criteria in the specified format. |
List<SearchTypeInfo> |
getSearchTypesByResult(String searchResultTypeKey)
Retrieves the list of search types which return results in the specified format. |
ValidatorFactory |
getValidatorFactory()
|
StatusInfo |
removeLoCategoryFromLo(String loCategoryId,
String loId,
ContextInfo contextInfo)
Removes a LoCategory from a Lo |
SearchResult |
search(SearchRequest searchRequest)
|
List<LoCategoryInfo> |
searchForLoCategories(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for LoCategories that meet the given search criteria. |
List<String> |
searchForLoCategoryIds(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for LoCategories that meet the given search criteria. |
List<String> |
searchForLoIds(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for Los that meet the given search criteria. |
List<String> |
searchForLoLoRelationIds(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for LoLoRelations that meet the given search criteria. |
List<LoLoRelationInfo> |
searchForLoLoRelations(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for LoLoRelations that meet the given search criteria. |
List<LoRepositoryInfo> |
searchForLoRepositories(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for LoRepositories that meet the given search criteria. |
List<String> |
searchForLoRepositoryKeys(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for LoRepositories that meet the given search criteria. |
List<LoInfo> |
searchForLos(org.kuali.rice.core.api.criteria.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LearningObjectiveServiceImpl()
Method Detail |
---|
public LoDao getLoDao()
public void setLoDao(LoDao dao)
public void setSearchManager(SearchManager searchManager)
public void setDictionaryServiceDelegate(DictionaryService dictionaryServiceDelegate)
public ValidatorFactory getValidatorFactory()
public void setValidatorFactory(ValidatorFactory validatorFactory)
@Transactional(readOnly=true) public List<LoRepositoryInfo> getLoRepositories(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 operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loRepositoryTypeKey or context is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<String> searchForLoRepositoryKeys(org.kuali.rice.core.api.criteria.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 operation
InvalidParameterException
- criteria or contextInfo is not valid
MissingParameterException
- criteria or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<LoRepositoryInfo> searchForLoRepositories(org.kuali.rice.core.api.criteria.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 operation
InvalidParameterException
- criteria or context is not valid
MissingParameterException
- criteria or context is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- validationTypeKey or loRepositoryTypeKey is not found
InvalidParameterException
- loRepositoryInfo or contextInfo is not valid
MissingParameterException
- validationTypeKey, loRepositoryTypeKey, loRepositoryInfo, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
AlreadyExistsException
- loRepositoryKey already exists
DataValidationErrorException
- supplied data is invalid
DoesNotExistException
- loRepositoryTypeKey does not exist or is not supported
InvalidParameterException
- loRepositoryInfo or contextInfo is not valid
MissingParameterException
- loRepositoryTypeKey, loRepositoryInfo, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred
ReadOnlyException
- 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 operation
DataValidationErrorException
- supplied data is invalid
DoesNotExistException
- loRepositoryKey is not found
InvalidParameterException
- loRepositoryInfo or contextInfo is not valid
MissingParameterException
- loRepositoryKey, loRepositoryInfo, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred
ReadOnlyException
- an attempt at changing information designated as read only
VersionMismatchException
- 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 operation
DoesNotExistException
- loRepositoryKey is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loRepositoryKey or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- loRepositoryKey is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loRepositoryKey or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- an loRepositoryKey in the list was not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loRepositoryKeys, a key in the loRepositoryKeys, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LoTypeInfo> getLoTypes(ContextInfo contextInfo) throws OperationFailedException
getLoTypes
in interface LearningObjectiveService
OperationFailedException
@Transactional(readOnly=true) public LoTypeInfo getLoType(String loTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getLoType
in interface LearningObjectiveService
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
@Transactional(readOnly=true) public List<LoLoRelationTypeInfo> getLoLoRelationTypes(ContextInfo contextInfo) throws OperationFailedException
getLoLoRelationTypes
in interface LearningObjectiveService
OperationFailedException
@Transactional(readOnly=true) public LoLoRelationTypeInfo getLoLoRelationType(String loLoRelationTypeKey, ContextInfo contextInfo) throws OperationFailedException, MissingParameterException, DoesNotExistException
getLoLoRelationType
in interface LearningObjectiveService
OperationFailedException
MissingParameterException
DoesNotExistException
@Transactional(readOnly=true) public List<String> getAllowedLoLoRelationTypesForLoType(String loTypeKey, String relatedLoTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getAllowedLoLoRelationTypesForLoType
in interface LearningObjectiveService
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
@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 operation
AlreadyExistsException
- LoCategory already exists for Lo
DoesNotExistException
- loCategoryId or loId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loCategoryId, loId, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred
UnsupportedActionException
- 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 operation
DoesNotExistException
- an loLoRelationId in the list was not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loLoRelationIds, an Id in the loLoRelationIds, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loLoRelationTypeKey or context is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<String> searchForLoLoRelationIds(org.kuali.rice.core.api.criteria.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 operation
InvalidParameterException
- criteria or contextInfo is not valid
MissingParameterException
- criteria or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<LoLoRelationInfo> searchForLoLoRelations(org.kuali.rice.core.api.criteria.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 operation
InvalidParameterException
- criteria or context is not valid
MissingParameterException
- criteria or context is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DataValidationErrorException
- supplied data is invalid
DoesNotExistException
- loTypeKey does not exist or is not supported
InvalidParameterException
- loInfo or contextInfo is not valid
MissingParameterException
- loTypeKey, loInfo, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred
ReadOnlyException
- 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 operation
DoesNotExistException
- loId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loId or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred
DependentObjectsExistException
@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 operation
DoesNotExistException
- loCategoryId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loCategoryId or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred
DependentObjectsExistException
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 operation
DoesNotExistException
- loId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loId or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- loId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loId or contextInfo is missing or null
OperationFailedException
- unable to complete requestpublic 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 operation
DoesNotExistException
- an loId in the list was not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loIds, an Id in the loIds, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loTypeKey or context is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic 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 operation
DoesNotExistException
- loRepositoryId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loRepositoryId or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LoInfo> getLoByIdList(List<String> loIds, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException
getLoByIdList
in interface LearningObjectiveService
InvalidParameterException
MissingParameterException
OperationFailedException
@Transactional(readOnly=true) public List<LoCategoryInfo> getLoCategories(String loRepositoryKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getLoCategories
in interface LearningObjectiveService
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
@Transactional(readOnly=true) public List<LoCategoryInfo> getLoCategoriesForLo(String loId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getLoCategoriesForLo
in interface LearningObjectiveService
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
@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 operation
DoesNotExistException
- loCategoryId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loCategoryId or contextInfo is missing or null
OperationFailedException
- 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 operation
DoesNotExistException
- an loCategoryId in the list was not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loCategoryIds, an Id in the loCategoryIds, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loCategoryTypeKey or context is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic 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 operation
DoesNotExistException
- loId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loId or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<String> searchForLoCategoryIds(org.kuali.rice.core.api.criteria.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 operation
InvalidParameterException
- criteria or contextInfo is not valid
MissingParameterException
- criteria or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<LoCategoryInfo> searchForLoCategories(org.kuali.rice.core.api.criteria.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 operation
InvalidParameterException
- criteria or context is not valid
MissingParameterException
- criteria or context is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- loCategoryId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loCategoryId or contextInfo is missing or null
OperationFailedException
- unable to complete requestpublic List<String> searchForLoIds(org.kuali.rice.core.api.criteria.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 operation
InvalidParameterException
- criteria or contextInfo is not valid
MissingParameterException
- criteria or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<LoInfo> searchForLos(org.kuali.rice.core.api.criteria.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 operation
InvalidParameterException
- criteria or context is not valid
MissingParameterException
- criteria or context is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- loCategoryId or loId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loCategoryId, loId, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred
UnsupportedActionException
- 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 operation
DataValidationErrorException
- supplied data is invalid
DoesNotExistException
- loId is not found
InvalidParameterException
- loInfo or contextInfo is not valid
MissingParameterException
- loId, loInfo, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred
VersionMismatchException
- 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 operation
DataValidationErrorException
- supplied data is invalid
DoesNotExistException
- loCategoryId is not found
InvalidParameterException
- loCategoryInfo or contextInfo is not valid
MissingParameterException
- loCategoryId, loCategoryInfo, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred
VersionMismatchException
- 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 operation
DoesNotExistException
- validationTypeKey or loTypeKey is not found
InvalidParameterException
- loInfo or contextInfo is not valid
MissingParameterException
- validationTypeKey, loTypeKey, loInfo, or contextInfo is missing or null
OperationFailedException
- 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 operation
DoesNotExistException
- validationTypeKey or loCategoryTypeKey is not found
InvalidParameterException
- loCategoryInfo or contextInfo is not valid
MissingParameterException
- validationTypeKey, loCategoryTypeKey, loCategoryInfo, or contextInfo is missing or null
OperationFailedException
- 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 operation
DoesNotExistException
- validationTypeKey or loLoRelationTypeKey is not found
InvalidParameterException
- loLoRelationInfo or contextInfo is not valid
MissingParameterException
- validationTypeKey, loLoRelationTypeKey, loLoRelationInfo, or contextInfo is missing or null
OperationFailedException
- unable to complete requestpublic ObjectStructureDefinition getObjectStructure(String objectTypeKey, ContextInfo contextInfo)
public SearchCriteriaTypeInfo getSearchCriteriaType(String searchCriteriaTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
SearchService
getSearchCriteriaType
in interface SearchService
searchCriteriaTypeKey
- identifier of the search criteria type
DoesNotExistException
- specified searchCriteriaTypeKey not found
InvalidParameterException
- invalid searchCriteriaTypeKey
MissingParameterException
- searchCriteriaTypeKey not specified
OperationFailedException
- unable to complete requestpublic List<SearchCriteriaTypeInfo> getSearchCriteriaTypes() throws OperationFailedException
SearchService
getSearchCriteriaTypes
in interface SearchService
OperationFailedException
- unable to complete requestpublic SearchResultTypeInfo getSearchResultType(String searchResultTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
SearchService
getSearchResultType
in interface SearchService
searchResultTypeKey
- identifier of the search result type
DoesNotExistException
- specified searchResultTypeKey not found
InvalidParameterException
- invalid searchResultTypeKey
MissingParameterException
- searchResultTypeKey not specified
OperationFailedException
- unable to complete requestpublic List<SearchResultTypeInfo> getSearchResultTypes() throws OperationFailedException
SearchService
getSearchResultTypes
in interface SearchService
OperationFailedException
- unable to complete requestpublic SearchTypeInfo getSearchType(String searchTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
SearchService
getSearchType
in interface SearchService
searchTypeKey
- identifier of the search type
DoesNotExistException
- specified searchTypeKey not found
InvalidParameterException
- invalid searchTypeKey
MissingParameterException
- searchTypeKey not specified
OperationFailedException
- unable to complete requestpublic List<SearchTypeInfo> getSearchTypes() throws OperationFailedException
SearchService
getSearchTypes
in interface SearchService
OperationFailedException
- unable to complete requestpublic List<SearchTypeInfo> getSearchTypesByCriteria(String searchCriteriaTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
SearchService
getSearchTypesByCriteria
in interface SearchService
searchCriteriaTypeKey
- identifier of the search criteria
DoesNotExistException
- specified searchCriteriaTypeKey not found
InvalidParameterException
- invalid searchCriteriaTypeKey
MissingParameterException
- searchCriteriaTypeKey not specified
OperationFailedException
- unable to complete requestpublic List<SearchTypeInfo> getSearchTypesByResult(String searchResultTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
SearchService
getSearchTypesByResult
in interface SearchService
searchResultTypeKey
- identifier of the search result type
DoesNotExistException
- specified searchResultTypeKey not found
InvalidParameterException
- invalid searchResultTypeKey
MissingParameterException
- searchResultTypeKey not specified
OperationFailedException
- unable to complete request@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public LoLoRelationInfo createLoLoRelation(String 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 operation
DataValidationErrorException
- supplied data is invalid
DoesNotExistException
- loLoRelationTypeKey does not exist or is not supported
InvalidParameterException
- loLoRelationInfo or contextInfo is not valid
MissingParameterException
- loLoRelationTypeKey, loLoRelationInfo, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred
ReadOnlyException
- 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 operation
DoesNotExistException
- loLoRelationId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loLoRelationId or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- loId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loId or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- relatedLoId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- relatedLoId, loLoRelationTypeKey, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- loId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loId or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DataValidationErrorException
- supplied data is invalid
DoesNotExistException
- loLoRelationId is not found
InvalidParameterException
- loLoRelationInfo or contextInfo is not valid
MissingParameterException
- loLoRelationId, loLoRelationInfo, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred
ReadOnlyException
- an attempt at changing information designated as read only
VersionMismatchException
- 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 operation
DoesNotExistException
- loLoRelationId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loLoRelationId or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DataValidationErrorException
- supplied data is invalid
DoesNotExistException
- loCategoryTypeKey does not exist or is not supported
InvalidParameterException
- loCategoryInfo or contextInfo is not valid
MissingParameterException
- loCategoryTypeKey, loCategoryInfo, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred
ReadOnlyException
- an attempt at supplying information designated as read only@Transactional(readOnly=true) public LoCategoryTypeInfo getLoCategoryType(String loCategoryTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getLoCategoryType
in interface LearningObjectiveService
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
@Transactional(readOnly=true) public List<LoCategoryTypeInfo> getLoCategoryTypes() throws OperationFailedException
getLoCategoryTypes
in interface LearningObjectiveService
OperationFailedException
@Transactional(readOnly=true) public List<LoInfo> getLosByRepository(String loRepositoryKey, String loTypeKey, String loStateKey) throws InvalidParameterException, MissingParameterException, OperationFailedException
getLosByRepository
in interface LearningObjectiveService
InvalidParameterException
MissingParameterException
OperationFailedException
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 operation
DoesNotExistException
- an loCategoryId in the list was not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- loCategoryIds, an Id in the loCategoryIds, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic SearchResult search(SearchRequest searchRequest) throws MissingParameterException
search
in interface SearchService
MissingParameterException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |