Interface CredentialEntryForm
- All Superinterfaces:
Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, OsidRelationshipForm, OsidTemporalForm, Suppliable
- All Known Subinterfaces:
CredentialEntryBatchForm
This is the form for creating and updating CredentialEntries .
Like all OsidForm objects, various data elements may be set here
for use in the create and update methods in the
ChronicleAdminSession . For each data element that may be set, metadata
may be examined to provide display hints or data constraints.
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the abandon date.voidClears the abandon term.voidClears the award date.voidClears the award term.voidClears the award date.voidClears the expected completion date.voidClears the expected completion term.voidClears the is abandoned flag.voidClears the is actively pursuing flag.voidClears the is awarded flag.voidClears the is expected to complete flag.voidClears the is matriculation known flag.voidClears the is paused flag.voidClears the program.voidClears the start date.voidClears the start term.Gets the metadata for the abandon date.Gets the metadata for the abandon term.Gets the metadata for the award date.Gets the metadata for the award term.getCredentialEntryFormRecord(Type credentialEntryRecordType) Gets theCredentialEntryFormRecordcorresponding to the given credential entry recordType.Gets the metadata for the award date.Gets the metadata for the expected completion date.Gets the metadata for the expected completion term.Gets the metadata for the is abandoned flag.Gets the metadata for the is actively pursuing flag.Gets the metadata for the is awarded flag.Gets the metadata for the is expected to complete flag.Gets the metadata for the is matriculation known flag.Gets the metadata for the is paused flag.Gets the metadata for the program.Gets the metadata for the start date.Gets the metadata for the start term.voidsetAbandonDate(DateTime date) Sets the abandon date.voidsetAbandonTerm(Id abandonTermId) Sets the abandon term.voidsetAwardDate(DateTime date) Sets the award date.voidsetAwardTerm(Id awardTermId) Sets the award term.voidsetDateAwarded(DateTime date) Sets the award date.voidSets the expected completion date.voidsetExpectedCompletionTerm(Id expectedCompletionTermId) Sets the expected completion term.voidsetIsAbandoned(boolean isAbandoned) Sets the is abandoned flag.voidsetIsActivelyPursuing(boolean isActivelyPursuing) Sets the is actively pursuing flag.voidsetIsAwarded(boolean isAwarded) Sets the is awarded flag.voidsetIsExpectedToComplete(boolean isExpectedToComplete) Sets the is expected to complete flag.voidsetIsMatriculationKnown(boolean isMatriculationKnown) Sets the is matriculation known flag.voidsetIsPaused(boolean isPaused) Sets the is paused flag.voidsetProgram(Id programId) Sets the program.voidsetStartDate(DateTime date) Sets the start date.voidsetStartTerm(Id startTermId) Sets the start term.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidExtensibleForm
getRequiredRecordTypesModifier and TypeMethodDescriptionGets the minimum required record types for successful submission of thisOsidForm.Methods inherited from interface OsidForm
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocaleModifier and TypeMethodDescriptionGets a default locale for the form.Metadata[]Gets a list of metadata for the elements in this form which are not valid.Gets the metadata for the comment corresponding to this form submission.Gets the locales available for this form.Gets text messages corresponding to additional instructions to pass form validation.booleanTests if this form is for an update operation.booleanisValid()Tests if this form is in a valid state for submission.voidsetJournalComment(String comment) Sets a comment.voidSpecifies a language and script type for the form.Methods inherited from interface OsidObjectForm
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusTypeModifier and TypeMethodDescriptionvoidClears the description.voidClears the display name.voidClears the genus type.Gets the metadata for a description.Gets the metadata for a display name.Gets the metadata for a genus type.voidsetDescription(String description) Sets a description.voidsetDisplayName(String displayName) Sets a display name.voidsetGenusType(Type genusType) Sets a genus.Methods inherited from interface OsidRelationshipForm
clearEndReason, getEndReasonMetadata, setEndReasonModifier and TypeMethodDescriptionvoidRemoves the end reason.Gets the metadata for the end reason.voidsetEndReason(Id stateId) Sets the end reason.Methods inherited from interface OsidTemporalForm
clearEndDate, getEndDateMetadata, setEndDateModifier and TypeMethodDescriptionvoidClears the end date.Gets the metadata for an end date.voidsetEndDate(DateTime date) Sets the end date.
-
Method Details
-
getIsMatriculationKnownMetadata
Metadata getIsMatriculationKnownMetadata()Gets the metadata for the is matriculation known flag.- Returns:
- metadata for the is matriculation known flag
- Compliance:
mandatory- This method must be implemented.
-
setIsMatriculationKnown
void setIsMatriculationKnown(boolean isMatriculationKnown) Sets the is matriculation known flag.- Parameters:
isMatriculationKnown- the new is matriculation known flag- Throws:
InvalidArgumentException-isMatriculationKnownis invalidNoAccessException-Metadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
clearIsMatriculationKnown
void clearIsMatriculationKnown()Clears the is matriculation known flag.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getStartDateMetadata
Metadata getStartDateMetadata()Gets the metadata for the start date.- Specified by:
getStartDateMetadatain interfaceOsidTemporalForm- Returns:
- metadata for the start date
- Compliance:
mandatory- This method must be implemented.
-
setStartDate
Sets the start date.- Specified by:
setStartDatein interfaceOsidTemporalForm- Parameters:
date- the new date- Throws:
InvalidArgumentException-dateis invalidNoAccessException-Metadata.isReadOnly()istrueNullArgumentException-dateisnull- Compliance:
mandatory- This method must be implemented.
-
clearStartDate
void clearStartDate()Clears the start date.- Specified by:
clearStartDatein interfaceOsidTemporalForm- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getStartTermMetadata
Metadata getStartTermMetadata()Gets the metadata for the start term.- Returns:
- metadata for the start term
- Compliance:
mandatory- This method must be implemented.
-
setStartTerm
Sets the start term.- Parameters:
startTermId- the new start term- Throws:
InvalidArgumentException-startTermIdis invalidNoAccessException-Metadata.isReadOnly()istrueNullArgumentException-startTermIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearStartTerm
void clearStartTerm()Clears the start term.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getIsExpectedToCompleteMetadata
Metadata getIsExpectedToCompleteMetadata()Gets the metadata for the is expected to complete flag.- Returns:
- metadata for the is expected to complete flag
- Compliance:
mandatory- This method must be implemented.
-
setIsExpectedToComplete
void setIsExpectedToComplete(boolean isExpectedToComplete) Sets the is expected to complete flag.- Parameters:
isExpectedToComplete- the new is expected to complete flag- Throws:
InvalidArgumentException-isExpectedToCompleteis invalidNoAccessException-Metadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
clearIsExpectedToComplete
void clearIsExpectedToComplete()Clears the is expected to complete flag.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getExpectedCompletionDateMetadata
Metadata getExpectedCompletionDateMetadata()Gets the metadata for the expected completion date.- Returns:
- metadata for the expected completion date
- Compliance:
mandatory- This method must be implemented.
-
setExpectedCompletionDate
Sets the expected completion date.- Parameters:
date- the new date- Throws:
InvalidArgumentException-dateis invalidNoAccessException-Metadata.isReadOnly()istrueNullArgumentException-dateisnull- Compliance:
mandatory- This method must be implemented.
-
clearExpectedCompletionDate
void clearExpectedCompletionDate()Clears the expected completion date.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getExpectedCompletionTermMetadata
Metadata getExpectedCompletionTermMetadata()Gets the metadata for the expected completion term.- Returns:
- metadata for the expected completion term
- Compliance:
mandatory- This method must be implemented.
-
setExpectedCompletionTerm
Sets the expected completion term.- Parameters:
expectedCompletionTermId- the new expected completion term- Throws:
InvalidArgumentException-expectedCompletionTermIdis invalidNoAccessException-Metadata.isReadOnly()istrueNullArgumentException-expectedCompletionTermIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearExpectedCompletionTerm
void clearExpectedCompletionTerm()Clears the expected completion term.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getIsActivelyPursuingMetadata
Metadata getIsActivelyPursuingMetadata()Gets the metadata for the is actively pursuing flag.- Returns:
- metadata for the is actively pursuing flag
- Compliance:
mandatory- This method must be implemented.
-
setIsActivelyPursuing
void setIsActivelyPursuing(boolean isActivelyPursuing) Sets the is actively pursuing flag.- Parameters:
isActivelyPursuing- the new is actively pursuing flag- Throws:
InvalidArgumentException-isActivelyPursuingis invalidNoAccessException-Metadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
clearIsActivelyPursuing
void clearIsActivelyPursuing()Clears the is actively pursuing flag.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getIsPausedMetadata
Metadata getIsPausedMetadata()Gets the metadata for the is paused flag.- Returns:
- metadata for the is paused flag
- Compliance:
mandatory- This method must be implemented.
-
setIsPaused
void setIsPaused(boolean isPaused) Sets the is paused flag.- Parameters:
isPaused- the new is paused flag- Throws:
InvalidArgumentException-isPausedis invalidNoAccessException-Metadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
clearIsPaused
void clearIsPaused()Clears the is paused flag.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getIsAbandonedMetadata
Metadata getIsAbandonedMetadata()Gets the metadata for the is abandoned flag.- Returns:
- metadata for the is abandoned flag
- Compliance:
mandatory- This method must be implemented.
-
setIsAbandoned
void setIsAbandoned(boolean isAbandoned) Sets the is abandoned flag.- Parameters:
isAbandoned- the new is abandoned flag- Throws:
InvalidArgumentException-isAbandonedis invalidNoAccessException-Metadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
clearIsAbandoned
void clearIsAbandoned()Clears the is abandoned flag.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getAbandonDateMetadata
Metadata getAbandonDateMetadata()Gets the metadata for the abandon date.- Returns:
- metadata for the abandon date
- Compliance:
mandatory- This method must be implemented.
-
setAbandonDate
Sets the abandon date.- Parameters:
date- the new date- Throws:
InvalidArgumentException-dateis invalidNoAccessException-Metadata.isReadOnly()istrueNullArgumentException-dateisnull- Compliance:
mandatory- This method must be implemented.
-
clearAbandonDate
void clearAbandonDate()Clears the abandon date.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getAbandonTermMetadata
Metadata getAbandonTermMetadata()Gets the metadata for the abandon term.- Returns:
- metadata for the abandon term
- Compliance:
mandatory- This method must be implemented.
-
setAbandonTerm
Sets the abandon term.- Parameters:
abandonTermId- the new abandon term- Throws:
InvalidArgumentException-abandonTermIdis invalidNoAccessException-Metadata.isReadOnly()istrueNullArgumentException-abandonTermIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearAbandonTerm
void clearAbandonTerm()Clears the abandon term.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getIsAwardedMetadata
Metadata getIsAwardedMetadata()Gets the metadata for the is awarded flag.- Returns:
- metadata for the is awarded flag
- Compliance:
mandatory- This method must be implemented.
-
setIsAwarded
void setIsAwarded(boolean isAwarded) Sets the is awarded flag.- Parameters:
isAwarded- the new is awarded flag- Throws:
InvalidArgumentException-isAwardedis invalidNoAccessException-Metadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
clearIsAwarded
void clearIsAwarded()Clears the is awarded flag.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getAwardDateMetadata
Metadata getAwardDateMetadata()Gets the metadata for the award date.- Returns:
- metadata for the award date
- Compliance:
mandatory- This method must be implemented.
-
setAwardDate
Sets the award date.- Parameters:
date- the new date- Throws:
InvalidArgumentException-dateis invalidNoAccessException-Metadata.isReadOnly()istrueNullArgumentException-dateisnull- Compliance:
mandatory- This method must be implemented.
-
clearAwardDate
void clearAwardDate()Clears the award date.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getAwardTermMetadata
Metadata getAwardTermMetadata()Gets the metadata for the award term.- Returns:
- metadata for the award term
- Compliance:
mandatory- This method must be implemented.
-
setAwardTerm
Sets the award term.- Parameters:
awardTermId- the new award term- Throws:
InvalidArgumentException-awardTermIdis invalidNoAccessException-Metadata.isReadOnly()istrueNullArgumentException-awardTermIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearAwardTerm
void clearAwardTerm()Clears the award term.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getDateAwardedMetadata
Metadata getDateAwardedMetadata()Gets the metadata for the award date.- Returns:
- metadata for the award date
- Compliance:
mandatory- This method must be implemented.
-
setDateAwarded
Sets the award date.- Parameters:
date- the new date- Throws:
InvalidArgumentException-dateis invalidNoAccessException-Metadata.isReadOnly()istrueNullArgumentException-dateisnull- Compliance:
mandatory- This method must be implemented.
-
clearDateAwarded
void clearDateAwarded()Clears the award date.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getProgramMetadata
Metadata getProgramMetadata()Gets the metadata for the program.- Returns:
- metadata for the program
- Compliance:
mandatory- This method must be implemented.
-
setProgram
Sets the program.- Parameters:
programId- the new program- Throws:
InvalidArgumentException-programIdis invalidNoAccessException-Metadata.isReadOnly()istrueNullArgumentException-programIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearProgram
void clearProgram()Clears the program.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getCredentialEntryFormRecord
CredentialEntryFormRecord getCredentialEntryFormRecord(Type credentialEntryRecordType) throws OperationFailedException Gets theCredentialEntryFormRecordcorresponding to the given credential entry recordType.- Parameters:
credentialEntryRecordType- a credential entry record type- Returns:
- the credential entry form record
- Throws:
NullArgumentException-credentialEntryRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(credentialEntryRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-