Interface IConfirmedTask

  • All Superinterfaces:
    org.apache.wicket.util.io.IClusterable, java.io.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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Class<? extends org.apache.wicket.Page> execute​(org.apache.wicket.Component owner)
      Executes this task when the user confirms it.
    • Method Detail

      • execute

        java.lang.Class<? extends org.apache.wicket.Page> execute​(org.apache.wicket.Component owner)
                                                           throws java.lang.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:
        java.lang.Exception