|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LyFilterBehaviorInterface
This interface defines the methods to implement in order to modify the behavior of a filter controller.
LyFilterController
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
Method Summary | |
---|---|
LyFilterElement |
buildFilterElement(LyFilterController filter,
LyFieldInfo fieldInfo,
boolean not,
LyFilterExpression.Condition condition,
java.lang.Object value,
java.util.BitSet modifiers)
Builds a filter element with the given parameters. |
java.util.Vector<LyChoiceOption> |
getFilterChoiceDomain(LyFilterController filter,
LyChoiceFieldInfo choice)
Gets domain (list of allowed options) of the given choice fieldInfo. |
LyInfoList<LyClassInfo> |
getFilterRelationClasses(LyFormController filter,
LyRelationFieldInfo relation)
Gets the list of available class info for the given relation filtering. |
LyObjectList |
getFilterRelationDomain(LyFilterController filter,
LyRelationFieldInfo relation)
Gets relation domain (list of available links in the filter context) for the given relation fieldInfo for filter actions. |
LyInfoDataList<LyAction,LyClassInfo> |
getFilterTransverseActions(LyFilterController filter,
LyFieldInfo fieldInfo)
Gets all actions enabled by the given field for a filter action. |
LyInfoDataList<LyAction,LyClassInfo> |
getFilterTransverseActions(LyFilterController filter,
LyRelationFieldInfo relation)
Gets all actions enabled by the given relation for a filter action. |
Methods inherited from interface leon.app.behaviorinterface.LyBehaviorInterface |
---|
free, handleDemand, init |
Field Detail |
---|
static final java.lang.String __VERSION
Method Detail |
---|
LyObjectList getFilterRelationDomain(LyFilterController filter, LyRelationFieldInfo relation)
filter
- the current LyFilterController instancerelation
- the target relation field
LyInfoList<LyClassInfo> getFilterRelationClasses(LyFormController filter, LyRelationFieldInfo relation)
filter
- the current instance of "filter controller" This parameter could be both a
LyFilterController or a LyFilterRelationController. That's why its type is
LyFormController which is the common inheritance.relation
- the target relation field
LyInfoDataList<LyAction,LyClassInfo> getFilterTransverseActions(LyFilterController filter, LyFieldInfo fieldInfo)
filter
- the current LyFilterController instancefieldInfo
- the field that may enabled some actions
LyInfoDataList<LyAction,LyClassInfo> getFilterTransverseActions(LyFilterController filter, LyRelationFieldInfo relation)
filter
- the current LyFilterController instancerelation
- the relation that may enabled some actions
java.util.Vector<LyChoiceOption> getFilterChoiceDomain(LyFilterController filter, LyChoiceFieldInfo choice)
filter
- the current LyFilterController instancechoice
- target choice fieldInfo
LyFilterElement buildFilterElement(LyFilterController filter, LyFieldInfo fieldInfo, boolean not, LyFilterExpression.Condition condition, java.lang.Object value, java.util.BitSet modifiers)
filter
- the current LyFilterController instancefieldInfo
- FieldInfo on which this filter expression applies.not
- Inverts filter condition or not.condition
- Filter condition.value
- Value of this expression (may be null). This value is an instance of the
class returned by the getValueClass method of LyFieldInfo.modifiers
- List of modifiers (may be null).
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |