@Deprecated public class LogQuery extends Object
sortby
field name (optional).Constructor and Description |
---|
LogQuery()
Deprecated.
Default constructor
It creates the new object and assigns space to them.
|
LogQuery(int max_record)
Deprecated.
Customized constructor to set only
maxrecord . |
LogQuery(int max_Record,
int matchCriteria,
String sortingBy)
Deprecated.
Customized constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addQuery(QueryElement qryElement)
Deprecated.
Adds a query element to the list present in
LogQuery . |
ArrayList |
getColumns()
Deprecated.
Returns the table column names selected.
|
int |
getGlobalOperand()
Deprecated.
Returns the value of global operand set in the query.
|
int |
getNumRecordsWanted()
Deprecated.
|
ArrayList |
getQueries()
Deprecated.
Returns the full list of query
|
String |
getSortingField()
Deprecated.
Returns the field name on which records to be sorted.
|
void |
setColumns(ArrayList columns)
Deprecated.
Set the columns to be selected.
|
void |
setGlobalOperand(int no)
Deprecated.
Sets the
globalOperand field to either any query criteria
match or to match all the criteria. |
void |
setMaxRecord(int value)
Deprecated.
|
void |
setSortingField(String fieldName)
Deprecated.
Set the field name on which records to be sorted.
|
public LogQuery()
public LogQuery(int max_record)
maxrecord
.max_record
- is maximum number of most recent records to be
returned.public LogQuery(int max_Record, int matchCriteria, String sortingBy) throws IllegalArgumentException
max_Record
- the maximum number of most recent records
to be returnedmatchCriteria
- whether all queries or any one to match.sortingBy
- fieldname
on which records to be sorted.IllegalArgumentException
- if any of the
max_Record/matchCriteria
is not valid.public void setGlobalOperand(int no) throws IllegalArgumentException
globalOperand
field to either any query criteria
match or to match all the criteria.no
- the value to set to globalOperand
IllegalArgumentException
- when parameter is passed as
neither all nor any match.public void setMaxRecord(int value)
public void addQuery(QueryElement qryElement)
LogQuery
.qryElement
- the query to be added into the listpublic ArrayList getQueries()
public int getNumRecordsWanted()
public int getGlobalOperand()
public void setSortingField(String fieldName)
fieldName
- field name on which records to be sorted.public String getSortingField()
public void setColumns(ArrayList columns)
columns
- to request.public ArrayList getColumns()
Copyright © 2010-2018, ForgeRock All Rights Reserved.