public interface LogEntryForm extends OsidObjectForm
This is the form for creating and updating LogEntries.
Like all OsidForm objects, various data elements may be set
here for use in the create and update methods in the
LogEntryAdminSession. For each data element that may be set,
metadata may be examined to provide display hints or data constraints.
Some data may be automatically derived from the log entry segments.
| Modifier and Type | Method and Description |
|---|---|
void |
clearMessage()
Removes the message.
|
void |
clearSummary()
Removes the summary.
|
LogEntryFormRecord |
getLogEntryFormRecord(Type logEntryRecordType)
Gets the
LogEntryFormRecord corresponding to the given
log entry record Type. |
Metadata |
getMessageMetadata()
Gets the metadata for the message.
|
Metadata |
getSummaryMetadata()
Gets the metadata for the summary.
|
void |
setMessage(java.lang.String message)
Sets the message.
|
void |
setSummary(java.lang.String summary)
Sets the summary.
|
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusTypegetRequiredRecordTypesgetRecordTypes, hasRecordTypegetDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocalegetId, isCurrentMetadata getSummaryMetadata()
mandatory - This method must be implemented. void setSummary(java.lang.String summary)
summary - the new summaryInvalidArgumentException - summary is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - summary is
null mandatory - This method must be implemented. void clearSummary()
NoAccessException - Metadata.isRequired()
is true or Metadata.isReadOnly()
is true mandatory - This method must be implemented. Metadata getMessageMetadata()
mandatory - This method must be implemented. void setMessage(java.lang.String message)
message - the new messageInvalidArgumentException - message is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - message is
null mandatory - This method must be implemented. void clearMessage()
NoAccessException - Metadata.isRequired()
is true or Metadata.isReadOnly()
is true mandatory - This method must be implemented. LogEntryFormRecord getLogEntryFormRecord(Type logEntryRecordType) throws OperationFailedException
LogEntryFormRecord corresponding to the given
log entry record Type. logEntryRecordType - a log entry record typeNullArgumentException - logEntryRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(logEntryRecordType) is false
mandatory - This method must be implemented.