public interface CommentBatchForm extends CommentForm
This is the form for creating and updating comments in bulk.
Like all OsidForm
objects, various data elements
may be set here for use in the create and update methods in the
CommentBatchAdminSession.
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 |
---|---|
Id |
getCommentId()
Gets the
Id of the comment to be updated if this is an
update transaction. |
Id |
getResourceId()
Gets the
Resource Id of the comment if
this is a create transaction. |
Id |
getWorkId()
Gets the work
Id of the comment if this is a create
transaction. |
clearRating, clearText, getCommentFormRecord, getRatingMetadata, getTextMetadata, setRating, setText
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
getRequiredRecordTypes
getRecordTypes, hasRecordType
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
clearEndDate, clearStartDate, getEndDateMetadata, getStartDateMetadata, setEndDate, setStartDate
Id getResourceId()
Resource
Id
of the comment if
this is a create transaction. Id
IllegalStateException
- isForUpdate()
is
true
mandatory
- This method must be implemented. Id getWorkId()
Id
of the comment if this is a create
transaction. Id
IllegalStateException
- isForUpdate()
is
true
mandatory
- This method must be implemented. Id getCommentId()
Id
of the comment to be updated if this is an
update transaction. Id
IllegalStateException
- isForUpdate()
is
false
mandatory
- This method must be implemented.