org.kuali.student.lum.program.service
Interface ProgramService

All Superinterfaces:
DictionaryService, SearchService, VersionManagementService
All Known Implementing Classes:
ProgramServiceImpl

public interface ProgramService
extends DictionaryService, SearchService, VersionManagementService


Method Summary
 CoreProgramInfo createCoreProgram(CoreProgramInfo coreProgramInfo)
          Creates a Core Program
 CredentialProgramInfo createCredentialProgram(CredentialProgramInfo credentialProgramInfo)
          Creates a Credential Program
 HonorsProgramInfo createHonorsProgram(HonorsProgramInfo honorsProgramInfo)
          Creates a Honors Program
 MajorDisciplineInfo createMajorDiscipline(MajorDisciplineInfo majorDisciplineInfo)
          Creates a Major Discipline Program
 MinorDisciplineInfo createMinorDiscipline(MinorDisciplineInfo minorDisciplineInfo)
          Creates a Minor Discipline Program
 CoreProgramInfo createNewCoreProgramVersion(String coreProgramId, String versionComment)
          Creates a new Core Program version based on the current Core Program
 CredentialProgramInfo createNewCredentialProgramVersion(String credentialProgramId, String versionComment)
          Creates a new Credential Program version based on the current Credential Program
 MajorDisciplineInfo createNewMajorDisciplineVersion(String majorDisciplineId, String versionComment)
          Creates a new Major Discipline version based on the current Major
 ProgramRequirementInfo createProgramRequirement(ProgramRequirementInfo programRequirementInfo)
          Creates a Program Requirement
 StatusInfo deleteCoreProgram(String coreProgramId)
          Deletes a Core Program
 StatusInfo deleteCredentialProgram(String credentialProgramId)
          Deletes a Credential Program
 StatusInfo deleteHonorsProgram(String honorsProgramId)
          Deletes a Honors Program
 StatusInfo deleteMajorDiscipline(String majorDisciplineId)
          Deletes a Major Discipline
 StatusInfo deleteMinorDiscipline(String minorDisciplineId)
          Deletes a Minor Discipline
 StatusInfo deleteProgramRequirement(String programRequirementId)
          Deletes a Program Requirement
 CoreProgramInfo getCoreProgram(String coreProgramId)
          Retrieves a Core Program
 CredentialProgramInfo getCredentialProgram(String credentialProgramId)
          Retrieves a CredentialProgram
 LuTypeInfo getCredentialProgramType(String credentialProgramTypeKey)
          Retrieves information about a credential program type
 List<LuTypeInfo> getCredentialProgramTypes()
          Retrieves the list of credential program types
 List<String> getHonorsByCredentialProgramType(String programType)
          Retrieves the list of Honors Program Program a given Credential Program Type.
 HonorsProgramInfo getHonorsProgram(String honorsProgramId)
          Retrieves a HonorsProgram
 MajorDisciplineInfo getMajorDiscipline(String majorDisciplineId)
          Retrieves a MajorDiscipline
 List<String> getMajorIdsByCredentialProgramType(String programType)
          Retrieves the list of Major Discipline identifiers a given Credential Program Type.
 MinorDisciplineInfo getMinorDiscipline(String minorDisciplineId)
          Retrieves a MinorDiscipline
 List<String> getMinorsByCredentialProgramType(String programType)
          Retrieves the list of Minor Discipline Program a given Credential Program Type.
 ProgramRequirementInfo getProgramRequirement(String programRequirementId, String nlUsageTypeKey, String language)
          Retrieves a ProgramRequirement
 List<ProgramVariationInfo> getVariationsByMajorDisciplineId(String majorDisciplineId)
          Retrieves a list of program variations for a particular major
 StatusInfo setCurrentCoreProgramVersion(String coreProgramId, Date currentVersionStart)
          Sets a specific version of the Core Program as current.
 StatusInfo setCurrentCredentialProgramVersion(String credentialProgramId, Date currentVersionStart)
          Sets a specific version of the Credential Program as current.
 StatusInfo setCurrentMajorDisciplineVersion(String majorDisciplineId, Date currentVersionStart)
          Sets a specific version of the Major as current.
 CoreProgramInfo updateCoreProgram(CoreProgramInfo coreProgramInfo)
          Updates a Core Program
 CredentialProgramInfo updateCredentialProgram(CredentialProgramInfo credentialProgramInfo)
          Updates a Credential Program
 HonorsProgramInfo updateHonorsProgram(HonorsProgramInfo honorsProgramInfo)
          Updates a Honors Program
 MajorDisciplineInfo updateMajorDiscipline(MajorDisciplineInfo majorDisciplineInfo)
          Updates a Major Discipline
 MinorDisciplineInfo updateMinorDiscipline(MinorDisciplineInfo minorDisciplineInfo)
          Updates a Minor Discipline
 ProgramRequirementInfo updateProgramRequirement(ProgramRequirementInfo programRequirementInfo)
          Updates a Program Requirement
 List<ValidationResultInfo> validateCoreProgram(String validationType, CoreProgramInfo coreProgramInfo)
          Validates a Core Program against its data dictionary
 List<ValidationResultInfo> validateCredentialProgram(String validationType, CredentialProgramInfo credentialProgramInfo)
          Validates a Credential Program against its data dictionary
 List<ValidationResultInfo> validateHonorsProgram(String validationType, HonorsProgramInfo honorsProgramInfo)
          Validates a Honors Program against its data dictionary
 List<ValidationResultInfo> validateMajorDiscipline(String validationType, MajorDisciplineInfo majorDisciplineInfo)
          Validates a Major discipline against its data dictionary
 List<ValidationResultInfo> validateMinorDiscipline(String validationType, MinorDisciplineInfo minorDisciplineInfo)
          Validates a Minor discipline against its data dictionary
 List<ValidationResultInfo> validateProgramRequirement(String validationType, ProgramRequirementInfo programRequirementInfo)
          Validates a Program Requirement against its data dictionary
 
Methods inherited from interface org.kuali.student.common.dictionary.service.DictionaryService
getObjectStructure, getObjectTypes
 
Methods inherited from interface org.kuali.student.common.search.service.SearchService
getSearchCriteriaType, getSearchCriteriaTypes, getSearchResultType, getSearchResultTypes, getSearchType, getSearchTypes, getSearchTypesByCriteria, getSearchTypesByResult, search
 
Methods inherited from interface org.kuali.student.common.versionmanagement.service.VersionManagementService
getCurrentVersion, getCurrentVersionOnDate, getFirstVersion, getLatestVersion, getVersionBySequenceNumber, getVersions, getVersionsInDateRange
 

Method Detail

getCredentialProgramTypes

List<LuTypeInfo> getCredentialProgramTypes()
                                           throws OperationFailedException
Retrieves the list of credential program types

Returns:
list of credential program type information
Throws:
OperationFailedException - unable to complete request

getCredentialProgramType

LuTypeInfo getCredentialProgramType(String credentialProgramTypeKey)
                                    throws DoesNotExistException,
                                           InvalidParameterException,
                                           MissingParameterException,
                                           OperationFailedException
Retrieves information about a credential program type

Parameters:
credentialProgramTypeKey - Key of the Credential Program Type
Returns:
information about a Credential Program Type
Throws:
DoesNotExistException - credentialProgramType not found
InvalidParameterException - invalid credentialProgramType
MissingParameterException - missing credentialProgramType
OperationFailedException - unable to complete request

getCredentialProgram

CredentialProgramInfo getCredentialProgram(String credentialProgramId)
                                           throws DoesNotExistException,
                                                  InvalidParameterException,
                                                  MissingParameterException,
                                                  OperationFailedException,
                                                  PermissionDeniedException
Retrieves a CredentialProgram

Parameters:
credentialProgramId - Unique Id of the CredentialProgram. Maps to cluId
Returns:
the created Credential Program
Throws:
DoesNotExistException - CredentialProgram does not exist
InvalidParameterException - invalid Credential Program
MissingParameterException - missing Credential Program
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getMajorDiscipline

MajorDisciplineInfo getMajorDiscipline(String majorDisciplineId)
                                       throws DoesNotExistException,
                                              InvalidParameterException,
                                              MissingParameterException,
                                              OperationFailedException,
                                              PermissionDeniedException
Retrieves a MajorDiscipline

Parameters:
majorDisciplineId - Unique Id of the MajorDiscipline. Maps to cluId
Returns:
the created MajorDiscipline
Throws:
DoesNotExistException - MajorDiscipline does not exist
InvalidParameterException - invalid MajorDiscipline
MissingParameterException - missing MajorDiscipline
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getMajorIdsByCredentialProgramType

List<String> getMajorIdsByCredentialProgramType(String programType)
                                                throws DoesNotExistException,
                                                       InvalidParameterException,
                                                       MissingParameterException,
                                                       OperationFailedException
Retrieves the list of Major Discipline identifiers a given Credential Program Type.

Parameters:
programType - Type of Credential Program
Returns:
List of Major Discipline identifiers for the given Credential Program Type
Throws:
DoesNotExistException - program type not found
InvalidParameterException - invalid program type
MissingParameterException - program type is not specified
OperationFailedException - unable to complete request

getVariationsByMajorDisciplineId

List<ProgramVariationInfo> getVariationsByMajorDisciplineId(String majorDisciplineId)
                                                            throws DoesNotExistException,
                                                                   InvalidParameterException,
                                                                   MissingParameterException,
                                                                   OperationFailedException
Retrieves a list of program variations for a particular major

Parameters:
majorDisciplineId - Major Discipline Identifier
Returns:
list of program variations associated with the specified Major
Throws:
DoesNotExistException - Major not found
InvalidParameterException - invalid majorDisciplineId
MissingParameterException - majorDisciplineId not specified
OperationFailedException - unable to complete request

getMinorDiscipline

MinorDisciplineInfo getMinorDiscipline(String minorDisciplineId)
                                       throws DoesNotExistException,
                                              InvalidParameterException,
                                              MissingParameterException,
                                              OperationFailedException,
                                              PermissionDeniedException
Retrieves a MinorDiscipline

Parameters:
minorDisciplineId - Unique Id of the MinorDiscipline. Maps to cluId
Returns:
the created MinorDiscipline
Throws:
DoesNotExistException - MinorDiscipline does not exist
InvalidParameterException - invalid MinorDiscipline
MissingParameterException - missing MinorDiscipline
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getMinorsByCredentialProgramType

List<String> getMinorsByCredentialProgramType(String programType)
                                              throws DoesNotExistException,
                                                     InvalidParameterException,
                                                     MissingParameterException,
                                                     OperationFailedException
Retrieves the list of Minor Discipline Program a given Credential Program Type.

Parameters:
programType - Type of Credential Program
Returns:
List of Minor Disciplines for the given Credential Program Type
Throws:
DoesNotExistException - program type not found
InvalidParameterException - invalid program type
MissingParameterException - program type is not specified
OperationFailedException - unable to complete request

getHonorsProgram

HonorsProgramInfo getHonorsProgram(String honorsProgramId)
                                   throws DoesNotExistException,
                                          InvalidParameterException,
                                          MissingParameterException,
                                          OperationFailedException,
                                          PermissionDeniedException
Retrieves a HonorsProgram

Parameters:
honorsProgramId - Unique Id of the HonorsProgram. Maps to cluId
Returns:
the created Honors Program
Throws:
DoesNotExistException - HonorsProgram does not exist
InvalidParameterException - invalid Honors Program
MissingParameterException - missing Honors Program
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getHonorsByCredentialProgramType

List<String> getHonorsByCredentialProgramType(String programType)
                                              throws DoesNotExistException,
                                                     InvalidParameterException,
                                                     MissingParameterException,
                                                     OperationFailedException
Retrieves the list of Honors Program Program a given Credential Program Type.

Parameters:
programType - Type of Credential Program
Returns:
List of Honors Programs for the given Credential Program Type
Throws:
DoesNotExistException - program type not found
InvalidParameterException - invalid program type
MissingParameterException - program type is not specified
OperationFailedException - unable to complete request

getCoreProgram

CoreProgramInfo getCoreProgram(String coreProgramId)
                               throws DoesNotExistException,
                                      InvalidParameterException,
                                      MissingParameterException,
                                      OperationFailedException,
                                      PermissionDeniedException
Retrieves a Core Program

Parameters:
coreProgramId - Unique Id of the Core Program. Maps to cluId
Returns:
the Core Program
Throws:
DoesNotExistException - Program Requirement does not exist
InvalidParameterException - invalid Program Requirement
MissingParameterException - missing Program Requirement
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

getProgramRequirement

ProgramRequirementInfo getProgramRequirement(String programRequirementId,
                                             String nlUsageTypeKey,
                                             String language)
                                             throws DoesNotExistException,
                                                    InvalidParameterException,
                                                    MissingParameterException,
                                                    OperationFailedException,
                                                    PermissionDeniedException
Retrieves a ProgramRequirement

Parameters:
programRequirementId - Unique Id of the ProgramRequirement. Maps to cluId
nlUsageTypeKey - Natural language usage type key (context)
language - Translation language e.g en, es, gr
Returns:
the Program Requirement
Throws:
DoesNotExistException - Program Requirement does not exist
InvalidParameterException - invalid Program Requirement
MissingParameterException - missing Program Requirement
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

createCredentialProgram

CredentialProgramInfo createCredentialProgram(CredentialProgramInfo credentialProgramInfo)
                                              throws AlreadyExistsException,
                                                     DataValidationErrorException,
                                                     InvalidParameterException,
                                                     MissingParameterException,
                                                     OperationFailedException,
                                                     PermissionDeniedException
Creates a Credential Program

Parameters:
credentialProgramInfo - credentialProgramInfo
Returns:
the created Credential Program
Throws:
AlreadyExistsException - The Credential Program already exists
DataValidationErrorException - One or more values invalid for this operation
InvalidParameterException - invalid Credential Program
MissingParameterException - missing Credential Program
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

createNewCredentialProgramVersion

CredentialProgramInfo createNewCredentialProgramVersion(String credentialProgramId,
                                                        String versionComment)
                                                        throws DoesNotExistException,
                                                               InvalidParameterException,
                                                               MissingParameterException,
                                                               OperationFailedException,
                                                               PermissionDeniedException,
                                                               VersionMismatchException,
                                                               DataValidationErrorException
Creates a new Credential Program version based on the current Credential Program

Parameters:
credentialProgramId - identifier for the Credential Program to be versioned
versionComment - comment for the current version
Returns:
the new versioned Credential Program information
Throws:
DoesNotExistException - Credential Program does not exist
InvalidParameterException - invalid credentialProgramId
MissingParameterException - invalid credentialProgramId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
VersionMismatchException - The action was attempted on an out of date version
DataValidationErrorException

setCurrentCredentialProgramVersion

StatusInfo setCurrentCredentialProgramVersion(String credentialProgramId,
                                              Date currentVersionStart)
                                              throws DoesNotExistException,
                                                     InvalidParameterException,
                                                     MissingParameterException,
                                                     IllegalVersionSequencingException,
                                                     OperationFailedException,
                                                     PermissionDeniedException
Sets a specific version of the Credential Program as current. The sequence number must be greater than the existing current Credential Program version. This will truncate the current version's end date to the currentVersionStart param. If a Major exists which is set to become current in the future, that Major's currentVersionStart and CurrentVersionEnd will be nullified. The currentVersionStart must be in the future to prevent changing historic data.

Parameters:
coreProgramId - Version Specific Id of the Credential Program
currentVersionStart - Date when this Credential Program becomes current. Must be in the future and be after the most current Credential Program's start date.
Returns:
status of the operation (success or failure)
Throws:
DoesNotExistException - Credential Program for credentialProgramId does not exist
InvalidParameterException - invalid credentialProgramId, currentVersionStart
MissingParameterException - invalid credentialProgramId
IllegalVersionSequencingException - a Credential Program with higher sequence number from the one provided is marked current
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

updateCredentialProgram

CredentialProgramInfo updateCredentialProgram(CredentialProgramInfo credentialProgramInfo)
                                              throws DataValidationErrorException,
                                                     DoesNotExistException,
                                                     InvalidParameterException,
                                                     MissingParameterException,
                                                     VersionMismatchException,
                                                     OperationFailedException,
                                                     PermissionDeniedException
Updates a Credential Program

Parameters:
credentialProgramInfo - credentialProgramInfo
Returns:
updated Credential Program
Throws:
DataValidationErrorException - One or more values invalid for this operation
DoesNotExistException - Credential Program not found
InvalidParameterException - invalid Credential Program
MissingParameterException - missing Credential Program
VersionMismatchException - The action was attempted on an out of date version
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

deleteCredentialProgram

StatusInfo deleteCredentialProgram(String credentialProgramId)
                                   throws DoesNotExistException,
                                          InvalidParameterException,
                                          MissingParameterException,
                                          OperationFailedException,
                                          PermissionDeniedException
Deletes a Credential Program

Parameters:
credentialProgramId - identifier for credentialProgramId.Maps to cluId
Returns:
status of the operation (success or failure)
Throws:
DoesNotExistException - Credential Program does not exist
InvalidParameterException - invalid credentialProgramId
MissingParameterException - invalid credentialProgramId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

validateCredentialProgram

List<ValidationResultInfo> validateCredentialProgram(String validationType,
                                                     CredentialProgramInfo credentialProgramInfo)
                                                     throws InvalidParameterException,
                                                            MissingParameterException,
                                                            OperationFailedException
Validates a Credential Program against its data dictionary

Parameters:
validationType - identifier of the extent of validation
credentialProgramInfo - Credential Program information to be tested
Returns:
results from performing the validation
Throws:
InvalidParameterException - invalid validationTypeKey, cluInfo
MissingParameterException - missing validationTypeKey, cluInfo
OperationFailedException - unable to complete request

createMajorDiscipline

MajorDisciplineInfo createMajorDiscipline(MajorDisciplineInfo majorDisciplineInfo)
                                          throws AlreadyExistsException,
                                                 DataValidationErrorException,
                                                 InvalidParameterException,
                                                 MissingParameterException,
                                                 OperationFailedException,
                                                 PermissionDeniedException
Creates a Major Discipline Program

Parameters:
majorDisciplineInfo - majorDisciplineInfo
Returns:
the created Major Discipline
Throws:
AlreadyExistsException - The Major already exists
DataValidationErrorException - One or more values invalid for this operation
InvalidParameterException - invalid Major
MissingParameterException - missing Major
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

updateMajorDiscipline

MajorDisciplineInfo updateMajorDiscipline(MajorDisciplineInfo majorDisciplineInfo)
                                          throws DataValidationErrorException,
                                                 DoesNotExistException,
                                                 InvalidParameterException,
                                                 MissingParameterException,
                                                 VersionMismatchException,
                                                 OperationFailedException,
                                                 PermissionDeniedException
Updates a Major Discipline

Parameters:
majorDisciplineInfo - majorDisciplineInfo
Returns:
updated Major Discipline
Throws:
DataValidationErrorException - One or more values invalid for this operation
DoesNotExistException - Major not found
InvalidParameterException - invalid Major
MissingParameterException - missing Major
VersionMismatchException - The action was attempted on an out of date version
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

deleteMajorDiscipline

StatusInfo deleteMajorDiscipline(String majorDisciplineId)
                                 throws DoesNotExistException,
                                        InvalidParameterException,
                                        MissingParameterException,
                                        OperationFailedException,
                                        PermissionDeniedException
Deletes a Major Discipline

Parameters:
majorDisciplineId - identifier for majorDisciplineId.Maps to cluId
Returns:
status of the operation (success or failure)
Throws:
DoesNotExistException - Major does not exist
InvalidParameterException - invalid majorDisciplineId
MissingParameterException - invalid majorDisciplineId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

validateMajorDiscipline

List<ValidationResultInfo> validateMajorDiscipline(String validationType,
                                                   MajorDisciplineInfo majorDisciplineInfo)
                                                   throws InvalidParameterException,
                                                          MissingParameterException,
                                                          OperationFailedException
Validates a Major discipline against its data dictionary

Parameters:
validationType - identifier of the extent of validation
majorDisciplineInfo - Major discipline information to be tested
Returns:
results from performing the validation
Throws:
InvalidParameterException - invalid validationTypeKey, cluInfo
MissingParameterException - missing validationTypeKey, cluInfo
OperationFailedException - unable to complete request

createNewMajorDisciplineVersion

MajorDisciplineInfo createNewMajorDisciplineVersion(String majorDisciplineId,
                                                    String versionComment)
                                                    throws DoesNotExistException,
                                                           InvalidParameterException,
                                                           MissingParameterException,
                                                           OperationFailedException,
                                                           PermissionDeniedException,
                                                           VersionMismatchException,
                                                           DataValidationErrorException
Creates a new Major Discipline version based on the current Major

Parameters:
majorDisciplineId - identifier for the Major Discipline to be versioned
versionComment - comment for the current version
Returns:
the new versioned Major Discipline information
Throws:
DoesNotExistException - Major does not exist
InvalidParameterException - invalid majorDisciplineId
MissingParameterException - invalid majorDisciplineId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
VersionMismatchException - The action was attempted on an out of date version
DataValidationErrorException

setCurrentMajorDisciplineVersion

StatusInfo setCurrentMajorDisciplineVersion(String majorDisciplineId,
                                            Date currentVersionStart)
                                            throws DoesNotExistException,
                                                   InvalidParameterException,
                                                   MissingParameterException,
                                                   IllegalVersionSequencingException,
                                                   OperationFailedException,
                                                   PermissionDeniedException
Sets a specific version of the Major as current. The sequence number must be greater than the existing current Major version. This will truncate the current version's end date to the currentVersionStart param. If a Major exists which is set to become current in the future, that Major's currentVersionStart and CurrentVersionEnd will be nullified. The currentVersionStart must be in the future to prevent changing historic data.

Parameters:
majorDisciplineId - Version Specific Id of the Major Discipline
currentVersionStart - Date when this Major becomes current. Must be in the future and be after the most current major's start date.
Returns:
status of the operation (success or failure)
Throws:
DoesNotExistException - Major for majorVersionId does not exist
InvalidParameterException - invalid majorVersionId, currentVersionStart
MissingParameterException - invalid majorVersionId
IllegalVersionSequencingException - a Major with higher sequence number from the one provided is marked current
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

createMinorDiscipline

MinorDisciplineInfo createMinorDiscipline(MinorDisciplineInfo minorDisciplineInfo)
                                          throws AlreadyExistsException,
                                                 DataValidationErrorException,
                                                 InvalidParameterException,
                                                 MissingParameterException,
                                                 OperationFailedException,
                                                 PermissionDeniedException
Creates a Minor Discipline Program

Parameters:
minorDisciplineInfo - minorDisciplineInfo
Returns:
the created Minor Discipline
Throws:
AlreadyExistsException - The Minor already exists
DataValidationErrorException - One or more values invalid for this operation
InvalidParameterException - invalid Minor
MissingParameterException - missing Minor
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

updateMinorDiscipline

MinorDisciplineInfo updateMinorDiscipline(MinorDisciplineInfo minorDisciplineInfo)
                                          throws DataValidationErrorException,
                                                 DoesNotExistException,
                                                 InvalidParameterException,
                                                 MissingParameterException,
                                                 VersionMismatchException,
                                                 OperationFailedException,
                                                 PermissionDeniedException
Updates a Minor Discipline

Parameters:
minorDisciplineInfo - minorDisciplineInfo
Returns:
updated Minor Discipline
Throws:
DataValidationErrorException - One or more values invalid for this operation
DoesNotExistException - Minor not found
InvalidParameterException - invalid Minor
MissingParameterException - missing Minor
VersionMismatchException - The action was attempted on an out of date version
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

deleteMinorDiscipline

StatusInfo deleteMinorDiscipline(String minorDisciplineId)
                                 throws DoesNotExistException,
                                        InvalidParameterException,
                                        MissingParameterException,
                                        OperationFailedException,
                                        PermissionDeniedException
Deletes a Minor Discipline

Parameters:
minorDisciplineId - identifier for minorDisciplineId.Maps to cluId
Returns:
status of the operation (success or failure)
Throws:
DoesNotExistException - Minor does not exist
InvalidParameterException - invalid minorDisciplineId
MissingParameterException - invalid minorDisciplineId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

validateMinorDiscipline

List<ValidationResultInfo> validateMinorDiscipline(String validationType,
                                                   MinorDisciplineInfo minorDisciplineInfo)
                                                   throws InvalidParameterException,
                                                          MissingParameterException,
                                                          OperationFailedException
Validates a Minor discipline against its data dictionary

Parameters:
validationType - identifier of the extent of validation
minorDisciplineInfo - Minor discipline information to be tested
Returns:
results from performing the validation
Throws:
InvalidParameterException - invalid validationTypeKey, cluInfo
MissingParameterException - missing validationTypeKey, cluInfo
OperationFailedException - unable to complete request

createHonorsProgram

HonorsProgramInfo createHonorsProgram(HonorsProgramInfo honorsProgramInfo)
                                      throws AlreadyExistsException,
                                             DataValidationErrorException,
                                             InvalidParameterException,
                                             MissingParameterException,
                                             OperationFailedException,
                                             PermissionDeniedException
Creates a Honors Program

Parameters:
honorsProgramInfo - honorsProgramInfo
Returns:
the created Honors Program
Throws:
AlreadyExistsException - The Honors Program already exists
DataValidationErrorException - One or more values invalid for this operation
InvalidParameterException - invalid Honors Program
MissingParameterException - missing Honors Program
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

updateHonorsProgram

HonorsProgramInfo updateHonorsProgram(HonorsProgramInfo honorsProgramInfo)
                                      throws DataValidationErrorException,
                                             DoesNotExistException,
                                             InvalidParameterException,
                                             MissingParameterException,
                                             VersionMismatchException,
                                             OperationFailedException,
                                             PermissionDeniedException
