public class ObjectReferenceQueryImpl extends Object implements ObjectReferenceQuery
BaseQuery.SortDirection| Modifier and Type | Method and Description |
|---|---|
ObjectReferenceQuery |
companyIn(String... companies)
Add your company to your query.
|
long |
count()
Counting the amount of rows/results for the current query.
|
ObjectReferenceQueryColumnName |
getColumnName() |
String[] |
getCompany() |
String[] |
getSystem() |
String[] |
getSystemInstance() |
String[] |
getType() |
String[] |
getValue() |
List<ObjectReference> |
list()
This method will return a list of defined
T objects. |
List<ObjectReference> |
list(int offset,
int limit)
This method will return a list of defined
T objects with specified offset and an limit. |
List<String> |
listValues(ObjectReferenceQueryColumnName columnName,
BaseQuery.SortDirection sortDirection)
This method will return all currently existing values of a DB-Table once.
|
void |
setCompany(String[] company) |
void |
setSystem(String[] system) |
void |
setSystemInstance(String[] systemInstance) |
void |
setType(String[] type) |
void |
setValue(String[] value) |
ObjectReference |
single()
This method will return a single object of
T. |
ObjectReferenceQuery |
systemIn(String... systems)
Add your system to your query.
|
ObjectReferenceQuery |
systemInstanceIn(String... systemInstances)
Add your systemInstance to your query.
|
String |
toString() |
ObjectReferenceQuery |
typeIn(String... types)
Add your type to your query.
|
ObjectReferenceQuery |
valueIn(String... values)
Add your value to your query.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitlistPage, toUpperCopypublic ObjectReferenceQuery companyIn(String... companies)
ObjectReferenceQuerycompanyIn in interface ObjectReferenceQuerycompanies - as Stringspublic ObjectReferenceQuery systemIn(String... systems)
ObjectReferenceQuerysystemIn in interface ObjectReferenceQuerysystems - as Stringspublic ObjectReferenceQuery systemInstanceIn(String... systemInstances)
ObjectReferenceQuerysystemInstanceIn in interface ObjectReferenceQuerysystemInstances - as Stringspublic ObjectReferenceQuery typeIn(String... types)
ObjectReferenceQuerytypeIn in interface ObjectReferenceQuerytypes - as Stringspublic ObjectReferenceQuery valueIn(String... values)
ObjectReferenceQueryvalueIn in interface ObjectReferenceQueryvalues - as Stringspublic List<ObjectReference> list()
BaseQueryT objects. In case of a TaskQuery, this
method can throw a NotAuthorizedToQueryWorkbasketException.list in interface BaseQuery<ObjectReference,ObjectReferenceQueryColumnName>public List<ObjectReference> list(int offset, int limit)
BaseQueryT objects with specified offset and an limit.
In case of a TaskQuery, this method can throw a NotAuthorizedToQueryWorkbasketException.list in interface BaseQuery<ObjectReference,ObjectReferenceQueryColumnName>offset - index of the first element which should be returned.limit - number of elements which should be returned beginning with offset.public List<String> listValues(ObjectReferenceQueryColumnName columnName, BaseQuery.SortDirection sortDirection)
BaseQuerylistValues in interface BaseQuery<ObjectReference,ObjectReferenceQueryColumnName>columnName - column name of a existing DB Table.sortDirection - Determines whether the result is sorted in ascending or descending order.
If sortDirection is null, the result is sorted in ascending orderpublic ObjectReference single()
BaseQueryT. In case of a TaskQuery, this method can
throw a NotAuthorizedToQueryWorkbasketException.single in interface BaseQuery<ObjectReference,ObjectReferenceQueryColumnName>public long count()
BaseQuerycount in interface BaseQuery<ObjectReference,ObjectReferenceQueryColumnName>public String[] getCompany()
public void setCompany(String[] company)
public String[] getSystem()
public void setSystem(String[] system)
public String[] getSystemInstance()
public void setSystemInstance(String[] systemInstance)
public String[] getType()
public void setType(String[] type)
public String[] getValue()
public void setValue(String[] value)
public ObjectReferenceQueryColumnName getColumnName()
Copyright © 2020. All rights reserved.