public interface IssueForm extends OsidObjectForm
This is the form for creating and updating Issues. Like
all OsidForm objects, various data elements may be set here
for use in the create and update methods in the IssueAdminSession.
For each data element that may be set, metadata may be examined to
provide display hints or data constraints.
| Modifier and Type | Method and Description |
|---|---|
void |
clearBureau()
Removes the bureau.
|
Metadata |
getBureauMetadata()
Gets the metadata for the bureau.
|
IssueFormRecord |
getIssueFormRecord(Type issueRecordType)
Gets the
IssueFormRecord corresponding to the given
issue record Type. |
void |
setBureau(Id bureauId)
Sets the bureau.
|
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusTypegetRequiredRecordTypesgetRecordTypes, hasRecordTypegetDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocalegetId, isCurrentMetadata getBureauMetadata()
mandatory - This method must be implemented. void setBureau(Id bureauId)
bureauId - the new bureauInvalidArgumentException - bureauId is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - bureauId is
null mandatory - This method must be implemented. void clearBureau()
NoAccessException - Metadata.isRequired()
is true or Metadata.isReadOnly()
is true mandatory - This method must be implemented. IssueFormRecord getIssueFormRecord(Type issueRecordType) throws OperationFailedException, PermissionDeniedException
IssueFormRecord corresponding to the given
issue record Type. issueRecordType - an issue record typeNullArgumentException - issueRecordType
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException -
hasRecordType(issueRecordType) is false mandatory - This method must be implemented.