Interface ResidentMapCreateAction<A extends ResidentMapCreateAction<A>>

All Superinterfaces:
Action<A>, Comparable<A>, ConditionalAction<A>, Copyable<A>, FormAction<A>, ModalFormAction<A>, Serializable
All Known Implementing Classes:
DefaultResidentMapCreateAction

public interface ResidentMapCreateAction<A extends ResidentMapCreateAction<A>> extends ModalFormAction<A>
Represents the metadata for the ResidentMapField.ActionTypes.CREATE action within an ResidentMapField. This component is able to be configured with a field to provide the ResidentMapCreateAction.FieldNames.ENTRY_KEY. If not provided, a default of text input will be used.
Author:
Nick Crum (ncrum)
  • Method Details

    • addEntryKeyField

      default A addEntryKeyField(Field<?> entryKeyField)
      Adds an entry key field to the action.
      Parameters:
      entryKeyField - the field
      Returns:
      this
    • entryKeyField

      default A entryKeyField(UnaryOperator<Field<?>> fn)
      Selects the entry key field for this action for further customization.
      Parameters:
      fn - the function to customize
      Returns:
      this
    • getEntryKeyField

      default Field<?> getEntryKeyField()
      Retrieves the entry key field.
      Returns:
      the field
    • findEntryKeyField

      default Optional<Field<?>> findEntryKeyField()
      Finds the entry key field.
      Returns:
      an optional with the field, or empty