public interface ImportGridAction<A extends ImportGridAction<A>> extends FormAction<A>
Modifier and Type | Interface and Description |
---|---|
static class |
ImportGridAction.ActionTypes |
static class |
ImportGridAction.Attributes |
static class |
ImportGridAction.DefaultScopes |
static class |
ImportGridAction.DefaultURIs |
static class |
ImportGridAction.EndpointTypes |
static class |
ImportGridAction.ExternalIds |
static class |
ImportGridAction.FieldNames |
static class |
ImportGridAction.GroupIds |
FormAction.Keys
Modifier and Type | Method and Description |
---|---|
default A |
addDownloadImportExampleFile(LinkExternal<?> link)
Adds the
LinkExternal to download the import file example into the import info group. |
default A |
addFileInputField(FileInputField<?> field)
Adds the field to select the file to import into a modal dialog form.
|
default A |
addImportGridInfoGroup(Group<?> group)
Adds the group for additional information.
|
default A |
addNameField(Field<?> field)
Adds the field for the import name into a modal dialog form.
|
default A |
addReadImportEndpoint(Endpoint<?> endpoint)
Adds the endpoint to read the import by id.
|
default A |
addStartImportEndpoint(Endpoint<?> endpoint)
Adds the endpoint to start the import.
|
default A |
downloadImportErrors()
|
default A |
downloadImportErrorsScope(String scope)
Adds the
ImportGridAction.Attributes.DOWNLOAD_IMPORT_ERRORS_SCOPE attribute. |
default A |
downloadImportErrorsUri(String uri)
Adds the
ImportGridAction.Attributes.DOWNLOAD_IMPORT_ERRORS_URI attribute. |
default A |
downloadImportExampleFile(String importType)
Adds the
LinkExternal to download the import file example into the import info group. |
default A |
downloadImportExampleFile(String importType,
UnaryOperator<LinkExternal<?>> fn)
Adds the
LinkExternal to download the import file example into the import info group. |
default A |
fileInputField()
Adds the field to select the file to import into a modal dialog form.
|
default A |
fileInputField(UnaryOperator<FileInputField<?>> fn)
Adds the field to select the file to import into a modal dialog form.
|
default Optional<External<?>> |
findDownloadImportFileExampleLink()
Searches the link to download the import example file.
|
default A |
importGridInfoGroup()
Adds the collapsible group for additional information.
|
default A |
importGridInfoGroup(UnaryOperator<Group<?>> fn)
Adds the collapsible group for additional information.
|
default A |
importType(String importType)
Adds the
ImportGridAction.Attributes.IMPORT_TYPE attribute. |
default A |
nameField(String importType)
Adds the field for the import name into a modal dialog form.
|
default A |
nameField(String importType,
UnaryOperator<Field<?>> fn)
Adds the field for the import name into a modal dialog form.
|
default A |
readImportEndpoint(String scope)
Adds the endpoint to read the import by id.
|
default A |
readImportEndpoint(String scope,
UnaryOperator<Endpoint<?>> fn)
Adds the endpoint to read the import by id.
|
default A |
removeDownloadImportExampleFile()
Removes the link to download the example file from the import info group.
|
default A |
removeFileInputField()
Removes the field to select the file to import.
|
default A |
removeImportGridInfoGroup()
Removes the group for additional information.
|
default A |
removeNameField()
Removes the field for the import name.
|
default A |
removeReadImportEndpoint()
Removes the endpoint to read the import by id.
|
default A |
removeStartImportEndpoint()
Removes the endpoint to start the import.
|
default A |
scope(String scope)
Adds the scope to this action.
|
default A |
startImportEndpoint(String scope)
Adds the endpoint to start the import.
|
default A |
startImportEndpoint(String scope,
UnaryOperator<Endpoint<?>> fn)
Adds the endpoint to start the import.
|
addExternal, addExternal, addField, addField, addField, addFormComponents, addGroup, addGroup, external, field, findExternal, findField, findGroup, getExternal, getField, getGroup, group, removeExternal, removeField, removeGroup
addComponent, addComponents, addEndpoint, addEndpoint, apply, attribute, clearEndpoints, findAttribute, findComponent, findComponent, findComponents, findEndpoint, findEndpoint, findEndpoints, get, get, getAttribute, getAttribute, getAttributes, getComponent, getComponent, getComponents, getComponentsList, getEndpoint, getEndpoint, getEndpoints, getEndpointsList, getId, getLabel, getOperationType, getOrder, getPlacement, getScope, getType, hasAttribute, hasComponent, hasEndpoint, id, label, label, operationType, order, placement, removeAttribute, removeComponent, removeEndpoint, self, setAttributes, setComponents, setEndpoints, setId, setLabel, setOperationType, setOrder, setPlacement, setScope, setType, type
compareTo
default A scope(String scope)
ImportGridAction.DefaultScopes.IMPORT
scope to the end
separated by whitespace.scope
in interface Action<A extends ImportGridAction<A>>
scope
- the OAuth2 scopedefault A startImportEndpoint(String scope)
ImportGridAction.DefaultURIs.START_IMPORT_URI
uri to this endpoint.scope
- the OAuth2 scopedefault A startImportEndpoint(String scope, UnaryOperator<Endpoint<?>> fn)
ImportGridAction.DefaultURIs.START_IMPORT_URI
uri to this endpoint.scope
- the OAuth2 scopefn
- the added endpoint for further customizationdefault A addStartImportEndpoint(Endpoint<?> endpoint)
endpoint
- the endpoint to start the importdefault A removeStartImportEndpoint()
default A readImportEndpoint(String scope)
ImportGridAction.DefaultURIs.READ_IMPORT_BY_ID_URI
uri to this endpoint.scope
- the OAuth2 scopedefault A readImportEndpoint(String scope, UnaryOperator<Endpoint<?>> fn)
ImportGridAction.DefaultURIs.READ_IMPORT_BY_ID_URI
uri to this endpoint.scope
- the OAuth2 scopefn
- the added endpoint for further customizationdefault A addReadImportEndpoint(Endpoint<?> endpoint)
endpoint
- the endpoint to read the import by iddefault A removeReadImportEndpoint()
default A nameField(String importType)
importType
- the import type. This is used to create the default value like: "importType
+ " - $TIMESTAMP""default A nameField(String importType, UnaryOperator<Field<?>> fn)
importType
- the import type. This is used to create the default value like: "importType
+ " - $TIMESTAMP"".fn
- the added field for further customizationdefault A addNameField(Field<?> field)
field
- the added field for further customizationdefault A removeNameField()
default A fileInputField()
default A fileInputField(UnaryOperator<FileInputField<?>> fn)
fn
- the added field for further customizationdefault A addFileInputField(FileInputField<?> field)
field
- the FileInputField
to adddefault A removeFileInputField()
default A downloadImportExampleFile(String importType)
LinkExternal
to download the import file example into the import info group.
If the group doesn't exists the the will be created.importType
- the import typedefault A downloadImportExampleFile(String importType, UnaryOperator<LinkExternal<?>> fn)
LinkExternal
to download the import file example into the import info group.
If the group doesn't exists the the will be created.importType
- the import typefn
- the added link for further customizationdefault A addDownloadImportExampleFile(LinkExternal<?> link)
LinkExternal
to download the import file example into the import info group.
If the group doesn't exists the the will be created.link
- the link to adddefault A removeDownloadImportExampleFile()
default A importGridInfoGroup()
default A importGridInfoGroup(UnaryOperator<Group<?>> fn)
fn
- the added group for further customizationdefault A addImportGridInfoGroup(Group<?> group)
group
- the added link for further customizationdefault A removeImportGridInfoGroup()
default A importType(String importType)
ImportGridAction.Attributes.IMPORT_TYPE
attribute.importType
- the import typedefault A downloadImportErrors()
ImportGridAction.Attributes.DOWNLOAD_IMPORT_ERRORS_URI
and
ImportGridAction.Attributes.DOWNLOAD_IMPORT_ERRORS_SCOPE
attributes with the
ImportGridAction.DefaultURIs.DOWNLOAD_IMPORT_ERRORS
uri and
ImportGridAction.DefaultScopes.DOWNLOAD_IMPORT_ERRORS
scope. This attributes are used to download the
file with the import errors.downloadImportErrorsUri(String)
,
downloadImportErrorsScope(String)
default A downloadImportErrorsUri(String uri)
ImportGridAction.Attributes.DOWNLOAD_IMPORT_ERRORS_URI
attribute. This uri is used to
download the file with the import errors.default A downloadImportErrorsScope(String scope)
ImportGridAction.Attributes.DOWNLOAD_IMPORT_ERRORS_SCOPE
attribute. This scope is used to
download the file with the import errors.scope
- the OAuth2 scope to download the file with the import errorsCopyright © 2021. All rights reserved.