| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CourseService
| Method Summary | |
|---|---|
|  CourseInfo | createCourse(CourseInfo courseInfo)Creates a Course | 
|  StatementTreeViewInfo | createCourseStatement(String courseId,
                                           StatementTreeViewInfo statementTreeViewInfo)Creates the Statement for a Course. | 
|  CourseInfo | createNewCourseVersion(String courseId,
                                             String versionComment)Creates a new Course version based on the current course | 
|  StatusInfo | deleteCourse(String courseId)Deletes a Course. | 
|  StatusInfo | deleteCourseStatement(String courseId,
                                           StatementTreeViewInfo statementTreeViewInfo)Delete the Statement for a Course. | 
|  CourseInfo | getCourse(String courseId)Retrieves a Course | 
|  List<ActivityInfo> | getCourseActivities(String formatId)Retrieves the Activities for a Course. | 
|  List<FormatInfo> | getCourseFormats(String courseId)Retrieves the formats for a Course. | 
|  List<LoDisplayInfo> | getCourseLos(String courseId)Retrieves the Los for a Course. | 
|  List<StatementTreeViewInfo> | getCourseStatements(String courseId,
                                       String nlUsageTypeKey,
                                       String language)Retrieves the Statements of a Course. | 
|  StatusInfo | setCurrentCourseVersion(String courseVersionId,
                                               Date currentVersionStart)Sets a specific version of the Course as current. | 
|  CourseInfo | updateCourse(CourseInfo courseInfo)Updates a Course. | 
|  StatementTreeViewInfo | updateCourseStatement(String courseId,
                                           StatementTreeViewInfo statementTreeViewInfo)Updates the Statement for a Course. | 
|  List<ValidationResultInfo> | validateCourse(String validationType,
                             CourseInfo courseInfo)Validates a course based on its dictionary | 
|  List<ValidationResultInfo> | validateCourseStatement(String courseId,
                                               StatementTreeViewInfo statementTreeViewInfo)Validates the Statement for a Course. | 
| Methods inherited from interface org.kuali.student.common.dictionary.service.DictionaryService | 
|---|
| getObjectStructure, getObjectTypes | 
| Methods inherited from interface org.kuali.student.common.versionmanagement.service.VersionManagementService | 
|---|
| getCurrentVersion, getCurrentVersionOnDate, getFirstVersion, getLatestVersion, getVersionBySequenceNumber, getVersions, getVersionsInDateRange | 
| Method Detail | 
|---|
CourseInfo getCourse(String courseId)
                     throws DoesNotExistException,
                            InvalidParameterException,
                            MissingParameterException,
                            OperationFailedException,
                            PermissionDeniedException
courseId - Unique Id of the Course. Maps to cluId
DoesNotExistException - Course does not exist
InvalidParameterException - invalid course
MissingParameterException - missing Course
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
List<FormatInfo> getCourseFormats(String courseId)
                                  throws DoesNotExistException,
                                         InvalidParameterException,
                                         MissingParameterException,
                                         OperationFailedException,
                                         PermissionDeniedException
courseId - Unique Id of the Course. Maps to cluId
DoesNotExistException - Course does not exist
InvalidParameterException - invalid courseId
MissingParameterException - invalid courseId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
List<ActivityInfo> getCourseActivities(String formatId)
                                       throws DoesNotExistException,
                                              InvalidParameterException,
                                              MissingParameterException,
                                              OperationFailedException,
                                              PermissionDeniedException
formatId - Unique Id of the Format. Maps to cluId
DoesNotExistException - Format does not exist
InvalidParameterException - invalid format
MissingParameterException - missing Format
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
List<LoDisplayInfo> getCourseLos(String courseId)
                                 throws DoesNotExistException,
                                        InvalidParameterException,
                                        MissingParameterException,
                                        OperationFailedException,
                                        PermissionDeniedException
courseId - Unique Id of the Course. Maps to cluId
DoesNotExistException - Course does not exist
InvalidParameterException - invalid courseId
MissingParameterException - invalid courseId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
List<StatementTreeViewInfo> getCourseStatements(String courseId,
                                                String nlUsageTypeKey,
                                                String language)
                                                throws DoesNotExistException,
                                                       InvalidParameterException,
                                                       MissingParameterException,
                                                       OperationFailedException,
                                                       PermissionDeniedException
courseId - Unique Id of the Course. Maps to cluIdnlUsageTypeKey - Natural language usage type key (context)language - Translation language e.g en, es, gr
DoesNotExistException - Course does not exist
InvalidParameterException - invalid courseId
MissingParameterException - invalid courseId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
CourseInfo createCourse(CourseInfo courseInfo)
                        throws AlreadyExistsException,
                               DataValidationErrorException,
                               InvalidParameterException,
                               MissingParameterException,
                               OperationFailedException,
                               PermissionDeniedException,
                               VersionMismatchException,
                               DoesNotExistException,
                               CircularRelationshipException,
                               DependentObjectsExistException,
                               UnsupportedActionException
courseInfo - courseInfo
AlreadyExistsException - The Course already exists
DataValidationErrorException - One or more values invalid for this operation
InvalidParameterException - invalid course
MissingParameterException - missing Course
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
VersionMismatchException
DependentObjectsExistException
CircularRelationshipException
DoesNotExistException
UnsupportedActionException
CourseInfo updateCourse(CourseInfo courseInfo)
                        throws DataValidationErrorException,
                               DoesNotExistException,
                               InvalidParameterException,
                               MissingParameterException,
                               VersionMismatchException,
                               OperationFailedException,
                               PermissionDeniedException,
                               AlreadyExistsException,
                               CircularRelationshipException,
                               DependentObjectsExistException,
                               UnsupportedActionException,
                               UnsupportedOperationException,
                               CircularReferenceException
courseInfo - courseInfo
DataValidationErrorException - One or more values invalid for this operation
DoesNotExistException - course not found
InvalidParameterException - invalid course
MissingParameterException - missing course
VersionMismatchException - The action was attempted on an out of date version.
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
DependentObjectsExistException
CircularRelationshipException
AlreadyExistsException
UnsupportedActionException
CircularReferenceException
UnsupportedOperationException
StatusInfo deleteCourse(String courseId)
                        throws DoesNotExistException,
                               InvalidParameterException,
                               MissingParameterException,
                               OperationFailedException,
                               PermissionDeniedException,
                               VersionMismatchException,
                               DataValidationErrorException,
                               AlreadyExistsException,
                               CircularRelationshipException,
                               DependentObjectsExistException,
                               UnsupportedActionException,
                               UnsupportedOperationException,
                               CircularReferenceException
courseId - identifier for Course.Maps to cluId
DoesNotExistException - Course does not exist
InvalidParameterException - invalid courseId
MissingParameterException - invalid courseId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
VersionMismatchException
DependentObjectsExistException
CircularRelationshipException
AlreadyExistsException
DataValidationErrorException
UnsupportedActionException
CircularReferenceException
UnsupportedOperationException
StatementTreeViewInfo createCourseStatement(String courseId,
                                            StatementTreeViewInfo statementTreeViewInfo)
                                            throws DoesNotExistException,
                                                   InvalidParameterException,
                                                   MissingParameterException,
                                                   OperationFailedException,
                                                   PermissionDeniedException,
                                                   DataValidationErrorException
courseId - Unique Id of the Course. Maps to cluIdstatementTreeViewInfoList - a Statementree Structures
DoesNotExistException - Course does not exist
InvalidParameterException - invalid courseId
MissingParameterException - invalid courseId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
DataValidationErrorException
StatementTreeViewInfo updateCourseStatement(String courseId,
                                            StatementTreeViewInfo statementTreeViewInfo)
                                            throws DoesNotExistException,
                                                   InvalidParameterException,
                                                   MissingParameterException,
                                                   OperationFailedException,
                                                   PermissionDeniedException,
                                                   DataValidationErrorException,
                                                   CircularReferenceException,
                                                   VersionMismatchException
courseId - Unique Id of the Course. Maps to cluIdstatementTreeViewInfoList - a Statementree Structures
DoesNotExistException - Course does not exist
InvalidParameterException - invalid courseId
MissingParameterException - invalid courseId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
VersionMismatchException
CircularReferenceException
DataValidationErrorException
StatusInfo deleteCourseStatement(String courseId,
                                 StatementTreeViewInfo statementTreeViewInfo)
                                 throws DoesNotExistException,
                                        InvalidParameterException,
                                        MissingParameterException,
                                        OperationFailedException,
                                        PermissionDeniedException
courseId - Unique Id of the Course. Maps to cluIdstatementTreeViewInfoList - a Statementree Structures
DoesNotExistException - Course does not exist
InvalidParameterException - invalid courseId
MissingParameterException - invalid courseId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
List<ValidationResultInfo> validateCourse(String validationType,
                                          CourseInfo courseInfo)
                                          throws InvalidParameterException,
                                                 MissingParameterException,
                                                 OperationFailedException
validationType - identifier of the extent of validationcourseInfo - Course to be validated
DoesNotExistException - Course does not exist
InvalidParameterException - invalid courseId
MissingParameterException - invalid courseId
OperationFailedException - unable to complete request
List<ValidationResultInfo> validateCourseStatement(String courseId,
                                                   StatementTreeViewInfo statementTreeViewInfo)
                                                   throws InvalidParameterException,
                                                          MissingParameterException,
                                                          OperationFailedException
courseId - Unique Id of the Course. Maps to cluIdstatementTreeViewInfoList - a Statementree Structures
DoesNotExistException - Course or StementTreeView does not exist
InvalidParameterException - invalid courseId or stratement tree view Id
MissingParameterException - invalid courseId or statement tree view Id
OperationFailedException - unable to complete request
CourseInfo createNewCourseVersion(String courseId,
                                  String versionComment)
                                  throws DataValidationErrorException,
                                         DoesNotExistException,
                                         InvalidParameterException,
                                         MissingParameterException,
                                         OperationFailedException,
                                         PermissionDeniedException,
                                         VersionMismatchException
courseId - identifier for the Course to be versionedversionComment - comment for the current version
DataValidationErrorException - One or more values invalid for this operation
DoesNotExistException - courseId not found
InvalidParameterException - invalid courseId
MissingParameterException - missing courseId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
VersionMismatchException - The action was attempted on an out of date version
StatusInfo setCurrentCourseVersion(String courseVersionId,
                                   Date currentVersionStart)
                                   throws DoesNotExistException,
                                          InvalidParameterException,
                                          MissingParameterException,
                                          IllegalVersionSequencingException,
                                          OperationFailedException,
                                          PermissionDeniedException
courseVersionId - Version Specific Id of the CoursecurrentVersionStart - Date when this course becomes current. Must be in the future and be after the most current course's start date.
DoesNotExistException - courseVersionId not found
InvalidParameterException - invalid courseVersionId, previousState, newState
MissingParameterException - missing courseVersionId, previousState, newState
IllegalVersionSequencingException - a Course with higher sequence number from the one provided is marked current
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||