Updates a Honors Program

Parameters:
honorsProgramInfo - honorsProgramInfo
Returns:
updated Honors Program
Throws:
DataValidationErrorException - One or more values invalid for this operation
DoesNotExistException - Honors Program not found
InvalidParameterException - invalid Honors Program
MissingParameterException - missing Honors Program
VersionMismatchException - The action was attempted on an out of date version
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

deleteHonorsProgram

StatusInfo deleteHonorsProgram(String honorsProgramId)
                               throws DoesNotExistException,
                                      InvalidParameterException,
                                      MissingParameterException,
                                      OperationFailedException,
                                      PermissionDeniedException
Deletes a Honors Program

Parameters:
honorsProgramId - identifier for honorsProgramId.Maps to cluId
Returns:
status of the operation (success or failure)
Throws:
DoesNotExistException - Honors Program does not exist
InvalidParameterException - invalid honorsProgramId
MissingParameterException - invalid honorsProgramId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

validateHonorsProgram

List<ValidationResultInfo> validateHonorsProgram(String validationType,
                                                 HonorsProgramInfo honorsProgramInfo)
                                                 throws InvalidParameterException,
                                                        MissingParameterException,
                                                        OperationFailedException
Validates a Honors Program against its data dictionary

Parameters:
validationType - identifier of the extent of validation
honorsProgramInfo - Honors Program information to be tested
Returns:
results from performing the validation
Throws:
InvalidParameterException - invalid validationTypeKey, cluInfo
MissingParameterException - missing validationTypeKey, cluInfo
OperationFailedException - unable to complete request

createCoreProgram

CoreProgramInfo createCoreProgram(CoreProgramInfo coreProgramInfo)
                                  throws AlreadyExistsException,
                                         DataValidationErrorException,
                                         InvalidParameterException,
                                         MissingParameterException,
                                         OperationFailedException,
                                         PermissionDeniedException
Creates a Core Program

Parameters:
coreProgramInfo - coreProgramInfo
Returns:
the created Core Program
Throws:
AlreadyExistsException - The Core Program already exists
DataValidationErrorException - One or more values invalid for this operation
InvalidParameterException - invalid Core Program
MissingParameterException - missing Core Program
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

createNewCoreProgramVersion

CoreProgramInfo createNewCoreProgramVersion(String coreProgramId,
                                            String versionComment)
                                            throws DoesNotExistException,
                                                   InvalidParameterException,
                                                   MissingParameterException,
                                                   OperationFailedException,
                                                   PermissionDeniedException,
                                                   VersionMismatchException,
                                                   DataValidationErrorException
Creates a new Core Program version based on the current Core Program

Parameters:
coreProgramId - identifier for the Core Program to be versioned
versionComment - comment for the current version
Returns:
the new versioned Core Program information
Throws:
DoesNotExistException - Core Program does not exist
InvalidParameterException - invalid coreProgramId
MissingParameterException - invalid coreProgramId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure
VersionMismatchException - The action was attempted on an out of date version
DataValidationErrorException

setCurrentCoreProgramVersion

StatusInfo setCurrentCoreProgramVersion(String coreProgramId,
                                        Date currentVersionStart)
                                        throws DoesNotExistException,
                                               InvalidParameterException,
                                               MissingParameterException,
                                               IllegalVersionSequencingException,
                                               OperationFailedException,
                                               PermissionDeniedException
Sets a specific version of the Core Program as current. The sequence number must be greater than the existing current Core Program version. This will truncate the current version's end date to the currentVersionStart param. If a Major exists which is set to become current in the future, that Major's currentVersionStart and CurrentVersionEnd will be nullified. The currentVersionStart must be in the future to prevent changing historic data.

Parameters:
coreProgramId - Version Specific Id of the Core Program
currentVersionStart - Date when this Core Program becomes current. Must be in the future and be after the most current major's start date.
Returns:
status of the operation (success or failure)
Throws:
DoesNotExistException - Core Program for coreProgramId does not exist
InvalidParameterException - invalid coreProgramId, currentVersionStart
MissingParameterException - invalid coreProgramId
IllegalVersionSequencingException - a CoreProgram with higher sequence number from the one provided is marked current
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

updateCoreProgram

