Skip to content

Commit

Permalink
LookupDataSourceContext.getFilterOrIfAny
Browse files Browse the repository at this point in the history
  • Loading branch information
teosarca committed Jul 22, 2017
1 parent 41cdefe commit c358176
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,17 @@ public String getFilter()
return get_ValueAsString(PARAM_Filter.getName());
}

public String getFilterOrIfAny(final String whenAnyFilter)
{
final String filterStr = getFilter();
if(filterStr == FILTER_Any)
{
return whenAnyFilter;
}
return filterStr;
}


public LookupValueFilterPredicate getFilterPredicate()
{
final String filterStr = getFilter();
Expand Down

0 comments on commit c358176

Please sign in to comment.