public class VirtualListViewParams
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
afterCount
VLV after count.
|
private java.lang.String |
assertionValue
VLV assertion value; mutually exclusive with the target offset.
|
private int |
beforeCount
VLV before count.
|
protected org.slf4j.Logger |
logger
Logger for this class.
|
private int |
targetOffset
VLV target offset; mutually exclusive with the assertion value.
|
| Constructor and Description |
|---|
VirtualListViewParams(int offset,
int before,
int after)
Creates a new virtual list view params.
|
VirtualListViewParams(java.lang.String assertion,
int before,
int after)
Creates a new virtual list view params.
|
| Modifier and Type | Method and Description |
|---|---|
VirtualListViewRequestControl |
createRequestControl(boolean critical)
Creates a new virtual list view request control using the properties in this VLV params.
|
VirtualListViewRequestControl |
createRequestControl(Response<SearchResult> response,
boolean critical)
Creates a new virtual list view request control using the properties in this VLV params.
|
int |
getAfterCount()
Returns the after count.
|
java.lang.String |
getAssertionValue()
Returns the assertion value.
|
int |
getBeforeCount()
Returns the before count.
|
int |
getTargetOffset()
Returns the target offset.
|
java.lang.String |
toString() |
protected final org.slf4j.Logger logger
private final int beforeCount
private final int afterCount
private final int targetOffset
private final java.lang.String assertionValue
public VirtualListViewParams(int offset,
int before,
int after)
offset - target offsetbefore - before countafter - after countpublic VirtualListViewParams(java.lang.String assertion,
int before,
int after)
assertion - assertion valuebefore - before countafter - after countpublic int getBeforeCount()
public int getAfterCount()
public int getTargetOffset()
public java.lang.String getAssertionValue()
public VirtualListViewRequestControl createRequestControl(boolean critical)
critical - whether the returned control is criticalpublic VirtualListViewRequestControl createRequestControl(Response<SearchResult> response, boolean critical)
response - response of a previous VLV operationcritical - whether the returned control is criticalpublic java.lang.String toString()
toString in class java.lang.Object