public abstract class CreateComposite<BDO extends DataObject,X extends Composite> extends Composite<BDO,X> implements CreateCustomizer<BDO>
Composite
s 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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addFieldConstraints, addFormFields
protected CreateComposite(DataObjectFactory<BDO> fac)
fac
- public void customiseCreationForm(Form f) throws java.lang.Exception
CreateCustomizer
customiseCreationForm
in interface CreateCustomizer<BDO extends DataObject>
f
- Form to be modifiedjava.lang.Exception
public void preCommit(BDO dat, Form f) throws DataException
CreateCustomizer
preCommit
in interface CreateCustomizer<BDO extends DataObject>
dat
- Object being createdf
- Form
providing parametersDataException
public void postCreate(BDO dat, Form f) throws java.lang.Exception
CreateCustomizer
postCreate
in interface CreateCustomizer<BDO extends DataObject>
java.lang.Exception