public class VirtualListViewParams extends Object
Modifier and Type | Field and Description |
---|---|
private int |
afterCount
VLV after count.
|
private String |
assertionValue
VLV assertion value; mutually exclusive with the target offset.
|
private int |
beforeCount
VLV before count.
|
protected 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(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.
|
String |
getAssertionValue()
Returns the assertion value.
|
int |
getBeforeCount()
Returns the before count.
|
int |
getTargetOffset()
Returns the target offset.
|
String |
toString() |
protected final Logger logger
private final int beforeCount
private final int afterCount
private final int targetOffset
private final String assertionValue
public VirtualListViewParams(int offset, int before, int after)
offset
- target offsetbefore
- before countafter
- after countpublic VirtualListViewParams(String assertion, int before, int after)
assertion
- assertion valuebefore
- before countafter
- after countpublic int getBeforeCount()
public int getAfterCount()
public int getTargetOffset()
public 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 criticalCopyright © 2003-2019 Virginia Tech. All Rights Reserved.