public class Filter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COLLISION
The Constant COLLISION.
|
protected UpdateListener |
convertable |
protected boolean |
full |
protected UpdateListener |
idFilter |
static java.lang.String |
MERGE
The Constant MERGE.
|
static java.lang.String |
PRIO
The Constant PRIO.
|
protected UpdateListener |
property |
| Constructor and Description |
|---|
Filter() |
| Modifier and Type | Method and Description |
|---|---|
static Filter |
convertable(UpdateListener convertable)
Create a new Filter for Converting Filter (Encoding Object or set only the Id)
|
java.lang.String[] |
getProperties(SendableEntityCreator creator) |
java.lang.String |
getStrategy()
Strategy for setting property value in model
|
boolean |
isFullSeriation()
Serialization the Full object inclusive null value
|
boolean |
isId(java.lang.Object entity,
java.lang.String className,
IdMap map)
Filter for encoding ID of Element
|
static Filter |
regard(UpdateListener convertable)
Create a new Filter for Regard Filter (Encoding Object or remove link)
|
Filter |
withConvertable(UpdateListener convertable) |
Filter |
withFull(boolean value)
Serialization the Full object inclusive null value
|
Filter |
withIdFilter(UpdateListener idFilter) |
Filter |
withPropertyRegard(UpdateListener property) |
Filter |
withStrategy(java.lang.String strategy) |
public static final java.lang.String MERGE
public static final java.lang.String COLLISION
public static final java.lang.String PRIO
protected UpdateListener idFilter
protected UpdateListener convertable
protected UpdateListener property
protected boolean full
public Filter withIdFilter(UpdateListener idFilter)
public boolean isId(java.lang.Object entity,
java.lang.String className,
IdMap map)
entity - Entity for Show IdclassName - ClassNamemap - The IdMappublic boolean isFullSeriation()
public Filter withFull(boolean value)
value - for serialization the full objectpublic Filter withPropertyRegard(UpdateListener property)
public Filter withConvertable(UpdateListener convertable)
public static Filter regard(UpdateListener convertable)
convertable - Conditionpublic static Filter convertable(UpdateListener convertable)
convertable - Conditionpublic java.lang.String[] getProperties(SendableEntityCreator creator)
public java.lang.String getStrategy()
public Filter withStrategy(java.lang.String strategy)