public abstract class CreateComposite<BDO extends DataObject,X extends Composite> extends Composite<BDO,X> implements CreateCustomizer<BDO>
Composites that implement CreateCustomizer| Modifier | Constructor and Description |
|---|---|
protected |
CreateComposite(DataObjectFactory<BDO> fac) |
| Modifier and Type | Method and Description |
|---|---|
void |
customiseCreationForm(Form f)
Perform target specific customisation of a creation Form.
|
void |
postCreate(BDO dat,
Form f)
Take any action after object commit.
|
void |
preCommit(BDO dat,
Form f)
Populate target from creation form.
|
addDefaults, addFieldHelp, addOptional, addSelectors, addSuppress, addTranslations, customiseForm, customiseUpdateForm, getContext, getFactory, getLogger, getRecord, getRepository, getType, modifyDefaultTableSpecification, postUpdate, preRegister, release, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddFieldConstraints, addFormFieldsprotected CreateComposite(DataObjectFactory<BDO> fac)
fac - public void customiseCreationForm(Form f) throws java.lang.Exception
CreateCustomizercustomiseCreationForm in interface CreateCustomizer<BDO extends DataObject>f - Form to be modifiedjava.lang.Exceptionpublic void preCommit(BDO dat, Form f) throws DataException
CreateCustomizerpreCommit in interface CreateCustomizer<BDO extends DataObject>dat - Object being createdf - Form providing parametersDataExceptionpublic void postCreate(BDO dat, Form f) throws java.lang.Exception
CreateCustomizerpostCreate in interface CreateCustomizer<BDO extends DataObject>java.lang.Exception