public interface ResidentGridField<F extends ResidentGridField<F>> extends ActionGrid<F>, Field<F>, Filterable<F>
Modifier and Type | Interface and Description |
---|---|
static class |
ResidentGridField.ActionTypes |
ActionGrid.ActionKeys, ActionGrid.ActionPlacements
Grid.Attributes, Grid.Keys
Field.Attributes
Filterable.Attributes
Modifier and Type | Method and Description |
---|---|
default F |
addCreateAction(CreateModalFormAction<?> createAction)
Add the
ResidentGridField.ActionTypes.CREATE action to the grid. |
default F |
addDeleteAction(Action<?> deleteAction)
Add the
ResidentGridField.ActionTypes.DELETE action to the grid. |
default F |
addGenerateTemplateAction(GenerateTemplateAction<?> generateAction)
Add the
ResidentGridField.ActionTypes.UPDATE action to the grid. |
default F |
addUpdateAction(ModalFormAction<?> updateAction)
Add the
ResidentGridField.ActionTypes.UPDATE action to the grid. |
default F |
addViewReadOnlyAction(FormAction<?> viewReadOnlyAction)
Adds a
ActionPlacements#ROW action that allows a user to view the details of the row
in a read-only form. |
default F |
createAction(UnaryOperator<CreateModalFormAction<?>> fn)
Configures the
ResidentGridField.ActionTypes.CREATE action for the grid. |
default F |
createLabel(String labelKey)
Shortcut for changing the label of the create grid action.
|
default F |
deleteAction(UnaryOperator<Action<?>> fn)
Configures the
ResidentGridField.ActionTypes.DELETE action for the grid. |
default F |
deleteLabel(String labelKey)
Shortcut for changing the label of the delete grid action.
|
default Optional<CreateModalFormAction<?>> |
findCreateAction()
Finds the grid action of type
ResidentGridField.ActionTypes.CREATE . |
default Optional<Action<?>> |
findDeleteAction()
Finds the grid action of type
ResidentGridField.ActionTypes.DELETE . |
default Optional<GenerateTemplateAction<?>> |
findGenerateTemplateAction()
Finds the grid action of type
ResidentGridField.ActionTypes.UPDATE . |
default Optional<ModalFormAction<?>> |
findUpdateAction()
Finds the grid action of type
ResidentGridField.ActionTypes.UPDATE . |
default Optional<FormAction<?>> |
findViewReadOnlyAction() |
default F |
generateTemplateAction(UnaryOperator<GenerateTemplateAction<?>> fn)
Configures the
ResidentGridField.ActionTypes.UPDATE action for the grid. |
default F |
generateTemplateLabel(String labelKey)
Shortcut for changing the label of the update grid action.
|
default CreateModalFormAction<?> |
getCreateAction()
Retrieves the grid action of type
ResidentGridField.ActionTypes.CREATE . |
default Action<?> |
getDeleteAction()
Retrieves the grid action of type
ResidentGridField.ActionTypes.DELETE . |
default GenerateTemplateAction<?> |
getGenerateTemplateAction()
Retrieves the grid action of type
ResidentGridField.ActionTypes.UPDATE . |
default ModalFormAction<?> |
getUpdateAction()
Retrieves the grid action of type
ResidentGridField.ActionTypes.UPDATE . |
default FormAction<?> |
getViewReadOnlyAction() |
default F |
updateAction(UnaryOperator<ModalFormAction<?>> fn)
Configures the
ResidentGridField.ActionTypes.UPDATE action for the grid. |
default F |
updateLabel(String labelKey)
Shortcut for changing the label of the update grid action.
|
default F |
viewReadOnlyAction(UnaryOperator<FormAction<?>> fn)
Configure the
ActionPlacements#ROW action that allows a user to view the details of
the row in a read-only form. |
default F |
viewReadOnlyLabel(String labelKey)
Shortcut for setting the label of the read-only action.
|
addGridAction, addGridAction, addRowAction, addRowAction, findGridAction, findRowAction, getGridAction, getRowAction, gridAction, removeGridAction, removeRowAction, rowAction
addColumn, addColumn, addColumn, addColumns, findColumn, getColumn, idKey, removeColumn
decorated, defaultValue, getDefaultValue, getName, getPlaceholder, getRequiredMessage, getValidationSchema, isReadOnly, isRequired, isShowInQueryBuilder, name, notReadOnly, notRequired, placeholder, placeholder, readOnly, readOnly, required, required, required, required, requiredMessage, requiredMessage, setDefaultValue, setName, setPlaceholder, setReadOnly, setRequired, setRequiredMessage, setShowInQueryBuilder, setValidationSchema, validationMethod, validationSchema, validationSchema
getHelpText, getHint, getTooltip, helpText, helpText, hidden, hidden, hint, hint, isHidden, notHidden, setHelpText, setHidden, setHint, setTooltip, tooltip, tooltip
addAction, addAction, addComponent, addEndpoint, addEndpoint, apply, attribute, augmentationKey, classifier, clearConditionals, clearEndpoints, conditional, conditionals, description, description, findAction, findAction, findActions, findAttribute, findComponent, findComponent, findComponents, findEndpoint, findEndpoint, findEndpoints, get, get, getAction, getAction, getActions, getActionsList, getAttribute, getAttribute, getAttributes, getAugmentationKey, getClassifier, getComponent, getComponent, getComponents, getComponentsList, getConditionals, getDescription, getEndpoint, getEndpoint, getEndpoints, getEndpointsList, getId, getLabel, getOrder, getScope, getType, hasAction, hasAttribute, hasComponent, hasEndpoint, id, isAugmentable, isTranslatable, label, label, notTranslatable, order, removeAction, removeAttribute, removeComponent, removeEndpoint, scope, self, setActions, setAttributes, setAugmentationKey, setClassifier, setComponents, setConditionals, setDescription, setEndpoints, setId, setLabel, setOrder, setScope, setTranslatable, setType, translatable, translatable, type
compareTo
implicitFilter, implicitFilters, implicitFilters
default F addCreateAction(CreateModalFormAction<?> createAction)
ResidentGridField.ActionTypes.CREATE
action to the grid. This action allows the user to create
new members of the collection using a modal form.createAction
- the create actiondefault F createAction(UnaryOperator<CreateModalFormAction<?>> fn)
ResidentGridField.ActionTypes.CREATE
action for the grid. This action allows the user to
create new members of the collection using a modal form.fn
- the function configure the create actiondefault F createLabel(String labelKey)
labelKey
- the message key of the labeldefault CreateModalFormAction<?> getCreateAction()
ResidentGridField.ActionTypes.CREATE
.default Optional<CreateModalFormAction<?>> findCreateAction()
ResidentGridField.ActionTypes.CREATE
.default F addDeleteAction(Action<?> deleteAction)
ResidentGridField.ActionTypes.DELETE
action to the grid. This row action allows the user to
delete a member of the collection.deleteAction
- the delete actiondefault F deleteAction(UnaryOperator<Action<?>> fn)
ResidentGridField.ActionTypes.DELETE
action for the grid. This row action allows the
user to delete a member of the collection.fn
- the function configure the delete actiondefault F deleteLabel(String labelKey)
labelKey
- the message key of the labeldefault Action<?> getDeleteAction()
ResidentGridField.ActionTypes.DELETE
.default Optional<Action<?>> findDeleteAction()
ResidentGridField.ActionTypes.DELETE
.default F addUpdateAction(ModalFormAction<?> updateAction)
ResidentGridField.ActionTypes.UPDATE
action to the grid. This row action allows the user to
update existing members of the collection using a modal form.updateAction
- the update actiondefault F updateAction(UnaryOperator<ModalFormAction<?>> fn)
ResidentGridField.ActionTypes.UPDATE
action for the grid. This row action allows the
user to update existing members of the collection using a modal form.fn
- the function configure the update actiondefault F updateLabel(String labelKey)
labelKey
- the message key of the labeldefault ModalFormAction<?> getUpdateAction()
ResidentGridField.ActionTypes.UPDATE
.default Optional<ModalFormAction<?>> findUpdateAction()
ResidentGridField.ActionTypes.UPDATE
.default F addGenerateTemplateAction(GenerateTemplateAction<?> generateAction)
ResidentGridField.ActionTypes.UPDATE
action to the grid. This row action allows the user to
update existing members of the collection using a modal form.generateAction
- the update actiondefault F generateTemplateAction(UnaryOperator<GenerateTemplateAction<?>> fn)
ResidentGridField.ActionTypes.UPDATE
action for the grid. This row action allows the
user to update existing members of the collection using a modal form.fn
- the function configure the update actiondefault F generateTemplateLabel(String labelKey)
labelKey
- the message key of the labeldefault GenerateTemplateAction<?> getGenerateTemplateAction()
ResidentGridField.ActionTypes.UPDATE
.default Optional<GenerateTemplateAction<?>> findGenerateTemplateAction()
ResidentGridField.ActionTypes.UPDATE
.default F addViewReadOnlyAction(FormAction<?> viewReadOnlyAction)
ActionPlacements#ROW
action that allows a user to view the details of the row
in a read-only form. This is generally used when a row is not editable yet there is a need to
present the details of the row.viewReadOnlyAction
- the action to adddefault F viewReadOnlyAction(UnaryOperator<FormAction<?>> fn)
ActionPlacements#ROW
action that allows a user to view the details of
the row in a read-only form. This is generally used when a row is not editable yet there is a
need to present the details of the row.fn
- a function to configure the read-only formdefault F viewReadOnlyLabel(String labelKey)
labelKey
- the label or label message keydefault FormAction<?> getViewReadOnlyAction()
default Optional<FormAction<?>> findViewReadOnlyAction()
Copyright © 2021. All rights reserved.