LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.control
Interface LySortEndInterface

All Known Implementing Classes:
LyContextListController, LyEditTableController, LyImportTableController, LyMultiClassImportController, LyMultiPageTableController, LyRelationTableController, LySimpleTableController, LyTableController

public interface LySortEndInterface

Implemented by the client of a sort edition form.

This interface is implemented by a listener (usually a table controller or the extended filter controller when an elementary filter is created). The listener is notified when the sort has been set by the user in the filtering form.

See Also:
LySortWizardController.actionDemand(leon.view.event.LyActionDemand)

Field Summary
static java.lang.String __VERSION
          File Version
 
Method Summary
 void endSort(LyController parent, java.lang.String actionDemand, LySort sort)
          The sort edition form is closed : notify registred listener.
 LySort getSort()
          Gets initial : indicates to the sort controller the default sort parameters.
 

Field Detail

__VERSION

static final java.lang.String __VERSION
File Version

See Also:
Constant Field Values
Method Detail

getSort

LySort getSort()
Gets initial : indicates to the sort controller the default sort parameters.

Returns:
the initial sort or null if no sort is set

endSort

void endSort(LyController parent,
             java.lang.String actionDemand,
             LySort sort)
The sort edition form is closed : notify registred listener.

Parameters:
parent - reference to the filter controller (filter form which is closing)
actionDemand - actionDemand on sort controller : id of the command such as LyFormController.DEMAND_VALIDATE, LyFormController.DEMAND_APPLY, LyFormController.DEMAND_CANCEL
sort - the sort that was created in the form

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com