|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.student.r2.lum.lu.service.impl.CluServiceImpl
@Transactional(readOnly=true, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public class CluServiceImpl
Nested Class Summary | |
---|---|
class |
CluServiceImpl.SearchResultRowComparator
|
Constructor Summary | |
---|---|
CluServiceImpl()
|
Method Summary | |
---|---|
StatusInfo |
addCluResourceRequirement(String resourceTypeKey,
String cluId,
ContextInfo context)
Add a Resource requirement to a CLU |
StatusInfo |
addCluSetsToCluSet(String cluSetId,
List<String> cluSetIds,
ContextInfo context)
Adds a list of CLU sets to another CluSet. |
StatusInfo |
addCluSetToCluSet(String cluSetId,
String addedCluSetId,
ContextInfo context)
Adds one CLU set to another |
StatusInfo |
addClusToCluSet(List<String> cluIds,
String cluSetId,
ContextInfo context)
Adds a list of CLUs to a CLU set. |
StatusInfo |
addCluToCluSet(String cluId,
String cluSetId,
ContextInfo context)
Add a CLU to a CLU set |
CluInfo |
createClu(String luTypeKey,
CluInfo cluInfo,
ContextInfo context)
Creates a new CLU |
CluCluRelationInfo |
createCluCluRelation(String cluId,
String relatedCluId,
String luLuRelationTypeKey,
CluCluRelationInfo cluCluRelationInfo,
ContextInfo context)
Create a directional relationship between two CLUs |
CluLoRelationInfo |
createCluLoRelation(String cluId,
String loId,
String cluLoRelationType,
CluLoRelationInfo cluLoRelationInfo,
ContextInfo context)
Creates a relationship between a learning objective and a CLU. |
CluPublicationInfo |
createCluPublication(String cluId,
String luPublicationType,
CluPublicationInfo cluPublicationInfo,
ContextInfo context)
Create a clu publication object, which contains information about publication for a clu. |
CluResultInfo |
createCluResult(String cluId,
String cluResultTypeKey,
CluResultInfo cluResultInfo,
ContextInfo context)
Create a clu result object, which contains information about potential results for a clu. |
CluSetInfo |
createCluSet(String cluSetType,
CluSetInfo cluSetInfo,
ContextInfo context)
Creates a CLU set. |
CluInfo |
createNewCluVersion(String versionIndCluId,
String versionComment,
ContextInfo context)
Versioning Methods |
StatusInfo |
deleteClu(String cluId,
ContextInfo context)
Deletes an existing CLU |
StatusInfo |
deleteCluCluRelation(String cluCluRelationId,
ContextInfo context)
Deletes a relationship between two CLUs |
StatusInfo |
deleteCluLoRelation(String cluLoRelationId,
ContextInfo context)
Removes a relationship between a learning objective and a Clu. |
StatusInfo |
deleteCluPublication(String cluPublicationId,
ContextInfo context)
Deletes an existing clu publication object |
StatusInfo |
deleteCluResult(String cluResultId,
ContextInfo context)
Deletes an existing clu result |
StatusInfo |
deleteCluSet(String cluSetId,
ContextInfo context)
Delete a CLU set |
List<String> |
getAllCluIdsInCluSet(String cluSetId,
ContextInfo context)
Retrieves the list of CLU Identifiers within a CLU Set or any cluset that is included within that. |
List<CluInfo> |
getAllClusInCluSet(String cluSetId,
ContextInfo context)
Retrieves the full list of CLUs in this CLU set or any cluset that is included within that. |
List<String> |
getAllowedCluCluRelationTypesByClu(String cluId,
String relatedCluId,
ContextInfo context)
Retrieves the list of allowed relation types between the two specified CLUs |
List<String> |
getAllowedCluLoRelationTypesForLuType(String luTypeKey,
ContextInfo context)
Retrieves the list of CLU LO relation types which are allowed to be used in conjunction with an lu type. |
List<String> |
getAllowedLuLuRelationTypesForLuType(String luTypeKey,
String relatedLuTypeKey,
ContextInfo context)
Retrieves the list of allowed relation types between the two specified LU Types |
List<String> |
getAllowedResultComponentTypesForResultUsageType(String resultUsageTypeKey,
ContextInfo context)
Retrieves the list of result component types which are allowed to be used in conjunction with result usage type. |
List<String> |
getAllowedResultUsageTypesForLuType(String luTypeKey,
ContextInfo context)
Retrieves the list of result usage types which are allowed to be used in conjunction with an lu type. |
CluInfo |
getClu(String cluId,
ContextInfo context)
READ OPERATION * |
CluCluRelationInfo |
getCluCluRelation(String cluCluRelationId,
ContextInfo context)
Retrieves the relationship information between CLUs for a particular Relation instance |
List<CluCluRelationInfo> |
getCluCluRelationsByClu(String cluId,
ContextInfo context)
Retrieves the list of relationship information for the specified CLU |
List<TypeInfo> |
getCluCluRelationTypes(ContextInfo context)
Retrieves the complete list of LU to LU relation types |
List<String> |
getCluIdsByLuType(String luTypeKey,
String luState,
ContextInfo context)
Retrieves the list of CLU Ids for the specified LU Type and state |
List<String> |
getCluIdsByRelatedCluAndRelationType(String relatedCluId,
String cluCluRelationTypeKey,
ContextInfo contextInfo)
Retrieves the list of CLU Ids for the specified related CLU Id and LU to LU relation type (getRelatedCluIdsByCluAndRelationType from the other direction) |
List<String> |
getCluIdsByResultComponent(String resultComponentId,
ContextInfo context)
Retrieves the list of clu Ids which use a particular result component |
List<String> |
getCluIdsByResultUsageType(String resultUsageTypeKey,
ContextInfo context)
Retrieves the list of clu Ids with the results of the specified usage type. |
List<String> |
getCluIdsFromCluSet(String cluSetId,
ContextInfo context)
Retrieves the list of CLU Identifiers within a CLU Set. |
CluLoRelationInfo |
getCluLoRelation(String cluLoRelationId,
ContextInfo context)
Retrieve information on a CLU LO Relation. |
List<CluLoRelationInfo> |
getCluLoRelationsByClu(String cluId,
ContextInfo context)
Retrieves the list of canonical learning unit to learning objective relationships for a given CLU. |
List<CluLoRelationInfo> |
getCluLoRelationsByLo(String loId,
ContextInfo context)
Retrieves the list of CLU identifiers associated with a given learning objective identifier. |
TypeInfo |
getCluLoRelationType(String cluLoRelationTypeKey,
ContextInfo context)
Retrieves information for a specified CLU to LO relation type |
List<TypeInfo> |
getCluLoRelationTypes(ContextInfo context)
Retrieves the complete list of CLU to LO relation types |
CluPublicationInfo |
getCluPublication(String cluPublicationId,
ContextInfo context)
Retrieves an LU publication object by its identifier |
List<CluPublicationInfo> |
getCluPublicationsByClu(String cluId,
ContextInfo context)
Retrieves a list of publication objects for a particular clu |
List<CluPublicationInfo> |
getCluPublicationsByType(String luPublicationTypeKey,
ContextInfo context)
Retrieves a list of publication objects of a particular Type |
CluResultInfo |
getCluResult(String cluResultId,
ContextInfo context)
Retrieves information about a Clu Result |
List<CluResultInfo> |
getCluResultByClu(String cluId,
ContextInfo context)
Retrieves the cluResult for a particular clu |
TypeInfo |
getCluResultType(String cluResultTypeKey,
ContextInfo context)
Retrieves information about a publication type |
List<TypeInfo> |
getCluResultTypes(ContextInfo context)
Retrieves a list of types for clu result objects. |
List<TypeInfo> |
getCluResultTypesForLuType(String luTypeKey,
ContextInfo context)
Retrieves the list of clu result types which are allowed to be used in conjunction with a particular lu type. |
List<CluInfo> |
getClusByIds(List<String> cluIds,
ContextInfo context)
Retrieves information about CLUs from a list of Ids |
List<CluInfo> |
getClusByLuType(String luTypeKey,
String luState,
ContextInfo context)
Retrieves the list of CLUs for the specified LU Type and state |
List<CluInfo> |
getClusByRelatedCluAndRelationType(String relatedCluId,
String luLuRelationTypeKey,
ContextInfo context)
Retrieves the list of CLU information for the CLUs related to a specified CLU Id with a certain LU to LU relation type (getRelatedClusByClu from the other direction) |
CluSetInfo |
getCluSet(String cluSetId,
ContextInfo context)
Retrieve information on a CLU set. |
List<String> |
getCluSetIdsFromCluSet(String cluSetId,
ContextInfo context)
Retrieve the list of CLU Set Ids within a CLU Set |
List<CluSetInfo> |
getCluSetsByIds(List<String> cluSetIds,
ContextInfo context)
Retrieve information on CLU sets from a list of cluSet Ids. |
CluSetTreeViewInfo |
getCluSetTreeView(String cluSetId,
ContextInfo context)
Retrieve information on a CLU set and its sub clu set fully expanded. |
TypeInfo |
getCluSetType(String cluSetTypeKey,
ContextInfo context)
Retrieves information about a specified CLU set type |
List<TypeInfo> |
getCluSetTypes(ContextInfo context)
Retrieves the list of CLU set types known by the service |
List<CluInfo> |
getClusFromCluSet(String cluSetId,
ContextInfo context)
Retrieves the list of CLUs in a CLU set. |
VersionDisplayInfo |
getCurrentVersion(String refObjectTypeURI,
String refObjectId,
ContextInfo context)
Retrieves current version associated with the objectId. |
VersionDisplayInfo |
getCurrentVersionOnDate(String refObjectTypeURI,
String refObjectId,
Date date,
ContextInfo context)
Retrieves the current version associated with the objectId on a given date. |
TypeInfo |
getDeliveryMethodType(String deliveryMethodTypeKey,
ContextInfo context)
Retrieves information about a delivery method type |
List<TypeInfo> |
getDeliveryMethodTypes(ContextInfo context)
SETUP OPERATION * |
DictionaryService |
getDictionaryServiceDelegate()
|
VersionDisplayInfo |
getFirstVersion(String refObjectTypeURI,
String refObjectId,
ContextInfo context)
Retrieves first version associated with the objectId. |
TypeInfo |
getInstructionalFormatType(String instructionalFormatTypeKey,
ContextInfo context)
Retrieves information about a Instructional Format Type |
List<TypeInfo> |
getInstructionalFormatTypes(ContextInfo context)
Retrieves the list of instructional format types |
VersionDisplayInfo |
getLatestVersion(String refObjectTypeURI,
String refObjectId,
ContextInfo context)
Retrieves latest version associated with the objectId. |
TypeInfo |
getLuCodeType(String luCodeTypeKey,
ContextInfo context)
Retrieves information about a learning unit code type |
List<TypeInfo> |
getLuCodeTypes(ContextInfo context)
Retrieves the list of learning unit code types |
LuDao |
getLuDao()
|
TypeInfo |
getLuLuRelationType(String luLuRelationTypeKey,
ContextInfo context)
Retrieves the LU to LU relation type |
TypeInfo |
getLuPublicationType(String luPublicationTypeKey,
ContextInfo context)
Retrieves information about a publication type |
List<TypeInfo> |
getLuPublicationTypes(ContextInfo context)
Retrieves the list of Learning Unit publication types |
List<String> |
getLuPublicationTypesForLuType(String luTypeKey,
ContextInfo context)
Retrieves information about a publication type |
TypeInfo |
getLuType(String luTypeKey,
ContextInfo context)
Retrieves information about a LU Type |
List<TypeInfo> |
getLuTypes(ContextInfo context)
Retrieves the list of LU types |
List<String> |
getRelatedCluIdsByCluAndRelationType(String cluId,
String luLuRelationTypeKey,
ContextInfo context)
Retrieves the list of related CLU Ids for the specified CLU Id and LU to LU relation type (getCluIdsByRelatedCluAndCluCluRelationType from the other direction) |
List<CluInfo> |
getRelatedClusByCluAndRelationType(String relatedCluId,
String cluCLuRelationTypeKey,
ContextInfo contextInfo)
Retrieves the list of related CLU information for the specified CLU Id and LU to LU relation type (getClusByRelation from the other direction) |
List<String> |
getResourceRequirementsForClu(String cluId,
ContextInfo context)
Retrieves the list of Resource requirements for the specified CLU |
TypeInfo |
getResultUsageType(String resultUsageTypeKey,
ContextInfo context)
Retrieves information about a Result Usage Type |
List<TypeInfo> |
getResultUsageTypes(ContextInfo context)
Retrieves a list of result usage types |
SearchCriteriaTypeInfo |
getSearchCriteriaType(String searchCriteriaTypeKey)
This method ... |
List<SearchCriteriaTypeInfo> |
getSearchCriteriaTypes()
This method ... |
SearchManager |
getSearchManager()
|
SearchResultTypeInfo |
getSearchResultType(String searchResultTypeKey)
This method ... |
List<SearchResultTypeInfo> |
getSearchResultTypes()
This method ... |
SearchTypeInfo |
getSearchType(String searchTypeKey)
This method ... |
List<SearchTypeInfo> |
getSearchTypes()
This method ... |
List<SearchTypeInfo> |
getSearchTypesByCriteria(String searchCriteriaTypeKey)
This method ... |
List<SearchTypeInfo> |
getSearchTypesByResult(String searchResultTypeKey)
This method ... |
ValidatorFactory |
getValidatorFactory()
|
VersionDisplayInfo |
getVersionBySequenceNumber(String refObjectTypeURI,
String refObjectId,
Long sequence,
ContextInfo context)
Retrieves the version associated with the objectId and the sequence number. |
List<VersionDisplayInfo> |
getVersions(String refObjectTypeURI,
String refObjectId,
ContextInfo context)
Retrieves a list of versions associated with the objectId. |
List<VersionDisplayInfo> |
getVersionsInDateRange(String refObjectTypeURI,
String refObjectId,
Date from,
Date to,
ContextInfo context)
Retrieves the current version associated with the objectId in a given date range |
Boolean |
isCluInCluSet(String cluId,
String cluSetId,
ContextInfo context)
Checks if a CLU is a member of a CLU set or any contained CLU set |
Boolean |
isCluSetDynamic(String cluSetId,
ContextInfo context)
Check if the given CluSet is dynamic |
StatusInfo |
removeCluFromCluSet(String cluId,
String cluSetId,
ContextInfo context)
Remove a CLU from a CLU set |
StatusInfo |
removeCluResourceRequirement(String resourceTypeKey,
String cluId,
ContextInfo context)
Remove a Resource requirement from a CLU |
StatusInfo |
removeCluSetFromCluSet(String cluSetId,
String removedCluSetId,
ContextInfo context)
Removes one CLU set from another |
SearchResult |
search(SearchRequest searchRequest)
|
StatusInfo |
setCurrentCluVersion(String cluVersionId,
Date currentVersionStart,
ContextInfo context)
This method sets the CLU with ID of cluVersionId as the current version and will set the version end date of the previously current version to currentVersionStart or now() if null. |
void |
setDictionaryServiceDelegate(DictionaryService dictionaryServiceDelegate)
|
void |
setLuDao(LuDao luDao)
|
void |
setSearchDispatcher(SearchDispatcher searchDispatcher)
|
void |
setSearchManager(SearchManager searchManager)
|
void |
setValidatorFactory(ValidatorFactory validatorFactory)
|
Clu |
toCluForCreate(String luTypeKey,
CluInfo cluInfo,
ContextInfo context)
|
CluInfo |
updateClu(String cluId,
CluInfo cluInfo,
ContextInfo context)
Updates an existing CLU |
CluCluRelationInfo |
updateCluCluRelation(String cluCluRelationId,
CluCluRelationInfo cluCluRelationInfo,
ContextInfo context)
Updates a relationship between two CLUs |
CluLoRelationInfo |
updateCluLoRelation(String cluLoRelationId,
CluLoRelationInfo cluLoRelationInfo,
ContextInfo context)
Updates a relationship between a clu and learning objective |
CluPublicationInfo |
updateCluPublication(String cluPublicationId,
CluPublicationInfo cluPublicationInfo,
ContextInfo context)
Updates an existing clu publication object |
CluResultInfo |
updateCluResult(String cluResultId,
CluResultInfo cluResultInfo,
ContextInfo context)
Updates an existing clu result |
CluSetInfo |
updateCluSet(String cluSetId,
CluSetInfo cluSetInfo,
ContextInfo context)
Update the information for a CLU set |
CluInfo |
updateCluState(String cluId,
String luState,
ContextInfo context)
Updates the state of the specified CLU |
List<ValidationResultInfo> |
validateClu(String validationType,
CluInfo cluInfo,
ContextInfo context)
MAINTENANCE OPERATIONS * |
List<ValidationResultInfo> |
validateCluCluRelation(String validationTypeKey,
String cluId,
String relatedCluId,
String cluCluRelationTypeKey,
CluCluRelationInfo cluCluRelationInfo,
ContextInfo contextInfo)
Validates a cluCluRelation. |
List<ValidationResultInfo> |
validateCluLoRelation(String validationType,
String cluId,
String loId,
String cluLoRelationType,
CluLoRelationInfo cluLoRelationInfo,
ContextInfo context)
Validates a cluLoRelation. |
List<ValidationResultInfo> |
validateCluPublication(String validationType,
String cluId,
String luPublicationTypeKey,
CluPublicationInfo cluPublicationInfo,
ContextInfo context)
Validates information about publication for a clu. |
List<ValidationResultInfo> |
validateCluResult(String validationType,
String cluId,
String cluResultTypeKey,
CluResultInfo cluResultInfo,
ContextInfo context)
Validates information about results for a clu. |
List<ValidationResultInfo> |
validateCluSet(String validationType,
String cluSetType,
CluSetInfo cluSetInfo,
ContextInfo context)
Validates information about a clu set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CluServiceImpl()
Method Detail |
---|
public void setDictionaryServiceDelegate(DictionaryService dictionaryServiceDelegate)
public DictionaryService getDictionaryServiceDelegate()
public SearchCriteriaTypeInfo getSearchCriteriaType(String searchCriteriaTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getSearchCriteriaType
in interface SearchService
getSearchCriteriaType
in interface CluService
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
CluService
getSearchCriteriaTypes
in interface SearchService
getSearchCriteriaTypes
in interface CluService
OperationFailedException
- unable to complete requestpublic SearchResultTypeInfo getSearchResultType(String searchResultTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getSearchResultType
in interface SearchService
getSearchResultType
in interface CluService
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
CluService
getSearchResultTypes
in interface SearchService
getSearchResultTypes
in interface CluService
OperationFailedException
- unable to complete requestpublic SearchTypeInfo getSearchType(String searchTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getSearchType
in interface SearchService
getSearchType
in interface CluService
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
CluService
getSearchTypes
in interface SearchService
getSearchTypes
in interface CluService
OperationFailedException
- unable to complete requestpublic List<SearchTypeInfo> getSearchTypesByCriteria(String searchCriteriaTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getSearchTypesByCriteria
in interface SearchService
getSearchTypesByCriteria
in interface CluService
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
CluService
getSearchTypesByResult
in interface SearchService
getSearchTypesByResult
in interface CluService
searchResultTypeKey
- identifier of the search result type
DoesNotExistException
- specified searchResultTypeKey not found
InvalidParameterException
- invalid searchResultTypeKey
MissingParameterException
- searchResultTypeKey not specified
OperationFailedException
- unable to complete requestpublic SearchManager getSearchManager()
public void setSearchManager(SearchManager searchManager)
public List<TypeInfo> getDeliveryMethodTypes(ContextInfo context) throws OperationFailedException
getDeliveryMethodTypes
in interface CluService
context
- Context information containing the principalId and
locale information about the caller of service
operation
OperationFailedException
- unable to complete requestpublic TypeInfo getDeliveryMethodType(String deliveryMethodTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getDeliveryMethodType
in interface CluService
deliveryMethodTypeKey
- Key of the Delivery Method Typecontext
- Context information containing the
principalId and locale information about the
caller of service operation
DoesNotExistException
- deliveryMethodType not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing deliveryMethodType or
contextInfo
OperationFailedException
- unable to complete requestpublic List<TypeInfo> getInstructionalFormatTypes(ContextInfo context) throws OperationFailedException
CluService
getInstructionalFormatTypes
in interface CluService
context
- Context information containing the principalId and
locale information about the caller of service
operation
OperationFailedException
- unable to complete requestpublic TypeInfo getInstructionalFormatType(String instructionalFormatTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getInstructionalFormatType
in interface CluService
instructionalFormatTypeKey
- Key of the Instructional Format Typecontext
- Context information containing the
principalId and locale information
about the caller of service operation
DoesNotExistException
- instructionalFormatTypeKey not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing instructionalFormatTypeKey or
contextInfo
OperationFailedException
- unable to complete requestpublic List<TypeInfo> getLuTypes(ContextInfo context) throws OperationFailedException
CluService
getLuTypes
in interface CluService
context
- Context information containing the principalId and
locale information about the caller of service
operation
OperationFailedException
- unable to complete requestpublic TypeInfo getLuType(String luTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getLuType
in interface CluService
luTypeKey
- Key of the LU Typecontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- luTypeKey not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing luTypeKey or contextInfo
OperationFailedException
- unable to complete requestpublic TypeInfo getLuCodeType(String luCodeTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getLuCodeType
in interface CluService
luCodeTypeKey
- Key of the learning unit code typecontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- luCodeTypeKey not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing luCodeTypeKey or contextInfo
OperationFailedException
- unable to complete requestpublic List<TypeInfo> getLuCodeTypes(ContextInfo context) throws OperationFailedException
CluService
getLuCodeTypes
in interface CluService
context
- Context information containing the principalId and
locale information about the caller of service
operation
OperationFailedException
- unable to complete requestpublic List<TypeInfo> getCluCluRelationTypes(ContextInfo context) throws OperationFailedException
CluService
getCluCluRelationTypes
in interface CluService
context
- Context information containing the principalId and
locale information about the caller of service
operation
OperationFailedException
- unable to complete requestpublic TypeInfo getLuLuRelationType(String luLuRelationTypeKey, ContextInfo context) throws OperationFailedException, MissingParameterException, DoesNotExistException
CluService
getLuLuRelationType
in interface CluService
luLuRelationTypeKey
- Key of the LU to LU Relation Typecontext
- Context information containing the
principalId and locale information about the
caller of service operation
OperationFailedException
- unable to complete request
MissingParameterException
- missing cluCluRelationTypeKey or
contextInfo
DoesNotExistException
- cluCluRelationTypeKey not foundpublic List<String> getAllowedLuLuRelationTypesForLuType(String luTypeKey, String relatedLuTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getAllowedLuLuRelationTypesForLuType
in interface CluService
luTypeKey
- Key of the first LU TyperelatedLuTypeKey
- Key of the second LU Typecontext
- Context information containing the principalId
and locale information about the caller of
service operation
DoesNotExistException
- luTypeKey, relatedLuTypeKey not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing luTypeKey, relatedLuTypeKey or
contextInfo
OperationFailedException
- unable to complete requestpublic List<TypeInfo> getLuPublicationTypes(ContextInfo context) throws OperationFailedException
CluService
getLuPublicationTypes
in interface CluService
context
- Context information containing the principalId and
locale information about the caller of service
operation
OperationFailedException
- unable to complete requestpublic TypeInfo getLuPublicationType(String luPublicationTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getLuPublicationType
in interface CluService
luPublicationTypeKey
- Key of the Learning Unit Publication Typecontext
- Context information containing the
principalId and locale information about the
caller of service operation
DoesNotExistException
- luPublicationTypeKey not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing luPublicationTypeKey or
contextInfo
OperationFailedException
- unable to complete requestpublic List<String> getLuPublicationTypesForLuType(String luTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getLuPublicationTypesForLuType
in interface CluService
luTypeKey
- Key of the LU Typecontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- luTypeKey not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing luTypeKey or contextInfo
OperationFailedException
- unable to complete requestpublic List<TypeInfo> getCluResultTypes(ContextInfo context) throws OperationFailedException
CluService
getCluResultTypes
in interface CluService
context
- Context information containing the principalId and
locale information about the caller of service
operation
OperationFailedException
- unable to complete requestpublic TypeInfo getCluResultType(String cluResultTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getCluResultType
in interface CluService
cluResultTypeKey
- Key of the Canonical Learning Unit Result Typecontext
- Context information containing the principalId
and locale information about the caller of
service operation
DoesNotExistException
- cluResultTypeKey not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluResultTypeKey or
contextInfo
OperationFailedException
- unable to complete requestpublic List<TypeInfo> getCluResultTypesForLuType(String luTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getCluResultTypesForLuType
in interface CluService
luTypeKey
- luTypeKeycontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- luTypeKey not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing luTypeKey or contextInfo
OperationFailedException
- unable to complete requestpublic List<TypeInfo> getResultUsageTypes(ContextInfo context) throws OperationFailedException
CluService
getResultUsageTypes
in interface CluService
context
- Context information containing the principalId and
locale information about the caller of service
operation
OperationFailedException
- unable to complete requestpublic TypeInfo getResultUsageType(String resultUsageTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getResultUsageType
in interface CluService
resultUsageTypeKey
- Key of the Result Usage Typecontext
- Context information containing the principalId
and locale information about the caller of
service operation
DoesNotExistException
- resultUsageTypeKey not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing resultUsageTypeKey or
contextInfo
OperationFailedException
- unable to complete requestpublic List<String> getAllowedResultUsageTypesForLuType(String luTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getAllowedResultUsageTypesForLuType
in interface CluService
luTypeKey
- luTypeKeycontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- luTypeKey not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing luTypeKey or contextInfo
OperationFailedException
- unable to complete requestpublic List<String> getAllowedResultComponentTypesForResultUsageType(String resultUsageTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getAllowedResultComponentTypesForResultUsageType
in interface CluService
resultUsageTypeKey
- resultUsageTypeKeycontext
- Context information containing the principalId
and locale information about the caller of
service operation
DoesNotExistException
- resultUsageTypeKey not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing resultUsageTypeKey or
contextInfo
OperationFailedException
- unable to complete requestpublic TypeInfo getCluLoRelationType(String cluLoRelationTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getCluLoRelationType
in interface CluService
cluLoRelationTypeKey
- Key of the CLU to LO Relation Typecontext
- Context information containing the
principalId and locale information about the
caller of service operation
DoesNotExistException
- cluLoRelationTypeKey not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluLoRelationTypeKey or
contextInfo
OperationFailedException
- unable to complete requestpublic List<TypeInfo> getCluLoRelationTypes(ContextInfo context) throws OperationFailedException
CluService
getCluLoRelationTypes
in interface CluService
context
- Context information containing the principalId and
locale information about the caller of service
operation
OperationFailedException
- unable to complete requestpublic List<String> getAllowedCluLoRelationTypesForLuType(String luTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getAllowedCluLoRelationTypesForLuType
in interface CluService
luTypeKey
- luTypeKeycontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- luTypeKey not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing luTypeKey or contextInfo
OperationFailedException
- unable to complete requestpublic List<TypeInfo> getCluSetTypes(ContextInfo context) throws OperationFailedException
CluService
getCluSetTypes
in interface CluService
context
- Context information containing the principalId and
locale information about the caller of service
operation
OperationFailedException
- unable to complete requestpublic TypeInfo getCluSetType(String cluSetTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getCluSetType
in interface CluService
cluSetTypeKey
- Key of the CLU set typecontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluSetTypeKey not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluSetTypeKey or contextInfo
OperationFailedException
- unable to complete requestpublic CluInfo getClu(String cluId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getClu
in interface CluService
cluId
- identifier of the CLUcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluId or contextInfo
OperationFailedException
- unable to complete requestpublic List<CluInfo> getClusByIds(List<String> cluIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getClusByIds
in interface CluService
cluIds
- List of CLU identifierscontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- One or more cluIds not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluIds or contextInfo
OperationFailedException
- unable to complete requestpublic List<CluInfo> getClusByLuType(String luTypeKey, String luState, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getClusByLuType
in interface CluService
luTypeKey
- Type of the CLUs to retrieveluState
- State of the CLUs to retrieve.context
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- luTypeKey or luState not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing luTypeKey, luState or
contextInfo
OperationFailedException
- unable to complete requestpublic List<String> getCluIdsByLuType(String luTypeKey, String luState, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getCluIdsByLuType
in interface CluService
luTypeKey
- Type of the CLUs whose identifiers should be
retrievedluState
- State of the CLUs whose identifiers should be
retrievedcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- luType or luState not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing luType, luState or contextInfo
OperationFailedException
- unable to complete requestpublic List<String> getAllowedCluCluRelationTypesByClu(String cluId, String relatedCluId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getAllowedCluCluRelationTypesByClu
in interface CluService
cluId
- identifier of the first CLUrelatedCluId
- identifier of the second CLUcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluId, relatedCluId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluId, relatedCluId or
contextInfo
OperationFailedException
- unable to complete requestpublic List<CluInfo> getClusByRelatedCluAndRelationType(String relatedCluId, String luLuRelationTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getClusByRelatedCluAndRelationType
in interface CluService
relatedCluId
- identifier of the child or To CLUluLuRelationTypeKey
- the LU to LU relation typecontext
- Context information containing the
principalId and locale information about the
caller of service operation
DoesNotExistException
- relatedCluId, cluCLuRelationTypeKey not
found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing relatedCluId, cluCLuRelationTypeKey
or contextInfo
OperationFailedException
- unable to complete requestpublic List<String> getCluIdsByRelatedCluAndRelationType(String relatedCluId, String cluCluRelationTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
getCluIdsByRelatedCluAndRelationType
in interface CluService
relatedCluId
- identifier of the child or To CLUcluCluRelationTypeKey
- the LU to LU relation typecontextInfo
- Context information containing the
principalId and locale information about the
caller of service operation
DoesNotExistException
- relatedCluId or cluCluRelationTypeKey
not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing relatedCluId, cluCluRelationTypeKey
or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic List<CluInfo> getRelatedClusByCluAndRelationType(String relatedCluId, String cluCLuRelationTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
getRelatedClusByCluAndRelationType
in interface CluService
relatedCluId
- identifier of the parent or From CLUcluCLuRelationTypeKey
- the LU to LU relation typecontextInfo
- Context information containing the
principalId and locale information about the
caller of service operation
DoesNotExistException
- cluId or cluCluRelationTypeKey not
found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluId, cluCluRelationTypeKey or
contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic List<String> getRelatedCluIdsByCluAndRelationType(String cluId, String luLuRelationTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getRelatedCluIdsByCluAndRelationType
in interface CluService
cluId
- identifier of the parent or From CLUluLuRelationTypeKey
- the LU to LU relation typecontext
- Context information containing the
principalId and locale information about the
caller of service operation
DoesNotExistException
- cluId, cluCluRelationTypeKey not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluId, cluCluRelationTypeKey
OperationFailedException
- unable to complete requestpublic CluCluRelationInfo getCluCluRelation(String cluCluRelationId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getCluCluRelation
in interface CluService
cluCluRelationId
- identifier of the CLU to CLU relationcontext
- Context information containing the principalId
and locale information about the caller of
service operation
DoesNotExistException
- cluCluRelationId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluCluRelationId or
contextInfo
OperationFailedException
- unable to complete requestpublic List<CluCluRelationInfo> getCluCluRelationsByClu(String cluId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getCluCluRelationsByClu
in interface CluService
cluId
- identifier of the parent or From CLUcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluId or contextInfo
OperationFailedException
- unable to complete requestpublic List<CluPublicationInfo> getCluPublicationsByClu(String cluId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getCluPublicationsByClu
in interface CluService
cluId
- clu identifiercontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluId or contextInfo
OperationFailedException
- unable to complete requestpublic List<CluPublicationInfo> getCluPublicationsByType(String luPublicationTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getCluPublicationsByType
in interface CluService
luPublicationTypeKey
- luPublicationType identifiercontext
- Context information containing the
principalId and locale information about the
caller of service operation
DoesNotExistException
- luPublicationType not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing luPublicationTypeKey or
contextInfo
OperationFailedException
- unable to complete requestpublic CluPublicationInfo getCluPublication(String cluPublicationId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getCluPublication
in interface CluService
cluPublicationId
- CLU publication identifiercontext
- Context information containing the principalId
and locale information about the caller of
service operation
DoesNotExistException
- cluPublicationId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluPublicationId or
contextInfo
OperationFailedException
- unable to complete requestpublic CluResultInfo getCluResult(String cluResultId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getCluResult
in interface CluService
cluResultId
- identifier of the Clu Resultcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluResultId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluResultId or contextInfo
OperationFailedException
- unable to complete requestpublic List<CluResultInfo> getCluResultByClu(String cluId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getCluResultByClu
in interface CluService
cluId
- clu identifiercontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluId or contextInfo
OperationFailedException
- unable to complete requestpublic List<String> getCluIdsByResultUsageType(String resultUsageTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getCluIdsByResultUsageType
in interface CluService
resultUsageTypeKey
- identifier of the result usage typecontext
- Context information containing the principalId
and locale information about the caller of
service operation
DoesNotExistException
- resultUsageType not found
InvalidParameterException
- invalid resultUsageTypeKey
MissingParameterException
- missing resultUsageTypeKey
OperationFailedException
- unable to complete requestpublic List<String> getCluIdsByResultComponent(String resultComponentId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getCluIdsByResultComponent
in interface CluService
resultComponentId
- identifier of the result componentcontext
- Context information containing the principalId
and locale information about the caller of
service operation
DoesNotExistException
- resultComponent not found
InvalidParameterException
- invalid resultComponentId
MissingParameterException
- missing resultComponentId
OperationFailedException
- unable to complete requestpublic CluLoRelationInfo getCluLoRelation(String cluLoRelationId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
getCluLoRelation
in interface CluService
cluLoRelationId
- Identifier of the CLU LO Relationcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluLoRelationId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluLoRelationId or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic List<CluLoRelationInfo> getCluLoRelationsByClu(String cluId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getCluLoRelationsByClu
in interface CluService
cluId
- Identifier for the CLUcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluId or contextInfo
OperationFailedException
- unable to complete requestpublic List<CluLoRelationInfo> getCluLoRelationsByLo(String loId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getCluLoRelationsByLo
in interface CluService
loId
- Identifier for the learning objectivecontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- loId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing loId or contextInfo
OperationFailedException
- unable to complete requestpublic List<String> getResourceRequirementsForClu(String cluId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
getResourceRequirementsForClu
in interface CluService
cluId
- Unique identifier for the CLUcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluId or contextInfo
OperationFailedException
- unable to complete requestpublic CluSetInfo getCluSet(String cluSetId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
getCluSet
in interface CluService
cluSetId
- Identifier of the CLU setcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluSetId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluSetId or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic CluSetTreeViewInfo getCluSetTreeView(String cluSetId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
getCluSetTreeView
in interface CluService
cluSetId
- Identifier of the CLU setcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluSetId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluSetId or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic List<CluSetInfo> getCluSetsByIds(List<String> cluSetIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
getCluSetsByIds
in interface CluService
cluSetIds
- List of identifiers of CLU setscontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- One or more cluSets not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluSetIds or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic List<String> getCluSetIdsFromCluSet(String cluSetId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
getCluSetIdsFromCluSet
in interface CluService
cluSetId
- Identifier of the CLU setcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluSet not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluSetId or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic Boolean isCluSetDynamic(String cluSetId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
isCluSetDynamic
in interface CluService
cluSetId
- Identifier of the CLU setcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluSetId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluSetId or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic List<CluInfo> getClusFromCluSet(String cluSetId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
getClusFromCluSet
in interface CluService
cluSetId
- Identifier of the CLU setcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluSetId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluSetId or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic List<String> getCluIdsFromCluSet(String cluSetId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
getCluIdsFromCluSet
in interface CluService
cluSetId
- Identifier of the CLU setcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluSetId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluSetId or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic List<CluInfo> getAllClusInCluSet(String cluSetId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
getAllClusInCluSet
in interface CluService
cluSetId
- Identifier of the CLU setcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluSet not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluSetId or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic List<String> getAllCluIdsInCluSet(String cluSetId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
getAllCluIdsInCluSet
in interface CluService
cluSetId
- Identifier of the CLU setcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluSetId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluSetId or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic Boolean isCluInCluSet(String cluId, String cluSetId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
isCluInCluSet
in interface CluService
cluId
- Identifier of the CLU to checkcluSetId
- Identifier of the CLU setcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluId, cluSetId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluId, cluSetId or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic List<ValidationResultInfo> validateClu(String validationType, CluInfo cluInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
validateClu
in interface CluService
validationType
- identifier of the extent of validationcluInfo
- CLU information to be tested.context
- Context information containing the principalId
and locale information about the caller of
service operation
DoesNotExistException
- validationTypeKey not found
InvalidParameterException
- invalid cluInfo or contextInfo
MissingParameterException
- missing validationTypeKey, cluInfo or
contextInfo
OperationFailedException
- unable to complete request@Transactional(readOnly=false) public CluInfo createClu(String luTypeKey, CluInfo cluInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
createClu
in interface CluService
luTypeKey
- identifier of the LU Type for the CLU being createdcluInfo
- information about the CLU being createdcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DataValidationErrorException
- supplied data is invalid
DoesNotExistException
- luTypeKey not found
InvalidParameterException
- invalid cluInfo or contextInfo
MissingParameterException
- missing luTypeKey, cluInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic Clu toCluForCreate(String luTypeKey, CluInfo cluInfo, ContextInfo context) throws AlreadyExistsException, DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AlreadyExistsException
DataValidationErrorException
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
@Transactional(readOnly=false) public CluInfo updateClu(String cluId, CluInfo cluInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
CluService
updateClu
in interface CluService
cluId
- identifier for the CLU to be updatedcluInfo
- updated information about the CLUcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DataValidationErrorException
- supplied data is invalid
DoesNotExistException
- cluId not found
InvalidParameterException
- invalid cluInfo or contextInfo
MissingParameterException
- missing cluId, cluInfo or
contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
VersionMismatchException
- an optimistic locking failure or the
action was attempted on an out of
date version@Transactional(readOnly=false) public StatusInfo deleteClu(String cluId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, DependentObjectsExistException, OperationFailedException, PermissionDeniedException
CluService
deleteClu
in interface CluService
cluId
- identifier for the CLU to be deletedcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluId or contextInfo
DependentObjectsExistException
- delete would leave orphaned
objects or violate integrity
constraints
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=false) public CluInfo updateCluState(String cluId, String luState, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
updateCluState
in interface CluService
cluId
- identifier for the CLU to be updatedluState
- new state for the CLU. Value is expected to be
constrained to those in the luState enumeration.context
- Context information containing the principalId and
locale information about the caller of service
operation
DataValidationErrorException
- supplied data is invalid
DoesNotExistException
- cluId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluId, luState or
contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic List<ValidationResultInfo> validateCluCluRelation(String validationTypeKey, String cluId, String relatedCluId, String cluCluRelationTypeKey, CluCluRelationInfo cluCluRelationInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
validateCluCluRelation
in interface CluService
validationTypeKey
- identifier of the extent of validationcluId
- identifier of the first CLU in the
relationship - The From or Parent of the
relationrelatedCluId
- identifier of the second CLU in the
relationship to be related to - the To or
Child of the RelationcluCluRelationTypeKey
- the CLU to CLU relationship type of the
relationshipcluCluRelationInfo
- cluCluRelation information to be tested.contextInfo
- Context information containing the
principalId and locale information about the
caller of service operation
DoesNotExistException
- validationTypeKey, cluId, relatedCluId
or cluCluRelationTypeKey not found
InvalidParameterException
- invalid cluCluRelationInfo or
contextInfo
MissingParameterException
- missing validationTypeKey, cluId,
relatedCluId, cluCluRelationTypeKey or
cluCluRelationInfo or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=false) public CluCluRelationInfo createCluCluRelation(String cluId, String relatedCluId, String luLuRelationTypeKey, CluCluRelationInfo cluCluRelationInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, CircularRelationshipException
CluService
createCluCluRelation
in interface CluService
cluId
- identifier of the first CLU in the
relationship - The From or Parent of the
relationrelatedCluId
- identifier of the second CLU in the
relationship to be related to - the To or
Child of the RelationluLuRelationTypeKey
- the LU to LU relationship type of the
relationshipcluCluRelationInfo
- information about the relationship between
the two CLUscontext
- Context information containing the
principalId and locale information about the
caller of service operation
DataValidationErrorException
- One or more values invalid for this
operation
DoesNotExistException
- cluId, relatedCluId, cluCluRelationTypeKey
not found
InvalidParameterException
- invalid cluCluRelationInfo or
contextInfo
MissingParameterException
- missing cluId, relatedCluId,
cluCluRelationTypeKey, cluCluRelationInfo
or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
CircularRelationshipException
- cluId equals relatedCluId@Transactional(readOnly=false) public CluCluRelationInfo updateCluCluRelation(String cluCluRelationId, CluCluRelationInfo cluCluRelationInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
CluService
updateCluCluRelation
in interface CluService
cluCluRelationId
- identifier of the CLU to CLU relation to be
updatedcluCluRelationInfo
- changed information about the CLU to CLU
relationshipcontext
- Context information containing the principalId
and locale information about the caller of
service operation
DataValidationErrorException
- One or more values invalid for this
operation
DoesNotExistException
- cluCluRelation not found
InvalidParameterException
- invalid cluCluRelationInfo or
contextInfo
MissingParameterException
- missing cluCluRelationId,
cluCluRelationInfo or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
VersionMismatchException
- an optimistic locking failure or the
action was attempted on an out of
date version@Transactional(readOnly=false) public StatusInfo deleteCluCluRelation(String cluCluRelationId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
deleteCluCluRelation
in interface CluService
cluCluRelationId
- identifier of CLU to CLU relationship to deletecontext
- Context information containing the principalId
and locale information about the caller of
service operation
DoesNotExistException
- cluCluRelationId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluCluRelationId or
contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic List<ValidationResultInfo> validateCluPublication(String validationType, String cluId, String luPublicationTypeKey, CluPublicationInfo cluPublicationInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
validateCluPublication
in interface CluService
validationType
- identifier of the extent of validationcluId
- identifier of a cluluPublicationTypeKey
- type of lu publicationcluPublicationInfo
- CLU publication information to be tested.context
- Context information containing the
principalId and locale information about the
caller of service operation
DoesNotExistException
- validationTypeKey, cluId or
luPublicationTypeKey not found
InvalidParameterException
- invalid cluPublicationInfo or
contextInfo
MissingParameterException
- missing validationTypeKey, cluId,
luPublicationTypeKey, cluPublicationInfo
or contextInfo
OperationFailedException
- unable to complete request@Transactional(readOnly=false) public CluPublicationInfo createCluPublication(String cluId, String luPublicationType, CluPublicationInfo cluPublicationInfo, ContextInfo context) throws DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
createCluPublication
in interface CluService
cluId
- identifier of a cluluPublicationType
- type of lu publicationcluPublicationInfo
- information about publication for a clucontext
- Context information containing the
principalId and locale information about the
caller of service operation
DataValidationErrorException
- supplied data is invalid
InvalidParameterException
- invalid cluPublicationInfo or
contextInfo
MissingParameterException
- missing cluId, luPublicationTypeKey,
cluPublicationInfo or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=false) public CluPublicationInfo updateCluPublication(String cluPublicationId, CluPublicationInfo cluPublicationInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
CluService
updateCluPublication
in interface CluService
cluPublicationId
- identifier for the clu publication object to be
updatedcluPublicationInfo
- updated information about the clu publication
objectcontext
- Context information containing the principalId
and locale information about the caller of
service operation
DataValidationErrorException
- supplied data is invalid
DoesNotExistException
- cluPublicationId not found
InvalidParameterException
- invalid cluPublicationInfo or
contextInfo
MissingParameterException
- missing cluPublicationId,
cluPublicationInfo or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
VersionMismatchException
- The action was attempted on an out
of date version.@Transactional(readOnly=false) public StatusInfo deleteCluPublication(String cluPublicationId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, DependentObjectsExistException, OperationFailedException, PermissionDeniedException
CluService
deleteCluPublication
in interface CluService
cluPublicationId
- identifier for the clu publication object to be
deletedcontext
- Context information containing the principalId
and locale information about the caller of
service operation
DoesNotExistException
- cluPublicationId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluPublicationId or
contextInfo
DependentObjectsExistException
- delete would leave orphaned
objects or violate integrity
constraints
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic List<ValidationResultInfo> validateCluResult(String validationType, String cluId, String cluResultTypeKey, CluResultInfo cluResultInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
validateCluResult
in interface CluService
validationType
- identifier of the extent of validationcluId
- identifier of a clucluResultTypeKey
- type of clu resultcluResultInfo
- CLU result information to be tested.context
- Context information containing the principalId
and locale information about the caller of
service operation
DoesNotExistException
- validationTypeKey, cluId or
cluResultTypeKey not found
InvalidParameterException
- invalid cluResultInfo or contextInfo
MissingParameterException
- missing validationTypeKey, cluId,
cluResultTypeKey, cluResultInfo or
contextInfo
OperationFailedException
- unable to complete request@Transactional(readOnly=false) public CluResultInfo createCluResult(String cluId, String cluResultTypeKey, CluResultInfo cluResultInfo, ContextInfo context) throws DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, DoesNotExistException
CluService
createCluResult
in interface CluService
cluId
- identifier of a clucluResultTypeKey
- type of clu resultcluResultInfo
- information about potential results for a clucontext
- Context information containing the principalId
and locale information about the caller of
service operation
DataValidationErrorException
- supplied data is invalid
InvalidParameterException
- invalid cluResultInfo or contextInfo
MissingParameterException
- missing cluId, cluResultTypeKey,
cluResultInfo or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
DoesNotExistException
- cluId or resultUsageTypeKey not
found@Transactional(readOnly=false) public CluResultInfo updateCluResult(String cluResultId, CluResultInfo cluResultInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
CluService
updateCluResult
in interface CluService
cluResultId
- identifier for the clu result to be updatedcluResultInfo
- updated information about the clu resultcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DataValidationErrorException
- One or more values invalid for this
operation
DoesNotExistException
- cluResultId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluResultId, cluResultInfo
or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
VersionMismatchException
- an optimistic locking failure or the
action was attempted on an out of
date version@Transactional(readOnly=false) public StatusInfo deleteCluResult(String cluResultId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, DependentObjectsExistException, OperationFailedException, PermissionDeniedException
CluService
deleteCluResult
in interface CluService
cluResultId
- identifier for the clu result to be deletedcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluResultId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluResultId or contextInfo
DependentObjectsExistException
- delete would leave orphaned
objects or violate integrity
constraints
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic List<ValidationResultInfo> validateCluLoRelation(String validationType, String cluId, String loId, String cluLoRelationType, CluLoRelationInfo cluLoRelationInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
validateCluLoRelation
in interface CluService
validationType
- identifier of the extent of validationcluId
- CLU identifierloId
- learning objective identifiercluLoRelationType
- type of clu learning objective relationshipcluLoRelationInfo
- cluLoRelation information to be tested.context
- Context information containing the
principalId and locale information about the
caller of service operation
DoesNotExistException
- validationTypeKey, cluId, loId or
cluLoRelationTypeKey not found
InvalidParameterException
- invalid cluLoRelationInfo or
contextInfo
MissingParameterException
- missing validationTypeKey, cluId, loId,
cluLoRelationTypeKey, cluLoRelationInfo
or contextInfo
OperationFailedException
- unable to complete request@Transactional(readOnly=false) public CluLoRelationInfo createCluLoRelation(String cluId, String loId, String cluLoRelationType, CluLoRelationInfo cluLoRelationInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, DataValidationErrorException
CluService
createCluLoRelation
in interface CluService
cluId
- CLU identifierloId
- learning objective identifiercluLoRelationType
- type of clu learning objective relationshipcluLoRelationInfo
- clu learning objective relationship
informationcontext
- Context information containing the
principalId and locale information about the
caller of service operation
DoesNotExistException
- cluId, loId, cluLoRelationTypeKey
not found
InvalidParameterException
- invalid cluLoRelationInfo or
contextInfo
MissingParameterException
- missing cluId, loId, cluLoRelationTypeKey,
cluLoRelationInfo or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
DataValidationErrorException
- data validation error@Transactional(readOnly=false) public CluLoRelationInfo updateCluLoRelation(String cluLoRelationId, CluLoRelationInfo cluLoRelationInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
CluService
updateCluLoRelation
in interface CluService
cluLoRelationId
- identifier of the clu learning objective
relationship to be updatedcluLoRelationInfo
- information about the clu learning objective
relationship to be updatedcontext
- Context information containing the principalId
and locale information about the caller of
service operation
DataValidationErrorException
- data validation error
DoesNotExistException
- cluLoRelationId not found
InvalidParameterException
- invalid cluLoRelationInfo or
contextInfo
MissingParameterException
- missing cluLoRelationId, cluLoRelationInfo
or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
VersionMismatchException
- The action was attempted on an out
of date version.@Transactional(readOnly=false) public StatusInfo deleteCluLoRelation(String cluLoRelationId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
deleteCluLoRelation
in interface CluService
cluLoRelationId
- CLU learning objective Relationship identifiercontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluLoRelationId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluLoRelationId
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=false) public StatusInfo addCluResourceRequirement(String resourceTypeKey, String cluId, ContextInfo context) throws AlreadyExistsException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
addCluResourceRequirement
in interface CluService
resourceTypeKey
- identifier of the resource requirement type to be
added to the CLUcluId
- identifier of the CLUcontext
- Context information containing the principalId and
locale information about the caller of service
operation
AlreadyExistsException
- if the resource type has already been added to the clu
DoesNotExistException
- resourceTypeKey or cluId not found
InvalidParameterException
- invalid resourceTypeKey or cluId
MissingParameterException
- missing resourceTypeKey, cluId or
contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=false) public StatusInfo removeCluResourceRequirement(String resourceTypeKey, String cluId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
removeCluResourceRequirement
in interface CluService
resourceTypeKey
- identifier of the resource type to be removed from
the CLUcluId
- identifier of the CLUcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- resourceTypeKey or cluId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing resourceTypeKey, cluId or
contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic List<ValidationResultInfo> validateCluSet(String validationType, String cluSetType, CluSetInfo cluSetInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CluService
validateCluSet
in interface CluService
validationType
- identifier of the extent of validationcluSetType
- type of the CLU set to be createdcluSetInfo
- CLU set information to be tested.context
- Context information containing the principalId
and locale information about the caller of
service operation
DoesNotExistException
- validationTypeKey or cluSetTypeKey not
found
InvalidParameterException
- invalid cluSetInfo or contextInfo
MissingParameterException
- missing validationTypeKey, cluSetTypeKey,
cluSetInfo or contextInfo
OperationFailedException
- unable to complete request@Transactional(readOnly=false) public CluSetInfo createCluSet(String cluSetType, CluSetInfo cluSetInfo, ContextInfo context) throws DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, UnsupportedActionException
CluService
createCluSet
in interface CluService
cluSetType
- type of the CLU set to be createdcluSetInfo
- information required to create a CLU setcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DataValidationErrorException
- data validation error
InvalidParameterException
- invalid cluSetInfo or contextInfo
MissingParameterException
- missing cluSetTypeKey, cluSetInfo or
contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
UnsupportedActionException
- CLU set need to be static or dynamic
but not both@Transactional(readOnly=false) public CluSetInfo updateCluSet(String cluSetId, CluSetInfo cluSetInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException, CircularRelationshipException, UnsupportedActionException
CluService
updateCluSet
in interface CluService
cluSetId
- identifier of the CLU set to be updatedcluSetInfo
- updated information about the CLU setcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DataValidationErrorException
- data validation error
DoesNotExistException
- cluSetId not found
InvalidParameterException
- invalid cluSetInfo or contextInfo
MissingParameterException
- missing cluSetId, cluSetInfo or
contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
VersionMismatchException
- an optimistic locking failure or
the action was attempted on an out
of date version
CircularRelationshipException
- added CluSetId cannot be added to
the cluSetInfo
UnsupportedActionException
- CLU set need to be static or
dynamic but not both@Transactional(readOnly=false) public StatusInfo deleteCluSet(String cluSetId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CluService
deleteCluSet
in interface CluService
cluSetId
- identifier of the CLU set to be deletedcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluSetId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluSetId or contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=false) public StatusInfo addCluSetToCluSet(String cluSetId, String addedCluSetId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, UnsupportedActionException, CircularRelationshipException
CluService
addCluSetToCluSet
in interface CluService
cluSetId
- identifier of the host CLU setaddedCluSetId
- identifier of the CLU set to be addedcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluSetId, addedCluSetId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluSetId, addedCluSetId or
contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
UnsupportedActionException
- CLU set is dynamically determined
CircularRelationshipException
- addedCluSetId cannot be added to
the CluSetId@Transactional(readOnly=false) public StatusInfo removeCluSetFromCluSet(String cluSetId, String removedCluSetId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, UnsupportedActionException
CluService
removeCluSetFromCluSet
in interface CluService
cluSetId
- identifier of the host CLU setremovedCluSetId
- identifier of the CLU set to be removedcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluSetId, removedCluSetId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluSetId, removedCluSetId or
contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
UnsupportedActionException
- CLU set is dynamically determined@Transactional(readOnly=false) public StatusInfo addCluToCluSet(String cluId, String cluSetId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, UnsupportedActionException
CluService
addCluToCluSet
in interface CluService
cluId
- identifier of CLU to add to the CLU setcluSetId
- identifier of the CLU setcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluId, cluSetId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluId, cluSetId or
contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
UnsupportedActionException
- CLU set is dynamically determined@Transactional(readOnly=false) public StatusInfo removeCluFromCluSet(String cluId, String cluSetId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, UnsupportedActionException
CluService
removeCluFromCluSet
in interface CluService
cluId
- identifier of CLU to remove from the CLU setcluSetId
- identifier of the CLU setcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluId, cluSetId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluId, cluSetId or
contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
UnsupportedActionException
- CLU set is dynamically determinedpublic LuDao getLuDao()
public void setLuDao(LuDao luDao)
@Transactional(readOnly=false) public StatusInfo addCluSetsToCluSet(String cluSetId, List<String> cluSetIds, ContextInfo context) throws CircularRelationshipException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, UnsupportedActionException
CluService
addCluSetsToCluSet
in interface CluService
cluSetId
- identifier of the host CLU setcluSetIds
- list of identifiers of the CLU sets to be addedcontext
- Context information containing the principalId and
locale information about the caller of service
operation
CircularRelationshipException
- addedCluSetIds cannot be added to
the cluSetId
DoesNotExistException
- cluSetId, one or more of cluSetIds
in addedCluSetIds not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluSetId, addedCluSetIds or
contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
UnsupportedActionException
- CLU set is dynamically determined@Transactional(readOnly=false) public StatusInfo addClusToCluSet(List<String> cluIds, String cluSetId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, UnsupportedActionException
CluService
addClusToCluSet
in interface CluService
cluIds
- list of identifiers of CLUs to add to the CLU setcluSetId
- identifier of the CLU set to be addedcontext
- Context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- cluSetIds, cluSetId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluSetIds, cluSetId or
contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
UnsupportedActionException
- CLU set is dynamically determinedpublic ValidatorFactory getValidatorFactory()
public void setValidatorFactory(ValidatorFactory validatorFactory)
@Transactional(readOnly=false) public CluInfo createNewCluVersion(String versionIndCluId, String versionComment, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
createNewCluVersion
in interface CluService
versionIndCluId
- identifier for the CLU to be versionedversionComment
- comment for the current versioncontext
- Context information containing the principalId and
locale information about the caller of service
operation
DataValidationErrorException
- supplied data is invalid
DoesNotExistException
- cluId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluId, versionComment or
contextInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=false) public StatusInfo setCurrentCluVersion(String cluVersionId, Date currentVersionStart, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, IllegalVersionSequencingException, OperationFailedException, PermissionDeniedException
setCurrentCluVersion
in interface CluService
currentVersionStart
- if set to null, will default the current version start to the time when this method is called.
You can set this to a future date as well.cluVersionId
- Version Specific Id of the Clucontext
- Context information containing the principalId
and locale information about the caller of
service operation
DoesNotExistException
- cluVersionId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- missing cluVersionId, previousState,
newState
IllegalVersionSequencingException
- a Clu with higher sequence number
from the one provided is marked
current
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=true) public SearchResult search(SearchRequest searchRequest) throws MissingParameterException
search
in interface SearchService
search
in interface CluService
MissingParameterException
public VersionDisplayInfo getLatestVersion(String refObjectTypeURI, String refObjectId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
VersionManagementService
getLatestVersion
in interface VersionManagementService
refObjectTypeURI
- reference object type URIrefObjectId
- reference object Idcontext
- context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- specified refObjectId and refObjectUri
not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- refObjectUri, refObjectId or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic VersionDisplayInfo getCurrentVersion(String refObjectTypeURI, String refObjectId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
VersionManagementService
getCurrentVersion
in interface VersionManagementService
refObjectTypeURI
- reference object type URIrefObjectId
- reference object Idcontext
- context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- specified refObjectUri and refObjectId
not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- refObjectUri, refObjectId or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic VersionDisplayInfo getCurrentVersionOnDate(String refObjectTypeURI, String refObjectId, Date date, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
VersionManagementService
getCurrentVersionOnDate
in interface VersionManagementService
refObjectTypeURI
- reference object type URIrefObjectId
- reference object Iddate
- datecontext
- context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- specified refObjectId and refObjectUri
not found
InvalidParameterException
- date or contextInfo is not valid
MissingParameterException
- refObjectUri, refObjectId, date or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic VersionDisplayInfo getFirstVersion(String refObjectTypeURI, String refObjectId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
VersionManagementService
getFirstVersion
in interface VersionManagementService
refObjectTypeURI
- reference object type URIrefObjectId
- reference object Idcontext
- context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- refObjectUri or refObjectId not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- refObjectUri, refObjectId or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic VersionDisplayInfo getVersionBySequenceNumber(String refObjectTypeURI, String refObjectId, Long sequence, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
VersionManagementService
getVersionBySequenceNumber
in interface VersionManagementService
refObjectTypeURI
- reference object type URIrefObjectId
- reference object Idsequence
- sequence numbercontext
- context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- specified refObjectUri, refObjectId or
sequence not found
InvalidParameterException
- sequence or contextInfo is not valid
MissingParameterException
- refObjectUri, refObjectId, sequence or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<VersionDisplayInfo> getVersions(String refObjectTypeURI, String refObjectId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
VersionManagementService
getVersions
in interface VersionManagementService
refObjectTypeURI
- reference object type URIrefObjectId
- reference object Idcontext
- context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- refObjectUri or refObjectId not found
InvalidParameterException
- invalid contextInfo
MissingParameterException
- refObjectUri, refObjectId or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<VersionDisplayInfo> getVersionsInDateRange(String refObjectTypeURI, String refObjectId, Date from, Date to, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
VersionManagementService
getVersionsInDateRange
in interface VersionManagementService
refObjectTypeURI
- reference object type URIrefObjectId
- reference object Idfrom
- from dateto
- to datecontext
- context information containing the principalId and
locale information about the caller of service
operation
DoesNotExistException
- specified refObjectId and refObjectUri
not found
InvalidParameterException
- from, to or contextInfo is not valid
MissingParameterException
- refObjectUri, refObjectId, from, to or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic void setSearchDispatcher(SearchDispatcher searchDispatcher)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |