org.kuali.student.enrollment.class2.courseofferingset.service.impl
Class CourseOfferingSetServiceMockImpl

java.lang.Object
  extended by org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetServiceMockImpl
All Implemented Interfaces:
MockService, CourseOfferingSetService, CourseOfferingSetServiceBusinessLogic

public class CourseOfferingSetServiceMockImpl
extends Object
implements CourseOfferingSetService, MockService


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

CourseOfferingSetServiceMockImpl

public CourseOfferingSetServiceMockImpl()
Method Detail

clear

public void clear()
Description copied from interface: MockService
Clear all cached service data. This should place the service back to its initial configuration.

Specified by:
clear in interface MockService

getBusinessLogic

public CourseOfferingSetServiceBusinessLogic getBusinessLogic()

setBusinessLogic

public void setBusinessLogic(CourseOfferingSetServiceBusinessLogic businessLogic)

getSoc

public SocInfo getSoc(String socId,
                      ContextInfo context)
               throws DoesNotExistException,
                      InvalidParameterException,
                      MissingParameterException,
                      OperationFailedException,
                      PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Retrieve information about a Soc

Specified by:
getSoc in interface CourseOfferingSetService
Parameters:
socId - Unique Id of the Soc
context - Context information containing the principalId and locale information about the caller of service operation
Throws:
DoesNotExistException - socId not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getSocsByIds

public List<SocInfo> getSocsByIds(List<String> socIds,
                                  ContextInfo context)
                           throws DoesNotExistException,
                                  InvalidParameterException,
                                  MissingParameterException,
                                  OperationFailedException,
                                  PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Retrieves a list of course offerings by id list.

Specified by:
getSocsByIds in interface CourseOfferingSetService
Parameters:
socIds - List of unique Ids of Soc
context - Context information containing the principalId and locale information about the caller of service operation
Throws:
DoesNotExistException - socId in the list not found
InvalidParameterException - invalid socIds
MissingParameterException - missing socIds
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getSocIdsByTerm

public List<String> getSocIdsByTerm(String termId,
                                    ContextInfo context)
                             throws DoesNotExistException,
                                    InvalidParameterException,
                                    MissingParameterException,
                                    OperationFailedException,
                                    PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Retrieve ids of the Soc for the term This could return multiple Socs but should always return the default main SOC for that term.

Specified by:
getSocIdsByTerm in interface CourseOfferingSetService
Parameters:
termId - Unique Id of the term
context - Context information containing the principalId and locale information about the caller of service operation
Throws:
DoesNotExistException - termId not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getSocIdsByTermAndSubjectArea

public List<String> getSocIdsByTermAndSubjectArea(String termId,
                                                  String subjectArea,
                                                  ContextInfo context)
                                           throws DoesNotExistException,
                                                  InvalidParameterException,
                                                  MissingParameterException,
                                                  OperationFailedException,
                                                  PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Retrieve Soc Ids for a given term and subject area. A Soc will have an official and "other" subject areas, this operation will the course offering ids with either official or other subject area that match. THIS IS A PLACEHOLDER for DEPARTMENTAL SOCS

Specified by:
getSocIdsByTermAndSubjectArea in interface CourseOfferingSetService
Parameters:
termId - Unique key of the term in which the course is being offered
subjectArea - subject area
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
List of Soc Ids
Throws:
DoesNotExistException - termId or subject area not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getSocIdsByTermAndUnitsContentOwner

public List<String> getSocIdsByTermAndUnitsContentOwner(String termId,
                                                        String unitsContentOwnerId,
                                                        ContextInfo context)
                                                 throws DoesNotExistException,
                                                        InvalidParameterException,
                                                        MissingParameterException,
                                                        OperationFailedException,
                                                        PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Retrieve Soc Ids for a given term and unit content owner THIS IS A PLACEHOLDER for DEPARTMENTAL SOCS

Specified by:
getSocIdsByTermAndUnitsContentOwner in interface CourseOfferingSetService
Parameters:
termId - Unique key of the term in which the course is being offered
unitsContentOwnerId - Org Id of the Units content owner
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
List of Soc Ids
Throws:
DoesNotExistException - termId or unitsContentOwnerid not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getSocIdsByType

public List<String> getSocIdsByType(String typeKey,
                                    ContextInfo context)
                             throws DoesNotExistException,
                                    InvalidParameterException,
                                    MissingParameterException,
                                    OperationFailedException,
                                    PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Retrieve Soc Ids by type

Specified by:
getSocIdsByType in interface CourseOfferingSetService
Parameters:
typeKey - Unique key type of Soc
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
List of Soc Ids
Throws:
DoesNotExistException - typeKey not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

createSoc

public SocInfo createSoc(String termId,
                         String socTypeKey,
                         SocInfo socInfo,
                         ContextInfo context)
                  throws DoesNotExistException,
                         DataValidationErrorException,
                         InvalidParameterException,
                         MissingParameterException,
                         OperationFailedException,
                         PermissionDeniedException,
                         ReadOnlyException
Description copied from interface: CourseOfferingSetService
Creates a new Soc for a term Fields in course offering will be initialized with data from the canonical.

Specified by:
createSoc in interface CourseOfferingSetService
Parameters:
termId - Unique key of the term in which the course is being offered course offering
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
newly created SocInfo
Throws:
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

updateSoc

public SocInfo updateSoc(String socId,
                         SocInfo socInfo,
                         ContextInfo context)
                  throws DataValidationErrorException,
                         DoesNotExistException,
                         InvalidParameterException,
                         MissingParameterException,
                         OperationFailedException,
                         PermissionDeniedException,
                         ReadOnlyException,
                         VersionMismatchException
Description copied from interface: CourseOfferingSetService
Updates an existing Soc.

Specified by:
updateSoc in interface CourseOfferingSetService
Parameters:
socId - Id of Soc to be updated
socInfo - Details of updates to the Soc
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
updated Soc
Throws:
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

deleteSoc

public StatusInfo deleteSoc(String socId,
                            ContextInfo context)
                     throws DependentObjectsExistException,
                            DoesNotExistException,
                            InvalidParameterException,
                            MissingParameterException,
                            OperationFailedException,
                            PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Deletes an existing Soc. Deleting the Soc does not automatically delete the course offerings in a soc

Specified by:
deleteSoc in interface CourseOfferingSetService
Parameters:
socId - the Id of the ActivityOffering to be deleted
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
status of the operation (success, failed)
Throws:
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 failure

validateSoc

public List<ValidationResultInfo> validateSoc(String validationType,
                                              SocInfo socInfo,
                                              ContextInfo context)
                                       throws DoesNotExistException,
                                              InvalidParameterException,
                                              MissingParameterException,
                                              OperationFailedException
Description copied from interface: CourseOfferingSetService
Validates a Soc. Depending on the value of validationType, this validation could be limited to tests on just the current object and its directly contained sub-objects or expanded to perform all tests related to this object. If an identifier is present for the academic calendar and a record is found for that identifier, the validation checks if the academic calendar can be shifted to the new values. If a record cannot be found for the identifier, it is assumed that the record does not exist and as such, the checks performed will be much shallower, typically mimicking those performed by setting the validationType to the current object. This is a slightly different pattern from the standard validation as the caller provides the identifier in the create statement instead of the server assigning an identifier.

Specified by:
validateSoc in interface CourseOfferingSetService
Parameters:
validationType - Identifier of the extent of validation
socInfo - the soc information to be tested.
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
the results from performing the validation
Throws:
DoesNotExistException - validationTypeKey not found
InvalidParameterException - invalid validationTypeKey, socInfo
MissingParameterException - missing validationTypeKey, socInfo
OperationFailedException - unable to complete request

getSocIdsByCourseOffering

public List<String> getSocIdsByCourseOffering(String courseOfferingId,
                                              ContextInfo context)
                                       throws DoesNotExistException,
                                              InvalidParameterException,
                                              MissingParameterException,
                                              OperationFailedException,
                                              PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Retrieve Soc Ids that contain the specified course offering

Specified by:
getSocIdsByCourseOffering in interface CourseOfferingSetService
Parameters:
courseOfferingId - Unique Id of the course offering
context - Context information containing the principalId and locale information about the caller of service operation
Throws:
DoesNotExistException - courseOfferingId not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getCourseOfferingIdsBySoc

public List<String> getCourseOfferingIdsBySoc(String socId,
                                              ContextInfo context)
                                       throws DoesNotExistException,
                                              InvalidParameterException,
                                              MissingParameterException,
                                              OperationFailedException,
                                              PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Retrieve course offering ids associated with the soc

Specified by:
getCourseOfferingIdsBySoc in interface CourseOfferingSetService
Specified by:
getCourseOfferingIdsBySoc in interface CourseOfferingSetServiceBusinessLogic
Parameters:
socId - Unique Id of the soc
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
list of course offering ids
Throws:
DoesNotExistException - courseId or termId not found
InvalidParameterException - invalid courseId or termId
MissingParameterException - missing courseId or termId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

deleteCourseOfferingsBySoc

public Integer deleteCourseOfferingsBySoc(String socId,
                                          ContextInfo context)
                                   throws DoesNotExistException,
                                          InvalidParameterException,
                                          MissingParameterException,
                                          OperationFailedException,
                                          PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Delete all the course offerings associated with the Soc

Specified by:
deleteCourseOfferingsBySoc in interface CourseOfferingSetService
Specified by:
deleteCourseOfferingsBySoc in interface CourseOfferingSetServiceBusinessLogic
Parameters:
socId - Unique Id of the soc
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
count of the course offerings deleted
Throws:
DoesNotExistException - socId not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

isCourseOfferingInSoc

public Boolean isCourseOfferingInSoc(String socId,
                                     String courseOfferingId,
                                     ContextInfo context)
                              throws DoesNotExistException,
                                     InvalidParameterException,
                                     MissingParameterException,
                                     OperationFailedException,
                                     PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Checks if the specified course offering is or is not in the specified soc.

Specified by:
isCourseOfferingInSoc in interface CourseOfferingSetService
Specified by:
isCourseOfferingInSoc in interface CourseOfferingSetServiceBusinessLogic
Parameters:
socId - Unique Id of the soc
courseOfferingId - Unique id of the course offering
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
true if the course offering is in the soc else false.
Throws:
DoesNotExistException - either id is not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getPublishedCourseOfferingIdsBySoc

public List<String> getPublishedCourseOfferingIdsBySoc(String socId,
                                                       ContextInfo context)
                                                throws DoesNotExistException,
                                                       InvalidParameterException,
                                                       MissingParameterException,
                                                       OperationFailedException,
                                                       PermissionDeniedException
Description copied from interface: CourseOfferingSetService
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"

Specified by:
getPublishedCourseOfferingIdsBySoc in interface CourseOfferingSetService
Specified by:
getPublishedCourseOfferingIdsBySoc in interface CourseOfferingSetServiceBusinessLogic
Parameters:
socId - Unique Id of the soc
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
list of Course offering ids
Throws:
DoesNotExistException - socId not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getUnpublishedCourseOfferingIdsBySoc

public List<String> getUnpublishedCourseOfferingIdsBySoc(String socId,
                                                         ContextInfo context)
                                                  throws DoesNotExistException,
                                                         InvalidParameterException,
                                                         MissingParameterException,
                                                         OperationFailedException,
                                                         PermissionDeniedException
Description copied from interface: CourseOfferingSetService
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"

Specified by:
getUnpublishedCourseOfferingIdsBySoc in interface CourseOfferingSetService
Specified by:
getUnpublishedCourseOfferingIdsBySoc in interface CourseOfferingSetServiceBusinessLogic
Parameters:
socId - Unique Id of the soc
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
list of Activity offering ids
Throws:
DoesNotExistException - socId not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getUnpublishedActivityOfferingIdsBySoc

public List<String> getUnpublishedActivityOfferingIdsBySoc(String socId,
                                                           ContextInfo context)
                                                    throws DoesNotExistException,
                                                           InvalidParameterException,
                                                           MissingParameterException,
                                                           OperationFailedException,
                                                           PermissionDeniedException
Description copied from interface: CourseOfferingSetService
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"

Specified by:
getUnpublishedActivityOfferingIdsBySoc in interface CourseOfferingSetService
Specified by:
getUnpublishedActivityOfferingIdsBySoc in interface CourseOfferingSetServiceBusinessLogic
Parameters:
socId - Unique Id of the soc
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
list of Activity offering ids
Throws:
DoesNotExistException - socId not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getUnscheduledActivityOfferingIdsBySoc

public List<String> getUnscheduledActivityOfferingIdsBySoc(String socId,
                                                           ContextInfo context)
                                                    throws DoesNotExistException,
                                                           InvalidParameterException,
                                                           MissingParameterException,
                                                           OperationFailedException,
                                                           PermissionDeniedException
Description copied from interface: CourseOfferingSetService
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"

Specified by:
getUnscheduledActivityOfferingIdsBySoc in interface CourseOfferingSetService
Specified by:
getUnscheduledActivityOfferingIdsBySoc in interface CourseOfferingSetServiceBusinessLogic
Parameters:
socId - Unique Id of the soc
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
list of Activity offering ids
Throws:
DoesNotExistException - socId not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getCourseOfferingIdsWithUnscheduledFinalExamsBySoc

public List<String> getCourseOfferingIdsWithUnscheduledFinalExamsBySoc(String socId,
                                                                       ContextInfo context)
                                                                throws DoesNotExistException,
                                                                       InvalidParameterException,
                                                                       MissingParameterException,
                                                                       OperationFailedException,
                                                                       PermissionDeniedException
Description copied from interface: CourseOfferingSetService
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"

Specified by:
getCourseOfferingIdsWithUnscheduledFinalExamsBySoc in interface CourseOfferingSetService
Parameters:
socId - Unique Id of the soc
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
list of course offering ids
Throws:
DoesNotExistException - socId not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

scheduleSoc

public StatusInfo scheduleSoc(String socId,
                              ContextInfo context)
                       throws DoesNotExistException,
                              InvalidParameterException,
                              MissingParameterException,
                              OperationFailedException,
                              PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Requests that the course offerings in this Soc be submitted to the scheduler. THIS IS A PLACEHOLDER FOR M5 DEVELOPMENT NOTE: we don't know yet with this should return and how to do ASYNC calls.

Specified by:
scheduleSoc in interface CourseOfferingSetService
Parameters:
socId - Unique Id of the soc
context - Context information containing the principalId and locale information about the caller of service operation
Throws:
DoesNotExistException - socId not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

rolloverSoc

public SocInfo rolloverSoc(String sourceSocId,
                           String targetTermId,
                           List<String> optionKeys,
                           ContextInfo context)
                    throws DoesNotExistException,
                           InvalidParameterException,
                           MissingParameterException,
                           OperationFailedException,
                           PermissionDeniedException
Description copied from interface: CourseOfferingSetService
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.

Specified by:
rolloverSoc in interface CourseOfferingSetService
Specified by:
rolloverSoc in interface CourseOfferingSetServiceBusinessLogic
Parameters:
sourceSocId - Unique Id of the source Soc
optionKeys - keys identifying optional processing to occur
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
newly created Soc
Throws:
DoesNotExistException - sourceSocId or targetTermId not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getSocRolloverResult

public SocRolloverResultInfo getSocRolloverResult(String rolloverResultId,
                                                  ContextInfo context)
                                           throws DoesNotExistException,
                                                  InvalidParameterException,
                                                  MissingParameterException,
                                                  OperationFailedException,
                                                  PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Retrieves the result of a rollover.

Specified by:
getSocRolloverResult in interface CourseOfferingSetService
Parameters:
rolloverResultId - unique Id of the rollover result
context - Context information containing the principalId and locale information about the caller of service operation
Throws:
DoesNotExistException - rolloverResultId in the list not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getSocRolloverResultsByIds

public List<SocRolloverResultInfo> getSocRolloverResultsByIds(List<String> rolloverResultIds,
                                                              ContextInfo context)
                                                       throws DoesNotExistException,
                                                              InvalidParameterException,
                                                              MissingParameterException,
                                                              OperationFailedException,
                                                              PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Retrieves a list of rollover results by id list.

Specified by:
getSocRolloverResultsByIds in interface CourseOfferingSetService
Parameters:
rolloverResultIds - List of unique Ids of the rollover result to be fetched
context - Context information containing the principalId and locale information about the caller of service operation
Throws:
DoesNotExistException - rolloverResultId in the list not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getSocRolloverResultItemsByIds

public List<SocRolloverResultItemInfo> getSocRolloverResultItemsByIds(List<String> rolloverResultItemIds,
                                                                      ContextInfo context)
                                                               throws DoesNotExistException,
                                                                      InvalidParameterException,
                                                                      MissingParameterException,
                                                                      OperationFailedException,
                                                                      PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Retrieves a list of rollover results items by id list.

Specified by:
getSocRolloverResultItemsByIds in interface CourseOfferingSetService
Parameters:
rolloverResultItemIds - List of unique Ids of the rollover result items to be fetched
context - Context information containing the principalId and locale information about the caller of service operation
Throws:
DoesNotExistException - rolloverResultId in the list not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getSocRolloverResultItemsByResultId

public List<SocRolloverResultItemInfo> getSocRolloverResultItemsByResultId(String socRolloverResultId,
                                                                           ContextInfo context)
                                                                    throws DoesNotExistException,
                                                                           InvalidParameterException,
                                                                           MissingParameterException,
                                                                           OperationFailedException,
                                                                           PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Retrieves a list of rollover result items by result id

Specified by:
getSocRolloverResultItemsByResultId in interface CourseOfferingSetService
Parameters:
socRolloverResultId - Unique Ids of the rollover result for which the items are to be fetched
context - Context information containing the principalId and locale information about the caller of service operation
Throws:
DoesNotExistException - rolloverResultId in the list not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getSocRolloverResultsBySourceAndTargetSocs

public List<SocRolloverResultInfo> getSocRolloverResultsBySourceAndTargetSocs(String sourceSocId,
                                                                              String targetSocId,
                                                                              ContextInfo context)
                                                                       throws DoesNotExistException,
                                                                              InvalidParameterException,
                                                                              MissingParameterException,
                                                                              OperationFailedException,
                                                                              PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Retrieves the rollover results associated with the specified source and target Soc ids

Specified by:
getSocRolloverResultsBySourceAndTargetSocs in interface CourseOfferingSetService
Parameters:
sourceSocId - source Soc Id
targetSocId - target Soc Id
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
List of Rollover Results
Throws:
DoesNotExistException - courseId or termId not found
InvalidParameterException - invalid courseId or termId
MissingParameterException - missing courseId or termId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getSocRolloverResultItemsByResultIdAndSourceCourseOfferingId

public List<SocRolloverResultItemInfo> getSocRolloverResultItemsByResultIdAndSourceCourseOfferingId(String socRolloverResultId,
                                                                                                    String sourceCourseOfferingId,
                                                                                                    ContextInfo context)
                                                                                             throws DoesNotExistException,
                                                                                                    InvalidParameterException,
                                                                                                    MissingParameterException,
                                                                                                    OperationFailedException,
                                                                                                    PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Retrieves a list of rollover result items by result id and source course offering id

Specified by:
getSocRolloverResultItemsByResultIdAndSourceCourseOfferingId in interface CourseOfferingSetService
Parameters:
socRolloverResultId - Unique Id of the rollover result for which the items are to be fetched
sourceCourseOfferingId - Unique Id of source course offering id
context - Context information containing the principalId and locale information about the caller of service operation
Throws:
DoesNotExistException - rolloverResultId in the list not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getSocRolloverResultItemsByResultIdAndTargetCourseOfferingId

public List<SocRolloverResultItemInfo> getSocRolloverResultItemsByResultIdAndTargetCourseOfferingId(String socRolloverResultId,
                                                                                                    String targetCourseOfferingId,
                                                                                                    ContextInfo context)
                                                                                             throws DoesNotExistException,
                                                                                                    InvalidParameterException,
                                                                                                    MissingParameterException,
                                                                                                    OperationFailedException,
                                                                                                    PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Retrieves a list of rollover result items by result id and target course offering id

Specified by:
getSocRolloverResultItemsByResultIdAndTargetCourseOfferingId in interface CourseOfferingSetService
Parameters:
socRolloverResultId - Unique Id of the rollover result for which the items are to be fetched
context - Context information containing the principalId and locale information about the caller of service operation
Throws:
DoesNotExistException - rolloverResultId in the list not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getSocRolloverResultIdsByTargetSoc

public List<String> getSocRolloverResultIdsByTargetSoc(String targetSocId,
                                                       ContextInfo context)
                                                throws DoesNotExistException,
                                                       InvalidParameterException,
                                                       MissingParameterException,
                                                       OperationFailedException,
                                                       PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Retrieves the rollover results associated with the specified target Soc id

Specified by:
getSocRolloverResultIdsByTargetSoc in interface CourseOfferingSetService
Parameters:
targetSocId - target Soc Id
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
List of Rollover Result Ids
Throws:
DoesNotExistException - courseId or termId not found
InvalidParameterException - invalid courseId or termId
MissingParameterException - missing courseId or termId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getSocRolloverResultIdsBySourceSoc

public List<String> getSocRolloverResultIdsBySourceSoc(String sourceSocId,
                                                       ContextInfo context)
                                                throws DoesNotExistException,
                                                       InvalidParameterException,
                                                       MissingParameterException,
                                                       OperationFailedException,
                                                       PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Retrieves the rollover results associated with the specified source Soc id

Specified by:
getSocRolloverResultIdsBySourceSoc in interface CourseOfferingSetService
Parameters:
sourceSocId - Unique id of the source Soc
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
List of Rollover Result Ids
Throws:
DoesNotExistException - courseId or termId not found
InvalidParameterException - invalid courseId or termId
MissingParameterException - missing courseId or termId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

reverseRollover

public SocRolloverResultInfo reverseRollover(String rolloverResultId,
                                             List<String> optionKeys,
                                             ContextInfo context)
                                      throws DoesNotExistException,
                                             InvalidParameterException,
                                             MissingParameterException,
                                             OperationFailedException,
                                             PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Requests that the rollover identified by the result be reversed. This attempts to reverse or clear out the actions applied by the specified rollover result. Depending on whether or not the resulting course offerings have been updated and the optional processing flags a full reversal is not guaranteed.

Specified by:
reverseRollover in interface CourseOfferingSetService
Specified by:
reverseRollover in interface CourseOfferingSetServiceBusinessLogic
Parameters:
rolloverResultId - Unique Id of the rollover result
optionKeys - keys identifying optional processing to happen when clearing the result
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
a Rollover Result indicating what reversal actions were successful or not
Throws:
DoesNotExistException - courseId or termId not found
InvalidParameterException - invalid courseId or termId
MissingParameterException - missing courseId or termId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

createSocRolloverResult

public SocRolloverResultInfo createSocRolloverResult(String socRolloverResultTypeKey,
                                                     SocRolloverResultInfo socRolloverResultInfo,
                                                     ContextInfo context)
                                              throws DoesNotExistException,
                                                     DataValidationErrorException,
                                                     InvalidParameterException,
                                                     MissingParameterException,
                                                     OperationFailedException,
                                                     PermissionDeniedException,
                                                     ReadOnlyException
Description copied from interface: CourseOfferingSetService
Creates a new SocRolloverResult

Specified by:
createSocRolloverResult in interface CourseOfferingSetService
Parameters:
socRolloverResultTypeKey - soc rollover result type key
socRolloverResultInfo - object to be created
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
newly created SocRolloverResultInfo
Throws:
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

updateSocRolloverResult

public SocRolloverResultInfo updateSocRolloverResult(String socRolloverResultId,
                                                     SocRolloverResultInfo socRolloverResultInfo,
                                                     ContextInfo context)
                                              throws DataValidationErrorException,
                                                     DoesNotExistException,
                                                     InvalidParameterException,
                                                     MissingParameterException,
                                                     OperationFailedException,
                                                     PermissionDeniedException,
                                                     ReadOnlyException,
                                                     VersionMismatchException
Description copied from interface: CourseOfferingSetService
Updates an existing SocRolloverResult.

Specified by:
updateSocRolloverResult in interface CourseOfferingSetService
Parameters:
socRolloverResultId - Id of SocRolloverResult to be updated
socRolloverResultInfo - Details of updates to the SocRolloverResult
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
updated SocRolloverResult
Throws:
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

updateSocRolloverProgress

public SocRolloverResultInfo updateSocRolloverProgress(String socRolloverResultId,
                                                       Integer itemsProcessed,
                                                       ContextInfo context)
                                                throws DataValidationErrorException,
                                                       DoesNotExistException,
                                                       InvalidParameterException,
                                                       MissingParameterException,
                                                       OperationFailedException,
                                                       PermissionDeniedException,
                                                       ReadOnlyException,
                                                       VersionMismatchException
Description copied from interface: CourseOfferingSetService
Update progress information

Specified by:
updateSocRolloverProgress in interface CourseOfferingSetService
Parameters:
socRolloverResultId - Id of SocRolloverResult to be updated
itemsProcessed - new count of the number of items processed
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
StatusInfo indicates the update worked
Throws:
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

deleteSocRolloverResult

public StatusInfo deleteSocRolloverResult(String socRolloverResultId,
                                          ContextInfo context)
                                   throws DoesNotExistException,
                                          DependentObjectsExistException,
                                          InvalidParameterException,
                                          MissingParameterException,
                                          OperationFailedException,
                                          PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Deletes an existing SocRolloverResult.

Specified by:
deleteSocRolloverResult in interface CourseOfferingSetService
Parameters:
socRolloverResultId - the Id of the ActivityOffering to be deleted
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
status of the operation (success, failed)
Throws:
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

validateSocRolloverResult

public List<ValidationResultInfo> validateSocRolloverResult(String validationType,
                                                            SocRolloverResultInfo socRolloverResultInfo,
                                                            ContextInfo context)
                                                     throws DoesNotExistException,
                                                            InvalidParameterException,
                                                            MissingParameterException,
                                                            OperationFailedException
Description copied from interface: CourseOfferingSetService
Validates a SocRolloverResult. Depending on the value of validationType, this validation could be limited to tests on just the current object and its directly contained sub-objects or expanded to perform all tests related to this object. If an identifier is present for the academic calendar and a record is found for that identifier, the validation checks if the academic calendar can be shifted to the new values. If a record cannot be found for the identifier, it is assumed that the record does not exist and as such, the checks performed will be much shallower, typically mimicking those performed by setting the validationType to the current object. This is a slightly different pattern from the standard validation as the caller provides the identifier in the create statement instead of the server assigning an identifier.

Specified by:
validateSocRolloverResult in interface CourseOfferingSetService
Parameters:
validationType - Identifier of the extent of validation
socRolloverResultInfo - the socRolloverResult information to be tested.
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
the results from performing the validation
Throws:
DoesNotExistException - validationTypeKey not found
InvalidParameterException - invalid validationTypeKey, socRolloverResultInfo
MissingParameterException - missing validationTypeKey, socRolloverResultInfo
OperationFailedException - unable to complete request

getSocRolloverResultItem

public SocRolloverResultItemInfo getSocRolloverResultItem(String socRolloverResultItemId,
                                                          ContextInfo context)
                                                   throws DoesNotExistException,
                                                          InvalidParameterException,
                                                          MissingParameterException,
                                                          OperationFailedException,
                                                          PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Retrieve information about a SocRolloverResultItem

Specified by:
getSocRolloverResultItem in interface CourseOfferingSetService
Parameters:
socRolloverResultItemId - Unique Id of the SocRolloverResultItem
context - Context information containing the principalId and locale information about the caller of service operation
Throws:
DoesNotExistException - socRolloverResultItemId not found
InvalidParameterException - invalid parameter
MissingParameterException - missing parameter
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

createSocRolloverResultItem

public SocRolloverResultItemInfo createSocRolloverResultItem(String socRolloverResultId,
                                                             String socRolloverResultItemTypeKey,
                                                             SocRolloverResultItemInfo socRolloverResultItemInfo,
                                                             ContextInfo context)
                                                      throws DoesNotExistException,
                                                             DataValidationErrorException,
                                                             InvalidParameterException,
                                                             MissingParameterException,
                                                             OperationFailedException,
                                                             PermissionDeniedException,
                                                             ReadOnlyException
Description copied from interface: CourseOfferingSetService
Creates a new SocRolloverResultItem

Specified by:
createSocRolloverResultItem in interface CourseOfferingSetService
Parameters:
socRolloverResultId - Id of the corresponding soc rollover result
socRolloverResultItemTypeKey - soc rollover result type key
socRolloverResultItemInfo - object to be created
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
newly created SocRolloverResultItemInfo
Throws:
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

createSocRolloverResultItems

public Integer createSocRolloverResultItems(String socRolloverResultId,
                                            String typeKey,
                                            List<SocRolloverResultItemInfo> infos,
                                            ContextInfo context)
                                     throws DoesNotExistException,
                                            DataValidationErrorException,
                                            InvalidParameterException,
                                            MissingParameterException,
                                            OperationFailedException,
                                            PermissionDeniedException,
                                            ReadOnlyException
Description copied from interface: CourseOfferingSetService
Bulk create of SocRolloverResultItems All must be for the same result and type.

Specified by:
createSocRolloverResultItems in interface CourseOfferingSetService
Parameters:
socRolloverResultId - Id of the corresponding soc rollover result
typeKey - soc rollover result type key
infos - objects to be created
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
count of number of items created
Throws:
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

updateSocRolloverResultItem

public SocRolloverResultItemInfo updateSocRolloverResultItem(String socRolloverResultItemId,
                                                             SocRolloverResultItemInfo socRolloverResultItemInfo,
                                                             ContextInfo context)
                                                      throws DataValidationErrorException,
                                                             DoesNotExistException,
                                                             InvalidParameterException,
                                                             MissingParameterException,
                                                             OperationFailedException,
                                                             PermissionDeniedException,
                                                             ReadOnlyException,
                                                             VersionMismatchException
Description copied from interface: CourseOfferingSetService
Updates an existing SocRolloverResultItem.

Specified by:
updateSocRolloverResultItem in interface CourseOfferingSetService
Parameters:
socRolloverResultItemId - Id of SocRolloverResultItem to be updated
socRolloverResultItemInfo - Details of updates to the SocRolloverResultItem
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
updated SocRolloverResultItem
Throws:
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

deleteSocRolloverResultItem

public StatusInfo deleteSocRolloverResultItem(String socRolloverResultItemId,
                                              ContextInfo context)
                                       throws DoesNotExistException,
                                              InvalidParameterException,
                                              MissingParameterException,
                                              OperationFailedException,
                                              PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Deletes an existing SocRolloverResultItem.

Specified by:
deleteSocRolloverResultItem in interface CourseOfferingSetService
Parameters:
socRolloverResultItemId - the Id of the ActivityOffering to be deleted
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
status of the operation (success, failed)
Throws:
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

validateSocRolloverResultItem

public List<ValidationResultInfo> validateSocRolloverResultItem(String validationType,
                                                                SocRolloverResultItemInfo socRolloverResultItemInfo,
                                                                ContextInfo context)
                                                         throws DoesNotExistException,
                                                                InvalidParameterException,
                                                                MissingParameterException,
                                                                OperationFailedException
Description copied from interface: CourseOfferingSetService
Validates a SocRolloverResultItem. Depending on the value of validationType, this validation could be limited to tests on just the current object and its directly contained sub-objects or expanded to perform all tests related to this object. If an identifier is present for the academic calendar and a record is found for that identifier, the validation checks if the academic calendar can be shifted to the new values. If a record cannot be found for the identifier, it is assumed that the record does not exist and as such, the checks performed will be much shallower, typically mimicking those performed by setting the validationType to the current object. This is a slightly different pattern from the standard validation as the caller provides the identifier in the create statement instead of the server assigning an identifier.

Specified by:
validateSocRolloverResultItem in interface CourseOfferingSetService
Parameters:
validationType - Identifier of the extent of validation
socRolloverResultItemInfo - the socRolloverResultItem information to be tested.
context - Context information containing the principalId and locale information about the caller of service operation
Returns:
the results from performing the validation
Throws:
DoesNotExistException - validationTypeKey not found
InvalidParameterException - invalid validationTypeKey, socRolloverResultItemInfo
MissingParameterException - missing validationTypeKey, socRolloverResultItemInfo
OperationFailedException - unable to complete request

searchForSocRolloverResultIds

public List<String> searchForSocRolloverResultIds(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
                                                  ContextInfo context)
                                           throws InvalidParameterException,
                                                  MissingParameterException,
                                                  OperationFailedException,
                                                  PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Searches for soc rollover result ids using a free form search criteria.

Specified by:
searchForSocRolloverResultIds in interface CourseOfferingSetService
Returns:
Throws:
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

searchForSocRolloverResults

public List<SocRolloverResultInfo> searchForSocRolloverResults(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
                                                               ContextInfo context)
                                                        throws InvalidParameterException,
                                                               MissingParameterException,
                                                               OperationFailedException,
                                                               PermissionDeniedException
Description copied from interface: CourseOfferingSetService
Searches for soc rollover results using a free form search criteria

Specified by:
searchForSocRolloverResults in interface CourseOfferingSetService
Throws:
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.