CoreProgramInfo updateCoreProgram(CoreProgramInfo coreProgramInfo)
                                  throws DataValidationErrorException,
                                         DoesNotExistException,
                                         InvalidParameterException,
                                         MissingParameterException,
                                         VersionMismatchException,
                                         OperationFailedException,
                                         PermissionDeniedException
Updates a Core Program

Parameters:
coreProgramInfo - coreProgramInfo
Returns:
updated Core Program
Throws:
DataValidationErrorException - One or more values invalid for this operation
DoesNotExistException - Core Program not found
InvalidParameterException - invalid Core Program
MissingParameterException - missing Core Program
VersionMismatchException - The action was attempted on an out of date version
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

deleteCoreProgram

StatusInfo deleteCoreProgram(String coreProgramId)
                             throws DoesNotExistException,
                                    InvalidParameterException,
                                    MissingParameterException,
                                    OperationFailedException,
                                    PermissionDeniedException
Deletes a Core Program

Parameters:
coreProgramId - identifier for coreProgramId.Maps to cluId
Returns:
status of the operation (success or failure)
Throws:
DoesNotExistException - Core Program does not exist
InvalidParameterException - invalid coreProgramId
MissingParameterException - invalid coreProgramId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

validateCoreProgram

List<ValidationResultInfo> validateCoreProgram(String validationType,
                                               CoreProgramInfo coreProgramInfo)
                                               throws InvalidParameterException,
                                                      MissingParameterException,
                                                      OperationFailedException
Validates a Core Program against its data dictionary

Parameters:
validationType - identifier of the extent of validation
coreProgramInfo - Core Program information to be tested
Returns:
results from performing the validation
Throws:
InvalidParameterException - invalid validationTypeKey, cluInfo
MissingParameterException - missing validationTypeKey, cluInfo
OperationFailedException - unable to complete request

createProgramRequirement

ProgramRequirementInfo createProgramRequirement(ProgramRequirementInfo programRequirementInfo)
                                                throws AlreadyExistsException,
                                                       DataValidationErrorException,
                                                       InvalidParameterException,
                                                       MissingParameterException,
                                                       OperationFailedException,
                                                       PermissionDeniedException
Creates a Program Requirement

Parameters:
programRequirementInfo - programRequirementInfo
Returns:
the created Program Requirement
Throws:
AlreadyExistsException - The Program Requirement already exists
DataValidationErrorException - One or more values invalid for this operation
InvalidParameterException - invalid Program Requirement
MissingParameterException - missing Program Requirement
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

updateProgramRequirement

ProgramRequirementInfo updateProgramRequirement(ProgramRequirementInfo programRequirementInfo)
                                                throws DataValidationErrorException,
                                                       DoesNotExistException,
                                                       InvalidParameterException,
                                                       MissingParameterException,
                                                       VersionMismatchException,
                                                       OperationFailedException,
                                                       PermissionDeniedException
Updates a Program Requirement

Parameters:
programRequirementInfo - programRequirementInfo
Returns:
updated Program Requirement
Throws:
DataValidationErrorException - One or more values invalid for this operation
DoesNotExistException - Program Requirement not found
InvalidParameterException - invalid Program Requirement
MissingParameterException - missing Program Requirement
VersionMismatchException - The action was attempted on an out of date version
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

deleteProgramRequirement

StatusInfo deleteProgramRequirement(String programRequirementId)
                                    throws DoesNotExistException,
                                           InvalidParameterException,
                                           MissingParameterException,
                                           OperationFailedException,
                                           PermissionDeniedException
Deletes a Program Requirement

Parameters:
programRequirementId - identifier for programRequirementId.Maps to cluId
Returns:
status of the operation (success or failure)
Throws:
DoesNotExistException - Program Requirement does not exist
InvalidParameterException - invalid programRequirementId
MissingParameterException - invalid programRequirementId
OperationFailedException - unable to complete request
PermissionDeniedException - authorization failure

validateProgramRequirement

List<ValidationResultInfo> validateProgramRequirement(String validationType,
                                                      ProgramRequirementInfo programRequirementInfo)
                                                      throws InvalidParameterException,
                                                             MissingParameterException,
                                                             OperationFailedException
Validates a Program Requirement against its data dictionary

Parameters:
validationType - identifier of the extent of validation
programRequirementInfo - Program Requirement information to be tested
Returns:
results from performing the validation
Throws:
InvalidParameterException - invalid validationTypeKey, cluInfo
MissingParameterException - missing validationTypeKey, cluInfo
OperationFailedException - unable to complete request


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