public class CourseOfferingSetServiceMockImpl extends Object implements CourseOfferingSetService, MockService
Constructor and Description |
---|
CourseOfferingSetServiceMockImpl() |
Modifier and Type | Method and Description |
---|---|
StatusInfo |
changeSocRolloverResultItemState(String socRolloverResultItemId,
String nextStateKey,
ContextInfo contextInfo)
Changes the state of an existing SocRolloverResultItem to another state provided that it is valid to do so.
|
StatusInfo |
changeSocRolloverResultState(String socRolloverResultId,
String nextStateKey,
ContextInfo contextInfo)
Changes the state of an existing SocRolloverResultState to another state provided that it is valid to do so.
|
StatusInfo |
changeSocState(String socId,
String nextStateKey,
ContextInfo contextInfo)
Changes the state of an existing Set of CourseOfferings to another state provided that it is valid to do so.
|
void |
clear()
Clear all cached service data.
|
SocInfo |
createSoc(String termId,
String socTypeKey,
SocInfo socInfo,
ContextInfo context)
Creates a new Soc for a term
Fields in course offering will be initialized with data from the canonical.
|
SocRolloverResultInfo |
createSocRolloverResult(String socRolloverResultTypeKey,
SocRolloverResultInfo socRolloverResultInfo,
ContextInfo context)
Creates a new SocRolloverResult
|
SocRolloverResultItemInfo |
createSocRolloverResultItem(String socRolloverResultId,
String socRolloverResultItemTypeKey,
SocRolloverResultItemInfo socRolloverResultItemInfo,
ContextInfo context)
Creates a new SocRolloverResultItem
|
Integer |
createSocRolloverResultItems(String socRolloverResultId,
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 socId,
ContextInfo context)
Deletes an existing Soc.
|
StatusInfo |
deleteSocRolloverResult(String socRolloverResultId,
ContextInfo context)
Deletes an existing SocRolloverResult.
|
StatusInfo |
deleteSocRolloverResultItem(String socRolloverResultItemId,
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 socId,
ContextInfo context)
Retrieve information about a Soc
|
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 rolloverResultId,
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 socRolloverResultItemId,
ContextInfo context)
Retrieve information about a SocRolloverResultItem
|
List<SocRolloverResultItemInfo> |
getSocRolloverResultItemsByIds(List<String> rolloverResultItemIds,
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> rolloverResultIds,
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
|
List<SocInfo> |
getSocsByIds(List<String> socIds,
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(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
ContextInfo context)
Search for Set of Course Ids
|
List<String> |
searchForSocRolloverResultIds(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
ContextInfo context)
Searches for soc rollover result ids using a free form search criteria.
|
List<String> |
searchForSocRolloverResultItemIds(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
ContextInfo context)
Searches for soc rollover result item ids using a free form search criteria.
|
List<SocRolloverResultItemInfo> |
searchForSocRolloverResultItems(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
ContextInfo context)
Searches for soc rollover result items using a free form search criteria
|
List<SocRolloverResultInfo> |
searchForSocRolloverResults(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
ContextInfo context)
Searches for soc rollover results using a free form search criteria
|
List<SocInfo> |
searchForSocs(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
ContextInfo context)
Search for Sets of Courses
|
void |
setBusinessLogic(CourseOfferingSetServiceBusinessLogic businessLogic) |
void |
setCoService(CourseOfferingService coService) |
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 socId,
SocInfo socInfo,
ContextInfo context)
Updates an existing Soc.
|
SocRolloverResultInfo |
updateSocRolloverProgress(String socRolloverResultId,
Integer itemsProcessed,
ContextInfo context)
Update progress information
|
SocRolloverResultInfo |
updateSocRolloverResult(String socRolloverResultId,
SocRolloverResultInfo socRolloverResultInfo,
ContextInfo context)
Updates an existing SocRolloverResult.
|
SocRolloverResultItemInfo |
updateSocRolloverResultItem(String socRolloverResultItemId,
SocRolloverResultItemInfo socRolloverResultItemInfo,
ContextInfo context)
Updates an existing SocRolloverResultItem.
|
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 CourseOfferingSetServiceMockImpl()
public void clear()
MockService
clear
in interface MockService
public CourseOfferingSetServiceBusinessLogic getBusinessLogic()
public void setBusinessLogic(CourseOfferingSetServiceBusinessLogic businessLogic)
public void setCoService(CourseOfferingService coService)
public SocInfo getSoc(String socId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getSoc
in interface CourseOfferingSetService
socId
- 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 failurepublic List<SocInfo> getSocsByIds(List<String> socIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getSocsByIds
in interface CourseOfferingSetService
socIds
- 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 failurepublic List<String> getSocIdsByTerm(String termId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getSocIdsByTerm
in interface CourseOfferingSetService
termId
- 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 failurepublic List<String> getSocIdsByTermAndSubjectArea(String termId, String subjectArea, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getSocIdsByTermAndSubjectArea
in interface CourseOfferingSetService
termId
- 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 failurepublic List<String> getSocIdsByTermAndUnitsContentOwner(String termId, String unitsContentOwnerId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getSocIdsByTermAndUnitsContentOwner
in interface CourseOfferingSetService
termId
- 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 failurepublic List<String> getSocIdsByType(String typeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getSocIdsByType
in interface CourseOfferingSetService
typeKey
- 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 failurepublic List<SocInfo> searchForSocs(org.kuali.rice.core.api.criteria.QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
searchForSocs
in interface CourseOfferingSetService
criteria
- 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 failurepublic List<String> searchForSocIds(org.kuali.rice.core.api.criteria.QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
searchForSocIds
in interface CourseOfferingSetService
criteria
- 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 failurepublic SocInfo createSoc(String termId, String socTypeKey, SocInfo socInfo, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseOfferingSetService
createSoc
in interface CourseOfferingSetService
termId
- 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
public SocInfo updateSoc(String socId, SocInfo socInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
CourseOfferingSetService
updateSoc
in interface CourseOfferingSetService
socId
- Id of Soc to be updatedsocInfo
- 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.public StatusInfo deleteSoc(String socId, ContextInfo context) throws DependentObjectsExistException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
deleteSoc
in interface CourseOfferingSetService
socId
- 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 failurepublic List<ValidationResultInfo> validateSoc(String validationType, SocInfo socInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CourseOfferingSetService
validateSoc
in interface CourseOfferingSetService
validationType
- 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<String> getSocIdsByCourseOffering(String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getSocIdsByCourseOffering
in interface CourseOfferingSetService
courseOfferingId
- 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 failurepublic List<String> getCourseOfferingIdsBySoc(String socId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getCourseOfferingIdsBySoc
in interface CourseOfferingSetService
getCourseOfferingIdsBySoc
in interface CourseOfferingSetServiceBusinessLogic
socId
- 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 failurepublic Integer deleteCourseOfferingsBySoc(String socId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
deleteCourseOfferingsBySoc
in interface CourseOfferingSetService
deleteCourseOfferingsBySoc
in interface CourseOfferingSetServiceBusinessLogic
socId
- 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 failurepublic Boolean isCourseOfferingInSoc(String socId, String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
isCourseOfferingInSoc
in interface CourseOfferingSetService
isCourseOfferingInSoc
in interface CourseOfferingSetServiceBusinessLogic
socId
- 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 failurepublic List<String> getPublishedCourseOfferingIdsBySoc(String socId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getPublishedCourseOfferingIdsBySoc
in interface CourseOfferingSetService
getPublishedCourseOfferingIdsBySoc
in interface CourseOfferingSetServiceBusinessLogic
socId
- 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 failurepublic List<String> getUnpublishedCourseOfferingIdsBySoc(String socId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getUnpublishedCourseOfferingIdsBySoc
in interface CourseOfferingSetService
getUnpublishedCourseOfferingIdsBySoc
in interface CourseOfferingSetServiceBusinessLogic
socId
- 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 failurepublic List<String> getUnpublishedActivityOfferingIdsBySoc(String socId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getUnpublishedActivityOfferingIdsBySoc
in interface CourseOfferingSetService
getUnpublishedActivityOfferingIdsBySoc
in interface CourseOfferingSetServiceBusinessLogic
socId
- 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 failurepublic List<String> getUnscheduledActivityOfferingIdsBySoc(String socId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getUnscheduledActivityOfferingIdsBySoc
in interface CourseOfferingSetService
getUnscheduledActivityOfferingIdsBySoc
in interface CourseOfferingSetServiceBusinessLogic
socId
- 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 failurepublic List<String> getCourseOfferingIdsWithUnscheduledFinalExamsBySoc(String socId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getCourseOfferingIdsWithUnscheduledFinalExamsBySoc
in interface CourseOfferingSetService
socId
- 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 failurepublic StatusInfo startScheduleSoc(String socId, List<String> optionKeys, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
startScheduleSoc
in interface CourseOfferingSetService
startScheduleSoc
in interface CourseOfferingSetServiceBusinessLogic
socId
- 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 failurepublic SocInfo rolloverSoc(String sourceSocId, String targetTermId, List<String> optionKeys, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
rolloverSoc
in interface CourseOfferingSetService
rolloverSoc
in interface CourseOfferingSetServiceBusinessLogic
sourceSocId
- 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 SocRolloverResultInfo getSocRolloverResult(String rolloverResultId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getSocRolloverResult
in interface CourseOfferingSetService
rolloverResultId
- 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> getSocRolloverResultsByIds(List<String> rolloverResultIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getSocRolloverResultsByIds
in interface CourseOfferingSetService
rolloverResultIds
- 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 failurepublic List<SocRolloverResultItemInfo> getSocRolloverResultItemsByIds(List<String> rolloverResultItemIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getSocRolloverResultItemsByIds
in interface CourseOfferingSetService
rolloverResultItemIds
- 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 failurepublic List<SocRolloverResultItemInfo> getSocRolloverResultItemsByResultId(String socRolloverResultId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getSocRolloverResultItemsByResultId
in interface CourseOfferingSetService
socRolloverResultId
- 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 failurepublic List<SocRolloverResultInfo> getSocRolloverResultsBySourceAndTargetSocs(String sourceSocId, String targetSocId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getSocRolloverResultsBySourceAndTargetSocs
in interface CourseOfferingSetService
sourceSocId
- 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 failurepublic List<SocRolloverResultItemInfo> getSocRolloverResultItemsByResultIdAndSourceCourseOfferingId(String socRolloverResultId, String sourceCourseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getSocRolloverResultItemsByResultIdAndSourceCourseOfferingId
in interface CourseOfferingSetService
socRolloverResultId
- 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 failurepublic List<SocRolloverResultItemInfo> getSocRolloverResultItemsByResultIdAndTargetCourseOfferingId(String socRolloverResultId, String targetCourseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getSocRolloverResultItemsByResultIdAndTargetCourseOfferingId
in interface CourseOfferingSetService
socRolloverResultId
- 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 failurepublic List<String> getSocRolloverResultIdsByTargetSoc(String targetSocId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getSocRolloverResultIdsByTargetSoc
in interface CourseOfferingSetService
targetSocId
- 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 failurepublic List<String> getSocRolloverResultIdsBySourceSoc(String sourceSocId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getSocRolloverResultIdsBySourceSoc
in interface CourseOfferingSetService
sourceSocId
- 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 failurepublic SocRolloverResultInfo reverseRollover(String rolloverResultId, List<String> optionKeys, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
reverseRollover
in interface CourseOfferingSetService
reverseRollover
in interface CourseOfferingSetServiceBusinessLogic
rolloverResultId
- 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 SocRolloverResultInfo createSocRolloverResult(String socRolloverResultTypeKey, SocRolloverResultInfo socRolloverResultInfo, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseOfferingSetService
createSocRolloverResult
in interface CourseOfferingSetService
socRolloverResultTypeKey
- soc rollover result type keysocRolloverResultInfo
- 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
public SocRolloverResultInfo updateSocRolloverResult(String socRolloverResultId, SocRolloverResultInfo socRolloverResultInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
CourseOfferingSetService
updateSocRolloverResult
in interface CourseOfferingSetService
socRolloverResultId
- Id of SocRolloverResult to be updatedsocRolloverResultInfo
- 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
public SocRolloverResultInfo updateSocRolloverProgress(String socRolloverResultId, Integer itemsProcessed, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
CourseOfferingSetService
updateSocRolloverProgress
in interface CourseOfferingSetService
socRolloverResultId
- 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
public StatusInfo deleteSocRolloverResult(String socRolloverResultId, ContextInfo context) throws DoesNotExistException, DependentObjectsExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
deleteSocRolloverResult
in interface CourseOfferingSetService
socRolloverResultId
- 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
public List<ValidationResultInfo> validateSocRolloverResult(String validationType, SocRolloverResultInfo socRolloverResultInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CourseOfferingSetService
validateSocRolloverResult
in interface CourseOfferingSetService
validationType
- 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 SocRolloverResultItemInfo getSocRolloverResultItem(String socRolloverResultItemId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
getSocRolloverResultItem
in interface CourseOfferingSetService
socRolloverResultItemId
- 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 failurepublic SocRolloverResultItemInfo createSocRolloverResultItem(String socRolloverResultId, String socRolloverResultItemTypeKey, SocRolloverResultItemInfo socRolloverResultItemInfo, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseOfferingSetService
createSocRolloverResultItem
in interface CourseOfferingSetService
socRolloverResultId
- Id of the corresponding soc rollover resultsocRolloverResultItemTypeKey
- soc rollover result type keysocRolloverResultItemInfo
- 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
public Integer createSocRolloverResultItems(String socRolloverResultId, String typeKey, List<SocRolloverResultItemInfo> infos, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseOfferingSetService
createSocRolloverResultItems
in interface CourseOfferingSetService
socRolloverResultId
- 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
public SocRolloverResultItemInfo updateSocRolloverResultItem(String socRolloverResultItemId, SocRolloverResultItemInfo socRolloverResultItemInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
CourseOfferingSetService
updateSocRolloverResultItem
in interface CourseOfferingSetService
socRolloverResultItemId
- Id of SocRolloverResultItem to be updatedsocRolloverResultItemInfo
- 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.ReadOnlyException
public StatusInfo deleteSocRolloverResultItem(String socRolloverResultItemId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
deleteSocRolloverResultItem
in interface CourseOfferingSetService
socRolloverResultItemId
- 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 failurepublic List<ValidationResultInfo> validateSocRolloverResultItem(String validationType, SocRolloverResultItemInfo socRolloverResultItemInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CourseOfferingSetService
validateSocRolloverResultItem
in interface CourseOfferingSetService
validationType
- 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 requestpublic List<String> searchForSocRolloverResultIds(org.kuali.rice.core.api.criteria.QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
searchForSocRolloverResultIds
in interface CourseOfferingSetService
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
public List<SocRolloverResultInfo> searchForSocRolloverResults(org.kuali.rice.core.api.criteria.QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
searchForSocRolloverResults
in interface CourseOfferingSetService
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
public StatusInfo changeSocState(String socId, String nextStateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
changeSocState
in interface CourseOfferingSetService
socId
- of the Set of CourseOffering's to be changed.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 changeSocRolloverResultState(String socRolloverResultId, String nextStateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
changeSocRolloverResultState
in interface CourseOfferingSetService
socRolloverResultId
- of the SocRolloverResultState to be changed.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 changeSocRolloverResultItemState(String socRolloverResultItemId, String nextStateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
changeSocRolloverResultItemState
in interface CourseOfferingSetService
socRolloverResultItemId
- of the SocRolloverResultItem to be changed.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 failurepublic List<String> searchForSocRolloverResultItemIds(org.kuali.rice.core.api.criteria.QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
searchForSocRolloverResultItemIds
in interface CourseOfferingSetService
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
public List<SocRolloverResultItemInfo> searchForSocRolloverResultItems(org.kuali.rice.core.api.criteria.QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
searchForSocRolloverResultItems
in interface CourseOfferingSetService
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.