|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetServiceMockImpl
public class CourseOfferingSetServiceMockImpl
Constructor Summary | |
---|---|
CourseOfferingSetServiceMockImpl()
|
Method Summary | |
---|---|
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. |
StatusInfo |
scheduleSoc(String socId,
ContextInfo context)
Requests that the course offerings in this Soc be submitted to the scheduler. |
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<SocRolloverResultInfo> |
searchForSocRolloverResults(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
ContextInfo context)
Searches for soc rollover results using a free form search criteria |
void |
setBusinessLogic(CourseOfferingSetServiceBusinessLogic businessLogic)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CourseOfferingSetServiceMockImpl()
Method Detail |
---|
public void clear()
MockService
clear
in interface MockService
public CourseOfferingSetServiceBusinessLogic getBusinessLogic()
public void setBusinessLogic(CourseOfferingSetServiceBusinessLogic businessLogic)
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 operation
DoesNotExistException
- socId not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- socId in the list not found
InvalidParameterException
- invalid socIds
MissingParameterException
- missing socIds
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- termId not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- termId or subject area not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- termId or unitsContentOwnerid not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- typeKey not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- termId or socTypeKey not found
DataValidationErrorException
- One or more values invalid for this operation
InvalidParameterException
- One or more parameters invalid
MissingParameterException
- One or more parameters missing
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
ReadOnlyException
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 operation
DataValidationErrorException
- One or more values invalid for this operation
DoesNotExistException
- the Soc does not exist
InvalidParameterException
- One or more parameters invalid
MissingParameterException
- One or more parameters missing
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
VersionMismatchException
- The action was attempted on an out of date version.
ReadOnlyException
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 operation
DependentObjectsExistException
- if course offerings exist and the
implementation has the business rule that a course offering must have a Soc
DoesNotExistException
- the soc does not exist
InvalidParameterException
- One or more parameters invalid
MissingParameterException
- One or more parameters missing
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- validationTypeKey not found
InvalidParameterException
- invalid validationTypeKey, socInfo
MissingParameterException
- missing validationTypeKey, socInfo
OperationFailedException
- 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 operation
DoesNotExistException
- courseOfferingId not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- courseId or termId not found
InvalidParameterException
- invalid courseId or termId
MissingParameterException
- missing courseId or termId
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- socId not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- either id is not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- socId not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- socId not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- socId not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- socId not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- socId not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic StatusInfo scheduleSoc(String socId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingSetService
scheduleSoc
in interface CourseOfferingSetService
socId
- Unique Id of the soccontext
- Context information containing the principalId and locale
information about the caller of service operation
DoesNotExistException
- socId not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- sourceSocId or targetTermId not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- rolloverResultId in the list not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- rolloverResultId in the list not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- rolloverResultId in the list not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- rolloverResultId in the list not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- courseId or termId not found
InvalidParameterException
- invalid courseId or termId
MissingParameterException
- missing courseId or termId
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- rolloverResultId in the list not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- rolloverResultId in the list not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- courseId or termId not found
InvalidParameterException
- invalid courseId or termId
MissingParameterException
- missing courseId or termId
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- courseId or termId not found
InvalidParameterException
- invalid courseId or termId
MissingParameterException
- missing courseId or termId
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- courseId or termId not found
InvalidParameterException
- invalid courseId or termId
MissingParameterException
- missing courseId or termId
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- termId or socRolloverResultTypeKey not found
DataValidationErrorException
- One or more values invalid for this operation
InvalidParameterException
- One or more parameters invalid
MissingParameterException
- One or more parameters missing
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
ReadOnlyException
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 operation
DataValidationErrorException
- One or more values invalid for this operation
DoesNotExistException
- the SocRolloverResult does not exist
InvalidParameterException
- One or more parameters invalid
MissingParameterException
- One or more parameters missing
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
VersionMismatchException
- 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 operation
DataValidationErrorException
- One or more values invalid for this operation
DoesNotExistException
- the SocRolloverResult does not exist
InvalidParameterException
- One or more parameters invalid
MissingParameterException
- One or more parameters missing
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
VersionMismatchException
- 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 operation
DoesNotExistException
- the SeatPoolDefinition does not exist
InvalidParameterException
- One or more parameters invalid
MissingParameterException
- One or more parameters missing
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
DependentObjectsExistException
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 operation
DoesNotExistException
- validationTypeKey not found
InvalidParameterException
- invalid validationTypeKey, socRolloverResultInfo
MissingParameterException
- missing validationTypeKey, socRolloverResultInfo
OperationFailedException
- 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 operation
DoesNotExistException
- socRolloverResultItemId not found
InvalidParameterException
- invalid parameter
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- termId or socRolloverResultItemTypeKey not found
DataValidationErrorException
- One or more values invalid for this operation
InvalidParameterException
- One or more parameters invalid
MissingParameterException
- One or more parameters missing
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
ReadOnlyException
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 operation
DoesNotExistException
- termId or socRolloverResultItemTypeKey not found
DataValidationErrorException
- One or more values invalid for this operation
InvalidParameterException
- One or more parameters invalid
MissingParameterException
- One or more parameters missing
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
ReadOnlyException
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 operation
DataValidationErrorException
- One or more values invalid for this operation
DoesNotExistException
- the SocRolloverResultItem does not exist
InvalidParameterException
- One or more parameters invalid
MissingParameterException
- One or more parameters missing
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
VersionMismatchException
- 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 operation
DoesNotExistException
- the SeatPoolDefinition does not exist
InvalidParameterException
- One or more parameters invalid
MissingParameterException
- One or more parameters missing
OperationFailedException
- unable to complete request
PermissionDeniedException
- 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 operation
DoesNotExistException
- validationTypeKey not found
InvalidParameterException
- invalid validationTypeKey, socRolloverResultItemInfo
MissingParameterException
- missing validationTypeKey, socRolloverResultItemInfo
OperationFailedException
- 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |