public interface CreateEntityView<V extends CreateEntityView<V>> extends EntityView<V>
Modifier and Type | Interface and Description |
---|---|
static class |
CreateEntityView.ActionTypes |
static class |
CreateEntityView.Attributes |
static class |
CreateEntityView.EndpointTypes |
ActionView.ActionKeys, ActionView.ActionPlacements
Modifier and Type | Method and Description |
---|---|
default V |
addSubmitAction(Action<?> action) |
default Optional<Action<?>> |
findSubmitAction() |
default Action<?> |
getSubmitAction() |
default Endpoint<?> |
getSubmitEndpoint() |
default V |
redirectToBackOnCreate()
Configure this create view to redirect back rather than to the update view after a successful
create request.
|
default V |
redirectToUpdateOnCreate()
Configure this create view to redirect to the update view.
|
default V |
submitAction(Action<?> action) |
default V |
submitAction(UnaryOperator<Action<?>> fn) |
default V |
submitEndpoint(Endpoint<?> endpoint) |
default V |
submitEndpoint(UnaryOperator<Endpoint<?>> fn) |
default V |
submitLabel(InternationalizedMessage label) |
default V |
submitLabel(String label) |
default V |
submitScope(String scope) |
default V |
submitUrl(String url) |
default V |
submitUrl(String url,
String scope) |
default V |
updateLink(Link link)
Configures the link to the update view so that on a successful create the user will be
redirected to the newly created item's update view.
|
default V |
updateLinkById(String componentId)
Configures the link by ID to the update view so that on a successful create the user will be
redirected to the newly created item's update view.
|
default V |
updateLinkByPath(String path)
Configures the link by path to the update view so that on a successful create the user will
be redirected to the newly created item's update view.
|
addForm, addGeneralForm, backLink, backLinkById, backLinkByPath, findForm, form, generalForm, getForm, getGeneralForm
addPrimaryAction, addPrimaryAction, addSecondaryAction, addSecondaryAction, findPrimaryAction, findSecondaryAction, getPrimaryAction, getSecondaryAction, primaryAction, primaryAction, secondaryAction, secondaryAction
catalogTrackable, notCatalogTrackable, notSandboxTrackable, sandboxTrackable
complexAttributes, complexAttributes, notComplexAttributes
default V redirectToBackOnCreate()
default V redirectToUpdateOnCreate()
redirectToBackOnCreate()
default V updateLink(Link link)
link
- the link to the update viewdefault V updateLinkById(String componentId)
componentId
- the componentId of the update view's routedefault V updateLinkByPath(String path)
path
- the path to the update viewdefault V submitAction(UnaryOperator<Action<?>> fn)
default Action<?> getSubmitAction()
default V submitLabel(InternationalizedMessage label)
default V submitEndpoint(UnaryOperator<Endpoint<?>> fn)
default Endpoint<?> getSubmitEndpoint()
Copyright © 2021. All rights reserved.