Interface RequisiteAdminSession
- All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession
This session creates and removes requisites and their requirement components. The data for create and update is provided via their respective forms.
The view of the administrative methods defined in this session is
determined by the provider. For an instance of this session where no
course catalog has been specified, it may not be parallel to the
RequisiteLookupSession . For example, a default
RequisiteLookupSession may view the entire course catalog hierarchy while
the default RequisiteAdminSession uses an isolated
CourseCatalog to create new Requisites or a specific course
catalog to operate on a predetermined set of Requisites . Another
scenario is a federated provider who does not wish to permit
administrative operations for the federation unaware.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAltRequisiteToAssessmentRequirement(Id assessmentRequirementId, Id requisiteId) Adds an alternativeRequisiteto anAssessmentRequirement.voidaddAltRequisiteToAwardRequirement(Id awardRequirementId, Id requisiteId) Adds an alternativeRequisiteto anAwardRequirement.voidaddAltRequisiteToCourseRequirement(Id courseRequirementId, Id requisiteId) Adds an alternativeRequisiteto aCourseRequirement.voidaddAltRequisiteToCredentialRequirement(Id credentialRequirementId, Id requisiteId) Adds an alternativeRequisiteto aCredentialRequirement.voidaddAltRequisiteToLearningObjectiveRequirement(Id learningObjectiveRequirementId, Id requisiteId) Adds an alternativeRequisiteto aLearningObjectiveRequirement.voidaddAltRequisiteToProgramRequirement(Id programRequirementId, Id requisiteId) Adds an alternativeRequisiteto aProgramRequirement.voidaddAssessmentRequirement(Id requisiteId, Id assessmentRequirementId) Adds anAssessmentRequirementto aRequisite.voidaddAwardRequirement(Id requisiteId, Id awardRequirementId) Adds anAwardRequirementto aRequisite.voidaddCourseRequirement(Id requisiteId, Id courseRequirementId) Adds aCourseRequirementto aRequisite.voidaddCredentialRequirement(Id requisiteId, Id credentialRequirementId) Adds aCredentialRequirementto aRequisite.voidaddLearningObjectiveRequirement(Id requisiteId, Id learningObjectiveRequirementId) Adds aLearningObjectiveRequirementto aRequisite.voidaddProgramRequirement(Id requisiteId, Id programRequirementId) Adds aProgramRequirementto aRequisite.voidaddRequisiteOption(Id requisiteId, Id requisiteOptionId) Adds aRequisiteas an option to aRequisite.voidaliasAssessmentRequirement(Id assessmentRequirementId, Id aliasId) Adds anIdto anAssessmentRequirementfor the purpose of creating compatibility.voidaliasAwardRequirement(Id awardRequirementId, Id aliasId) Adds anIdto anAwardRequirementfor the purpose of creating compatibility.voidaliasCourseRequirement(Id courseRequirementId, Id aliasId) Adds anIdto aCourseRequirementfor the purpose of creating compatibility.voidaliasCredentialRequirement(Id credentialRequirementId, Id aliasId) Adds anIdto aCredentialRequirementfor the purpose of creating compatibility.voidaliasLearningObjectiveRequirement(Id learningObjectiveRequirementId, Id aliasId) Adds anIdto aLearningObjectiveRequirementfor the purpose of creating compatibility.voidaliasProgramRequirement(Id programRequirementId, Id aliasId) Adds anIdto aProgramRequirementfor the purpose of creating compatibility.voidaliasRequisite(Id requisiteId, Id aliasId) Adds anIdto aRequisitefor the purpose of creating compatibility.booleanTests if this user can createAssessmentRequirements.booleancanCreateAssessmentRequirementWithRecordTypes(Type[] assessmentRequirementRecordTypes) Tests if this user can create a singleAssessmentRequirementusing the desired record types.booleanTests if this user can createAwardRequirements.booleancanCreateAwardRequirementWithRecordTypes(Type[] awardRequirementRecordTypes) Tests if this user can create a singleAwardRequirementusing the desired record types.booleanTests if this user can createCourseRequirements.booleancanCreateCourseRequirementWithRecordTypes(Type[] courseRequirementRecordTypes) Tests if this user can create a singleCourseRequirementusing the desired record types.booleanTests if this user can createCredentialRequirements.booleancanCreateCredentiaRequirementWithRecordTypes(Type[] credentialRequirementRecordTypes) Tests if this user can create a singleCredentialRequirementusing the desired record types.booleanTests if this user can createLearningObjectiveRequirements.booleancanCreateLearningObjectiveRequirementWithRecordTypes(Type[] learningObjectiveRequirementRecordTypes) Tests if this user can create a singleLearningObjectiveRequirementusing the desired record types.booleanTests if this user can createProgramRequirements.booleancanCreateProgramRequirementWithRecordTypes(Type[] programRequirementRecordTypes) Tests if this user can create a singleProgramRequirementusing the desired record types.booleanTests if this user can createRequisites.booleancanCreateRequisiteWithRecordTypes(Type[] requisiteRecordTypes) Tests if this user can create a singlePorgramusing the desired record types.booleancanDeleteAssessmentRequirement(Id assessmentRequirementId) Tests if this user can delete a specifiedAssessmentRequirement.booleanTests if this user can deleteAssessmentRequirements.booleancanDeleteAwardRequirement(Id awardRequirementId) Tests if this user can delete a specifiedAwardRequirement.booleanTests if this user can deleteAwardRequirements.booleancanDeleteCourseRequirement(Id courseRequirementId) Tests if this user can delete a specifiedCourseRequirement.booleanTests if this user can deleteCourseRequirements.booleancanDeleteCredentialRequirement(Id credentialRequirementId) Tests if this user can delete a specifiedCredentialRequirement.booleanTests if this user can deleteCredentialRequirements.booleancanDeleteLearningObjectiveRequirement(Id learningObjectiveRequirementId) Tests if this user can delete a specifiedLearningObjectiveRequirement.booleanTests if this user can deleteLearningObjectiveRequirements.booleancanDeleteProgramRequirement(Id programRequirementId) Tests if this user can delete a specifiedProgramRequirement.booleanTests if this user can deleteProgramRequirements.booleancanDeleteRequisite(Id requisiteId) Tests if this user can delete a specifiedRequisite.booleanTests if this user can deleteRequisites.booleanTests if this user can manageIdaliases forAssessmentRequirements.booleanTests if this user can manageIdaliases forAwardRequirements.booleanTests if this user can manageIdaliases forCourseRequirements.booleanTests if this user can manageIdaliases forCredentialRequirements.booleanTests if this user can manageIdaliases forLearningObjectiveRequirements.booleanTests if this user can manageIdaliases forProgramRequirements.booleanTests if this user can manageIdaliases forRequisites.booleancanUpdateAssessmentRequirement(Id assessmentRequirementId) Tests if this user can update a specifiedAssessmentRequirement.booleanTests if this user can updateAssessmentRequirements.booleancanUpdateAwardRequirement(Id awardRequirementId) Tests if this user can update a specifiedAwardRequirement.booleanTests if this user can updateAwardRequirements.booleancanUpdateCourseRequirement(Id courseRequirementId) Tests if this user can update a specifiedCourseRequirement.booleanTests if this user can updateCourseRequirements.booleancanUpdateCredentialRequirement(Id credentialRequirementId) Tests if this user can update a specifiedCredentialRequirement.booleanTests if this user can updateCredentialRequirements.booleancanUpdateLearningObjectiveRequirement(Id learningObjectiveRequirementId) Tests if this user can update a specifiedLearningObjectiveRequirement.booleanTests if this user can updateLearningObjectiveRequirements.booleancanUpdateProgramRequirement(Id programRequirementId) Tests if this user can update a specifiedProgramRequirement.booleanTests if this user can updateProgramRequirements.booleanTests if this user can updateRequisites.createAssessmentRequirement(Id assessmentId, AssessmentRequirementForm assessmentRequirementForm) Creates a newAssessmentRequirement.createAwardRequirement(Id awardId, AwardRequirementForm awardRequirementForm) Creates a newAwardRequirement.createCourseRequirement(Id courseId, CourseRequirementForm courseRequirementForm) Creates a newCourseRequirement.createCredentialRequirement(Id credentialId, CredentialRequirementForm credentialRequirementForm) Creates a newCredentialRequirement.createLearningObjectiveRequirement(Id objectiveId, LearningObjectiveRequirementForm learningObjectiveRequirementForm) Creates a newLearningObjectiveRequirement.createProgramRequirement(Id programId, ProgramRequirementForm programRequirementForm) Creates a newProgramRequirement.createRequisite(RequisiteForm requisiteForm) Creates a newRequisite.voiddeleteAssessmentRequirement(Id assessmentRequirementId) Deletes anAssessmentRequirement.voidDeletes allAssessmentRequirementsin thisCourseCatalog.voiddeleteAwardRequirement(Id awardRequirementId) Deletes anAwardRequirement.voidDeletes allAwardRequirementsin thisCourseCatalog.voiddeleteCourseRequirement(Id courseRequirementId) Deletes aCourseRequirement.voidDeletes allCourseRequirementsin thisCourseCatalog.voiddeleteCredentialRequirement(Id credentialRequirementId) Deletes aCredentialRequirement.voidDeletes allCredentialRequirementsin thisCourseCatalog.voiddeleteLearningObjectiveRequirement(Id learningObjectiveRequirementId) Deletes aLearningObjectiveRequirement.voidDeletes allLearningObjectiveRequirementsin thisCourseCatalog.voiddeleteProgramRequirement(Id programRequirementId) Deletes aProgramRequirement.voidDeletes allProgramRequirementsin thisCourseCatalog.voiddeleteRequisite(Id requisiteId) Deletes aRequisite.getAssessmentRequirementFormForCreate(Id assessmentId, Type[] assessmentRequirementRecordTypes) Gets the assessment requirement form for creating new credential requirements.getAssessmentRequirementFormForUpdate(Id assessmentRequirementId) Gets the assessment requirement form for updating an existing credential requirement.getAwardRequirementFormForCreate(Id awardId, Type[] awardRequirementRecordTypes) Gets the award requirement form for creating new credential requirements.getAwardRequirementFormForUpdate(Id awardRequirementId) Gets the award requirement form for updating an existing credential requirement.Gets theCourseCatalogassociated with this session.Gets theCourseCatalogIdassociated with this session.getCourseRequirementFormForCreate(Id courseId, Type[] courseRequirementRecordTypes) Gets the course requirement form for creating new course requirements.getCourseRequirementFormForUpdate(Id courseRequirementId) Gets the course requirement form for updating an existing course requirement.getCredentialRequirementFormForCreate(Id credentialId, Type[] credentialRequirementRecordTypes) Gets the credential requirement form for creating new credential requirements.getCredentialRequirementFormForUpdate(Id credentialRequirementId) Gets the credential requirement form for updating an existing credential requirement.getLearningObjectiveRequirementFormForCreate(Id objectiveId, Type[] learningObjectiveRequirementRecordTypes) Gets the learning objective requirement form for creating new learning objective requirements.getLearningObjectiveRequirementFormForUpdate(Id learningObjectiveRequirementId) Gets the learning objective requirement form for updating an existing learning objective requirement.getProgramRequirementFormForCreate(Id programId, Type[] programRequirementRecordTypes) Gets the program requirement form for creating new program requirements.getProgramRequirementFormForUpdate(Id programRequirementId) Gets the program requirement form for updating an existing program requirement.getRequisiteFormForCreate(Type[] requisiteRecordTypes) Gets the requisite form for creating new requisites.getRequisiteFormForUpdate(Id requisiteId) Gets the requisite form for updating an existing requisite.voidremoveAltRequisiteFromAssessmentRequirement(Id assessmentRequirementId, Id requisiteId) Removes an alternativeRequisitefrom anAssessmentRequirement.voidremoveAltRequisiteFromAwardRequirement(Id awardRequirementId, Id requisiteId) Removes an alternativeRequisitefrom anAwardRequirement.voidremoveAltRequisiteFromCourseRequirement(Id courseRequirementId, Id requisiteId) Removes an alternativeRequisitefrom aCourseRequirement.voidremoveAltRequisiteFromCredentialRequirement(Id credentialRequirementId, Id requisiteId) Removes an alternativeRequisitefrom aCredentialRequirement.voidremoveAltRequisiteFromLearningObjectiveRequirement(Id learningObjectiveRequirementId, Id requisiteId) Removes an alternativeRequisitefrom aLearningObjectiveRequirement.voidremoveAltRequisiteFromProgramRequirement(Id programRequirementId, Id requisiteId) Removes an alternativeRequisitefrom aProgramRequirement.voidremoveAltRequisitesFromAssessmentRequirement(Id assessmentRequirementId) Removes allRequisitesfrom anAssessmentRequirement.voidremoveAltRequisitesFromAwardRequirement(Id awardRequirementId) Removes allRequisitesfrom anAwardRequirement.voidremoveAltRequisitesFromCourseRequirement(Id courseRequirementId) Removes allRequisitesfrom aCourseRequirement.voidremoveAltRequisitesFromCredentialRequirement(Id credentialRequirementId) Removes allRequisitesfrom aCredentialRequirement.voidremoveAltRequisitesFromLearningObjectiveRequirement(Id learningObjectiveRequirementId) Removes allRequisitesfrom aLearningObjectiveRequirement.voidremoveAltRequisitesFromProgramRequirement(Id programRequirementId) Removes allRequisitesfrom aProgramRequirement.voidremoveAssessmentRequirement(Id requisiteId, Id assessmentRequirementId) Removes anAssessmentRequirementfrom aRequisite.voidremoveAssessmentRequirements(Id requisiteId) Removes allAssessmentRequirementsfrom aRequisite.voidremoveAwardRequirement(Id requisiteId, Id awardRequirementId) Removes anAwardRequirementfrom aRequisite.voidremoveAwardRequirements(Id requisiteId) Removes allAwardRequirementsfrom aRequisite.voidremoveCourseRequirement(Id requisiteId, Id courseRequirementId) Removes aCourseRequirementfrom aRequisite.voidremoveCourseRequirements(Id requisiteId) Removes allCourseRequirementsfrom aRequisite.voidremoveCredentialRequirement(Id requisiteId, Id credentialRequirementId) Removes aCredentialRequirementfrom aRequisite.voidremoveCredentialRequirements(Id requisiteId) Removes allCredentialRequirementsfrom aRequisite.voidremoveLearningObjectiveRequirement(Id requisiteId, Id learningObjectiveRequirementId) Removes aLearningObjectiveRequirementfrom aRequisite.voidremoveLearningObjectiveRequirements(Id requisiteId) Removes allLearningObjectiveRequirementsfrom aRequisite.voidremoveProgramRequirement(Id requisiteId, Id programRequirementId) Removes aProgramRequirementfrom aRequisite.voidremoveProgramRequirements(Id requisiteId) Removes allProgramRequirementsfrom aRequisite.voidremoveRequisiteOption(Id requisiteId, Id requisiteOptionId) Removes aRequisiteas an option from aRequisite.voidremoveRequisiteOptions(Id requisiteId) Removes allRequisitesas options from aRequisite.voidupdateAssessmentRequirement(AssessmentRequirementForm assessmentRequirementForm) Updates an existing assessment requirement.voidupdateAwardRequirement(AwardRequirementForm awardRequirementForm) Updates an existing award requirement.voidupdateCourseRequirement(CourseRequirementForm courseRequirementForm) Updates an existing course requirement.voidupdateCredentialRequirement(CredentialRequirementForm credentialRequirementForm) Updates an existing credential requirement.voidupdateLearningObjectiveRequirement(LearningObjectiveRequirementForm learningObjectiveRequirementForm) Updates an existing learning objective requirement.voidupdateProgramRequirement(ProgramRequirementForm programRequirementForm) Updates an existing program requirement.voidupdateRequisite(RequisiteForm requisiteForm) Updates an existing requisite.Methods inherited from interface OsidSession
closeMethods inherited from interface OsidSession
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionsModifier and TypeMethodDescriptionGets the agent authenticated to this session.Gets theIdof the agent authenticated to this session.Gets the rate of the service clock.getDate()Gets the service date which may be the current date or the effective date in which this session exists.Gets the effective agent in use by this session.Gets theIdof the effective agent in use by this session.Gets theDisplayTextformatTypepreference in effect for this session.Gets the locale indicating the localization preferences in effect for this session.booleanTests if an agent is authenticated to this session.Starts a new transaction for this sesson.booleanTests for the availability of transactions.
-
Method Details
-
getCourseCatalogId
Id getCourseCatalogId()Gets theCourseCatalogIdassociated with this session.- Returns:
- the
CourseCatalog Idassociated with this session - Compliance:
mandatory- This method must be implemented.
-
getCourseCatalog
Gets theCourseCatalogassociated with this session.- Returns:
- the course catalog
- Throws:
OperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canCreateRequisites
boolean canCreateRequisites()Tests if this user can createRequisites. A return of true does not guarantee successful authorization. A return of false indicates that it is known creating aRequisitewill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer create operations to an unauthorized user.- Returns:
falseifRequisitecreation is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canCreateRequisiteWithRecordTypes
Tests if this user can create a singlePorgramusing the desired record types. WhileCourseRequisiteManager.getRequisiteRecordTypes()can be used to examine which records are supported, this method tests which record(s) are required for creating a specificRequisite. Providing an empty array tests if aRequisitecan be created with no records.- Parameters:
requisiteRecordTypes- array of requisite record types- Returns:
trueifRequisitecreation using the specified recordTypesis supported,falseotherwise- Throws:
NullArgumentException-requisiteRecordTypesisnull- Compliance:
mandatory- This method must be implemented.
-
getRequisiteFormForCreate
RequisiteForm getRequisiteFormForCreate(Type[] requisiteRecordTypes) throws OperationFailedException, PermissionDeniedException Gets the requisite form for creating new requisites. A new form should be requested for each create transaction.- Parameters:
requisiteRecordTypes- array of requisite record types- Returns:
- the requisite form
- Throws:
NullArgumentException-requisiteRecordTypesisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException- unable to get form for requested record types- Compliance:
mandatory- This method must be implemented.
-
createRequisite
Requisite createRequisite(RequisiteForm requisiteForm) throws OperationFailedException, PermissionDeniedException Creates a newRequisite.- Parameters:
requisiteForm- the form for thisRequisite- Returns:
- the new
Requisite - Throws:
IllegalStateException-requisiteFormalready used in a create transactionInvalidArgumentException- one or more of the form elements is invalidNullArgumentException-requisiteFormisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException-requisiteFormdid not originate fromgetRequisiteFormForCreate()- Compliance:
mandatory- This method must be implemented.
-
canUpdateRequisites
boolean canUpdateRequisites()Tests if this user can updateRequisites. A return of true does not guarantee successful authorization. A return of false indicates that it is known updating arequisitewill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer update operations to an unauthorized user.- Returns:
falseifrequisitemodification is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
getRequisiteFormForUpdate
RequisiteForm getRequisiteFormForUpdate(Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets the requisite form for updating an existing requisite. A new requisite form should be requested for each update transaction.- Parameters:
requisiteId- theIdof theRequisite- Returns:
- the requisite form
- Throws:
NotFoundException-requisiteIdis not foundNullArgumentException-requisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
updateRequisite
void updateRequisite(RequisiteForm requisiteForm) throws OperationFailedException, PermissionDeniedException Updates an existing requisite.- Parameters:
requisiteForm- the form containing the elements to be updated- Throws:
IllegalStateException-requisiteFormalready used in an update transactionInvalidArgumentException- the form contains an invalid valueNullArgumentException-requisiteIdorrequisiteFormisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException-requisiteFormdid not originate fromgetRequisiteFormForUpdate()- Compliance:
mandatory- This method must be implemented.
-
canDeleteRequisites
boolean canDeleteRequisites()Tests if this user can deleteRequisites. A return of true does not guarantee successful authorization. A return of false indicates that it is known deleting aRequisitewill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer delete operations to an unauthorized user.- Returns:
falseifRequisitedeletion is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canDeleteRequisite
Tests if this user can delete a specifiedRequisite. A return of true does not guarantee successful authorization. A return of false indicates that it is known deleting theRequisitewill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer a delete operation to an unauthorized user for this requisite.- Parameters:
requisiteId- theIdof theRequisite- Returns:
falseif deletion of thisRequisiteis not authorized,trueotherwise- Throws:
NullArgumentException-requisiteIdisnull- Compliance:
mandatory- This method must be implemented.- Notes:
If- the {@code requisiteId} is not found, then it is acceptable to return false to indicate the lack of a delete available.
-
deleteRequisite
void deleteRequisite(Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException Deletes aRequisite.- Parameters:
requisiteId- theIdof theRequisiteto remove- Throws:
NotFoundException-requisiteIdnot foundNullArgumentException-requisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canManageRequisiteAliases
boolean canManageRequisiteAliases()Tests if this user can manageIdaliases forRequisites. A return of true does not guarantee successful authorization. A return of false indicates that it is known changing an alias will result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer alias operations to an unauthorized user.- Returns:
falseifRequisitealiasing is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
aliasRequisite
void aliasRequisite(Id requisiteId, Id aliasId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds anIdto aRequisitefor the purpose of creating compatibility. The primaryIdof theRequisiteis determined by the provider. The newIdperforms as an alias to the primaryId. If the alias is a pointer to another requisite, it is reassigned to the given requisiteId.- Parameters:
requisiteId- theIdof aRequisitealiasId- the aliasId- Throws:
AlreadyExistsException-aliasIdis in use as a primaryIdNotFoundException-requisiteIdnot foundNullArgumentException-requisiteIdoraliasIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
addRequisiteOption
void addRequisiteOption(Id requisiteId, Id requisiteOptionId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds aRequisiteas an option to aRequisite.- Parameters:
requisiteId- theIdof aRequisiterequisiteOptionId- theIdof aRequisiteoption- Throws:
AlreadyExistsException-requisiteOptionIdis already part ofrequisiteIdNotFoundException-requisiteIdorrequisiteOptionIdnot foundNullArgumentException-requisiteIdorrequisiteOptionIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeRequisiteOption
void removeRequisiteOption(Id requisiteId, Id requisiteOptionId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes aRequisiteas an option from aRequisite.- Parameters:
requisiteId- theIdof aRequisiterequisiteOptionId- theIdof aRequisiteoption- Throws:
NotFoundException-requisiteIdorrequisiteOptionIdnot found orrequisiteOptionIdnot part ofrequisiteIdNullArgumentException-requisiteIdorrequisiteOptionIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeRequisiteOptions
void removeRequisiteOptions(Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes allRequisitesas options from aRequisite.- Parameters:
requisiteId- theIdof aRequisite- Throws:
NotFoundException-requisiteIdnot foundNullArgumentException-requisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canCreateCourseRequirements
boolean canCreateCourseRequirements()Tests if this user can createCourseRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known creating aCourseRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer create operations to an unauthorized user.- Returns:
falseifCourseRequirementcreation is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canCreateCourseRequirementWithRecordTypes
Tests if this user can create a singleCourseRequirementusing the desired record types. WhileCourseRequisiteManager.getCourseRequirementRecordTypes()can be used to examine which records are supported, this method tests which record(s) are required for creating a specificCourseRequirement. Providing an empty array tests if aCourseRequirementcan be created with no records.- Parameters:
courseRequirementRecordTypes- array of course requirement record types- Returns:
trueifCourseRequirementcreation using the specified recordTypesis supported,falseotherwise- Throws:
NullArgumentException-courseRequirementRecordTypesisnull- Compliance:
mandatory- This method must be implemented.
-
getCourseRequirementFormForCreate
CourseRequirementForm getCourseRequirementFormForCreate(Id courseId, Type[] courseRequirementRecordTypes) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets the course requirement form for creating new course requirements. A new form should be requested for each create transaction.- Parameters:
courseId- anIdof aCoursecourseRequirementRecordTypes- array of course requirement record types- Returns:
- the course requirement form
- Throws:
NotFoundException-courseIdis not foundNullArgumentException-courseIdorcourseRequirementRecordTypesisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException- unable to get form for requested record types- Compliance:
mandatory- This method must be implemented.
-
createCourseRequirement
CourseRequirement createCourseRequirement(Id courseId, CourseRequirementForm courseRequirementForm) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Creates a newCourseRequirement.- Parameters:
courseId- anIdof aCoursecourseRequirementForm- the form for thisCourseRequirement- Returns:
- the new
CourseRequirement - Throws:
AlreadyExistsException- attempt at duplicating a property the underlying system is enforcing to be uniqueInvalidArgumentException- one or more of the form elements is invalidNotFoundException-courseIdis not foundNullArgumentException-courseIdorcourseRequirementFormisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException-courseRequirementFormis not of this service- Compliance:
mandatory- This method must be implemented.
-
canUpdateCourseRequirements
boolean canUpdateCourseRequirements()Tests if this user can updateCourseRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known updating aCourseRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer update operations to an unauthorized user.- Returns:
falseifCourseRequirementmodification is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canUpdateCourseRequirement
Tests if this user can update a specifiedCourseRequirement. A return of true does not guarantee successful authorization. A return of false indicates that it is known updating theCourseRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer an update operation to an unauthorized user for thisCourseRequirement.- Parameters:
courseRequirementId- theIdof theCourseRequirement- Returns:
falseif course requirement modification is not authorized,trueotherwise- Throws:
NullArgumentException-courseRequirementIdisnull- Compliance:
mandatory- This method must be implemented.- Notes:
If- the {@code courseRequirementId} is not found, then it is acceptable to return false to indicate the lack of an update available.
-
getCourseRequirementFormForUpdate
CourseRequirementForm getCourseRequirementFormForUpdate(Id courseRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets the course requirement form for updating an existing course requirement. A new requisite form should be requested for each update transaction.- Parameters:
courseRequirementId- theIdof theCourseRequirement- Returns:
- the course requirement form
- Throws:
NotFoundException-courseRequirementIdis not foundNullArgumentException-courseRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
updateCourseRequirement
void updateCourseRequirement(CourseRequirementForm courseRequirementForm) throws OperationFailedException, PermissionDeniedException Updates an existing course requirement.- Parameters:
courseRequirementForm- the form containing the elements to be updated- Throws:
IllegalStateException-courseRequirementFormalready used in an update transactionInvalidArgumentException- the form contains an invalid valueNullArgumentException-courseRequirementFormisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException-courseRequirementFormdid not originate fromgetCourseRequirementFormForUpdate()- Compliance:
mandatory- This method must be implemented.
-
canDeleteCourseRequirements
boolean canDeleteCourseRequirements()Tests if this user can deleteCourseRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known deleting aCourseRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer delete operations to an unauthorized user.- Returns:
falseifCourseRequirementdeletion is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canDeleteCourseRequirement
Tests if this user can delete a specifiedCourseRequirement. A return of true does not guarantee successful authorization. A return of false indicates that it is known deleting theCourseRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer a delete operation to an unauthorized user for this course requirement.- Parameters:
courseRequirementId- theIdof theCourseRequirement- Returns:
falseif deletion of thisCourseRequirementis not authorized,trueotherwise- Throws:
NullArgumentException-courseRequirementIdisnull- Compliance:
mandatory- This method must be implemented.- Notes:
If- the {@code courseRequirementId} , is not found, then it is acceptable to return false to indicate the lack of a delete available.
-
deleteCourseRequirement
void deleteCourseRequirement(Id courseRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Deletes aCourseRequirement.- Parameters:
courseRequirementId- theIdof theCourseRequirementto remove- Throws:
NotFoundException-courseRequirementIdnot foundNullArgumentException-courseRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
deleteCourseRequirements
Deletes allCourseRequirementsin thisCourseCatalog.- Throws:
OperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canManageCourseRequirementAliases
boolean canManageCourseRequirementAliases()Tests if this user can manageIdaliases forCourseRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known changing an alias will result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer alias operations to an unauthorized user.- Returns:
falseifCourseRequirementaliasing is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
aliasCourseRequirement
void aliasCourseRequirement(Id courseRequirementId, Id aliasId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds anIdto aCourseRequirementfor the purpose of creating compatibility. The primaryIdof theCourseRequirementis determined by the provider. The newIdperforms as an alias to the primaryId. If the alias is a pointer to another course requirement, it is reassigned to the given course requirementId.- Parameters:
courseRequirementId- theIdof aCourseRequirementaliasId- the aliasId- Throws:
AlreadyExistsException-aliasIdis in use as a primaryIdNotFoundException-courseRequirementIdnot foundNullArgumentException-courseRequirementIdoraliasIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
addCourseRequirement
void addCourseRequirement(Id requisiteId, Id courseRequirementId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds aCourseRequirementto aRequisite.- Parameters:
requisiteId- theIdof aRequisitecourseRequirementId- theIdof aCourseRequirement- Throws:
AlreadyExistsException-courseRequirementIdis already part ofrequisiteIdNotFoundException-requisiteIdorcourseRequirementIdnot foundNullArgumentException-requisiteIdorcourseRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeCourseRequirement
void removeCourseRequirement(Id requisiteId, Id courseRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes aCourseRequirementfrom aRequisite.- Parameters:
requisiteId- theIdof aRequisitecourseRequirementId- theIdof aCourseRequirement- Throws:
NotFoundException-requisiteIdorcourseRequirementIdnot found orcourseRequirementIdnot part ofrequisiteIdNullArgumentException-requisiteIdorcourseRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeCourseRequirements
void removeCourseRequirements(Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes allCourseRequirementsfrom aRequisite.- Parameters:
requisiteId- theIdof aRequisite- Throws:
NotFoundException-requisiteIdnot foundNullArgumentException-requisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
addAltRequisiteToCourseRequirement
void addAltRequisiteToCourseRequirement(Id courseRequirementId, Id requisiteId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds an alternativeRequisiteto aCourseRequirement.- Parameters:
courseRequirementId- theIdof aCourseRequirementrequisiteId- theIdof aRequisite- Throws:
AlreadyExistsException-requisiteIdis already part ofcourseRequirementIdNotFoundException-courseRequirementIdorrequisiteIdnot foundNullArgumentException-courseRequirementIdorrequisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeAltRequisiteFromCourseRequirement
void removeAltRequisiteFromCourseRequirement(Id courseRequirementId, Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes an alternativeRequisitefrom aCourseRequirement.- Parameters:
courseRequirementId- theIdof aCourseRequirementrequisiteId- theIdof aRequisite- Throws:
NotFoundException-courseRequirementIdorrequisiteIdnot found orrequisiteIdnot part ofcourseRequirementIdNullArgumentException-courseRequirementIdorrequisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeAltRequisitesFromCourseRequirement
void removeAltRequisitesFromCourseRequirement(Id courseRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes allRequisitesfrom aCourseRequirement.- Parameters:
courseRequirementId- theIdof aCourseRequirement- Throws:
NotFoundException-courseRequirementIdnot foundNullArgumentException-courseRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canCreateProgramRequirements
boolean canCreateProgramRequirements()Tests if this user can createProgramRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known creating aProgramRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer create operations to an unauthorized user.- Returns:
falseifProgramRequirementcreation is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canCreateProgramRequirementWithRecordTypes
Tests if this user can create a singleProgramRequirementusing the desired record types. WhileCourseRequisiteManager.getProgramRequirementRecordTypes()can be used to examine which records are supported, this method tests which record(s) are required for creating a specificProgramRequirement. Providing an empty array tests if aProgramRequirementcan be created with no records.- Parameters:
programRequirementRecordTypes- array of program requirement record types- Returns:
trueifProgramRequirementcreation using the specified recordTypesis supported,falseotherwise- Throws:
NullArgumentException-programRequirementRecordTypesisnull- Compliance:
mandatory- This method must be implemented.
-
getProgramRequirementFormForCreate
ProgramRequirementForm getProgramRequirementFormForCreate(Id programId, Type[] programRequirementRecordTypes) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets the program requirement form for creating new program requirements. A new form should be requested for each create transaction.- Parameters:
programId- anIdof a programprogramRequirementRecordTypes- array of program requirement record types- Returns:
- the program requirement form
- Throws:
NotFoundException-programIdis not foundNullArgumentException-programRequirementRecordTypesisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException- unable to get form for requested record types- Compliance:
mandatory- This method must be implemented.
-
createProgramRequirement
ProgramRequirement createProgramRequirement(Id programId, ProgramRequirementForm programRequirementForm) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Creates a newProgramRequirement.- Parameters:
programId- anIdof a programprogramRequirementForm- the form for thisProgramRequirement- Returns:
- the new
ProgramRequirement - Throws:
AlreadyExistsException- attempt at duplicating a property the underlying system is enforcing to be uniqueInvalidArgumentException- one or more of the form elements is invalidNotFoundException-programIdis not foundNullArgumentException-programIdorprogramRequirementFormisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException-programRequirementFormis not of this service- Compliance:
mandatory- This method must be implemented.
-
canUpdateProgramRequirements
boolean canUpdateProgramRequirements()Tests if this user can updateProgramRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known updating aProgramRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer update operations to an unauthorized user.- Returns:
falseifProgramRequirementmodification is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canUpdateProgramRequirement
Tests if this user can update a specifiedProgramRequirement. A return of true does not guarantee successful authorization. A return of false indicates that it is known updating theProgramRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer an update operation to an unauthorized user for thisProgramRequirement.- Parameters:
programRequirementId- theIdof theProgramRequirement- Returns:
falseif program requirement modification is not authorized,trueotherwise- Throws:
NullArgumentException-programRequirementIdisnull- Compliance:
mandatory- This method must be implemented.- Notes:
If- the {@code programRequirementId} is not found, then it is acceptable to return false to indicate the lack of an update available.
-
getProgramRequirementFormForUpdate
ProgramRequirementForm getProgramRequirementFormForUpdate(Id programRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets the program requirement form for updating an existing program requirement. A new requisite form should be requested for each update transaction.- Parameters:
programRequirementId- theIdof theProgramRequirement- Returns:
- the program requirement form
- Throws:
NotFoundException-programRequirementIdis not foundNullArgumentException-programRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
updateProgramRequirement
void updateProgramRequirement(ProgramRequirementForm programRequirementForm) throws OperationFailedException, PermissionDeniedException Updates an existing program requirement.- Parameters:
programRequirementForm- the form containing the elements to be updated- Throws:
IllegalStateException-programRequirementFormalready used in an update transactionInvalidArgumentException- the form contains an invalid valueNullArgumentException-programRequirementFormisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException-programRequirementFormdid not originate fromgetProgramRequirementFormForUpdate()- Compliance:
mandatory- This method must be implemented.
-
canDeleteProgramRequirements
boolean canDeleteProgramRequirements()Tests if this user can deleteProgramRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known deleting aProgramRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer delete operations to an unauthorized user.- Returns:
falseifProgramRequirementdeletion is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canDeleteProgramRequirement
Tests if this user can delete a specifiedProgramRequirement. A return of true does not guarantee successful authorization. A return of false indicates that it is known deleting theProgramRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer a delete operation to an unauthorized user for this program requirement.- Parameters:
programRequirementId- theIdof theProgramRequirement- Returns:
falseif deletion of thisProgramRequirementis not authorized,trueotherwise- Throws:
NullArgumentException-programRequirementIdisnull- Compliance:
mandatory- This method must be implemented.- Notes:
If- the {@code programRequirementId} , is not found, then it is acceptable to return false to indicate the lack of a delete available.
-
deleteProgramRequirement
void deleteProgramRequirement(Id programRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Deletes aProgramRequirement.- Parameters:
programRequirementId- theIdof theProgramRequirementto remove- Throws:
NotFoundException-programRequirementIdnot foundNullArgumentException-programRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
deleteProgramRequirements
Deletes allProgramRequirementsin thisCourseCatalog.- Throws:
OperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canManageProgramRequirementAliases
boolean canManageProgramRequirementAliases()Tests if this user can manageIdaliases forProgramRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known changing an alias will result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer alias operations to an unauthorized user.- Returns:
falseifProgramRequirementaliasing is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
aliasProgramRequirement
void aliasProgramRequirement(Id programRequirementId, Id aliasId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds anIdto aProgramRequirementfor the purpose of creating compatibility. The primaryIdof theProgramRequirementis determined by the provider. The newIdperforms as an alias to the primaryId. If the alias is a pointer to another program requirement, it is reassigned to the given program requirementId.- Parameters:
programRequirementId- theIdof aProgramRequirementaliasId- the aliasId- Throws:
AlreadyExistsException-aliasIdis in use as a primaryIdNotFoundException-programRequirementIdnot foundNullArgumentException-programRequirementIdoraliasIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
addProgramRequirement
void addProgramRequirement(Id requisiteId, Id programRequirementId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds aProgramRequirementto aRequisite.- Parameters:
requisiteId- theIdof aRequisiteprogramRequirementId- theIdof aProgramRequirement- Throws:
AlreadyExistsException-programRequirementIdis already part ofrequisiteIdNotFoundException-requisiteIdorprogramRequirementIdnot foundNullArgumentException-requisiteIdorprogramRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeProgramRequirement
void removeProgramRequirement(Id requisiteId, Id programRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes aProgramRequirementfrom aRequisite.- Parameters:
requisiteId- theIdof aRequisiteprogramRequirementId- theIdof aProgramRequirement- Throws:
NotFoundException-requisiteIdorprogramRequirementIdnot found orprogramRequirementIdnot part ofrequisiteIdNullArgumentException-requisiteIdorprogramRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeProgramRequirements
void removeProgramRequirements(Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes allProgramRequirementsfrom aRequisite.- Parameters:
requisiteId- theIdof aRequisite- Throws:
NotFoundException-requisiteIdnot foundNullArgumentException-requisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
addAltRequisiteToProgramRequirement
void addAltRequisiteToProgramRequirement(Id programRequirementId, Id requisiteId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds an alternativeRequisiteto aProgramRequirement.- Parameters:
programRequirementId- theIdof aProgramRequirementrequisiteId- theIdof aRequisite- Throws:
AlreadyExistsException-requisiteIdis already part ofprogramRequirementIdNotFoundException-programRequirementIdorrequisiteIdnot foundNullArgumentException-programRequirementIdorrequisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeAltRequisiteFromProgramRequirement
void removeAltRequisiteFromProgramRequirement(Id programRequirementId, Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes an alternativeRequisitefrom aProgramRequirement.- Parameters:
programRequirementId- theIdof aProgramRequirementrequisiteId- theIdof aRequisite- Throws:
NotFoundException-programRequirementIdorrequisiteIdnot found orrequisiteIdnot part ofprogramRequirementIdNullArgumentException-programRequirementIdorrequisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeAltRequisitesFromProgramRequirement
void removeAltRequisitesFromProgramRequirement(Id programRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes allRequisitesfrom aProgramRequirement.- Parameters:
programRequirementId- theIdof aProgramRequirement- Throws:
NotFoundException-programRequirementIdnot foundNullArgumentException-programRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canCreateCredentialRequirements
boolean canCreateCredentialRequirements()Tests if this user can createCredentialRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known creating aCredentialRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer create operations to an unauthorized user.- Returns:
falseifCredentialRequirementcreation is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canCreateCredentiaRequirementWithRecordTypes
Tests if this user can create a singleCredentialRequirementusing the desired record types. WhileCourseRequisiteManager.getCredentialRequirementRecordTypes()can be used to examine which records are supported, this method tests which record(s) are required for creating a specificCredentialRequirement. Providing an empty array tests if aCredentialRequirementcan be created with no records.- Parameters:
credentialRequirementRecordTypes- array of credential requirement record types- Returns:
trueifCredentialRequirementcreation using the specified recordTypesis supported,falseotherwise- Throws:
NullArgumentException-credentialRequirementRecordTypesisnull- Compliance:
mandatory- This method must be implemented.
-
getCredentialRequirementFormForCreate
CredentialRequirementForm getCredentialRequirementFormForCreate(Id credentialId, Type[] credentialRequirementRecordTypes) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets the credential requirement form for creating new credential requirements. A new form should be requested for each create transaction.- Parameters:
credentialId- a credentialIdcredentialRequirementRecordTypes- array of credential requirement record types- Returns:
- the credential requirement form
- Throws:
NotFoundException-credentialIdis not foundNullArgumentException-credentialIdorcredentialRequirementRecordTypesisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException- unable to get form for requested record types- Compliance:
mandatory- This method must be implemented.
-
createCredentialRequirement
CredentialRequirement createCredentialRequirement(Id credentialId, CredentialRequirementForm credentialRequirementForm) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Creates a newCredentialRequirement.- Parameters:
credentialId- a credentialIdcredentialRequirementForm- the form for thisCredentialRequirement- Returns:
- the new
CredentialRequirement - Throws:
AlreadyExistsException- attempt at duplicating a property the underlying system is enforcing to be uniqueInvalidArgumentException- one or more of the form elements is invalidNotFoundException-credentialIdis not foundNullArgumentException-credentialIdorcredentialRequirementFormisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException-credentialRequirementFormis not of this service- Compliance:
mandatory- This method must be implemented.
-
canUpdateCredentialRequirements
boolean canUpdateCredentialRequirements()Tests if this user can updateCredentialRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known updating aCredentialRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer update operations to an unauthorized user.- Returns:
falseifCredentialRequirementmodification is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canUpdateCredentialRequirement
Tests if this user can update a specifiedCredentialRequirement. A return of true does not guarantee successful authorization. A return of false indicates that it is known updating theCredentialRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer an update operation to an unauthorized user for thisCredentialRequirement.- Parameters:
credentialRequirementId- theIdof theCredentialRequirement- Returns:
falseif credential requirement modification is not authorized,trueotherwise- Throws:
NullArgumentException-credentialRequirementIdisnull- Compliance:
mandatory- This method must be implemented.- Notes:
If- the {@code credentialRequirementId} is not found, then it is acceptable to return false to indicate the lack of an update available.
-
getCredentialRequirementFormForUpdate
CredentialRequirementForm getCredentialRequirementFormForUpdate(Id credentialRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets the credential requirement form for updating an existing credential requirement. A new requisite form should be requested for each update transaction.- Parameters:
credentialRequirementId- theIdof theCredentialRequirement- Returns:
- the credential requirement form
- Throws:
NotFoundException-credentialRequirementIdis not foundNullArgumentException-credentialRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
updateCredentialRequirement
void updateCredentialRequirement(CredentialRequirementForm credentialRequirementForm) throws OperationFailedException, PermissionDeniedException Updates an existing credential requirement.- Parameters:
credentialRequirementForm- the form containing the elements to be updated- Throws:
IllegalStateException-credentialRequirementFormalready used in an update transactionInvalidArgumentException- the form contains an invalid valueNullArgumentException-credentialRequirementFormisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException-credentialRequirementFormdid not originate fromgetCredentialRequirementFormForUpdate()- Compliance:
mandatory- This method must be implemented.
-
canDeleteCredentialRequirements
boolean canDeleteCredentialRequirements()Tests if this user can deleteCredentialRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known deleting aCredentialRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer delete operations to an unauthorized user.- Returns:
falseifCredentialRequirementdeletion is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canDeleteCredentialRequirement
Tests if this user can delete a specifiedCredentialRequirement. A return of true does not guarantee successful authorization. A return of false indicates that it is known deleting theCredentialRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer a delete operation to an unauthorized user for this credential requirement.- Parameters:
credentialRequirementId- theIdof theCredentialRequirement- Returns:
falseif deletion of thisCredentialRequirementis not authorized,trueotherwise- Throws:
NullArgumentException-credentialRequirementIdisnull- Compliance:
mandatory- This method must be implemented.- Notes:
If- the {@code credentialRequirementId} , is not found, then it is acceptable to return false to indicate the lack of a delete available.
-
deleteCredentialRequirement
void deleteCredentialRequirement(Id credentialRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Deletes aCredentialRequirement.- Parameters:
credentialRequirementId- theIdof theCredentialRequirementto remove- Throws:
NotFoundException-credentialRequirementIdnot foundNullArgumentException-credentialRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
deleteCredentialRequirements
Deletes allCredentialRequirementsin thisCourseCatalog.- Throws:
OperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canManageCredentialRequirementAliases
boolean canManageCredentialRequirementAliases()Tests if this user can manageIdaliases forCredentialRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known changing an alias will result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer alias operations to an unauthorized user.- Returns:
falseifCredentialRequirementaliasing is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
aliasCredentialRequirement
void aliasCredentialRequirement(Id credentialRequirementId, Id aliasId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds anIdto aCredentialRequirementfor the purpose of creating compatibility. The primaryIdof theCredentialRequirementis determined by the provider. The newIdperforms as an alias to the primaryId. If the alias is a pointer to another credential requirement, it is reassigned to the given credential requirementId.- Parameters:
credentialRequirementId- theIdof aCredentialRequirementaliasId- the aliasId- Throws:
AlreadyExistsException-aliasIdis in use as a primaryIdNotFoundException-credentialRequirementIdnot foundNullArgumentException-credentialRequirementIdoraliasIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
addCredentialRequirement
void addCredentialRequirement(Id requisiteId, Id credentialRequirementId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds aCredentialRequirementto aRequisite.- Parameters:
requisiteId- theIdof aRequisitecredentialRequirementId- theIdof aCredentialRequirement- Throws:
AlreadyExistsException-credentialRequirementIdis already part ofrequisiteIdNotFoundException-requisiteIdorcredentialRequirementIdnot foundNullArgumentException-requisiteIdorcredentialRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeCredentialRequirement
void removeCredentialRequirement(Id requisiteId, Id credentialRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes aCredentialRequirementfrom aRequisite.- Parameters:
requisiteId- theIdof aRequisitecredentialRequirementId- theIdof aCredentialRequirement- Throws:
NotFoundException-requisiteIdorcredentialRequirementIdnot found orcredentialRequirementIdnot part ofrequisiteIdNullArgumentException-requisiteIdorcredentialRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeCredentialRequirements
void removeCredentialRequirements(Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes allCredentialRequirementsfrom aRequisite.- Parameters:
requisiteId- theIdof aRequisite- Throws:
NotFoundException-requisiteIdnot foundNullArgumentException-requisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
addAltRequisiteToCredentialRequirement
void addAltRequisiteToCredentialRequirement(Id credentialRequirementId, Id requisiteId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds an alternativeRequisiteto aCredentialRequirement.- Parameters:
credentialRequirementId- theIdof aCredentialRequirementrequisiteId- theIdof aRequisite- Throws:
AlreadyExistsException-requisiteIdis already part ofcredentialRequirementIdNotFoundException-credentialRequirementIdorrequisiteIdnot foundNullArgumentException-credentialRequirementIdorrequisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeAltRequisiteFromCredentialRequirement
void removeAltRequisiteFromCredentialRequirement(Id credentialRequirementId, Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes an alternativeRequisitefrom aCredentialRequirement.- Parameters:
credentialRequirementId- theIdof aCredentialRequirementrequisiteId- theIdof aRequisite- Throws:
NotFoundException-credentialRequirementIdorrequisiteIdnot found orrequisiteIdnot part ofcredentialRequirementIdNullArgumentException-credentialRequirementIdorrequisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeAltRequisitesFromCredentialRequirement
void removeAltRequisitesFromCredentialRequirement(Id credentialRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes allRequisitesfrom aCredentialRequirement.- Parameters:
credentialRequirementId- theIdof aCredentialRequirement- Throws:
NotFoundException-credentialRequirementIdnot foundNullArgumentException-credentialRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canCreateLearningObjectiveRequirements
boolean canCreateLearningObjectiveRequirements()Tests if this user can createLearningObjectiveRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known creating aLearningObjectiveRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer create operations to an unauthorized user.- Returns:
falseifLearningObjectiveRequirementcreation is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canCreateLearningObjectiveRequirementWithRecordTypes
boolean canCreateLearningObjectiveRequirementWithRecordTypes(Type[] learningObjectiveRequirementRecordTypes) Tests if this user can create a singleLearningObjectiveRequirementusing the desired record types. WhileCourseRequisiteManager.getLearningObjectiveRequirementRecordTypes()can be used to examine which records are supported, this method tests which record(s) are required for creating a specificLearningObjectiveRequirement. Providing an empty array tests if aLearningObjectiveRequirementcan be created with no records.- Parameters:
learningObjectiveRequirementRecordTypes- array of learning objective requirement record types- Returns:
trueifLearningObjectiveRequirementcreation using the specified recordTypesis supported,falseotherwise- Throws:
NullArgumentException-learningObjectiveRequirementRecordTypesisnull- Compliance:
mandatory- This method must be implemented.
-
getLearningObjectiveRequirementFormForCreate
LearningObjectiveRequirementForm getLearningObjectiveRequirementFormForCreate(Id objectiveId, Type[] learningObjectiveRequirementRecordTypes) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets the learning objective requirement form for creating new learning objective requirements. A new form should be requested for each create transaction.- Parameters:
objectiveId- a learning objectiveIdlearningObjectiveRequirementRecordTypes- array of learning objective requirement record types- Returns:
- the learning objective requirement form
- Throws:
NotFoundException-objectiveIdis not foundNullArgumentException-objectiveIdorlearningObjectiveRequirementRecordTypesisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException- unable to get form for requested record types- Compliance:
mandatory- This method must be implemented.
-
createLearningObjectiveRequirement
LearningObjectiveRequirement createLearningObjectiveRequirement(Id objectiveId, LearningObjectiveRequirementForm learningObjectiveRequirementForm) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Creates a newLearningObjectiveRequirement.- Parameters:
objectiveId- a learning objectiveIdlearningObjectiveRequirementForm- the form for thisLearningObjectiveRequirement- Returns:
- the new
LearningObjectiveRequirement - Throws:
AlreadyExistsException- attempt at duplicating a property the underlying system is enforcing to be uniqueInvalidArgumentException- one or more of the form elements is invalidNotFoundException-objectiveIdis not foundNullArgumentException-objectiveIdorlearningObjectiveRequirementFormisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException-learningObjectiveRequirementFormis not of this service- Compliance:
mandatory- This method must be implemented.
-
canUpdateLearningObjectiveRequirements
boolean canUpdateLearningObjectiveRequirements()Tests if this user can updateLearningObjectiveRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known updating aLearningObjectiveRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer update operations to an unauthorized user.- Returns:
falseifLearningObjectiveRequirementmodification is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canUpdateLearningObjectiveRequirement
Tests if this user can update a specifiedLearningObjectiveRequirement. A return of true does not guarantee successful authorization. A return of false indicates that it is known updating theLearningObjectiveRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer an update operation to an unauthorized user for thisLearningObjectiveRequirement.- Parameters:
learningObjectiveRequirementId- theIdof theLearningObjectiveRequirement- Returns:
falseif learning objective requirement modification is not authorized,trueotherwise- Throws:
NullArgumentException-learningObjectiveRequirementIdisnull- Compliance:
mandatory- This method must be implemented.- Notes:
If- the {@code learningObjectiveRequirementRequirementId} is not found, then it is acceptable to return false to indicate the lack of an update available.
-
getLearningObjectiveRequirementFormForUpdate
LearningObjectiveRequirementForm getLearningObjectiveRequirementFormForUpdate(Id learningObjectiveRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets the learning objective requirement form for updating an existing learning objective requirement. A new requisite form should be requested for each update transaction.- Parameters:
learningObjectiveRequirementId- theIdof theLearningObjectiveRequirement- Returns:
- the learning objective requirement form
- Throws:
NotFoundException-learningObjectiveRequirementIdis not foundNullArgumentException-learningObjectiveRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
updateLearningObjectiveRequirement
void updateLearningObjectiveRequirement(LearningObjectiveRequirementForm learningObjectiveRequirementForm) throws OperationFailedException, PermissionDeniedException Updates an existing learning objective requirement.- Parameters:
learningObjectiveRequirementForm- the form containing the elements to be updated- Throws:
IllegalStateException-learningObjectiveRequirementFormalready used in an update transactionInvalidArgumentException- the form contains an invalid valueNullArgumentException-learningObjectiveRequirementFormisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException-learningObjectiveRequirementFormdid not originate fromgetLearningObjectiveRequirementFormForUpdate()- Compliance:
mandatory- This method must be implemented.
-
canDeleteLearningObjectiveRequirements
boolean canDeleteLearningObjectiveRequirements()Tests if this user can deleteLearningObjectiveRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known deleting aLearningObjectiveRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer delete operations to an unauthorized user.- Returns:
falseifLearningObjectiveRequirementdeletion is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canDeleteLearningObjectiveRequirement
Tests if this user can delete a specifiedLearningObjectiveRequirement. A return of true does not guarantee successful authorization. A return of false indicates that it is known deleting theLearningObjectiveRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer a delete operation to an unauthorized user for this learning objective requirement.- Parameters:
learningObjectiveRequirementId- theIdof theLearningObjectiveRequirement- Returns:
falseif deletion of thisLearningObjectiveRequirementis not authorized,trueotherwise- Throws:
NullArgumentException-learningObjectiveRequirementIdisnull- Compliance:
mandatory- This method must be implemented.- Notes:
If- the {@code learningObjectiveRequirementId} , is not found, then it is acceptable to return false to indicate the lack of a delete available.
-
deleteLearningObjectiveRequirement
void deleteLearningObjectiveRequirement(Id learningObjectiveRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Deletes aLearningObjectiveRequirement.- Parameters:
learningObjectiveRequirementId- theIdof theLearningObjectiveRequirementto remove- Throws:
NotFoundException-learningObjectiveRequirementIdnot foundNullArgumentException-learningObjectiveRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
deleteLearningObjectiveRequirements
void deleteLearningObjectiveRequirements() throws OperationFailedException, PermissionDeniedExceptionDeletes allLearningObjectiveRequirementsin thisCourseCatalog.- Throws:
OperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canManageLearningObjectiveRequirementAliases
boolean canManageLearningObjectiveRequirementAliases()Tests if this user can manageIdaliases forLearningObjectiveRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known changing an alias will result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer alias operations to an unauthorized user.- Returns:
falseifLearningObjectiveRequirementaliasing is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
aliasLearningObjectiveRequirement
void aliasLearningObjectiveRequirement(Id learningObjectiveRequirementId, Id aliasId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds anIdto aLearningObjectiveRequirementfor the purpose of creating compatibility. The primaryIdof theLearningObjectiveRequirementis determined by the provider. The newIdperforms as an alias to the primaryId. If the alias is a pointer to another credential requirement, it is reassigned to the given learning objective requirementId.- Parameters:
learningObjectiveRequirementId- theIdof aLearningObjectiveRequirementaliasId- the aliasId- Throws:
AlreadyExistsException-aliasIdis in use as a primaryIdNotFoundException-learningObjectiveRequirementIdnot foundNullArgumentException-learningObjectiveRequirementIdoraliasIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
addLearningObjectiveRequirement
void addLearningObjectiveRequirement(Id requisiteId, Id learningObjectiveRequirementId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds aLearningObjectiveRequirementto aRequisite.- Parameters:
requisiteId- theIdof aRequisitelearningObjectiveRequirementId- theIdof aLearningObjectiveRequirement- Throws:
AlreadyExistsException-learningObjectiveRequirementIdis already part ofrequisiteIdNotFoundException-requisiteIdorlearningObjectiveRequirementIdnot foundNullArgumentException-requisiteIdorlearningObjectiveRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeLearningObjectiveRequirement
void removeLearningObjectiveRequirement(Id requisiteId, Id learningObjectiveRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes aLearningObjectiveRequirementfrom aRequisite.- Parameters:
requisiteId- theIdof aRequisitelearningObjectiveRequirementId- theIdof aLearningObjectiveRequirement- Throws:
NotFoundException-requisiteIdorlearningObjectiveRequirementIdnot found orlearningObjectiveRequirementIdnot part ofrequisiteIdNullArgumentException-requisiteIdorcredentialRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeLearningObjectiveRequirements
void removeLearningObjectiveRequirements(Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes allLearningObjectiveRequirementsfrom aRequisite.- Parameters:
requisiteId- theIdof aRequisite- Throws:
NotFoundException-requisiteIdnot foundNullArgumentException-requisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
addAltRequisiteToLearningObjectiveRequirement
void addAltRequisiteToLearningObjectiveRequirement(Id learningObjectiveRequirementId, Id requisiteId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds an alternativeRequisiteto aLearningObjectiveRequirement.- Parameters:
learningObjectiveRequirementId- theIdof aLearningObjectiveRequirementrequisiteId- theIdof aRequisite- Throws:
AlreadyExistsException-requisiteIdis already part oflearningObjectiveRequirementIdNotFoundException-learningObjectiveRequirementIdorrequisiteIdnot foundNullArgumentException-learningObjectiveRequirementIdorrequisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeAltRequisiteFromLearningObjectiveRequirement
void removeAltRequisiteFromLearningObjectiveRequirement(Id learningObjectiveRequirementId, Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes an alternativeRequisitefrom aLearningObjectiveRequirement.- Parameters:
learningObjectiveRequirementId- theIdof aLearningObjectiveRequirementrequisiteId- theIdof aRequisite- Throws:
NotFoundException-learningObjectiveRequirementIdorrequisiteIdnot found orrequisiteIdnot part oflearningObjectiveRequirementIdNullArgumentException-learningObjectiveRequirementIdorrequisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeAltRequisitesFromLearningObjectiveRequirement
void removeAltRequisitesFromLearningObjectiveRequirement(Id learningObjectiveRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes allRequisitesfrom aLearningObjectiveRequirement.- Parameters:
learningObjectiveRequirementId- theIdof aLearningObjectiveRequirement- Throws:
NotFoundException-learningObjectiveRequirementIdnot foundNullArgumentException-learningObjectiveRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canCreateAssessmentRequirements
boolean canCreateAssessmentRequirements()Tests if this user can createAssessmentRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known creating anAssessmentRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer create operations to an unauthorized user.- Returns:
falseifAssessmentRequirementcreation is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canCreateAssessmentRequirementWithRecordTypes
Tests if this user can create a singleAssessmentRequirementusing the desired record types. WhileCourseRequisiteManager.getAssessmentRequirementRecordTypes()can be used to examine which records are supported, this method tests which record(s) are required for creating a specificAssessmentRequirement. Providing an empty array tests if anAssessmentRequirementcan be created with no records.- Parameters:
assessmentRequirementRecordTypes- array of assessment requirement record types- Returns:
trueifAssessmentRequirementcreation using the specified recordTypesis supported,falseotherwise- Throws:
NullArgumentException-assessmentRequirementRecordTypesisnull- Compliance:
mandatory- This method must be implemented.
-
getAssessmentRequirementFormForCreate
AssessmentRequirementForm getAssessmentRequirementFormForCreate(Id assessmentId, Type[] assessmentRequirementRecordTypes) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets the assessment requirement form for creating new credential requirements. A new form should be requested for each create transaction.- Parameters:
assessmentId- an assessmentIdassessmentRequirementRecordTypes- array of assessment requirement record types- Returns:
- the assessment requirement form
- Throws:
NotFoundException-assessmentIdis not foundNullArgumentException-assessmentIdorassessmentRequirementRecordTypesisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException- unable to get form for requested record types- Compliance:
mandatory- This method must be implemented.
-
createAssessmentRequirement
AssessmentRequirement createAssessmentRequirement(Id assessmentId, AssessmentRequirementForm assessmentRequirementForm) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Creates a newAssessmentRequirement.- Parameters:
assessmentId- an assessmentIdassessmentRequirementForm- the form for thisAssessmentRequirement- Returns:
- the new
AssessmentRequirement - Throws:
AlreadyExistsException- attempt at duplicating a property the underlying system is enforcing to be uniqueInvalidArgumentException- one or more of the form elements is invalidNotFoundException-assessmentIdis not foundNullArgumentException-assessmentidorassessmentRequirementFormisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException-assessmentRequirementFormis not of this service- Compliance:
mandatory- This method must be implemented.
-
canUpdateAssessmentRequirements
boolean canUpdateAssessmentRequirements()Tests if this user can updateAssessmentRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known updating anAssessmentRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer update operations to an unauthorized user.- Returns:
falseifAssessmentRequirementmodification is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canUpdateAssessmentRequirement
Tests if this user can update a specifiedAssessmentRequirement. A return of true does not guarantee successful authorization. A return of false indicates that it is known updating theAssessmentRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer an update operation to an unauthorized user for thisAssessmentRequirement.- Parameters:
assessmentRequirementId- theIdof theAssessmentRequirement- Returns:
falseif assessment requirement modification is not authorized,trueotherwise- Throws:
NullArgumentException-assessmentRequirementIdisnull- Compliance:
mandatory- This method must be implemented.- Notes:
If- the {@code assessmentRequirementId} is not found, then it is acceptable to return false to indicate the lack of an update available.
-
getAssessmentRequirementFormForUpdate
AssessmentRequirementForm getAssessmentRequirementFormForUpdate(Id assessmentRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets the assessment requirement form for updating an existing credential requirement. A new requisite form should be requested for each update transaction.- Parameters:
assessmentRequirementId- theIdof theAssessmentRequirement- Returns:
- the assessment requirement form
- Throws:
NotFoundException-assessmentRequirementIdis not foundNullArgumentException-assessmentRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
updateAssessmentRequirement
void updateAssessmentRequirement(AssessmentRequirementForm assessmentRequirementForm) throws OperationFailedException, PermissionDeniedException Updates an existing assessment requirement.- Parameters:
assessmentRequirementForm- the form containing the elements to be updated- Throws:
IllegalStateException-assessmentRequirementFormalready used in an update transactionInvalidArgumentException- the form contains an invalid valueNullArgumentException-assessmentRequirementFormisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException-assessmentRequirementFormdid not originate fromgetAssessmentRequirementFormForUpdate()- Compliance:
mandatory- This method must be implemented.
-
canDeleteAssessmentRequirements
boolean canDeleteAssessmentRequirements()Tests if this user can deleteAssessmentRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known deleting anAssessmentRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer delete operations to an unauthorized user.- Returns:
falseifAssessmentRequirementdeletion is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canDeleteAssessmentRequirement
Tests if this user can delete a specifiedAssessmentRequirement. A return of true does not guarantee successful authorization. A return of false indicates that it is known deleting theAssessmentRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer a delete operation to an unauthorized user for this assessment requirement.- Parameters:
assessmentRequirementId- theIdof theAssessmentRequirement- Returns:
falseif deletion of thisAssessmentRequirementis not authorized,trueotherwise- Throws:
NullArgumentException-assessmentRequirementIdisnull- Compliance:
mandatory- This method must be implemented.- Notes:
If- the {@code assessmentRequirementId} , is not found, then it is acceptable to return false to indicate the lack of a delete available.
-
deleteAssessmentRequirement
void deleteAssessmentRequirement(Id assessmentRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Deletes anAssessmentRequirement.- Parameters:
assessmentRequirementId- theIdof theAssessmentRequirementto remove- Throws:
NotFoundException-assessmentRequirementIdnot foundNullArgumentException-assessmentRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
deleteAssessmentRequirements
Deletes allAssessmentRequirementsin thisCourseCatalog.- Throws:
OperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canManageAssessmentRequirementAliases
boolean canManageAssessmentRequirementAliases()Tests if this user can manageIdaliases forAssessmentRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known changing an alias will result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer alias operations to an unauthorized user.- Returns:
falseifAssessmentRequirementaliasing is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
aliasAssessmentRequirement
void aliasAssessmentRequirement(Id assessmentRequirementId, Id aliasId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds anIdto anAssessmentRequirementfor the purpose of creating compatibility. The primaryIdof theAssessmentRequirementis determined by the provider. The newIdperforms as an alias to the primaryId. If the alias is a pointer to another assessment requirement, it is reassigned to the given assessment requirementId.- Parameters:
assessmentRequirementId- theIdof anAssessmentRequirementaliasId- the aliasId- Throws:
AlreadyExistsException-aliasIdis in use as a primaryIdNotFoundException-assessmentRequirementIdnot foundNullArgumentException-assessmentRequirementIdoraliasIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
addAssessmentRequirement
void addAssessmentRequirement(Id requisiteId, Id assessmentRequirementId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds anAssessmentRequirementto aRequisite.- Parameters:
requisiteId- theIdof aRequisiteassessmentRequirementId- theIdof anAssessmentRequirement- Throws:
AlreadyExistsException-assessmentRequirementIdis already part ofrequisiteIdNotFoundException-requisiteIdorassessmentRequirementIdnot foundNullArgumentException-requisiteIdorassessmentRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeAssessmentRequirement
void removeAssessmentRequirement(Id requisiteId, Id assessmentRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes anAssessmentRequirementfrom aRequisite.- Parameters:
requisiteId- theIdof aRequisiteassessmentRequirementId- theIdof anAssessmentRequirement- Throws:
NotFoundException-requisiteIdorassessmentRequirementIdnot found orassessmentRequirementIdnot part ofrequisiteIdNullArgumentException-requisiteIdorassessmentRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeAssessmentRequirements
void removeAssessmentRequirements(Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes allAssessmentRequirementsfrom aRequisite.- Parameters:
requisiteId- theIdof aRequisite- Throws:
NotFoundException-requisiteIdnot foundNullArgumentException-requisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
addAltRequisiteToAssessmentRequirement
void addAltRequisiteToAssessmentRequirement(Id assessmentRequirementId, Id requisiteId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds an alternativeRequisiteto anAssessmentRequirement.- Parameters:
assessmentRequirementId- theIdof anAssessmentRequirementrequisiteId- theIdof aRequisite- Throws:
AlreadyExistsException-requisiteIdis already part ofassessmentRequirementIdNotFoundException-assessmentRequirementIdorrequisiteIdnot foundNullArgumentException-assessmentRequirementIdorrequisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeAltRequisiteFromAssessmentRequirement
void removeAltRequisiteFromAssessmentRequirement(Id assessmentRequirementId, Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes an alternativeRequisitefrom anAssessmentRequirement.- Parameters:
assessmentRequirementId- theIdof anAssessmentRequirementrequisiteId- theIdof aRequisite- Throws:
NotFoundException-assessmentRequirementIdorrequisiteIdnot found orrequisiteIdnot part ofassessmentRequirementIdNullArgumentException-assessmentRequirementIdorrequisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeAltRequisitesFromAssessmentRequirement
void removeAltRequisitesFromAssessmentRequirement(Id assessmentRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes allRequisitesfrom anAssessmentRequirement.- Parameters:
assessmentRequirementId- theIdof anAssessmentRequirement- Throws:
NotFoundException-assessmentRequirementIdnot foundNullArgumentException-assessmentRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canCreateAwardRequirements
boolean canCreateAwardRequirements()Tests if this user can createAwardRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known creating anAwardRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer create operations to an unauthorized user.- Returns:
falseifAwardRequirementcreation is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canCreateAwardRequirementWithRecordTypes
Tests if this user can create a singleAwardRequirementusing the desired record types. WhileCourseRequisiteManager.getAwardRequirementRecordTypes()can be used to examine which records are supported, this method tests which record(s) are required for creating a specificAwardRequirement. Providing an empty array tests if anAwardRequirementcan be created with no records.- Parameters:
awardRequirementRecordTypes- array of award requirement record types- Returns:
trueifAwardRequirementcreation using the specified recordTypesis supported,falseotherwise- Throws:
NullArgumentException-awardRequirementRecordTypesisnull- Compliance:
mandatory- This method must be implemented.
-
getAwardRequirementFormForCreate
AwardRequirementForm getAwardRequirementFormForCreate(Id awardId, Type[] awardRequirementRecordTypes) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets the award requirement form for creating new credential requirements. A new form should be requested for each create transaction.- Parameters:
awardId- an awardIdawardRequirementRecordTypes- array of award requirement record types- Returns:
- the award requirement form
- Throws:
NotFoundException-awardIdis not foundNullArgumentException-awardIdorawardRequirementRecordTypesisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException- unable to get form for requested record types- Compliance:
mandatory- This method must be implemented.
-
createAwardRequirement
AwardRequirement createAwardRequirement(Id awardId, AwardRequirementForm awardRequirementForm) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Creates a newAwardRequirement.- Parameters:
awardId- an awardIdawardRequirementForm- the form for thisAwardRequirement- Returns:
- the new
AwardRequirement - Throws:
AlreadyExistsException- attempt at duplicating a property the underlying system is enforcing to be uniqueInvalidArgumentException- one or more of the form elements is invalidNotFoundException-awardIdis not foundNullArgumentException-awardidorawardRequirementFormisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException-awardRequirementFormis not of this service- Compliance:
mandatory- This method must be implemented.
-
canUpdateAwardRequirements
boolean canUpdateAwardRequirements()Tests if this user can updateAwardRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known updating anAwardRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer update operations to an unauthorized user.- Returns:
falseifAwardRequirementmodification is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canUpdateAwardRequirement
Tests if this user can update a specifiedAwardRequirement. A return of true does not guarantee successful authorization. A return of false indicates that it is known updating theAwardRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer an update operation to an unauthorized user for thisAwardRequirement.- Parameters:
awardRequirementId- theIdof theAwardRequirement- Returns:
falseif award requirement modification is not authorized,trueotherwise- Throws:
NullArgumentException-awardRequirementIdisnull- Compliance:
mandatory- This method must be implemented.- Notes:
If- the {@code awardRequirementId} is not found, then it is acceptable to return false to indicate the lack of an update available.
-
getAwardRequirementFormForUpdate
AwardRequirementForm getAwardRequirementFormForUpdate(Id awardRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets the award requirement form for updating an existing credential requirement. A new requisite form should be requested for each update transaction.- Parameters:
awardRequirementId- theIdof theAwardRequirement- Returns:
- the award requirement form
- Throws:
NotFoundException-awardRequirementIdis not foundNullArgumentException-awardRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
updateAwardRequirement
void updateAwardRequirement(AwardRequirementForm awardRequirementForm) throws OperationFailedException, PermissionDeniedException Updates an existing award requirement.- Parameters:
awardRequirementForm- the form containing the elements to be updated- Throws:
IllegalStateException-awardRequirementFormalready used in an update transactionInvalidArgumentException- the form contains an invalid valueNullArgumentException-awardRequirementFormisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException-awardRequirementFormdid not originate fromgetAwardRequirementFormForUpdate()- Compliance:
mandatory- This method must be implemented.
-
canDeleteAwardRequirements
boolean canDeleteAwardRequirements()Tests if this user can deleteAwardRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known deleting anAwardRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer delete operations to an unauthorized user.- Returns:
falseifAwardRequirementdeletion is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canDeleteAwardRequirement
Tests if this user can delete a specifiedAwardRequirement. A return of true does not guarantee successful authorization. A return of false indicates that it is known deleting theAwardRequirementwill result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer a delete operation to an unauthorized user for this award requirement.- Parameters:
awardRequirementId- theIdof theAwardRequirement- Returns:
falseif deletion of thisAwardRequirementis not authorized,trueotherwise- Throws:
NullArgumentException-awardRequirementIdisnull- Compliance:
mandatory- This method must be implemented.- Notes:
If- the {@code awardRequirementId} , is not found, then it is acceptable to return false to indicate the lack of a delete available.
-
deleteAwardRequirement
void deleteAwardRequirement(Id awardRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Deletes anAwardRequirement.- Parameters:
awardRequirementId- theIdof theAwardRequirementto remove- Throws:
NotFoundException-awardRequirementIdnot foundNullArgumentException-awardRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
deleteAwardRequirements
Deletes allAwardRequirementsin thisCourseCatalog.- Throws:
OperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canManageAwardRequirementAliases
boolean canManageAwardRequirementAliases()Tests if this user can manageIdaliases forAwardRequirements. A return of true does not guarantee successful authorization. A return of false indicates that it is known changing an alias will result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer alias operations to an unauthorized user.- Returns:
falseifAwardRequirementaliasing is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
aliasAwardRequirement
void aliasAwardRequirement(Id awardRequirementId, Id aliasId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds anIdto anAwardRequirementfor the purpose of creating compatibility. The primaryIdof theAwardRequirementis determined by the provider. The newIdperforms as an alias to the primaryId. If the alias is a pointer to another award requirement, it is reassigned to the given award requirementId.- Parameters:
awardRequirementId- theIdof anAwardRequirementaliasId- the aliasId- Throws:
AlreadyExistsException-aliasIdis in use as a primaryIdNotFoundException-awardRequirementIdnot foundNullArgumentException-awardRequirementIdoraliasIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
addAwardRequirement
void addAwardRequirement(Id requisiteId, Id awardRequirementId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds anAwardRequirementto aRequisite.- Parameters:
requisiteId- theIdof aRequisiteawardRequirementId- theIdof anAwardRequirement- Throws:
AlreadyExistsException-awardRequirementIdis already part ofrequisiteIdNotFoundException-requisiteIdorawardRequirementIdnot foundNullArgumentException-requisiteIdorawardRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeAwardRequirement
void removeAwardRequirement(Id requisiteId, Id awardRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes anAwardRequirementfrom aRequisite.- Parameters:
requisiteId- theIdof aRequisiteawardRequirementId- theIdof anAwardRequirement- Throws:
NotFoundException-requisiteIdorawardRequirementIdnot found orawardRequirementIdnot part ofrequisiteIdNullArgumentException-requisiteIdorawardRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeAwardRequirements
void removeAwardRequirements(Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes allAwardRequirementsfrom aRequisite.- Parameters:
requisiteId- theIdof aRequisite- Throws:
NotFoundException-requisiteIdnot foundNullArgumentException-requisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
addAltRequisiteToAwardRequirement
void addAltRequisiteToAwardRequirement(Id awardRequirementId, Id requisiteId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds an alternativeRequisiteto anAwardRequirement.- Parameters:
awardRequirementId- theIdof anAwardRequirementrequisiteId- theIdof aRequisite- Throws:
AlreadyExistsException-requisiteIdis already part ofawardRequirementIdNotFoundException-awardRequirementIdorrequisiteIdnot foundNullArgumentException-awardRequirementIdorrequisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeAltRequisiteFromAwardRequirement
void removeAltRequisiteFromAwardRequirement(Id awardRequirementId, Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes an alternativeRequisitefrom anAwardRequirement.- Parameters:
awardRequirementId- theIdof anAwardRequirementrequisiteId- theIdof aRequisite- Throws:
NotFoundException-awardRequirementIdorrequisiteIdnot found orrequisiteIdnot part ofawardRequirementIdNullArgumentException-awardRequirementIdorrequisiteIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
removeAltRequisitesFromAwardRequirement
void removeAltRequisitesFromAwardRequirement(Id awardRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes allRequisitesfrom anAwardRequirement.- Parameters:
awardRequirementId- theIdof anAwardRequirement- Throws:
NotFoundException-awardRequirementIdnot foundNullArgumentException-awardRequirementIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-