public interface BusinessBatchForm extends BusinessForm
This is the form for creating and updating businesses in bulk.
Like all OsidForm objects, various data elements
may be set here for use in the create and update methods in the
BusinessBatchAdminSession. 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 |
getBusinessId()
Gets the
Id of the business to be updated if this is an
update transaction. |
Metadata |
getParentsMetadata()
Gets the metadata for setting the hierarchical parents of this
business.
|
void |
setParents(Id[] parents)
Sets the hierarchical parents.
|
getBusinessFormRecordclearDescription, 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, setProviderId getBusinessId()
Id of the business 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.