Package ome.parameters
Class Filter
- java.lang.Object
-
- ome.parameters.Filter
-
- All Implemented Interfaces:
java.io.Serializable
public class Filter extends java.lang.Object implements java.io.Serializable
parameter to generally reduce the size of a query result set.- Since:
- 3.0-M2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Filter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
group()
Filter
group(long groupId)
boolean
isUnique()
check uniqueness for this query.long
owner()
Filter
owner(long ownerId)
Filter
page(java.lang.Integer offset, java.lang.Integer limit)
java.lang.String
toString()
Filter
unique()
state that this Filter should only return a single value if possible.
-
-
-
Method Detail
-
page
public Filter page(java.lang.Integer offset, java.lang.Integer limit)
-
unique
public Filter unique()
state that this Filter should only return a single value if possible. By default, a Filter will make no assumptions regarding the uniquesness of a query.
-
isUnique
public boolean isUnique()
check uniqueness for this query. Participating queries will attempt to calluniqueResult
rather thanlist
. This may throw aValidationException
on execution.
-
owner
public Filter owner(long ownerId)
-
owner
public long owner()
-
group
public Filter group(long groupId)
-
group
public long group()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-