The "find
eg.
Account.findActiveByHolder("Joe Blogs"); // Where class "Account" has a properties called "active" and "holder"
Account.findActiveByHolderAndBranch("Joe Blogs", "London"); // Where class "Account" has a properties called "active', "holder" and "branch"
In both of those queries, the query will only select Account objects where active=true.
Fields inherited from class | Fields |
---|---|
class AbstractFindByFinder |
OPERATORS, OPERATOR_AND, OPERATOR_OR |
class DynamicFinder |
ARGUMENT_CACHE, ARGUMENT_FETCH, ARGUMENT_IGNORE_CASE, ARGUMENT_LOCK, ARGUMENT_MAX, ARGUMENT_OFFSET, ARGUMENT_ORDER, ARGUMENT_SORT, ORDER_ASC, ORDER_DESC, pattern |
class AbstractFinder |
datastore |
Constructor and description |
---|
FindByBooleanFinder
(Datastore datastore) |
Type | Name and description |
---|---|
boolean |
firstExpressionIsRequiredBoolean() |
Methods inherited from class | Name |
---|---|
class AbstractFindByFinder |
buildQuery, doInvokeInternal, firstExpressionIsRequiredBoolean, invokeQuery |
class DynamicFinder |
applyDetachedCriteria, configureQueryWithArguments, createFinderInvocation, doInvokeInternal, findMethodExpression, invoke, invoke, invoke, isMethodMatch, populateArgumentsForCriteria, registerNewMethodExpression, setPattern |
class AbstractFinder |
applyAdditionalCriteria, execute, execute |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |