public interface ActivityBatchForm extends ActivityForm
This is the form for creating and updating activities in bulk.
Like all OsidForm
objects, various data elements
may be set here for use in the create and update methods in the
ActivityBatchAdminSession.
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.
|
Id |
getAccountId()
Gets the account
Id of the activity if this is a create
transaction. |
Metadata |
getParentsMetadata()
Gets the metadata for setting the hierarchical parents of this
business.
|
void |
setParents(Id[] parents)
Sets the hierarchical parents.
|
clearCode, clearOrganization, clearSupervisor, getActivityFormRecord, getCodeMetadata, getOrganizationMetadata, getSupervisorMetadata, setCode, setOrganization, setSupervisor
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 getAccountId()
Id
of the activity if this is a create
transaction. Id
IllegalStateException
- isForUpdate()
is
true
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.