public class NutsJavascriptIdFilter extends AbstractIdFilter implements net.thevpc.nuts.NutsIdFilter, Simplifiable<net.thevpc.nuts.NutsIdFilter>, NutsScriptAwareIdFilter
| Constructor and Description |
|---|
NutsJavascriptIdFilter(net.thevpc.nuts.NutsSession ws,
String code) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptId(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
boolean |
equals(Object obj) |
String |
getCode() |
int |
hashCode() |
net.thevpc.nuts.NutsIdFilter |
simplify() |
String |
toJsNutsIdFilterExpr()
if convertible to javascript boolean expression return valid non null
code.
|
String |
toString() |
static net.thevpc.nuts.NutsIdFilter |
valueOf(String value,
net.thevpc.nuts.NutsSession ws) |
and, neg, orand, getFilterOp, getFilterType, getSession, getSubFilters, getWorkspace, or, simplify, topublic NutsJavascriptIdFilter(net.thevpc.nuts.NutsSession ws,
String code)
public static net.thevpc.nuts.NutsIdFilter valueOf(String value, net.thevpc.nuts.NutsSession ws)
public String getCode()
public boolean acceptId(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
acceptId in interface net.thevpc.nuts.NutsIdFilterpublic net.thevpc.nuts.NutsIdFilter simplify()
simplify in interface net.thevpc.nuts.NutsFiltersimplify in interface Simplifiable<net.thevpc.nuts.NutsIdFilter>public String toJsNutsIdFilterExpr()
NutsScriptAwareIdFiltertoJsNutsIdFilterExpr in interface NutsScriptAwareIdFilterCopyright © 2021 vpc open source initiative. All rights reserved.