LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.control
Interface LyFastFilterEndInterface

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

public interface LyFastFilterEndInterface

Implemented by the client of a fast filter form (LyFastFilterEditorController).

This interface is implemented by a listener (usually a table controller. The listener is notified when the filter has been set by the user in the filtering form.

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

Field Summary
static java.lang.String __VERSION
          File Version
 
Method Summary
 void endFastFilter(LyController parent, java.lang.String actionDemand, java.lang.String filterValue, LyFilter filter, LyFieldInfo fieldInfo, boolean extend)
          The fast filter edition form is closed : notify registered listener.
 LyFieldInfo getFastFilterFieldInfo()
          Gets initial fast filter field info : indicates to the fast filter controller the default filter field info.
 java.lang.String getFastFilterValue()
          Gets initial fast filter value : indicates to the fast filter controller the default filter value.
 LyFilter getFilter()
          Gets current client filter.
 boolean isFastFilterExtended()
          Indicates if fast filter creation is an extension of current filter.
 boolean isFastFilterSet()
          Indicates if a fast filter is set.
 

Field Detail

__VERSION

static final java.lang.String __VERSION
File Version

See Also:
Constant Field Values
Method Detail

getFilter

LyFilter getFilter()
Gets current client filter.

Returns:
Current filter.

getFastFilterValue

java.lang.String getFastFilterValue()
Gets initial fast filter value : indicates to the fast filter controller the default filter value.

Returns:
the initial fast filter value

getFastFilterFieldInfo

LyFieldInfo getFastFilterFieldInfo()
Gets initial fast filter field info : indicates to the fast filter controller the default filter field info.

Returns:
the initial fast filter field info or null if no filter is set

isFastFilterSet

boolean isFastFilterSet()
Indicates if a fast filter is set.

Returns:
true if a fast filter is set, false otherwise

isFastFilterExtended

boolean isFastFilterExtended()
Indicates if fast filter creation is an extension of current filter.

Returns:
true if fast filter creation is an extension of current filter, false otherwise

endFastFilter

void endFastFilter(LyController parent,
                   java.lang.String actionDemand,
                   java.lang.String filterValue,
                   LyFilter filter,
                   LyFieldInfo fieldInfo,
                   boolean extend)
The fast filter edition form is closed : notify registered listener.

Parameters:
parent - reference to the fast filter controller (filter form which is closing)
actionDemand - actionDemand on fast filter controller : id of the command such as LyFormController.DEMAND_VALIDATE, LyFormController.DEMAND_CANCEL
filterValue - the filter value that was typed in the form
filter - the filter that was created in the form
fieldInfo - the fast filter field info
extend - indicates if fast filter creation is an extension of current filter.

(c) January 2013 - W4 S.A.

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