Package de.pisa.psa.rst.obj
Klasse PsaRstApiQue
java.lang.Object
de.pisa.psa.rst.obj.PsaRstApiQue
REST API: query
- Seit:
- 05.07.2023
- Autor:
- weiland
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
add a queryvoid
addSort
(PsaRstApiQue.SortEntry entry) add a sort entrystatic PsaRstApiQue
get
(PsaRstApiEvtHdlDat data) get the query object from the event dataget a queryget a sort entry for a fieldboolean
hasQuery()
is at least one query definedboolean
hasSort()
is at least one sorting setint
indexOfSort
(String field) get the index of a field in the sort listtoString()
-
Felddetails
-
query
query -
sort
sorting -
maximum
public int maximummaximum number of records -
eureka
EUREKA query which will be executed first
-
-
Konstruktordetails
-
PsaRstApiQue
public PsaRstApiQue()
-
-
Methodendetails
-
addQuery
add a query- Parameter:
field
- fieldstring
- query string
-
getQuery
get a query- Parameter:
field
- field- Gibt zurück:
- query string
-
hasQuery
public boolean hasQuery()is at least one query defined- Gibt zurück:
- true if query is set
-
addSort
add a sort entry- Parameter:
entry
- entry
-
indexOfSort
get the index of a field in the sort list- Parameter:
field
- name of the field to search- Gibt zurück:
- index in the sort array. -1 if the field was not found
-
getSort
get a sort entry for a field- Parameter:
field
- name of the field to search- Gibt zurück:
- entry
-
hasSort
public boolean hasSort()is at least one sorting set- Gibt zurück:
- true if sorting is defined
-
toString
-
get
get the query object from the event data- Parameter:
data
- event data- Gibt zurück:
- query
- Löst aus:
de.pisa.psc.srv.glb.PscExc
-