public interface EntryForm extends OsidObjectForm, OsidSourceableForm
This is the form for creating and updating Entries. Like
all OsidForm objects, various data elements may be set here
for use in the create and update methods in the EntryAdminSession.
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 |
clearCopyright()
Clears the copyright.
|
void |
clearPoster()
Clears the poster.
|
void |
clearSubjectLine()
Clears the subject line.
|
void |
clearSummary()
Clears the summary.
|
void |
clearText()
Clears the text.
|
void |
clearTimestamp()
Clears the poster.
|
Metadata |
getCopyrightMetadata()
Gets the metadata for the copyright.
|
EntryFormRecord |
getEntryFormRecord(Type entryRecordType)
Gets the
EntryFormRecord corresponding to the given
Entry record Type. |
Metadata |
getPosterMetadata()
Gets the metadata for the poster.
|
Metadata |
getSubjectLineMetadata()
Gets the metadata for the subject line.
|
Metadata |
getSummaryMetadata()
Gets the metadata for the summary.
|
Metadata |
getTextMetadata()
Gets the metadata for the text.
|
Metadata |
getTimestampMetadata()
Gets the metadata for the timestamp.
|
void |
setCopyright(java.lang.String copyright)
Sets the copyright.
|
void |
setPoster(Id resourceId)
Sets the poster.
|
void |
setSubjectLine(java.lang.String subjectLine)
Sets the subject line.
|
void |
setSummary(java.lang.String summary)
Sets the summary.
|
void |
setText(java.lang.String text)
Sets the text.
|
void |
setTimestamp(DateTime timestamp)
Sets the timestamp.
|
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusTypegetRequiredRecordTypesgetRecordTypes, hasRecordTypegetDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocalegetId, isCurrentclearBranding, clearLicense, clearProvider, getBrandingMetadata, getLicenseMetadata, getProviderMetadata, setBranding, setLicense, setProviderMetadata getTimestampMetadata()
mandatory - This method must be implemented. void setTimestamp(DateTime timestamp)
timestamp - the new timestampInvalidArgumentException - timestamp is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - timestamp is
null mandatory - This method must be implemented. void clearTimestamp()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata getPosterMetadata()
mandatory - This method must be implemented. void setPoster(Id resourceId)
resourceId - the new posterInvalidArgumentException - resourceId is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - resourceId is
null mandatory - This method must be implemented. void clearPoster()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata getSubjectLineMetadata()
mandatory - This method must be implemented. void setSubjectLine(java.lang.String subjectLine)
subjectLine - the new subject lineInvalidArgumentException - subjectLine
is invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - subjectLine is
null mandatory - This method must be implemented. void clearSubjectLine()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata 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()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata getTextMetadata()
mandatory - This method must be implemented. void setText(java.lang.String text)
text - the new textInvalidArgumentException - text is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - text is
null mandatory - This method must be implemented. void clearText()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata getCopyrightMetadata()
mandatory - This method must be implemented. void setCopyright(java.lang.String copyright)
copyright - the new copyrightInvalidArgumentException - copyright is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - copyright is
null mandatory - This method must be implemented. void clearCopyright()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. EntryFormRecord getEntryFormRecord(Type entryRecordType) throws OperationFailedException
EntryFormRecord corresponding to the given
Entry record Type. entryRecordType - the entry record typeNullArgumentException - entryRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(entryRecordType) is false mandatory - This method must be implemented.