public interface TermBatchForm extends TermForm
This is the form for creating and updating terms in bulk.
Like all OsidForm
objects, various data elements
may be set here for use in the create and update methods in the
TermBatchAdminSession.
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 |
clearParents()
Removes the hierarchical parents.
|
Metadata |
getParentsMetadata()
Gets the metadata for setting the hierarchical parents of this term.
|
Id |
getTermId()
Gets the
Id of the term to be updated if this is an
update transaction. |
void |
setParents(Id[] parents)
Sets the hierarchical parents.
|
clearAddDate, clearClassesEnd, clearClassesStart, clearCloseDate, clearDisplayLabel, clearDropDate, clearFinalExamEnd, clearFinalExamStart, clearOpenDate, clearRegistrationEnd, clearRegistrationStart, getAddDateMetadata, getClassesEndMetadata, getClassesStartMetadata, getCloseDateMetadata, getDisplayLabelMetadata, getDropDateMetadata, getFinalExamEndMetadata, getFinalExamStartMetadata, getOpenDateMetadata, getRegistrationEndMetadata, getRegistrationStartMetadata, getTermFormRecord, setAddDate, setClassesEnd, setClassesStart, setCloseDate, setDisplayLabel, setDropDate, setFinalExamEnd, setFinalExamStart, setOpenDate, setRegistrationEnd, setRegistrationStart
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
getRequiredRecordTypes
getRecordTypes, hasRecordType
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
Id getTermId()
Id
of the term to be updated if this is an
update transaction. Id
IllegalStateException
- isForUpdate()
is
false
mandatory
- This method must be implemented. Metadata getParentsMetadata()
mandatory
- This method must be implemented. void setParents(Id[] parents)
parents
- the new parentsInvalidArgumentException
- parents
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
NullArgumentException
- parents
is
null
mandatory
- This method must be implemented. void clearParents()
NoAccessException
- Metadata.isRequired()
is true
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented.