public interface RequisiteAdminSession extends 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.
Modifier and Type | Method and Description |
---|---|
void |
addAltRequisiteToAssessmentRequirement(Id assessmentRequirementId,
Id requisiteId)
Adds an alternative
Requisite to an
AssessmentRequirement. |
void |
addAltRequisiteToAwardRequirement(Id awardRequirementId,
Id requisiteId)
Adds an alternative
Requisite to an
AwardRequirement. |
void |
addAltRequisiteToCourseRequirement(Id courseRequirementId,
Id requisiteId)
Adds an alternative
Requisite to a
CourseRequirement. |
void |
addAltRequisiteToCredentialRequirement(Id credentialRequirementId,
Id requisiteId)
Adds an alternative
Requisite to a
CredentialRequirement. |
void |
addAltRequisiteToLearningObjectiveRequirement(Id learningObjectiveRequirementId,
Id requisiteId)
Adds an alternative
Requisite to a
LearningObjectiveRequirement. |
void |
addAltRequisiteToProgramRequirement(Id programRequirementId,
Id requisiteId)
Adds an alternative
Requisite to a
ProgramRequirement. |
void |
addAssessmentRequirement(Id requisiteId,
Id assessmentRequirementId)
Adds an
AssessmentRequirement to a Requisite. |
void |
addAwardRequirement(Id requisiteId,
Id awardRequirementId)
Adds an
AwardRequirement to a Requisite. |
void |
addCourseRequirement(Id requisiteId,
Id courseRequirementId)
Adds a
CourseRequirement to a Requisite. |
void |
addCredentialRequirement(Id requisiteId,
Id credentialRequirementId)
Adds a
CredentialRequirement to a Requisite. |
void |
addLearningObjectiveRequirement(Id requisiteId,
Id learningObjectiveRequirementId)
Adds a
LearningObjectiveRequirement to a
Requisite. |
void |
addProgramRequirement(Id requisiteId,
Id programRequirementId)
Adds a
ProgramRequirement to a Requisite. |
void |
addRequsiteOption(Id requisiteId,
Id requisiteOptionId)
Adds a
Requisite as an option to a Requisite. |
void |
aliasAssessmentRequirement(Id assessmentRequirementId,
Id aliasId)
Adds an
Id to an AssessmentRequirement
for the purpose of creating compatibility. |
void |
aliasAwardRequirement(Id awardRequirementId,
Id aliasId)
Adds an
Id to an AwardRequirement for
the purpose of creating compatibility. |
void |
aliasCourseRequirement(Id courseRequirementId,
Id aliasId)
Adds an
Id to a CourseRequirement for
the purpose of creating compatibility. |
void |
aliasCredentialRequirement(Id credentialRequirementId,
Id aliasId)
Adds an
Id to a CredentialRequirement
for the purpose of creating compatibility. |
void |
aliasLearningObjectiveRequirement(Id learningObjectiveRequirementId,
Id aliasId)
Adds an
Id to a LearningObjectiveRequirement
for the purpose of creating compatibility. |
void |
aliasProgramRequirement(Id programRequirementId,
Id aliasId)
Adds an
Id to a ProgramRequirement for
the purpose of creating compatibility. |
void |
aliasRequisite(Id requisiteId,
Id aliasId)
Adds an
Id to a Requisite for the
purpose of creating compatibility. |
boolean |
canCreateAssessmentRequirements()
Tests if this user can create
AssessmentRequirements. |
boolean |
canCreateAssessmentRequirementWithRecordTypes(Type[] assessmentRequirementRecordTypes)
Tests if this user can create a single
AssessmentRequirement
using the desired record types. |
boolean |
canCreateAwardRequirements()
Tests if this user can create
AwardRequirements. |
boolean |
canCreateAwardRequirementWithRecordTypes(Type[] awardRequirementRecordTypes)
Tests if this user can create a single
AwardRequirement
using the desired record types. |
boolean |
canCreateCourseRequirements()
Tests if this user can create
CourseRequirements. |
boolean |
canCreateCourseRequirementWithRecordTypes(Type[] courseRequirementRecordTypes)
Tests if this user can create a single
CourseRequirement
using the desired record types. |
boolean |
canCreateCredentialRequirements()
Tests if this user can create
CredentialRequirements. |
boolean |
canCreateCredentiaRequirementWithRecordTypes(Type[] credentialRequirementRecordTypes)
Tests if this user can create a single
CredentialRequirement
using the desired record types. |
boolean |
canCreateLearningObjectiveRequirements()
Tests if this user can create
LearningObjectiveRequirements. |
boolean |
canCreateLearningObjectiveRequirementWithRecordTypes(Type[] learningObjectiveRequirementRecordTypes)
Tests if this user can create a single
LearningObjectiveRequirement using the desired record types. |
boolean |
canCreateProgramRequirements()
Tests if this user can create
ProgramRequirements. |
boolean |
canCreateProgramRequirementWithRecordTypes(Type[] programRequirementRecordTypes)
Tests if this user can create a single
ProgramRequirement
using the desired record types. |
boolean |
canCreateRequisites()
Tests if this user can create
Requisites. |
boolean |
canCreateRequisiteWithRecordTypes(Type[] requisiteRecordTypes)
Tests if this user can create a single
Porgram using
the desired record types. |
boolean |
canDeleteAssessmentRequirement(Id assessmentRequirementId)
Tests if this user can delete a specified
AssessmentRequirement. |
boolean |
canDeleteAssessmentRequirements()
Tests if this user can delete
AssessmentRequirements. |
boolean |
canDeleteAwardRequirement(Id awardRequirementId)
Tests if this user can delete a specified
AwardRequirement. |
boolean |
canDeleteAwardRequirements()
Tests if this user can delete
AwardRequirements. |
boolean |
canDeleteCourseRequirement(Id courseRequirementId)
Tests if this user can delete a specified
CourseRequirement. |
boolean |
canDeleteCourseRequirements()
Tests if this user can delete
CourseRequirements. |
boolean |
canDeleteCredentialRequirement(Id credentialRequirementId)
Tests if this user can delete a specified
CredentialRequirement. |
boolean |
canDeleteCredentialRequirements()
Tests if this user can delete
CredentialRequirements. |
boolean |
canDeleteLearningObjectiveRequirement(Id learningObjectiveRequirementId)
Tests if this user can delete a specified
LearningObjectiveRequirement. |
boolean |
canDeleteLearningObjectiveRequirements()
Tests if this user can delete
LearningObjectiveRequirements. |
boolean |
canDeleteProgramRequirement(Id programRequirementId)
Tests if this user can delete a specified
ProgramRequirement. |
boolean |
canDeleteProgramRequirements()
Tests if this user can delete
ProgramRequirements. |
boolean |
canDeleteRequisite(Id requisiteId)
Tests if this user can delete a specified
Requisite. |
boolean |
canDeleteRequisites()
Tests if this user can delete
Requisites. |
boolean |
canManageAssessmentRequirementAliases()
Tests if this user can manage
Id aliases for
AssessmentRequirements. |
boolean |
canManageAwardRequirementAliases()
Tests if this user can manage
Id aliases for
AwardRequirements. |
boolean |
canManageCourseRequirementAliases()
Tests if this user can manage
Id aliases for
CourseRequirements. |
boolean |
canManageCredentialRequirementAliases()
Tests if this user can manage
Id aliases for
CredentialRequirements. |
boolean |
canManageLearningObjectiveRequirementAliases()
Tests if this user can manage
Id aliases for
LearningObjectiveRequirements. |
boolean |
canManageProgramRequirementAliases()
Tests if this user can manage
Id aliases for
ProgramRequirements. |
boolean |
canManageRequisiteAliases()
Tests if this user can manage
Id aliases for
Requisites. |
boolean |
canUpdateAssessmentRequirement(Id assessmentRequirementId)
Tests if this user can update a specified
AssessmentRequirement. |
boolean |
canUpdateAssessmentRequirements()
Tests if this user can update
AssessmentRequirements. |
boolean |
canUpdateAwardRequirement(Id awardRequirementId)
Tests if this user can update a specified
AwardRequirement. |
boolean |
canUpdateAwardRequirements()
Tests if this user can update
AwardRequirements. |
boolean |
canUpdateCourseRequirement(Id courseRequirementId)
Tests if this user can update a specified
CourseRequirement. |
boolean |
canUpdateCourseRequirements()
Tests if this user can update
CourseRequirements. |
boolean |
canUpdateCredentialRequirement(Id credentialRequirementId)
Tests if this user can update a specified
CredentialRequirement. |
boolean |
canUpdateCredentialRequirements()
Tests if this user can update
CredentialRequirements. |
boolean |
canUpdateLearningObjectiveRequirement(Id learningObjectiveRequirementId)
Tests if this user can update a specified
LearningObjectiveRequirement. |
boolean |
canUpdateLearningObjectiveRequirements()
Tests if this user can update
LearningObjectiveRequirements. |
boolean |
canUpdateProgramRequirement(Id programRequirementId)
Tests if this user can update a specified
ProgramRequirement. |
boolean |
canUpdateProgramRequirements()
Tests if this user can update
ProgramRequirements. |
boolean |
canUpdateRequisites()
Tests if this user can update
Requisites. |
AssessmentRequirement |
createAssessmentRequirement(Id assessmentId,
AssessmentRequirementForm assessmentRequirementForm)
Creates a new
AssessmentRequirement. |
AwardRequirement |
createAwardRequirement(Id awardId,
AwardRequirementForm awardRequirementForm)
Creates a new
AwardRequirement. |
CourseRequirement |
createCourseRequirement(Id courseId,
CourseRequirementForm courseRequirementForm)
Creates a new
CourseRequirement. |
CredentialRequirement |
createCredentialRequirement(Id credentialId,
CredentialRequirementForm credentialRequirementForm)
Creates a new
CredentialRequirement. |
LearningObjectiveRequirement |
createLearningObjectiveRequirement(Id objectiveId,
LearningObjectiveRequirementForm learningObjectiveRequirementForm)
Creates a new
LearningObjectiveRequirement. |
ProgramRequirement |
createProgramRequirement(Id programId,
ProgramRequirementForm programRequirementForm)
Creates a new
ProgramRequirement. |
Requisite |
createRequisite(RequisiteForm requisiteForm)
Creates a new
Requisite. |
void |
deleteAssessmentRequirement(Id assessmentRequirementId)
Deletes an
AssessmentRequirement. |
void |
deleteAssessmentRequirements()
Deletes all
AssessmentRequirements in this
CourseCatalog. |
void |
deleteAwardRequirement(Id awardRequirementId)
Deletes an
AwardRequirement. |
void |
deleteAwardRequirements()
Deletes all
AwardRequirements in this
CourseCatalog. |
void |
deleteCourseRequirement(Id courseRequirementId)
Deletes a
CourseRequirement. |
void |
deleteCourseRequirements()
Deletes all
CourseRequirements in this
CourseCatalog. |
void |
deleteCredentialRequirement(Id credentialRequirementId)
Deletes a
CredentialRequirement. |
void |
deleteCredentialRequirements()
Deletes all
CredentialRequirements in this
CourseCatalog. |
void |
deleteLearningObjectiveRequirement(Id learningObjectiveRequirementId)
Deletes a
LearningObjectiveRequirement. |
void |
deleteLearningObjectiveRequirements()
Deletes all
LearningObjectiveRequirements in this
CourseCatalog. |
void |
deleteProgramRequirement(Id programRequirementId)
Deletes a
ProgramRequirement. |
void |
deleteProgramRequirements()
Deletes all
ProgramRequirements in this
CourseCatalog. |
void |
deleteRequisite(Id requisiteId)
Deletes a
Requisite. |
AssessmentRequirementForm |
getAssessmentRequirementFormForCreate(Id assessmentId,
Type[] assessmentRequirementRecordTypes)
Gets the assessment requirement form for creating new credential
requirements.
|
AssessmentRequirementForm |
getAssessmentRequirementFormForUpdate(Id assessmentRequirementId)
Gets the assessment requirement form for updating an existing
credential requirement.
|
AwardRequirementForm |
getAwardRequirementFormForCreate(Id awardId,
Type[] awardRequirementRecordTypes)
Gets the award requirement form for creating new credential
requirements.
|
AwardRequirementForm |
getAwardRequirementFormForUpdate(Id awardRequirementId)
Gets the award requirement form for updating an existing credential
requirement.
|
CourseCatalog |
getCourseCatalog()
Gets the
CourseCatalog associated with this session. |
Id |
getCourseCatalogId()
Gets the
CourseCatalog Id associated
with this session. |
CourseRequirementForm |
getCourseRequirementFormForCreate(Id courseId,
Type[] courseRequirementRecordTypes)
Gets the course requirement form for creating new course requirements.
|
CourseRequirementForm |
getCourseRequirementFormForUpdate(Id courseRequirementId)
Gets the course requirement form for updating an existing course
requirement.
|
CredentialRequirementForm |
getCredentialRequirementFormForCreate(Id credentialId,
Type[] credentialRequirementRecordTypes)
Gets the credential requirement form for creating new credential
requirements.
|
CredentialRequirementForm |
getCredentialRequirementFormForUpdate(Id credentialRequirementId)
Gets the credential requirement form for updating an existing
credential requirement.
|
LearningObjectiveRequirementForm |
getLearningObjectiveRequirementFormForCreate(Id objectiveId,
Type[] learningObjectiveRequirementForm)
Gets the learning objective requirement form for creating new learning
objective requirements.
|
LearningObjectiveRequirementForm |
getLearningObjectiveRequirementFormForUpdate(Id learningObjectiveRequirementId)
Gets the learning objective requirement form for updating an existing
learning objective requirement.
|
ProgramRequirementForm |
getProgramRequirementFormForCreate(Id programId,
Type[] programRequirementRecordTypes)
Gets the program requirement form for creating new program
requirements.
|
ProgramRequirementForm |
getProgramRequirementFormForUpdate(Id programRequirementId)
Gets the program requirement form for updating an existing program
requirement.
|
RequisiteForm |
getRequisiteFormForCreate(Type[] requisiteRecordTypes)
Gets the requisite form for creating new requisites.
|
RequisiteForm |
getRequisiteFormForUpdate(Id requisiteId)
Gets the requisite form for updating an existing requisite.
|
void |
removeAltRequisiteFromAssessmentRequirement(Id assessmentRequirementId,
Id requisiteId)
Removes an alternative
Requisite from an
AssessmentRequirement. |
void |
removeAltRequisiteFromAwardRequirement(Id awardRequirementId,
Id requisiteId)
Removes an alternative
Requisite from an
AwardRequirement. |
void |
removeAltRequisiteFromCourseRequirement(Id courseRequirementId,
Id requisiteId)
Removes an alternative
Requisite from a
CourseRequirement. |
void |
removeAltRequisiteFromCredentialRequirement(Id credentialRequirementId,
Id requisiteId)
Removes an alternative
Requisite from a
CredentialRequirement. |
void |
removeAltRequisiteFromLearningObjectiveRequirement(Id learningObjectiveRequirementId,
Id requisiteId)
Removes an alternative
Requisite from a
LearningObjectiveRequirement. |
void |
removeAltRequisiteFromProgramRequirement(Id programRequirementId,
Id requisiteId)
Removes an alternative
Requisite from a
ProgramRequirement. |
void |
removeAltRequisitesFromAssessmentRequirement(Id assessmentRequirementId)
Removes all
Requisites from an
AssessmentRequirement. |
void |
removeAltRequisitesFromAwardRequirement(Id awardRequirementId)
Removes all
Requisites from an AwardRequirement. |
void |
removeAltRequisitesFromCourseRequirement(Id courseRequirementId)
Removes all
Requisites from a CourseRequirement. |
void |
removeAltRequisitesFromCredentialRequirement(Id credentialRequirementId)
Removes all
Requisites from a
CredentialRequirement. |
void |
removeAltRequisitesFromLearningObjectiveRequirement(Id learningObjectiveRequirementId)
Removes all
Requisites from a
LearningObjectiveRequirement. |
void |
removeAltRequisitesFromProgramRequirement(Id programRequirementId)
Removes all
Requisites from a
ProgramRequirement. |
void |
removeAssessmentRequirement(Id requisiteId,
Id assessmentRequirementId)
Removes anAssessment
Requirement from a
Requisite. |
void |
removeAssessmentRequirements(Id requisiteId)
Removes all
AssessmentRequirements from a
Requisite. |
void |
removeAwardRequirement(Id requisiteId,
Id awardRequirementId)
Removes anAward
Requirement from a Requisite. |
void |
removeAwardRequirements(Id requisiteId)
Removes all
AwardRequirements from a Requisite. |
void |
removeCourseRequirement(Id requisiteId,
Id courseRequirementId)
Removes a
CourseRequirement from a Requisite. |
void |
removeCourseRequirements(Id requisiteId)
Removes all
CourseRequirements from a Requisite. |
void |
removeCredentialRequirement(Id requisiteId,
Id credentialRequirementId)
Removes a
CredentialRequirement from a
Requisite. |
void |
removeCredentialRequirements(Id requisiteId)
Removes all
CredentialRequirements from a
Requisite. |
void |
removeLearningObjectiveRequirement(Id requisiteId,
Id learningObjectiveRequirementId)
Removes a
LearningObjectiveRequirement from a
Requisite. |
void |
removeLearningObjectiveRequirements(Id requisiteId)
Removes all
LearningObjectiveRequirements from a
Requisite. |
void |
removeProgramRequirement(Id requisiteId,
Id programRequirementId)
Removes a
ProgramRequirement from a Requisite. |
void |
removeProgramRequirements(Id requisiteId)
Removes all
ProgramRequirements from a
Requisite. |
void |
removeRequsiteOption(Id requisiteId,
Id requisiteOptionId)
Removes a
Requisite as an option from a
Requisite. |
void |
removeRequsiteOptions(Id requisiteId)
Removes all
Requisites as options from a
Requisite. |
void |
updateAssessmentRequirement(Id assessmentRequirementId,
AssessmentRequirementForm assessmentRequirementForm)
Updates an existing assessment requirement.
|
void |
updateAwardRequirement(Id awardRequirementId,
AwardRequirementForm awardRequirementForm)
Updates an existing award requirement.
|
void |
updateCourseRequirement(Id courseRequirementId,
CourseRequirementForm courseRequirementForm)
Updates an existing course requirement.
|
void |
updateCredentialRequirement(Id credentialRequirementId,
CredentialRequirementForm credentialRequirementForm)
Updates an existing credential requirement.
|
void |
updateLearningObjectiveRequirement(Id learningObjectiveRequirementId,
LearningObjectiveRequirementForm learningObjectiveRequirementForm)
Updates an existing learning objective requirement.
|
void |
updateProgramRequirement(Id programRequirementId,
ProgramRequirementForm programRequirementForm)
Updates an existing program requirement.
|
void |
updateRequisite(RequisiteForm requisiteForm)
Updates an existing requisite.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id getCourseCatalogId()
CourseCatalog
Id
associated
with this session. CourseCatalog Id
associated with this
sessionmandatory
- This method must be implemented. CourseCatalog getCourseCatalog() throws OperationFailedException, PermissionDeniedException
CourseCatalog
associated with this session.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canCreateRequisites()
Requisites.
A return of
true does not guarantee successful authorization. A return of false
indicates that it is known creating a Requisite
will
result in a PERMISSION_DENIED.
This is intended as a
hint to an application that may opt not to offer create operations to
an unauthorized user. false
if Requisite
creation is
not authorized, true
otherwisemandatory
- This method must be implemented. boolean canCreateRequisiteWithRecordTypes(Type[] requisiteRecordTypes)
Porgram
using
the desired record types. While
CourseRequisiteManager.getRequisiteRecordTypes()
can be used
to examine which records are supported, this method tests which
record(s) are required for creating a specific Requisite.
Providing an empty array tests if a Requisite
can be created with no records.requisiteRecordTypes
- array of requisite record types true
if Requisite
creation using
the specified record Types
is supported,
false
otherwiseNullArgumentException
- requisiteRecordTypes
is null
mandatory
- This method must be implemented. RequisiteForm getRequisiteFormForCreate(Type[] requisiteRecordTypes) throws OperationFailedException, PermissionDeniedException
requisiteRecordTypes
- array of requisite record typesNullArgumentException
- requisiteRecordTypes
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- unable to get form for requested
record typesmandatory
- This method must be implemented. Requisite createRequisite(RequisiteForm requisiteForm) throws OperationFailedException, PermissionDeniedException
Requisite.
requisiteForm
- the form for this Requisite
Requisite
IllegalStateException
- requisiteForm
already used in a create transactionInvalidArgumentException
- one or more of the form
elements is invalidNullArgumentException
- requisiteForm
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- requisiteForm
did
not originate from getRequisiteFormForCreate()
mandatory
- This method must be implemented. boolean canUpdateRequisites()
Requisites.
A return of
true does not guarantee successful authorization. A return of false
indicates that it is known updating a requisite
will
result in a PERMISSION_DENIED.
This is intended as a
hint to an application that may opt not to offer update operations to
an unauthorized user. false
if requisite
modification
is not authorized, true
otherwisemandatory
- This method must be implemented. RequisiteForm getRequisiteFormForUpdate(Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException
requisiteId
- the Id
of the Requisite
NotFoundException
- requisiteId
is not
foundNullArgumentException
- requisiteId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void updateRequisite(RequisiteForm requisiteForm) throws OperationFailedException, PermissionDeniedException
requisiteForm
- the form containing the elements to be updatedIllegalStateException
- requisiteForm
already used in an update transactionInvalidArgumentException
- the form contains an invalid
valueNullArgumentException
- requisiteId
or
requisiteForm
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- requisiteForm
did
not originate from getRequisiteFormForUpdate()
mandatory
- This method must be implemented. boolean canDeleteRequisites()
Requisites.
A return of
true does not guarantee successful authorization. A return of false
indicates that it is known deleting a Requisite
will
result in a PERMISSION_DENIED.
This is intended as a
hint to an application that may opt not to offer delete operations to
an unauthorized user. false
if Requisite
deletion is
not authorized, true
otherwisemandatory
- This method must be implemented. boolean canDeleteRequisite(Id requisiteId)
Requisite.
A
return of true does not guarantee successful authorization. A return
of false indicates that it is known deleting the Requisite
will result in a PERMISSION_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.requisiteId
- the Id
of the Requisite
false
if deletion of this Requisite
is not authorized, true
otherwiseNullArgumentException
- requisiteId
is
null
mandatory
- This method must be implemented. If
- the requisiteId
is not found, then it is
acceptable to return false to indicate the lack of a delete
available. void deleteRequisite(Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Requisite.
requisiteId
- the Id
of the Requisite
to removeNotFoundException
- requisiteId
not
foundNullArgumentException
- requisiteId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canManageRequisiteAliases()
Id
aliases for
Requisites.
A return of true does not guarantee successful
authorization. A return of false indicates that it is known changing
an alias will result in a PERMISSION_DENIED.
This is
intended as a hint to an application that may opt not to offer alias
operations to an unauthorized user. false
if Requisite
aliasing is
not authorized, true
otherwisemandatory
- This method must be implemented. void aliasRequisite(Id requisiteId, Id aliasId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
Id
to a Requisite
for the
purpose of creating compatibility. The primary Id
of
the Requisite
is determined by the provider. The new
Id
performs as an alias to the primary Id.
If the alias is a pointer to another requisite, it is
reassigned to the given requisite Id.
requisiteId
- the Id
of a Requisite
aliasId
- the alias Id
AlreadyExistsException
- aliasId
is in
use as a primary Id
NotFoundException
- requisiteId
not
foundNullArgumentException
- requisiteId
or
aliasId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void addRequsiteOption(Id requisiteId, Id requisiteOptionId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
Requisite
as an option to a Requisite.
requisiteId
- the Id
of a Requisite
requisiteOptionId
- the Id
of a Requisite
optionAlreadyExistsException
- requisiteOptionId
is already part of requisiteId
NotFoundException
- requisiteId
or
requisiteOptionId
not foundNullArgumentException
- requisiteId
or
requisiteOptionId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeRequsiteOption(Id requisiteId, Id requisiteOptionId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Requisite
as an option from a
Requisite.
requisiteId
- the Id
of a Requisite
requisiteOptionId
- the Id
of a Requisite
optionNotFoundException
- requisiteId
or
requisiteOptionId
not found or
requisiteOptionId
not part of requisiteId
NullArgumentException
- requisiteId
or
requisiteOptionId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeRequsiteOptions(Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Requisites
as options from a
Requisite.
requisiteId
- the Id
of a Requisite
NotFoundException
- requisiteId
not
foundNullArgumentException
- requisiteId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canCreateCourseRequirements()
CourseRequirements.
A
return of true does not guarantee successful authorization. A return
of false indicates that it is known creating a
CourseRequirement
will result in a PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer create operations to an unauthorized user. false
if CourseRequirement
creation is not authorized, true
otherwisemandatory
- This method must be implemented. boolean canCreateCourseRequirementWithRecordTypes(Type[] courseRequirementRecordTypes)
CourseRequirement
using the desired record types. While
CourseRequisiteManager.getCourseRequirementRecordTypes()
can
be used to examine which records are supported, this method tests
which record(s) are required for creating a specific
CourseRequirement.
Providing an empty array tests if a
CourseRequirement
can be created with no records.courseRequirementRecordTypes
- array of course requirement
record types true
if CourseRequirement
creation using the specified record Types
is
supported, false
otherwiseNullArgumentException
-
courseRequirementRecordTypes
is null
mandatory
- This method must be implemented. CourseRequirementForm getCourseRequirementFormForCreate(Id courseId, Type[] courseRequirementRecordTypes) throws NotFoundException, OperationFailedException, PermissionDeniedException
courseId
- an Id
of a Course
courseRequirementRecordTypes
- array of course requirement
record typesNotFoundException
- courseId
is not
foundNullArgumentException
- courseId
or
courseRequirementRecordTypes
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- unable to get form for requested
record typesmandatory
- This method must be implemented. CourseRequirement createCourseRequirement(Id courseId, CourseRequirementForm courseRequirementForm) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
CourseRequirement.
courseId
- an Id
of a Course
courseRequirementForm
- the form for this
CourseRequirement
CourseRequirement
AlreadyExistsException
- attempt at duplicating a
property the underlying system is enforcing to be uniqueInvalidArgumentException
- one or more of the form
elements is invalidNotFoundException
- courseId
is not
foundNullArgumentException
- courseId
or
courseRequirementForm
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- courseRequirementForm
is not of this servicemandatory
- This method must be implemented. boolean canUpdateCourseRequirements()
CourseRequirements.
A
return of true does not guarantee successful authorization. A return
of false indicates that it is known updating a
CourseRequirement
will result in a PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer update operations to an unauthorized user. false
if CourseRequirement
modification is not authorized, true
otherwisemandatory
- This method must be implemented. boolean canUpdateCourseRequirement(Id courseRequirementId)
CourseRequirement.
A return of true does not guarantee successful authorization.
A return of false indicates that it is known updating the
CourseRequirement
will result in a PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer an update operation to an unauthorized user for this
CourseRequirement.
courseRequirementId
- the Id
of the
CourseRequirement
false
if course requirement modification is not
authorized, true
otherwiseNullArgumentException
- courseRequirementId
is null
mandatory
- This method must be implemented. If
- the courseRequirementId
is not found, then
it is acceptable to return false to indicate the lack of an
update available. CourseRequirementForm getCourseRequirementFormForUpdate(Id courseRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
courseRequirementId
- the Id
of the
CourseRequirement
NotFoundException
- courseRequirementId
is not foundNullArgumentException
- courseRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void updateCourseRequirement(Id courseRequirementId, CourseRequirementForm courseRequirementForm) throws NotFoundException, OperationFailedException, PermissionDeniedException
courseRequirementId
- the Id
of the
CourseRequirement
courseRequirementForm
- the form containing the elements to be
updatedInvalidArgumentException
- the form contains an invalid
valueNotFoundException
- courseRequirementId
is not foundNullArgumentException
- courseRequirementId
or courseRequirementForm
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- courseRequirementForm
is not supportedmandatory
- This method must be implemented. boolean canDeleteCourseRequirements()
CourseRequirements.
A
return of true does not guarantee successful authorization. A return
of false indicates that it is known deleting a
CourseRequirement
will result in a PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer delete operations to an unauthorized user. false
if CourseRequirement
deletion is not authorized, true
otherwisemandatory
- This method must be implemented. boolean canDeleteCourseRequirement(Id courseRequirementId)
CourseRequirement.
A return of true does not guarantee successful authorization.
A return of false indicates that it is known deleting the
CourseRequirement
will result in a PERMISSION_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.courseRequirementId
- the Id
of the
CourseRequirement
false
if deletion of this
CourseRequirement
is not authorized, true
otherwiseNullArgumentException
- courseRequirementId
is null
mandatory
- This method must be implemented. If
- the courseRequirementId,
is not found, then
it is acceptable to return false to indicate the lack of a
delete available. void deleteCourseRequirement(Id courseRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
CourseRequirement.
courseRequirementId
- the Id
of the
CourseRequirement
to removeNotFoundException
- courseRequirementId
not foundNullArgumentException
- courseRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void deleteCourseRequirements() throws OperationFailedException, PermissionDeniedException
CourseRequirements
in this
CourseCatalog.
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canManageCourseRequirementAliases()
Id
aliases for
CourseRequirements.
A return of true does not guarantee
successful authorization. A return of false indicates that it is known
changing an alias will result in a PERMISSION_DENIED.
This is intended as a hint to an application that may opt not to offer
alias operations to an unauthorized user. false
if CourseRequirement
aliasing is not authorized, true
otherwisemandatory
- This method must be implemented. void aliasCourseRequirement(Id courseRequirementId, Id aliasId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
Id
to a CourseRequirement
for
the purpose of creating compatibility. The primary Id
of the CourseRequirement
is determined by the provider.
The new Id
performs as an alias to the primary
Id.
If the alias is a pointer to another course requirement,
it is reassigned to the given course requirement Id.
courseRequirementId
- the Id
of a
CourseRequirement
aliasId
- the alias Id
AlreadyExistsException
- aliasId
is in
use as a primary Id
NotFoundException
- courseRequirementId
not foundNullArgumentException
- courseRequirementId
or aliasId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void addCourseRequirement(Id requisiteId, Id courseRequirementId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
CourseRequirement
to a Requisite.
requisiteId
- the Id
of a Requisite
courseRequirementId
- the Id
of a
CourseRequirement
AlreadyExistsException
- courseRequirementId
is already part of requisiteId
NotFoundException
- requisiteId
or
courseRequirementId
not foundNullArgumentException
- requisiteId
or
courseRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeCourseRequirement(Id requisiteId, Id courseRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
CourseRequirement
from a Requisite.
requisiteId
- the Id
of a Requisite
courseRequirementId
- the Id
of a
CourseRequirement
NotFoundException
- requisiteId
or
courseRequirementId
not found or
courseRequirementId
not part of requisiteId
NullArgumentException
- requisiteId
or
courseRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeCourseRequirements(Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException
CourseRequirements
from a Requisite.
requisiteId
- the Id
of a Requisite
NotFoundException
- requisiteId
not
foundNullArgumentException
- requisiteId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void addAltRequisiteToCourseRequirement(Id courseRequirementId, Id requisiteId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
Requisite
to a
CourseRequirement.
courseRequirementId
- the Id
of a
CourseRequirement
requisiteId
- the Id
of a Requisite
AlreadyExistsException
- requisiteId
is
already part of courseRequirementId
NotFoundException
- courseRequirementId
or requisiteId
not foundNullArgumentException
- courseRequirementId
or requisiteId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeAltRequisiteFromCourseRequirement(Id courseRequirementId, Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Requisite
from a
CourseRequirement.
courseRequirementId
- the Id
of a
CourseRequirement
requisiteId
- the Id
of a Requisite
NotFoundException
- courseRequirementId
or requisiteId
not found or requisiteId
not part of courseRequirementId
NullArgumentException
- courseRequirementId
or requisiteId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeAltRequisitesFromCourseRequirement(Id courseRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Requisites
from a CourseRequirement.
courseRequirementId
- the Id
of a
CourseRequirement
NotFoundException
- courseRequirementId
not foundNullArgumentException
- courseRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canCreateProgramRequirements()
ProgramRequirements.
A
return of true does not guarantee successful authorization. A return
of false indicates that it is known creating a
ProgramRequirement
will result in a PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer create operations to an unauthorized user. false
if ProgramRequirement
creation is not authorized, true
otherwisemandatory
- This method must be implemented. boolean canCreateProgramRequirementWithRecordTypes(Type[] programRequirementRecordTypes)
ProgramRequirement
using the desired record types. While
CourseRequisiteManager.getProgramRequirementRecordTypes()
can
be used to examine which records are supported, this method tests
which record(s) are required for creating a specific
ProgramRequirement.
Providing an empty array tests if a
ProgramRequirement
can be created with no records.programRequirementRecordTypes
- array of program requirement
record types true
if ProgramRequirement
creation using the specified record Types
is
supported, false
otherwiseNullArgumentException
-
programRequirementRecordTypes
is null
mandatory
- This method must be implemented. ProgramRequirementForm getProgramRequirementFormForCreate(Id programId, Type[] programRequirementRecordTypes) throws NotFoundException, OperationFailedException, PermissionDeniedException
programId
- an Id
of a programprogramRequirementRecordTypes
- array of program requirement
record typesNotFoundException
- programId
is not
foundNullArgumentException
-
programRequirementRecordTypes
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- unable to get form for requested
record typesmandatory
- This method must be implemented. ProgramRequirement createProgramRequirement(Id programId, ProgramRequirementForm programRequirementForm) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
ProgramRequirement.
programId
- an Id
of a programprogramRequirementForm
- the form for this
ProgramRequirement
ProgramRequirement
AlreadyExistsException
- attempt at duplicating a
property the underlying system is enforcing to be uniqueInvalidArgumentException
- one or more of the form
elements is invalidNotFoundException
- programId
is not
foundNullArgumentException
- programId
or
programRequirementForm
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- programRequirementForm
is not of this servicemandatory
- This method must be implemented. boolean canUpdateProgramRequirements()
ProgramRequirements.
A
return of true does not guarantee successful authorization. A return
of false indicates that it is known updating a
ProgramRequirement
will result in a PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer update operations to an unauthorized user. false
if ProgramRequirement
modification is not authorized, true
otherwisemandatory
- This method must be implemented. boolean canUpdateProgramRequirement(Id programRequirementId)
ProgramRequirement.
A return of true does not guarantee successful authorization.
A return of false indicates that it is known updating the
ProgramRequirement
will result in a PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer an update operation to an unauthorized user for this
ProgramRequirement.
programRequirementId
- the Id
of the
ProgramRequirement
false
if program requirement modification is
not authorized, true
otherwiseNullArgumentException
- programRequirementId
is null
mandatory
- This method must be implemented. If
- the programRequirementId
is not found, then
it is acceptable to return false to indicate the lack of an
update available. ProgramRequirementForm getProgramRequirementFormForUpdate(Id programRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
programRequirementId
- the Id
of the
ProgramRequirement
NotFoundException
- programRequirementId
is not foundNullArgumentException
- programRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void updateProgramRequirement(Id programRequirementId, ProgramRequirementForm programRequirementForm) throws NotFoundException, OperationFailedException, PermissionDeniedException
programRequirementId
- the Id
of the
ProgramRequirement
programRequirementForm
- the form containing the elements to be
updatedInvalidArgumentException
- the form contains an invalid
valueNotFoundException
- programRequirementId
is not foundNullArgumentException
- programRequirementId
or programRequirementForm
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- programRequirementForm
is not supportedmandatory
- This method must be implemented. boolean canDeleteProgramRequirements()
ProgramRequirements.
A
return of true does not guarantee successful authorization. A return
of false indicates that it is known deleting a
ProgramRequirement
will result in a PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer delete operations to an unauthorized user. false
if ProgramRequirement
deletion is not authorized, true
otherwisemandatory
- This method must be implemented. boolean canDeleteProgramRequirement(Id programRequirementId)
ProgramRequirement.
A return of true does not guarantee successful authorization.
A return of false indicates that it is known deleting the
ProgramRequirement
will result in a PERMISSION_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.programRequirementId
- the Id
of the
ProgramRequirement
false
if deletion of this
ProgramRequirement
is not authorized, true
otherwiseNullArgumentException
- programRequirementId
is null
mandatory
- This method must be implemented. If
- the programRequirementId,
is not found, then
it is acceptable to return false to indicate the lack of a
delete available. void deleteProgramRequirement(Id programRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
ProgramRequirement.
programRequirementId
- the Id
of the
ProgramRequirement
to removeNotFoundException
- programRequirementId
not foundNullArgumentException
- programRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void deleteProgramRequirements() throws OperationFailedException, PermissionDeniedException
ProgramRequirements
in this
CourseCatalog.
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canManageProgramRequirementAliases()
Id
aliases for
ProgramRequirements.
A return of true does not guarantee
successful authorization. A return of false indicates that it is known
changing an alias will result in a PERMISSION_DENIED.
This is intended as a hint to an application that may opt not to offer
alias operations to an unauthorized user. false
if ProgramRequirement
aliasing is not authorized, true
otherwisemandatory
- This method must be implemented. void aliasProgramRequirement(Id programRequirementId, Id aliasId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
Id
to a ProgramRequirement
for
the purpose of creating compatibility. The primary Id
of the ProgramRequirement
is determined by the
provider. The new Id
performs as an alias to the
primary Id.
If the alias is a pointer to another
program requirement, it is reassigned to the given program requirement
Id.
programRequirementId
- the Id
of a
ProgramRequirement
aliasId
- the alias Id
AlreadyExistsException
- aliasId
is in
use as a primary Id
NotFoundException
- programRequirementId
not foundNullArgumentException
- programRequirementId
or aliasId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void addProgramRequirement(Id requisiteId, Id programRequirementId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
ProgramRequirement
to a Requisite.
requisiteId
- the Id
of a Requisite
programRequirementId
- the Id
of a
ProgramRequirement
AlreadyExistsException
- programRequirementId
is already part of requisiteId
NotFoundException
- requisiteId
or
programRequirementId
not foundNullArgumentException
- requisiteId
or
programRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeProgramRequirement(Id requisiteId, Id programRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
ProgramRequirement
from a Requisite.
requisiteId
- the Id
of a Requisite
programRequirementId
- the Id
of a
ProgramRequirement
NotFoundException
- requisiteId
or
programRequirementId
not found or
programRequirementId
not part of requisiteId
NullArgumentException
- requisiteId
or
programRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeProgramRequirements(Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException
ProgramRequirements
from a
Requisite.
requisiteId
- the Id
of a Requisite
NotFoundException
- requisiteId
not
foundNullArgumentException
- requisiteId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void addAltRequisiteToProgramRequirement(Id programRequirementId, Id requisiteId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
Requisite
to a
ProgramRequirement.
programRequirementId
- the Id
of a
ProgramRequirement
requisiteId
- the Id
of a Requisite
AlreadyExistsException
- requisiteId
is
already part of programRequirementId
NotFoundException
- programRequirementId
or requisiteId
not foundNullArgumentException
- programRequirementId
or requisiteId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeAltRequisiteFromProgramRequirement(Id programRequirementId, Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Requisite
from a
ProgramRequirement.
programRequirementId
- the Id
of a
ProgramRequirement
requisiteId
- the Id
of a Requisite
NotFoundException
- programRequirementId
or requisiteId
not found or requisiteId
not part of programRequirementId
NullArgumentException
- programRequirementId
or requisiteId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeAltRequisitesFromProgramRequirement(Id programRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Requisites
from a
ProgramRequirement.
programRequirementId
- the Id
of a
ProgramRequirement
NotFoundException
- programRequirementId
not foundNullArgumentException
- programRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canCreateCredentialRequirements()
CredentialRequirements.
A
return of true does not guarantee successful authorization. A return
of false indicates that it is known creating a
CredentialRequirement
will result in a
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer create operations to an
unauthorized user. false
if CredentialRequirement
creation is not authorized, true
otherwisemandatory
- This method must be implemented. boolean canCreateCredentiaRequirementWithRecordTypes(Type[] credentialRequirementRecordTypes)
CredentialRequirement
using the desired record types. While
CourseRequisiteManager.getCredentialRequirementRecordTypes()
can be used to examine which records are supported, this method tests
which record(s) are required for creating a specific
CredentialRequirement.
Providing an empty array tests if a
CredentialRequirement
can be created with no records.credentialRequirementRecordTypes
- array of credential
requirement record types true
if CredentialRequirement
creation using the specified record Types
is
supported, false
otherwiseNullArgumentException
-
credentialRequirementRecordTypes
is null
mandatory
- This method must be implemented. CredentialRequirementForm getCredentialRequirementFormForCreate(Id credentialId, Type[] credentialRequirementRecordTypes) throws NotFoundException, OperationFailedException, PermissionDeniedException
credentialId
- a credential Id
credentialRequirementRecordTypes
- array of credential
requirement record typesNotFoundException
- credentialId
is not
foundNullArgumentException
- credentialId
or
credentialRequirementRecordTypes
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- unable to get form for requested
record typesmandatory
- This method must be implemented. CredentialRequirement createCredentialRequirement(Id credentialId, CredentialRequirementForm credentialRequirementForm) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
CredentialRequirement.
credentialId
- a credential Id
credentialRequirementForm
- the form for this
CredentialRequirement
CredentialRequirement
AlreadyExistsException
- attempt at duplicating a
property the underlying system is enforcing to be uniqueInvalidArgumentException
- one or more of the form
elements is invalidNotFoundException
- credentialId
is not
foundNullArgumentException
- credentialId
or
credentialRequirementForm
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- credentialRequirementForm
is not of this servicemandatory
- This method must be implemented. boolean canUpdateCredentialRequirements()
CredentialRequirements.
A
return of true does not guarantee successful authorization. A return
of false indicates that it is known updating a
CredentialRequirement
will result in a
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer update operations to an
unauthorized user. false
if CredentialRequirement
modification is not authorized, true
otherwisemandatory
- This method must be implemented. boolean canUpdateCredentialRequirement(Id credentialRequirementId)
CredentialRequirement.
A return of true does not guarantee
successful authorization. A return of false indicates that it is known
updating the CredentialRequirement
will result in a
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer an update operation to an
unauthorized user for this CredentialRequirement.
credentialRequirementId
- the Id
of the
CredentialRequirement
false
if credential requirement modification is
not authorized, true
otherwiseNullArgumentException
- credentialRequirementId
is null
mandatory
- This method must be implemented. If
- the credentialRequirementId
is not found,
then it is acceptable to return false to indicate the lack of
an update available. CredentialRequirementForm getCredentialRequirementFormForUpdate(Id credentialRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
credentialRequirementId
- the Id
of the
CredentialRequirement
NotFoundException
- credentialRequirementId
is not foundNullArgumentException
- credentialRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void updateCredentialRequirement(Id credentialRequirementId, CredentialRequirementForm credentialRequirementForm) throws NotFoundException, OperationFailedException, PermissionDeniedException
credentialRequirementId
- the Id
of the
CredentialRequirement
credentialRequirementForm
- the form containing the elements to
be updatedInvalidArgumentException
- the form contains an invalid
valueNotFoundException
- credentialRequirementId
is not foundNullArgumentException
- credentialRequirementId
or credentialRequirementForm
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- credentialRequirementForm
is not supportedmandatory
- This method must be implemented. boolean canDeleteCredentialRequirements()
CredentialRequirements.
A
return of true does not guarantee successful authorization. A return
of false indicates that it is known deleting a
CredentialRequirement
will result in a
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer delete operations to an
unauthorized user. false
if CredentialRequirement
deletion is not authorized, true
otherwisemandatory
- This method must be implemented. boolean canDeleteCredentialRequirement(Id credentialRequirementId)
CredentialRequirement.
A return of true does not guarantee
successful authorization. A return of false indicates that it is known
deleting the CredentialRequirement
will result in a
PERMISSION_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.credentialRequirementId
- the Id
of the
CredentialRequirement
false
if deletion of this
CredentialRequirement
is not authorized, true
otherwiseNullArgumentException
- credentialRequirementId
is null
mandatory
- This method must be implemented. If
- the credentialRequirementId,
is not found,
then it is acceptable to return false to indicate the lack of
a delete available. void deleteCredentialRequirement(Id credentialRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
CredentialRequirement.
credentialRequirementId
- the Id
of the
CredentialRequirement
to removeNotFoundException
- credentialRequirementId
not foundNullArgumentException
- credentialRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void deleteCredentialRequirements() throws OperationFailedException, PermissionDeniedException
CredentialRequirements
in this
CourseCatalog.
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canManageCredentialRequirementAliases()
Id
aliases for
CredentialRequirements.
A return of true does not guarantee
successful authorization. A return of false indicates that it is known
changing an alias will result in a PERMISSION_DENIED.
This is intended as a hint to an application that may opt not to offer
alias operations to an unauthorized user. false
if CredentialRequirement
aliasing is not authorized, true
otherwisemandatory
- This method must be implemented. void aliasCredentialRequirement(Id credentialRequirementId, Id aliasId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
Id
to a CredentialRequirement
for the purpose of creating compatibility. The primary Id
of the CredentialRequirement
is determined by
the provider. The new Id
performs as an alias to the
primary Id.
If the alias is a pointer to another
credential requirement, it is reassigned to the given credential
requirement Id.
credentialRequirementId
- the Id
of a
CredentialRequirement
aliasId
- the alias Id
AlreadyExistsException
- aliasId
is in
use as a primary Id
NotFoundException
- credentialRequirementId
not foundNullArgumentException
- credentialRequirementId
or aliasId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void addCredentialRequirement(Id requisiteId, Id credentialRequirementId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
CredentialRequirement
to a Requisite.
requisiteId
- the Id
of a Requisite
credentialRequirementId
- the Id
of a
CredentialRequirement
AlreadyExistsException
- credentialRequirementId
is already part of requisiteId
NotFoundException
- requisiteId
or
credentialRequirementId
not foundNullArgumentException
- requisiteId
or
credentialRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeCredentialRequirement(Id requisiteId, Id credentialRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
CredentialRequirement
from a
Requisite.
requisiteId
- the Id
of a Requisite
credentialRequirementId
- the Id
of a
CredentialRequirement
NotFoundException
- requisiteId
or
credentialRequirementId
not found or
credentialRequirementId
not part of requisiteId
NullArgumentException
- requisiteId
or
credentialRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeCredentialRequirements(Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException
CredentialRequirements
from a
Requisite.
requisiteId
- the Id
of a Requisite
NotFoundException
- requisiteId
not
foundNullArgumentException
- requisiteId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void addAltRequisiteToCredentialRequirement(Id credentialRequirementId, Id requisiteId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
Requisite
to a
CredentialRequirement.
credentialRequirementId
- the Id
of a
CredentialRequirement
requisiteId
- the Id
of a Requisite
AlreadyExistsException
- requisiteId
is
already part of credentialRequirementId
NotFoundException
- credentialRequirementId
or requisiteId
not foundNullArgumentException
- credentialRequirementId
or requisiteId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeAltRequisiteFromCredentialRequirement(Id credentialRequirementId, Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Requisite
from a
CredentialRequirement.
credentialRequirementId
- the Id
of a
CredentialRequirement
requisiteId
- the Id
of a Requisite
NotFoundException
- credentialRequirementId
or requisiteId
not found or
requisiteId
not part of credentialRequirementId
NullArgumentException
- credentialRequirementId
or requisiteId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeAltRequisitesFromCredentialRequirement(Id credentialRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Requisites
from a
CredentialRequirement.
credentialRequirementId
- the Id
of a
CredentialRequirement
NotFoundException
- credentialRequirementId
not foundNullArgumentException
- credentialRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canCreateLearningObjectiveRequirements()
LearningObjectiveRequirements.
A return of true does not guarantee successful authorization.
A return of false indicates that it is known creating a
LearningObjectiveRequirement
will result in a
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer create operations to an
unauthorized user. false
if LearningObjectiveRequirement
creation is not authorized, true
otherwisemandatory
- This method must be implemented. boolean canCreateLearningObjectiveRequirementWithRecordTypes(Type[] learningObjectiveRequirementRecordTypes)
LearningObjectiveRequirement
using the desired record types.
While
CourseRequisiteManager.getLearningObjectiveRequirementRecordTypes()
can be used to examine which records are supported, this
method tests which record(s) are required for creating a specific
LearningObjectiveRequirement.
Providing an empty array
tests if a LearningObjectiveRequirement
can be created
with no records.learningObjectiveRequirementRecordTypes
- array of learning
objective requirement record types true
if LearningObjectiveRequirement
creation using the specified record Types
is supported, false
otherwiseNullArgumentException
-
learningObjectiveRequirementRecordTypes
is null
mandatory
- This method must be implemented. LearningObjectiveRequirementForm getLearningObjectiveRequirementFormForCreate(Id objectiveId, Type[] learningObjectiveRequirementForm) throws NotFoundException, OperationFailedException, PermissionDeniedException
objectiveId
- a learning objective Id
learningObjectiveRequirementForm
- array of learning objective
requirement record typesNotFoundException
- objectiveId
is not
foundNullArgumentException
- objectiveId
or
learningObjectiveRequirementRecordTypes
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- unable to get form for requested
record typesmandatory
- This method must be implemented. LearningObjectiveRequirement createLearningObjectiveRequirement(Id objectiveId, LearningObjectiveRequirementForm learningObjectiveRequirementForm) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
LearningObjectiveRequirement.
objectiveId
- a learning objective Id
learningObjectiveRequirementForm
- the form for this
LearningObjectiveRequirement
LearningObjectiveRequirement
AlreadyExistsException
- attempt at duplicating a
property the underlying system is enforcing to be uniqueInvalidArgumentException
- one or more of the form
elements is invalidNotFoundException
- objectiveId
is not
foundNullArgumentException
- objectiveId
or
learningObjectiveRequirementForm
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
-
learningObjectiveRequirementForm
is not of this
servicemandatory
- This method must be implemented. boolean canUpdateLearningObjectiveRequirements()
LearningObjectiveRequirements.
A return of true does not guarantee successful authorization.
A return of false indicates that it is known updating a
LearningObjectiveRequirement
will result in a
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer update operations to an
unauthorized user. false
if LearningObjectiveRequirement
modification is not authorized, true
otherwisemandatory
- This method must be implemented. boolean canUpdateLearningObjectiveRequirement(Id learningObjectiveRequirementId)
LearningObjectiveRequirement.
A return of true does not
guarantee successful authorization. A return of false indicates that
it is known updating the LearningObjectiveRequirement
will result in a PERMISSION_DENIED.
This is intended as
a hint to an application that may opt not to offer an update operation
to an unauthorized user for this LearningObjectiveRequirement.
learningObjectiveRequirementId
- the Id
of the
LearningObjectiveRequirement
false
if learning objective requirement
modification is not authorized, true
otherwiseNullArgumentException
-
learningObjectiveRequirementId
is null
mandatory
- This method must be implemented. If
- the learningObjectiveRequirementRequirementId
is not found, then it is acceptable to return false to
indicate the lack of an update available. LearningObjectiveRequirementForm getLearningObjectiveRequirementFormForUpdate(Id learningObjectiveRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
learningObjectiveRequirementId
- the Id
of the
LearningObjectiveRequirement
NotFoundException
-
learningObjectiveRequirementId
is not foundNullArgumentException
-
learningObjectiveRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void updateLearningObjectiveRequirement(Id learningObjectiveRequirementId, LearningObjectiveRequirementForm learningObjectiveRequirementForm) throws NotFoundException, OperationFailedException, PermissionDeniedException
learningObjectiveRequirementId
- the Id
of the
LearningObjectiveRequirement
learningObjectiveRequirementForm
- the form containing the
elements to be updatedInvalidArgumentException
- the form contains an invalid
valueNotFoundException
-
learningObjectiveRequirementId
is not foundNullArgumentException
-
learningObjectiveRequirementId
or
learningObjectiveRequirementForm
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
-
learningObjectiveRequirementForm
is not supportedmandatory
- This method must be implemented. boolean canDeleteLearningObjectiveRequirements()
LearningObjectiveRequirements.
A return of true does not guarantee successful authorization.
A return of false indicates that it is known deleting a
LearningObjectiveRequirement
will result in a
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer delete operations to an
unauthorized user. false
if LearningObjectiveRequirement
deletion is not authorized, true
otherwisemandatory
- This method must be implemented. boolean canDeleteLearningObjectiveRequirement(Id learningObjectiveRequirementId)
LearningObjectiveRequirement.
A return of true does not
guarantee successful authorization. A return of false indicates that
it is known deleting the LearningObjectiveRequirement
will result in a PERMISSION_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.learningObjectiveRequirementId
- the Id
of the
LearningObjectiveRequirement
false
if deletion of this
LearningObjectiveRequirement
is not authorized,
true
otherwiseNullArgumentException
-
learningObjectiveRequirementId
is null
mandatory
- This method must be implemented. If
- the learningObjectiveRequirementId,
is not
found, then it is acceptable to return false to indicate the
lack of a delete available. void deleteLearningObjectiveRequirement(Id learningObjectiveRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
LearningObjectiveRequirement.
learningObjectiveRequirementId
- the Id
of the
LearningObjectiveRequirement
to removeNotFoundException
-
learningObjectiveRequirementId
not foundNullArgumentException
-
learningObjectiveRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void deleteLearningObjectiveRequirements() throws OperationFailedException, PermissionDeniedException
LearningObjectiveRequirements
in this
CourseCatalog.
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canManageLearningObjectiveRequirementAliases()
Id
aliases for
LearningObjectiveRequirements.
A return of true does not
guarantee successful authorization. A return of false indicates that
it is known changing an alias will result in a
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer alias operations to an
unauthorized user. false
if LearningObjectiveRequirement
aliasing is not authorized, true
otherwisemandatory
- This method must be implemented. void aliasLearningObjectiveRequirement(Id learningObjectiveRequirementId, Id aliasId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
Id
to a LearningObjectiveRequirement
for the purpose of creating compatibility. The primary
Id
of the LearningObjectiveRequirement
is
determined by the provider. The new Id
performs as an
alias to the primary Id.
If the alias is a pointer to
another credential requirement, it is reassigned to the given learning
objective requirement Id.
learningObjectiveRequirementId
- the Id
of a
LearningObjectiveRequirement
aliasId
- the alias Id
AlreadyExistsException
- aliasId
is in
use as a primary Id
NotFoundException
-
learningObjectiveRequirementId
not foundNullArgumentException
-
learningObjectiveRequirementId
or aliasId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void addLearningObjectiveRequirement(Id requisiteId, Id learningObjectiveRequirementId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
LearningObjectiveRequirement
to a
Requisite.
requisiteId
- the Id
of a Requisite
learningObjectiveRequirementId
- the Id
of a
LearningObjectiveRequirement
AlreadyExistsException
-
learningObjectiveRequirementId
is already part of
requisiteId
NotFoundException
- requisiteId
or
learningObjectiveRequirementId
not foundNullArgumentException
- requisiteId
or
learningObjectiveRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeLearningObjectiveRequirement(Id requisiteId, Id learningObjectiveRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
LearningObjectiveRequirement
from a
Requisite.
requisiteId
- the Id
of a Requisite
learningObjectiveRequirementId
- the Id
of a
LearningObjectiveRequirement
NotFoundException
- requisiteId
or
learningObjectiveRequirementId
not found or
learningObjectiveRequirementId
not part of
requisiteId
NullArgumentException
- requisiteId
or
credentialRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeLearningObjectiveRequirements(Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException
LearningObjectiveRequirements
from a
Requisite.
requisiteId
- the Id
of a Requisite
NotFoundException
- requisiteId
not
foundNullArgumentException
- requisiteId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void addAltRequisiteToLearningObjectiveRequirement(Id learningObjectiveRequirementId, Id requisiteId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
Requisite
to a
LearningObjectiveRequirement.
learningObjectiveRequirementId
- the Id
of a
LearningObjectiveRequirement
requisiteId
- the Id
of a Requisite
AlreadyExistsException
- requisiteId
is
already part of learningObjectiveRequirementId
NotFoundException
-
learningObjectiveRequirementId
or requisiteId
not foundNullArgumentException
-
learningObjectiveRequirementId
or requisiteId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeAltRequisiteFromLearningObjectiveRequirement(Id learningObjectiveRequirementId, Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Requisite
from a
LearningObjectiveRequirement.
learningObjectiveRequirementId
- the Id
of a
LearningObjectiveRequirement
requisiteId
- the Id
of a Requisite
NotFoundException
-
learningObjectiveRequirementId
or requisiteId
not found or requisiteId
not part of
learningObjectiveRequirementId
NullArgumentException
-
learningObjectiveRequirementId
or requisiteId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeAltRequisitesFromLearningObjectiveRequirement(Id learningObjectiveRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Requisites
from a
LearningObjectiveRequirement.
learningObjectiveRequirementId
- the Id
of a
LearningObjectiveRequirement
NotFoundException
-
learningObjectiveRequirementId
not foundNullArgumentException
-
learningObjectiveRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canCreateAssessmentRequirements()
AssessmentRequirements.
A
return of true does not guarantee successful authorization. A return
of false indicates that it is known creating an
AssessmentRequirement
will result in a
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer create operations to an
unauthorized user. false
if AssessmentRequirement
creation is not authorized, true
otherwisemandatory
- This method must be implemented. boolean canCreateAssessmentRequirementWithRecordTypes(Type[] assessmentRequirementRecordTypes)
AssessmentRequirement
using the desired record types. While
CourseRequisiteManager.getAssessmentRequirementRecordTypes()
can be used to examine which records are supported, this method tests
which record(s) are required for creating a specific
AssessmentRequirement.
Providing an empty array tests if an
AssessmentRequirement
can be created with no records.assessmentRequirementRecordTypes
- array of assessment
requirement record types true
if AssessmentRequirement
creation using the specified record Types
is
supported, false
otherwiseNullArgumentException
-
assessmentRequirementRecordTypes
is null
mandatory
- This method must be implemented. AssessmentRequirementForm getAssessmentRequirementFormForCreate(Id assessmentId, Type[] assessmentRequirementRecordTypes) throws NotFoundException, OperationFailedException, PermissionDeniedException
assessmentId
- a assessment Id
assessmentRequirementRecordTypes
- array of assessment
requirement record typesNotFoundException
- assessmentId
is not
foundNullArgumentException
- assessmentId
or
assessmentRequirementRecordTypes
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- unable to get form for requested
record typesmandatory
- This method must be implemented. AssessmentRequirement createAssessmentRequirement(Id assessmentId, AssessmentRequirementForm assessmentRequirementForm) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
AssessmentRequirement.
assessmentId
- an assessment Id
assessmentRequirementForm
- the form for this
AssessmentRequirement
AssessmentRequirement
AlreadyExistsException
- attempt at duplicating a
property the underlying system is enforcing to be uniqueInvalidArgumentException
- one or more of the form
elements is invalidNotFoundException
- assessmentId
is not
foundNullArgumentException
- assessmentid
or
assessmentRequirementForm
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- assessmentRequirementForm
is not of this servicemandatory
- This method must be implemented. boolean canUpdateAssessmentRequirements()
AssessmentRequirements.
A
return of true does not guarantee successful authorization. A return
of false indicates that it is known updating an
AssessmentRequirement
will result in a
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer update operations to an
unauthorized user. false
if AssessmentRequirement
modification is not authorized, true
otherwisemandatory
- This method must be implemented. boolean canUpdateAssessmentRequirement(Id assessmentRequirementId)
AssessmentRequirement.
A return of true does not guarantee
successful authorization. A return of false indicates that it is known
updating the AssessmentRequirement
will result in a
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer an update operation to an
unauthorized user for this AssessmentRequirement.
assessmentRequirementId
- the Id
of the
AssessmentRequirement
false
if assessment requirement modification is
not authorized, true
otherwiseNullArgumentException
- assessmentRequirementId
is null
mandatory
- This method must be implemented. If
- the assessmentRequirementId
is not found,
then it is acceptable to return false to indicate the lack of
an update available. AssessmentRequirementForm getAssessmentRequirementFormForUpdate(Id assessmentRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
assessmentRequirementId
- the Id
of the
AssessmentRequirement
NotFoundException
- assessmentRequirementId
is not foundNullArgumentException
- assessmentRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void updateAssessmentRequirement(Id assessmentRequirementId, AssessmentRequirementForm assessmentRequirementForm) throws NotFoundException, OperationFailedException, PermissionDeniedException
assessmentRequirementId
- the Id
of the
AssessmentRequirement
assessmentRequirementForm
- the form containing the elements to
be updatedInvalidArgumentException
- the form contains an invalid
valueNotFoundException
- assessmentRequirementId
is not foundNullArgumentException
- assessmentRequirementId
or assessmentRequirementForm
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- assessmentRequirementForm
is not supportedmandatory
- This method must be implemented. boolean canDeleteAssessmentRequirements()
AssessmentRequirements.
A
return of true does not guarantee successful authorization. A return
of false indicates that it is known deleting an
AssessmentRequirement
will result in a
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer delete operations to an
unauthorized user. false
if AssessmentRequirement
deletion is not authorized, true
otherwisemandatory
- This method must be implemented. boolean canDeleteAssessmentRequirement(Id assessmentRequirementId)
AssessmentRequirement.
A return of true does not guarantee
successful authorization. A return of false indicates that it is known
deleting the AssessmentRequirement
will result in a
PERMISSION_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.assessmentRequirementId
- the Id
of the
AssessmentRequirement
false
if deletion of this
AssessmentRequirement
is not authorized, true
otherwiseNullArgumentException
- assessmentRequirementId
is null
mandatory
- This method must be implemented. If
- the assessmentRequirementId,
is not found,
then it is acceptable to return false to indicate the lack of
a delete available. void deleteAssessmentRequirement(Id assessmentRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
AssessmentRequirement.
assessmentRequirementId
- the Id
of the
AssessmentRequirement
to removeNotFoundException
- assessmentRequirementId
not foundNullArgumentException
- assessmentRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void deleteAssessmentRequirements() throws OperationFailedException, PermissionDeniedException
AssessmentRequirements
in this
CourseCatalog.
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canManageAssessmentRequirementAliases()
Id
aliases for
AssessmentRequirements.
A return of true does not guarantee
successful authorization. A return of false indicates that it is known
changing an alias will result in a PERMISSION_DENIED.
This is intended as a hint to an application that may opt not to offer
alias operations to an unauthorized user. false
if AssessmentRequirement
aliasing is not authorized, true
otherwisemandatory
- This method must be implemented. void aliasAssessmentRequirement(Id assessmentRequirementId, Id aliasId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
Id
to an AssessmentRequirement
for the purpose of creating compatibility. The primary Id
of the AssessmentRequirement
is determined by
the provider. The new Id
performs as an alias to the
primary Id.
If the alias is a pointer to another
assessment requirement, it is reassigned to the given assessment
requirement Id.
assessmentRequirementId
- the Id
of an
AssessmentRequirement
aliasId
- the alias Id
AlreadyExistsException
- aliasId
is in
use as a primary Id
NotFoundException
- assessmentRequirementId
not foundNullArgumentException
- assessmentRequirementId
or aliasId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void addAssessmentRequirement(Id requisiteId, Id assessmentRequirementId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
AssessmentRequirement
to a Requisite.
requisiteId
- the Id
of a Requisite
assessmentRequirementId
- the Id
of an
AssessmentRequirement
AlreadyExistsException
- assessmentRequirementId
is already part of requisiteId
NotFoundException
- requisiteId
or
assessmentRequirementId
not foundNullArgumentException
- requisiteId
or
assessmentRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeAssessmentRequirement(Id requisiteId, Id assessmentRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Requirement
from a
Requisite.
requisiteId
- the Id
of a Requisite
assessmentRequirementId
- the Id
of an
AssessmentRequirement
NotFoundException
- requisiteId
or
assessmentRequirementId
not found or
assessmentRequirementId
not part of requisiteId
NullArgumentException
- requisiteId
or
assessmentRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeAssessmentRequirements(Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException
AssessmentRequirements
from a
Requisite.
requisiteId
- the Id
of a Requisite
NotFoundException
- requisiteId
not
foundNullArgumentException
- requisiteId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void addAltRequisiteToAssessmentRequirement(Id assessmentRequirementId, Id requisiteId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
Requisite
to an
AssessmentRequirement.
assessmentRequirementId
- the Id
of an
AssessmentRequirement
requisiteId
- the Id
of a Requisite
AlreadyExistsException
- requisiteId
is
already part of assessmentRequirementId
NotFoundException
- assessmentRequirementId
or requisiteId
not foundNullArgumentException
- assessmentRequirementId
or requisiteId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeAltRequisiteFromAssessmentRequirement(Id assessmentRequirementId, Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Requisite
from an
AssessmentRequirement.
assessmentRequirementId
- the Id
of an
AssessmentRequirement
requisiteId
- the Id
of a Requisite
NotFoundException
- assessmentRequirementId
or requisiteId
not found or
requisiteId
not part of assessmentRequirementId
NullArgumentException
- assessmentRequirementId
or requisiteId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeAltRequisitesFromAssessmentRequirement(Id assessmentRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Requisites
from an
AssessmentRequirement.
assessmentRequirementId
- the Id
of an
AssessmentRequirement
NotFoundException
- assessmentRequirementId
not foundNullArgumentException
- assessmentRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canCreateAwardRequirements()
AwardRequirements.
A
return of true does not guarantee successful authorization. A return
of false indicates that it is known creating an
AwardRequirement
will result in a PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer create operations to an unauthorized user. false
if AwardRequirement
creation is not authorized, true
otherwisemandatory
- This method must be implemented. boolean canCreateAwardRequirementWithRecordTypes(Type[] awardRequirementRecordTypes)
AwardRequirement
using the desired record types. While
CourseRequisiteManager.getAwardRequirementRecordTypes()
can be
used to examine which records are supported, this method tests which
record(s) are required for creating a specific
AwardRequirement.
Providing an empty array tests if an
AwardRequirement
can be created with no records.awardRequirementRecordTypes
- array of award requirement record
types true
if AwardRequirement
creation using the specified record Types
is
supported, false
otherwiseNullArgumentException
-
awardRequirementRecordTypes
is null
mandatory
- This method must be implemented. AwardRequirementForm getAwardRequirementFormForCreate(Id awardId, Type[] awardRequirementRecordTypes) throws NotFoundException, OperationFailedException, PermissionDeniedException
awardId
- a award Id
awardRequirementRecordTypes
- array of award requirement record
typesNotFoundException
- awardId
is not foundNullArgumentException
- awardId
or
awardRequirementRecordTypes
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- unable to get form for requested
record typesmandatory
- This method must be implemented. AwardRequirement createAwardRequirement(Id awardId, AwardRequirementForm awardRequirementForm) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
AwardRequirement.
awardId
- an award Id
awardRequirementForm
- the form for this AwardRequirement
AwardRequirement
AlreadyExistsException
- attempt at duplicating a
property the underlying system is enforcing to be uniqueInvalidArgumentException
- one or more of the form
elements is invalidNotFoundException
- awardId
is not foundNullArgumentException
- awardid
or
awardRequirementForm
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- awardRequirementForm
is not of this servicemandatory
- This method must be implemented. boolean canUpdateAwardRequirements()
AwardRequirements.
A
return of true does not guarantee successful authorization. A return
of false indicates that it is known updating an
AwardRequirement
will result in a PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer update operations to an unauthorized user. false
if AwardRequirement
modification is not authorized, true
otherwisemandatory
- This method must be implemented. boolean canUpdateAwardRequirement(Id awardRequirementId)
AwardRequirement.
A return of true does not guarantee successful authorization.
A return of false indicates that it is known updating the
AwardRequirement
will result in a PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer an update operation to an unauthorized user for this
AwardRequirement.
awardRequirementId
- the Id
of the
AwardRequirement
false
if award requirement modification is not
authorized, true
otherwiseNullArgumentException
- awardRequirementId
is null
mandatory
- This method must be implemented. If
- the awardRequirementId
is not found, then it
is acceptable to return false to indicate the lack of an
update available. AwardRequirementForm getAwardRequirementFormForUpdate(Id awardRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
awardRequirementId
- the Id
of the
AwardRequirement
NotFoundException
- awardRequirementId
is not foundNullArgumentException
- awardRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void updateAwardRequirement(Id awardRequirementId, AwardRequirementForm awardRequirementForm) throws NotFoundException, OperationFailedException, PermissionDeniedException
awardRequirementId
- the Id
of the
AwardRequirement
awardRequirementForm
- the form containing the elements to be
updatedInvalidArgumentException
- the form contains an invalid
valueNotFoundException
- awardRequirementId
is not foundNullArgumentException
- awardRequirementId
or awardRequirementForm
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- awardRequirementForm
is not supportedmandatory
- This method must be implemented. boolean canDeleteAwardRequirements()
AwardRequirements.
A
return of true does not guarantee successful authorization. A return
of false indicates that it is known deleting an
AwardRequirement
will result in a PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer delete operations to an unauthorized user. false
if AwardRequirement
deletion is not authorized, true
otherwisemandatory
- This method must be implemented. boolean canDeleteAwardRequirement(Id awardRequirementId)
AwardRequirement.
A return of true does not guarantee successful authorization.
A return of false indicates that it is known deleting the
AwardRequirement
will result in a PERMISSION_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.awardRequirementId
- the Id
of the
AwardRequirement
false
if deletion of this
AwardRequirement
is not authorized, true
otherwiseNullArgumentException
- awardRequirementId
is null
mandatory
- This method must be implemented. If
- the awardRequirementId,
is not found, then
it is acceptable to return false to indicate the lack of a
delete available. void deleteAwardRequirement(Id awardRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
AwardRequirement.
awardRequirementId
- the Id
of the
AwardRequirement
to removeNotFoundException
- awardRequirementId
not foundNullArgumentException
- awardRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void deleteAwardRequirements() throws OperationFailedException, PermissionDeniedException
AwardRequirements
in this
CourseCatalog.
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canManageAwardRequirementAliases()
Id
aliases for
AwardRequirements.
A return of true does not guarantee
successful authorization. A return of false indicates that it is known
changing an alias will result in a PERMISSION_DENIED.
This is intended as a hint to an application that may opt not to offer
alias operations to an unauthorized user. false
if AwardRequirement
aliasing is not authorized, true
otherwisemandatory
- This method must be implemented. void aliasAwardRequirement(Id awardRequirementId, Id aliasId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
Id
to an AwardRequirement
for
the purpose of creating compatibility. The primary Id
of the AwardRequirement
is determined by the provider.
The new Id
performs as an alias to the primary
Id.
If the alias is a pointer to another award requirement, it
is reassigned to the given award requirement Id.
awardRequirementId
- the Id
of an
AwardRequirement
aliasId
- the alias Id
AlreadyExistsException
- aliasId
is in
use as a primary Id
NotFoundException
- awardRequirementId
not foundNullArgumentException
- awardRequirementId
or aliasId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void addAwardRequirement(Id requisiteId, Id awardRequirementId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
AwardRequirement
to a Requisite.
requisiteId
- the Id
of a Requisite
awardRequirementId
- the Id
of an
AwardRequirement
AlreadyExistsException
- awardRequirementId
is already part of requisiteId
NotFoundException
- requisiteId
or
awardRequirementId
not foundNullArgumentException
- requisiteId
or
awardRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeAwardRequirement(Id requisiteId, Id awardRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Requirement
from a Requisite.
requisiteId
- the Id
of a Requisite
awardRequirementId
- the Id
of an
AwardRequirement
NotFoundException
- requisiteId
or
awardRequirementId
not found or
awardRequirementId
not part of requisiteId
NullArgumentException
- requisiteId
or
awardRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeAwardRequirements(Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException
AwardRequirements
from a Requisite.
requisiteId
- the Id
of a Requisite
NotFoundException
- requisiteId
not
foundNullArgumentException
- requisiteId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void addAltRequisiteToAwardRequirement(Id awardRequirementId, Id requisiteId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
Requisite
to an
AwardRequirement.
awardRequirementId
- the Id
of an
AwardRequirement
requisiteId
- the Id
of a Requisite
AlreadyExistsException
- requisiteId
is
already part of awardRequirementId
NotFoundException
- awardRequirementId
or requisiteId
not foundNullArgumentException
- awardRequirementId
or requisiteId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeAltRequisiteFromAwardRequirement(Id awardRequirementId, Id requisiteId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Requisite
from an
AwardRequirement.
awardRequirementId
- the Id
of an
AwardRequirement
requisiteId
- the Id
of a Requisite
NotFoundException
- awardRequirementId
or requisiteId
not found or requisiteId
not part of awardRequirementId
NullArgumentException
- awardRequirementId
or requisiteId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void removeAltRequisitesFromAwardRequirement(Id awardRequirementId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Requisites
from an AwardRequirement.
awardRequirementId
- the Id
of an
AwardRequirement
NotFoundException
- awardRequirementId
not foundNullArgumentException
- awardRequirementId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented.