All Superinterfaces:
org.apache.wicket.util.io.IClusterable, Serializable
All Known Implementing Classes:
DeleteRecordAction, RecordActionTable.RecordActionTableDelete
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IConfirmedTask extends org.apache.wicket.util.io.IClusterable
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<? extends org.apache.wicket.Page>
    execute(org.apache.wicket.Component owner)
    Executes this task when the user confirms it.
  • Method Details

    • execute

      Class<? extends org.apache.wicket.Page> execute(org.apache.wicket.Component owner) throws Exception
      Executes this task when the user confirms it.
      Parameters:
      owner - The confirmation page itself.
      Returns:
      Optionally return a class to use as a page redirect. If null, the owner panel of the task will be returned to.
      Throws:
      Exception