public class CourseOfferingSetServiceImpl extends Object implements CourseOfferingSetService
| Constructor and Description |
|---|
CourseOfferingSetServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
SocInfo |
createSoc(String termId,
String typeKey,
SocInfo info,
ContextInfo context)
Creates a new Soc for a term
Fields in course offering will be initialized with data from the canonical.
|
SocRolloverResultInfo |
createSocRolloverResult(String typeKey,
SocRolloverResultInfo info,
ContextInfo context)
Creates a new SocRolloverResult
|
SocRolloverResultItemInfo |
createSocRolloverResultItem(String socRorId,
String typeKey,
SocRolloverResultItemInfo info,
ContextInfo context)
Creates a new SocRolloverResultItem
|
Integer |
createSocRolloverResultItems(String socRorId,
String typeKey,
List<SocRolloverResultItemInfo> infos,
ContextInfo context)
Bulk create of SocRolloverResultItems
All must be for the same result and type.
|
Integer |
deleteCourseOfferingsBySoc(String socId,
ContextInfo context)
Delete all the course offerings associated with the Soc
|
StatusInfo |
deleteSoc(String id,
ContextInfo context)
Deletes an existing Soc.
|
StatusInfo |
deleteSocRolloverResult(String id,
ContextInfo context)
Deletes an existing SocRolloverResult.
|
StatusInfo |
deleteSocRolloverResultItem(String id,
ContextInfo context)
Deletes an existing SocRolloverResultItem.
|
CourseOfferingSetServiceBusinessLogic |
getBusinessLogic() |
List<String> |
getCourseOfferingIdsBySoc(String socId,
ContextInfo context)
Retrieve course offering ids associated with the soc
|
List<String> |
getCourseOfferingIdsWithUnscheduledFinalExamsBySoc(String socId,
ContextInfo context)
Get course offering ids associated with the soc that have an unscheduled final exam
THIS IS A PLACEHOLDER FOR M5 AND NEEDS TO BE REVIEWED
Not sure what it means to be "unscheduled final exam"
|
List<String> |
getPublishedCourseOfferingIdsBySoc(String socId,
ContextInfo context)
Retrieve published Course offering ids in this soc
THIS IS A PLACEHOLDER FOR M5 AND NEEDS TO BE REVIEWED
Not sure what it means to be "published"
|
SocInfo |
getSoc(String id,
ContextInfo context)
Retrieve information about a Soc
|
SocDao |
getSocDao() |
List<String> |
getSocIdsByCourseOffering(String courseOfferingId,
ContextInfo context)
Retrieve Soc Ids that contain the specified course offering
|
List<String> |
getSocIdsByTerm(String termId,
ContextInfo context)
Retrieve ids of the Soc for the term
This could return multiple Socs but should always return the default main
SOC for that term.
|
List<String> |
getSocIdsByTermAndSubjectArea(String termId,
String subjectArea,
ContextInfo context)
Retrieve Soc Ids for a given term and subject area.
|
List<String> |
getSocIdsByTermAndUnitsContentOwner(String termId,
String unitsContentOwnerId,
ContextInfo context)
Retrieve Soc Ids for a given term and unit content owner
THIS IS A PLACEHOLDER for DEPARTMENTAL SOCS
|
List<String> |
getSocIdsByType(String typeKey,
ContextInfo context)
Retrieve Soc Ids by type
|
SocRolloverResultInfo |
getSocRolloverResult(String id,
ContextInfo context)
Retrieves the result of a rollover.
|
List<String> |
getSocRolloverResultIdsBySourceSoc(String sourceSocId,
ContextInfo context)
Retrieves the rollover results associated with the specified source Soc id
|
List<String> |
getSocRolloverResultIdsByTargetSoc(String targetSocId,
ContextInfo context)
Retrieves the rollover results associated with the specified target Soc id
|
SocRolloverResultItemInfo |
getSocRolloverResultItem(String id,
ContextInfo context)
Retrieve information about a SocRolloverResultItem
|
List<SocRolloverResultItemInfo> |
getSocRolloverResultItemsByIds(List<String> ids,
ContextInfo context)
Retrieves a list of rollover results items by id list.
|
List<SocRolloverResultItemInfo> |
getSocRolloverResultItemsByResultId(String socRolloverResultId,
ContextInfo context)
Retrieves a list of rollover result items by result id
|
List<SocRolloverResultItemInfo> |
getSocRolloverResultItemsByResultIdAndSourceCourseOfferingId(String socRolloverResultId,
String sourceCourseOfferingId,
ContextInfo context)
Retrieves a list of rollover result items by result id and source course offering id
|
List<SocRolloverResultItemInfo> |
getSocRolloverResultItemsByResultIdAndTargetCourseOfferingId(String socRolloverResultId,
String targetCourseOfferingId,
ContextInfo context)
Retrieves a list of rollover result items by result id and target course offering id
|
List<SocRolloverResultInfo> |
getSocRolloverResultsByIds(List<String> ids,
ContextInfo context)
Retrieves a list of rollover results by id list.
|
List<SocRolloverResultInfo> |
getSocRolloverResultsBySourceAndTargetSocs(String sourceSocId,
String targetSocId,
ContextInfo context)
Retrieves the rollover results associated with the specified source and target Soc ids
|
SocRolloverResultDao |
getSocRorDao() |
SocRolloverResultItemDao |
getSocRorItemDao() |
List<SocInfo> |
getSocsByIds(List<String> ids,
ContextInfo context)
Retrieves a list of course offerings by id list.
|
List<String> |
getUnpublishedActivityOfferingIdsBySoc(String socId,
ContextInfo context)
Retrieve unpublished Activity offering ids associated with the course
offerings in this soc
THIS IS A PLACEHOLDER FOR M5 AND NEEDS TO BE REVIEWED
Not sure what it means to be "unpublished"
|
List<String> |
getUnpublishedCourseOfferingIdsBySoc(String socId,
ContextInfo context)
Retrieve unpublished Course offering ids in this soc
THIS IS A PLACEHOLDER FOR M5 AND NEEDS TO BE REVIEWED
Not sure what it means to be "unpublished"
|
List<String> |
getUnscheduledActivityOfferingIdsBySoc(String socId,
ContextInfo context)
Retrieve unscheduled Activity offering ids associated with the course
offerings in this soc
THIS IS A PLACEHOLDER FOR M5 AND NEEDS TO BE REVIEWED
Not sure what it means to be "unscheduled"
|
Boolean |
isCourseOfferingInSoc(String socId,
String courseOfferingId,
ContextInfo context)
Checks if the specified course offering is or is not in the specified soc.
|
SocRolloverResultInfo |
reverseRollover(String rolloverResultId,
List<String> optionKeys,
ContextInfo context)
Requests that the rollover identified by the result be reversed.
|
SocInfo |
rolloverSoc(String sourceSocId,
String targetTermId,
List<String> optionKeys,
ContextInfo context)
Creates a new SOC for the target term that corresponds to the
source soc and then rolls over all the course offerings in source Soc to
the new soc using the supplied options.
|
List<String> |
searchForSocIds(QueryByCriteria criteria,
ContextInfo context)
Search for Set of Course Ids
|
List<String> |
searchForSocRolloverResultIds(QueryByCriteria criteria,
ContextInfo context)
Searches for soc rollover result ids using a free form search criteria.
|
List<String> |
searchForSocRolloverResultItemIds(QueryByCriteria criteria,
ContextInfo context)
Searches for soc rollover result item ids using a free form search criteria.
|
List<SocRolloverResultItemInfo> |
searchForSocRolloverResultItems(QueryByCriteria criteria,
ContextInfo context)
Searches for soc rollover result items using a free form search criteria
|
List<SocRolloverResultInfo> |
searchForSocRolloverResults(QueryByCriteria criteria,
ContextInfo context)
Searches for soc rollover results using a free form search criteria
|
List<SocInfo> |
searchForSocs(QueryByCriteria criteria,
ContextInfo context)
Search for Sets of Courses
|
void |
setBusinessLogic(CourseOfferingSetServiceBusinessLogic businessLogic) |
void |
setCriteriaLookupService(CriteriaLookupService criteriaLookupService) |
void |
setSocDao(SocDao socDao) |
void |
setSocRorDao(SocRolloverResultDao socRorDao) |
void |
setSocRorItemDao(SocRolloverResultItemDao socRorItemDao) |
StatusInfo |
startScheduleSoc(String socId,
List<String> optionKeys,
ContextInfo context)
Requests that the course offerings in this Soc be submitted to the scheduler.
|
SocInfo |
updateSoc(String id,
SocInfo info,
ContextInfo context)
Updates an existing Soc.
|
SocRolloverResultInfo |
updateSocRolloverProgress(String id,
Integer itemsProcessed,
ContextInfo context)
Update progress information
|
SocRolloverResultInfo |
updateSocRolloverResult(String id,
SocRolloverResultInfo info,
ContextInfo context)
Updates an existing SocRolloverResult.
|
SocRolloverResultItemInfo |
updateSocRolloverResultItem(String id,
SocRolloverResultItemInfo info,
ContextInfo context)
Updates an existing SocRolloverResultItem.
|
StatusInfo |
updateSocRolloverResultItemState(String socId,
String nextStateKey,
ContextInfo contextInfo)
Updates the state of an existing SocRolloverResultItem to another state provided that it is valid to do so.
|
StatusInfo |
updateSocRolloverResultState(String socId,
String nextStateKey,
ContextInfo contextInfo)
Updates the state of an existing SocRolloverResultState to another state provided that it is valid to do so.
|
StatusInfo |
updateSocState(String socId,
String nextStateKey,
ContextInfo contextInfo)
Updates the state of an existing Set of CourseOfferings to another state provided that it is valid to do so.
|
List<ValidationResultInfo> |
validateSoc(String validationType,
SocInfo socInfo,
ContextInfo context)
Validates a Soc.
|
List<ValidationResultInfo> |
validateSocRolloverResult(String validationType,
SocRolloverResultInfo socRolloverResultInfo,
ContextInfo context)
Validates a SocRolloverResult.
|
List<ValidationResultInfo> |
validateSocRolloverResultItem(String validationType,
SocRolloverResultItemInfo socRolloverResultItemInfo,
ContextInfo context)
Validates a SocRolloverResultItem.
|
public CourseOfferingSetServiceImpl()
public CourseOfferingSetServiceBusinessLogic getBusinessLogic()
public void setBusinessLogic(CourseOfferingSetServiceBusinessLogic businessLogic)
public SocRolloverResultDao getSocRorDao()
public void setSocRorDao(SocRolloverResultDao socRorDao)
public SocRolloverResultItemDao getSocRorItemDao()
public void setSocRorItemDao(SocRolloverResultItemDao socRorItemDao)
@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public SocInfo createSoc(String termId, String typeKey, SocInfo info, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseOfferingSetServicecreateSoc in interface CourseOfferingSetServicetermId - Unique key of the term in which the course is being offered
course offeringcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - termId or socTypeKey not foundDataValidationErrorException - One or more values invalid for this operationInvalidParameterException - One or more parameters invalidMissingParameterException - One or more parameters missingOperationFailedException - unable to complete requestPermissionDeniedException - authorization failureReadOnlyException@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public SocRolloverResultInfo createSocRolloverResult(String typeKey, SocRolloverResultInfo info, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseOfferingSetServicecreateSocRolloverResult in interface CourseOfferingSetServicetypeKey - soc rollover result type keyinfo - object to be createdcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - termId or socRolloverResultTypeKey not foundDataValidationErrorException - One or more values invalid for this operationInvalidParameterException - One or more parameters invalidMissingParameterException - One or more parameters missingOperationFailedException - unable to complete requestPermissionDeniedException - authorization failureReadOnlyException@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public SocRolloverResultItemInfo createSocRolloverResultItem(String socRorId, String typeKey, SocRolloverResultItemInfo info, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseOfferingSetServicecreateSocRolloverResultItem in interface CourseOfferingSetServicesocRorId - Id of the corresponding soc rollover resulttypeKey - soc rollover result type keyinfo - object to be createdcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - termId or socRolloverResultItemTypeKey not foundDataValidationErrorException - One or more values invalid for this operationInvalidParameterException - One or more parameters invalidMissingParameterException - One or more parameters missingOperationFailedException - unable to complete requestPermissionDeniedException - authorization failureReadOnlyException@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public Integer createSocRolloverResultItems(String socRorId, String typeKey, List<SocRolloverResultItemInfo> infos, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseOfferingSetServicecreateSocRolloverResultItems in interface CourseOfferingSetServicesocRorId - Id of the corresponding soc rollover resulttypeKey - soc rollover result type keyinfos - objects to be createdcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - termId or socRolloverResultItemTypeKey not foundDataValidationErrorException - One or more values invalid for this operationInvalidParameterException - One or more parameters invalidMissingParameterException - One or more parameters missingOperationFailedException - unable to complete requestPermissionDeniedException - authorization failureReadOnlyException@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public Integer deleteCourseOfferingsBySoc(String socId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicedeleteCourseOfferingsBySoc in interface CourseOfferingSetServicedeleteCourseOfferingsBySoc in interface CourseOfferingSetServiceBusinessLogicsocId - Unique Id of the soccontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - socId not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteSoc(String id, ContextInfo context) throws DependentObjectsExistException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicedeleteSoc in interface CourseOfferingSetServiceid - the Id of the ActivityOffering to be deletedcontext - Context information containing the principalId and locale
information about the caller of service operationDependentObjectsExistException - if course offerings exist and the
implementation has the business rule that a course offering must have a SocDoesNotExistException - the soc does not existInvalidParameterException - One or more parameters invalidMissingParameterException - One or more parameters missingOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteSocRolloverResult(String id, ContextInfo context) throws DoesNotExistException, DependentObjectsExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicedeleteSocRolloverResult in interface CourseOfferingSetServiceid - the Id of the ActivityOffering to be deletedcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - the SeatPoolDefinition does not existInvalidParameterException - One or more parameters invalidMissingParameterException - One or more parameters missingOperationFailedException - unable to complete requestPermissionDeniedException - authorization failureDependentObjectsExistException@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteSocRolloverResultItem(String id, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicedeleteSocRolloverResultItem in interface CourseOfferingSetServiceid - the Id of the ActivityOffering to be deletedcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - the SeatPoolDefinition does not existInvalidParameterException - One or more parameters invalidMissingParameterException - One or more parameters missingOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<String> getCourseOfferingIdsBySoc(String socId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetCourseOfferingIdsBySoc in interface CourseOfferingSetServicegetCourseOfferingIdsBySoc in interface CourseOfferingSetServiceBusinessLogicsocId - Unique Id of the soccontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - courseId or termId not foundInvalidParameterException - invalid courseId or termIdMissingParameterException - missing courseId or termIdOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<String> getCourseOfferingIdsWithUnscheduledFinalExamsBySoc(String socId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetCourseOfferingIdsWithUnscheduledFinalExamsBySoc in interface CourseOfferingSetServicesocId - Unique Id of the soccontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - socId not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<String> getPublishedCourseOfferingIdsBySoc(String socId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetPublishedCourseOfferingIdsBySoc in interface CourseOfferingSetServicegetPublishedCourseOfferingIdsBySoc in interface CourseOfferingSetServiceBusinessLogicsocId - Unique Id of the soccontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - socId not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public SocInfo getSoc(String id, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetSoc in interface CourseOfferingSetServiceid - Unique Id of the Soccontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - socId not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<String> getSocIdsByCourseOffering(String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetSocIdsByCourseOffering in interface CourseOfferingSetServicecourseOfferingId - Unique Id of the course offeringcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - courseOfferingId not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<String> getSocIdsByTerm(String termId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetSocIdsByTerm in interface CourseOfferingSetServicetermId - Unique Id of the termcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - termId not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<String> getSocIdsByTermAndSubjectArea(String termId, String subjectArea, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetSocIdsByTermAndSubjectArea in interface CourseOfferingSetServicetermId - Unique key of the term in which the course is being offeredsubjectArea - subject areacontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - termId or subject area not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<String> getSocIdsByTermAndUnitsContentOwner(String termId, String unitsContentOwnerId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetSocIdsByTermAndUnitsContentOwner in interface CourseOfferingSetServicetermId - Unique key of the term in which the course is being offeredunitsContentOwnerId - Org Id of the Units content ownercontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - termId or unitsContentOwnerid not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<String> getSocIdsByType(String typeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetSocIdsByType in interface CourseOfferingSetServicetypeKey - Unique key type of Soccontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - typeKey not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<SocInfo> searchForSocs(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicesearchForSocs in interface CourseOfferingSetServicecriteria - What to search for in SocInfo tablecontext - Context information containing the principalId and locale
information about the caller of service operationInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<String> searchForSocIds(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicesearchForSocIds in interface CourseOfferingSetServicecriteria - What to search for in SocInfo tablecontext - Context information containing the principalId and locale
information about the caller of service operationInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public SocRolloverResultInfo getSocRolloverResult(String id, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetSocRolloverResult in interface CourseOfferingSetServiceid - unique Id of the rollover resultcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - rolloverResultId in the list not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<SocRolloverResultInfo> getSocRolloverResultsBySourceAndTargetSocs(String sourceSocId, String targetSocId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetSocRolloverResultsBySourceAndTargetSocs in interface CourseOfferingSetServicesourceSocId - source Soc IdtargetSocId - target Soc Idcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - courseId or termId not foundInvalidParameterException - invalid courseId or termIdMissingParameterException - missing courseId or termIdOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<String> getSocRolloverResultIdsBySourceSoc(String sourceSocId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetSocRolloverResultIdsBySourceSoc in interface CourseOfferingSetServicesourceSocId - Unique id of the source Soccontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - courseId or termId not foundInvalidParameterException - invalid courseId or termIdMissingParameterException - missing courseId or termIdOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<String> getSocRolloverResultIdsByTargetSoc(String targetSocId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetSocRolloverResultIdsByTargetSoc in interface CourseOfferingSetServicetargetSocId - target Soc Idcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - courseId or termId not foundInvalidParameterException - invalid courseId or termIdMissingParameterException - missing courseId or termIdOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public SocRolloverResultItemInfo getSocRolloverResultItem(String id, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetSocRolloverResultItem in interface CourseOfferingSetServiceid - Unique Id of the SocRolloverResultItemcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - socRolloverResultItemId not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<SocRolloverResultItemInfo> getSocRolloverResultItemsByResultId(String socRolloverResultId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetSocRolloverResultItemsByResultId in interface CourseOfferingSetServicesocRolloverResultId - Unique Ids of the rollover result for which the items are to be fetchedcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - rolloverResultId in the list not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<SocRolloverResultItemInfo> getSocRolloverResultItemsByResultIdAndSourceCourseOfferingId(String socRolloverResultId, String sourceCourseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetSocRolloverResultItemsByResultIdAndSourceCourseOfferingId in interface CourseOfferingSetServicesocRolloverResultId - Unique Id of the rollover result for which the items are to be fetchedsourceCourseOfferingId - Unique Id of source course offering idcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - rolloverResultId in the list not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<SocRolloverResultItemInfo> getSocRolloverResultItemsByResultIdAndTargetCourseOfferingId(String socRolloverResultId, String targetCourseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetSocRolloverResultItemsByResultIdAndTargetCourseOfferingId in interface CourseOfferingSetServicesocRolloverResultId - Unique Id of the rollover result for which the items are to be fetchedcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - rolloverResultId in the list not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<SocRolloverResultInfo> getSocRolloverResultsByIds(List<String> ids, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetSocRolloverResultsByIds in interface CourseOfferingSetServiceids - List of unique Ids of the rollover result to be fetchedcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - rolloverResultId in the list not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<SocRolloverResultItemInfo> getSocRolloverResultItemsByIds(List<String> ids, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetSocRolloverResultItemsByIds in interface CourseOfferingSetServiceids - List of unique Ids of the rollover result items to be fetchedcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - rolloverResultId in the list not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<SocInfo> getSocsByIds(List<String> ids, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetSocsByIds in interface CourseOfferingSetServiceids - List of unique Ids of Soccontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - socId in the list not foundInvalidParameterException - invalid socIdsMissingParameterException - missing socIdsOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<String> getUnpublishedActivityOfferingIdsBySoc(String socId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetUnpublishedActivityOfferingIdsBySoc in interface CourseOfferingSetServicegetUnpublishedActivityOfferingIdsBySoc in interface CourseOfferingSetServiceBusinessLogicsocId - Unique Id of the soccontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - socId not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<String> getUnpublishedCourseOfferingIdsBySoc(String socId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetUnpublishedCourseOfferingIdsBySoc in interface CourseOfferingSetServicegetUnpublishedCourseOfferingIdsBySoc in interface CourseOfferingSetServiceBusinessLogicsocId - Unique Id of the soccontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - socId not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<String> getUnscheduledActivityOfferingIdsBySoc(String socId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicegetUnscheduledActivityOfferingIdsBySoc in interface CourseOfferingSetServicegetUnscheduledActivityOfferingIdsBySoc in interface CourseOfferingSetServiceBusinessLogicsocId - Unique Id of the soccontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - socId not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public Boolean isCourseOfferingInSoc(String socId, String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServiceisCourseOfferingInSoc in interface CourseOfferingSetServiceisCourseOfferingInSoc in interface CourseOfferingSetServiceBusinessLogicsocId - Unique Id of the soccourseOfferingId - Unique id of the course offeringcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - either id is not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public SocRolloverResultInfo reverseRollover(String rolloverResultId, List<String> optionKeys, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicereverseRollover in interface CourseOfferingSetServicereverseRollover in interface CourseOfferingSetServiceBusinessLogicrolloverResultId - Unique Id of the rollover resultoptionKeys - keys identifying optional processing to happen when clearing the resultcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - courseId or termId not foundInvalidParameterException - invalid courseId or termIdMissingParameterException - missing courseId or termIdOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic SocInfo rolloverSoc(String sourceSocId, String targetTermId, List<String> optionKeys, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicerolloverSoc in interface CourseOfferingSetServicerolloverSoc in interface CourseOfferingSetServiceBusinessLogicsourceSocId - Unique Id of the source SocoptionKeys - keys identifying optional processing to occurcontext - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - sourceSocId or targetTermId not foundInvalidParameterException - invalid parameterMissingParameterException - missing parameterOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic StatusInfo startScheduleSoc(String socId, List<String> optionKeys, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicestartScheduleSoc in interface CourseOfferingSetServicestartScheduleSoc in interface CourseOfferingSetServiceBusinessLogicsocId - Id of the Set of CoursesoptionKeys - keys that alter the default processing behavior.context - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - socId not foundInvalidParameterException - contextInfo object is invalidMissingParameterException - one or more missing parametersOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public SocInfo updateSoc(String id, SocInfo info, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
CourseOfferingSetServiceupdateSoc in interface CourseOfferingSetServiceid - Id of Soc to be updatedinfo - Details of updates to the Soccontext - Context information containing the principalId and locale
information about the caller of service operationDataValidationErrorException - One or more values invalid for this operationDoesNotExistException - the Soc does not existInvalidParameterException - One or more parameters invalidMissingParameterException - One or more parameters missingOperationFailedException - unable to complete requestPermissionDeniedException - authorization failureReadOnlyException - if trying to update the state or typeVersionMismatchException - The action was attempted on an out of date version.@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public SocRolloverResultInfo updateSocRolloverProgress(String id, Integer itemsProcessed, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
CourseOfferingSetServiceupdateSocRolloverProgress in interface CourseOfferingSetServiceid - Id of SocRolloverResult to be updateditemsProcessed - new count of the number of items processedcontext - Context information containing the principalId and locale
information about the caller of service operationDataValidationErrorException - One or more values invalid for this operationDoesNotExistException - the SocRolloverResult does not existInvalidParameterException - One or more parameters invalidMissingParameterException - One or more parameters missingOperationFailedException - unable to complete requestPermissionDeniedException - authorization failureVersionMismatchException - The action was attempted on an out of date version.ReadOnlyException@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public SocRolloverResultInfo updateSocRolloverResult(String id, SocRolloverResultInfo info, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
CourseOfferingSetServiceupdateSocRolloverResult in interface CourseOfferingSetServiceid - Id of SocRolloverResult to be updatedinfo - Details of updates to the SocRolloverResultcontext - Context information containing the principalId and locale
information about the caller of service operationDataValidationErrorException - One or more values invalid for this operationDoesNotExistException - the SocRolloverResult does not existInvalidParameterException - One or more parameters invalidMissingParameterException - One or more parameters missingOperationFailedException - unable to complete requestPermissionDeniedException - authorization failureVersionMismatchException - The action was attempted on an out of date version.ReadOnlyException@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public SocRolloverResultItemInfo updateSocRolloverResultItem(String id, SocRolloverResultItemInfo info, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
CourseOfferingSetServiceupdateSocRolloverResultItem in interface CourseOfferingSetServiceid - Id of SocRolloverResultItem to be updatedinfo - Details of updates to the SocRolloverResultItemcontext - Context information containing the principalId and locale
information about the caller of service operationDataValidationErrorException - One or more values invalid for this operationDoesNotExistException - the SocRolloverResultItem does not existInvalidParameterException - One or more parameters invalidMissingParameterException - One or more parameters missingOperationFailedException - unable to complete requestPermissionDeniedException - authorization failureVersionMismatchException - The action was attempted on an out of date version.ReadOnlyExceptionpublic List<ValidationResultInfo> validateSoc(String validationType, SocInfo socInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CourseOfferingSetServicevalidateSoc in interface CourseOfferingSetServicevalidationType - Identifier of the extent of validationsocInfo - the soc information to be tested.context - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - validationTypeKey not foundInvalidParameterException - invalid validationTypeKey, socInfoMissingParameterException - missing validationTypeKey, socInfoOperationFailedException - unable to complete requestpublic List<ValidationResultInfo> validateSocRolloverResult(String validationType, SocRolloverResultInfo socRolloverResultInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CourseOfferingSetServicevalidateSocRolloverResult in interface CourseOfferingSetServicevalidationType - Identifier of the extent of validationsocRolloverResultInfo - the socRolloverResult information to be tested.context - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - validationTypeKey not foundInvalidParameterException - invalid validationTypeKey, socRolloverResultInfoMissingParameterException - missing validationTypeKey, socRolloverResultInfoOperationFailedException - unable to complete requestpublic List<ValidationResultInfo> validateSocRolloverResultItem(String validationType, SocRolloverResultItemInfo socRolloverResultItemInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CourseOfferingSetServicevalidateSocRolloverResultItem in interface CourseOfferingSetServicevalidationType - Identifier of the extent of validationsocRolloverResultItemInfo - the socRolloverResultItem information to be tested.context - Context information containing the principalId and locale
information about the caller of service operationDoesNotExistException - validationTypeKey not foundInvalidParameterException - invalid validationTypeKey, socRolloverResultItemInfoMissingParameterException - missing validationTypeKey, socRolloverResultItemInfoOperationFailedException - unable to complete request@Transactional(readOnly=true) public List<String> searchForSocRolloverResultIds(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicesearchForSocRolloverResultIds in interface CourseOfferingSetServiceInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionPermissionDeniedException@Transactional(readOnly=true) public List<SocRolloverResultInfo> searchForSocRolloverResults(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicesearchForSocRolloverResults in interface CourseOfferingSetServiceInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionPermissionDeniedExceptionpublic void setCriteriaLookupService(CriteriaLookupService criteriaLookupService)
@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo updateSocState(String socId, String nextStateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServiceupdateSocState in interface CourseOfferingSetServicesocId - of the Set of CourseOffering's to be updated.nextStateKey - The State Key into which the identified Set of CourseOffering's will be placed if the operation succeeds.contextInfo - Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException - the identified Set of CourseOffering's does not existInvalidParameterException - the contextInfo object is invalidMissingParameterException - One or more parameters missingOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic StatusInfo updateSocRolloverResultState(String socId, String nextStateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServiceupdateSocRolloverResultState in interface CourseOfferingSetServicesocId - of the SocRolloverResultState to be updated.nextStateKey - The State Key into which the identified SocRolloverResultState will be placed if the operation succeeds.contextInfo - Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException - the identified SocRolloverResultState does not existInvalidParameterException - the contextInfo object is invalidMissingParameterException - One or more parameters missingOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic StatusInfo updateSocRolloverResultItemState(String socId, String nextStateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServiceupdateSocRolloverResultItemState in interface CourseOfferingSetServicesocId - of the SocRolloverResultItem to be updated.nextStateKey - The State Key into which the identified SocRolloverResultItem will be placed if the operation succeeds.contextInfo - Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException - the identified SocRolloverResultItem does not existInvalidParameterException - the contextInfo object is invalidMissingParameterException - One or more parameters missingOperationFailedException - unable to complete requestPermissionDeniedException - authorization failure@Transactional(readOnly=true) public List<String> searchForSocRolloverResultItemIds(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicesearchForSocRolloverResultItemIds in interface CourseOfferingSetServiceInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionPermissionDeniedException@Transactional(readOnly=true) public List<SocRolloverResultItemInfo> searchForSocRolloverResultItems(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetServicesearchForSocRolloverResultItems in interface CourseOfferingSetServiceInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionPermissionDeniedExceptionCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.