Interface EntryBatchForm
- All Superinterfaces:
EntryForm, Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, Suppliable
This is the form for creating and updating entries in bulk. Like all
OsidForm objects, various data elements may be set here for use in
the create and update methods in the EntryBatchAdminSession. For
each data element that may be set, metadata may be examined to provide
display hints or data constraints.
Like all OsidForms, EntryBatchForm is stateful and
must not be accessed by multiple processing threads.
-
Method Summary
Modifier and TypeMethodDescriptionGets theIdof the entry to be updated if this is an update transaction.getKey()Gets the value of the entry if this is a create transaction.Gets the key type of the entry if this is a create transaction.Gets the value type of the entry if this is a create transaction.Methods inherited from interface EntryForm
clearValue, getEntryFormRecord, getValueMetadata, setValueMethods inherited from interface Extensible
getRecordTypes, hasRecordTypeMethods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidExtensibleForm
getRequiredRecordTypesMethods inherited from interface OsidForm
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocaleMethods inherited from interface OsidObjectForm
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
-
Method Details
-
getKeyType
Type getKeyType()Gets the key type of the entry if this is a create transaction.- Returns:
- the key type
- Throws:
IllegalStateException-isForUpdate()istrue- Compliance:
mandatory- This method must be implemented.
-
getKey
Object getKey()Gets the value of the entry if this is a create transaction.- Returns:
- the value
- Throws:
IllegalStateException-isForUpdate()istrue- Compliance:
mandatory- This method must be implemented.
-
getValueType
Type getValueType()Gets the value type of the entry if this is a create transaction.- Returns:
- the value type
- Throws:
IllegalStateException-isForUpdate()istrue- Compliance:
mandatory- This method must be implemented.
-
getEntryId
Id getEntryId()Gets theIdof the entry to be updated if this is an update transaction.- Returns:
- the entry
Id - Throws:
IllegalStateException-isForUpdate()isfalse- Compliance:
mandatory- This method must be implemented.
-