Package | Description |
---|---|
com.edorasware.api.exception |
Exceptions that can be thrown by the public Java API.
|
com.edorasware.api.query |
Work object query support.
|
com.edorasware.api.query.internal | |
com.edorasware.api.workobject |
Interfaces for work object access and manipulation.
|
Constructor and Description |
---|
EntityNotFoundException(Predicate predicate)
Constructs a new exception for a predicate-based lookup.
|
EntityNotFoundException(Predicate predicate,
Throwable cause)
Constructs a new exception for a predicate-based lookup.
|
Modifier and Type | Class and Description |
---|---|
class |
MultipleNamedValuePredicate
A marker predicate which isolates multiple variable / property predicates from each other.
|
Modifier and Type | Field and Description |
---|---|
static Predicate |
Predicates.EMPTY
An empty predicate.
|
Modifier and Type | Method and Description |
---|---|
Predicate |
TimestampOperand.after(T referenceDate)
Builds a predicate for a
queryParameter > referenceValue comparison. |
Predicate |
TimestampOperand.afterOrEq(T referenceDate)
Builds a predicate for a
queryParameter >= referenceValue comparison. |
static Predicate |
Predicates.and(List<? extends Predicate> predicates)
Concatenates the given predicates to a combined predicate through a logical AND operator.
|
Predicate |
Predicate.and(Predicate predicate)
Concatenates this predicate with the given predicate to a combined predicate through a logical AND operator.
|
static Predicate |
Predicates.and(Predicate one,
Predicate two,
Predicate... more)
Concatenates the given predicates to a combined predicate through a logical AND operator.
|
Predicate |
Predicate.apply(Function<Predicate,Predicate> transformation)
Applies the given transformation, returning the transformed predicate.
|
Predicate |
MultipleNamedValuePredicate.apply(Function<Predicate,Predicate> transformation) |
Predicate |
TimestampOperand.before(T referenceDate)
Builds a predicate for a
queryParameter < referenceValue comparison. |
Predicate |
TimestampOperand.beforeOrEq(T referenceDate)
Builds a predicate for a
queryParameter <= referenceValue comparison. |
Predicate |
TimestampOperand.between(T startDate,
T endDate)
Builds a predicate for a
queryParameter >= startDate AND queryParameter <= endDate comparison. |
Predicate |
HierarchyOperand.childOf(String id)
Builds a predicate matching direct children of object with the given ID.
|
Predicate |
HierarchyOperand.childrenOf(Collection<String> ids)
Builds a predicate matching direct children of the objects with the given IDs.
|
Predicate |
CandidateFieldOperand.containsAnyOf(Collection<String> possibleCandidates)
Builds a predicate which tests that the value of this operand contains any of the given
possibleCandidates . |
Predicate |
CandidateFieldOperand.containsAnyOf(String possibleCandidate)
Builds a predicate which tests that the value of this operand contains the given
possibleCandidate . |
Predicate |
CandidateFieldOperand.containsAnyOf(String possibleCandidate1,
String possibleCandidate2)
Builds a predicate which tests that the value of this operand contains the given
possibleCandidate1 or possibleCandidate2 . |
Predicate |
CandidateFieldOperand.containsAnyOf(String possibleCandidate1,
String possibleCandidate2,
String possibleCandidate3)
Builds a predicate which tests that the value of this operand contains the given
possibleCandidate1 , possibleCandidate2 , or
possibleCandidate3 |
Predicate |
CandidateFieldOperand.containsAnyOf(String possibleCandidate1,
String possibleCandidate2,
String possibleCandidate3,
String... morePossibleCandidates)
Builds a predicate which tests that the value of this operand contains the given
possibleCandidate1 , possibleCandidate2 ,
possibleCandidate3 , or any of morePossibleCandidates . |
Predicate |
HierarchyOperand.descendantOf(String id)
Builds a predicate matching all descendants of the object with the given ID.
|
Predicate |
HierarchyOperand.descendantOfOrEq(String id)
Builds a predicate matching all descendants of the object with the given ID, including the parent object.
|
Predicate |
BasicOperand.eq(BasicOperand<T> operand,
Predicate innerSelectPredicate)
Builds a predicate which tests that the value of the given operand is equal to a single match
of the given inner select predicate.
|
Predicate |
BasicOperand.eq(Predicate innerSelectPredicate)
Builds a predicate which tests that the value is equal to a single match
of the given inner select predicate.
|
Predicate |
BasicOperand.eq(T expectedValue)
Builds a predicate for a
value == expectedValue comparison. |
Predicate |
BasicOperand.exists()
Builds a predicate that checks if the value exists.
|
Predicate |
ComplexVariableOperand.exists()
Builds a predicate that checks if the value exists.
|
static Predicate |
Predicates.getMinimalPredicate(com.edorasware.api.query.internal.CompositePredicate compositePredicate)
Returns the minimal predicate for the given composite.
|
Predicate |
MultipleNamedValuePredicate.getPredicate()
Returns the marked predicate.
|
Predicate |
Query.getPredicate()
The predicate to match.
|
Predicate |
NumberOperand.greaterThan(T referenceValue)
Builds a predicate for a
queryParameter > referenceValue comparison. |
Predicate |
NumberOperand.greaterThanOrEq(T referenceValue)
Builds a predicate for a
queryParameter >= referenceValue comparison. |
Predicate |
PriorityFieldOperand.highest()
Builds a predicate for a
priority = max(all priority values) comparison. |
Predicate |
PriorityFieldOperand.highest(Predicate aggregationPredicate)
Builds a predicate for a
priority = max(all priority values matching aggregationPredicate) comparison. |
Predicate |
BasicOperand.in(BasicOperand<T> operand,
Predicate innerSelectPredicate)
Builds a predicate which tests that the value of the given operand is contained in any of the given inner select predicate matches.
|
Predicate |
BasicOperand.in(Collection<? extends T> possibleValues)
Builds a predicate which tests that the value is one of the possible values.
|
Predicate |
BasicOperand.in(Predicate innerSelectPredicate)
Builds a predicate which tests that the value is contained in any of the given inner select predicate matches.
|
Predicate |
BasicOperand.in(T possibleValue)
Builds a predicate which tests that the value is one of the possible values.
|
Predicate |
BasicOperand.in(T possibleValue1,
T possibleValue2)
Builds a predicate which tests that the value is one of the possible values.
|
Predicate |
BasicOperand.in(T possibleValue1,
T possibleValue2,
T possibleValue3)
Builds a predicate which tests that the value is one of the possible values.
|
Predicate |
BasicOperand.in(T possibleValue1,
T possibleValue2,
T possibleValue3,
T... morePossibleValues)
Builds a predicate which tests that the value is one of the possible values.
|
Predicate |
StateFieldOperand.isActive()
Builds a predicate for an active state check.
|
Predicate |
StateFieldOperand.isCompleted()
Builds a predicate for a completed state check.
|
Predicate |
CandidateFieldOperand.isEmpty()
Builds a predicate which tests that the value of this operand contains no candidates.
|
Predicate |
BooleanOperand.isFalse()
Builds a predicate representing a
queryParameter == false comparison. |
Predicate |
StateFieldOperand.isInterrupted()
Builds a predicate for an interrupted state check.
|
Predicate |
StateFieldOperand.isNotActive()
Builds a predicate for an not-active state check.
|
Predicate |
StateFieldOperand.isNotCompleted()
Builds a predicate for a not-completed state check.
|
Predicate |
StateFieldOperand.isNotInterrupted()
Builds a predicate for a not-interrupted state check.
|
Predicate |
BasicOperand.isNotNull()
Builds a predicate for a
value ! |
Predicate |
BasicOperand.isNull()
Builds a predicate for a
value == null comparison. |
Predicate |
BooleanOperand.isTrue()
Builds a predicate for a
queryParameter == true comparison. |
Predicate |
NumberOperand.lessThan(T referenceValue)
Builds a predicate for a
queryParameter < referenceValue comparison. |
Predicate |
NumberOperand.lessThanOrEq(T referenceValue)
Builds a predicate for a
queryParameter <= referenceValue comparison. |
Predicate |
StringOperand.like(T expectedValue)
Builds a predicate for a
queryParameter LIKE expectedValue comparison. |
Predicate |
PriorityFieldOperand.lowest()
Builds a predicate for a
priority = min(all priority values) comparison. |
Predicate |
PriorityFieldOperand.lowest(Predicate aggregationPredicate)
Builds a predicate for a
priority = min(all priority values matching aggregationPredicate) comparison. |
static Predicate |
MultipleNamedValuePredicate.match(Predicate predicate)
Marks the given predicate.
|
static Predicate |
MultipleNamedValuePredicate.matchAll(List<? extends Predicate> predicates)
Marks each given predicate and combines them with the AND operator.
|
static Predicate |
MultipleNamedValuePredicate.matchAll(Predicate one,
Predicate two,
Predicate... more)
Marks each given predicate and combines them with the AND operator.
|
static Predicate |
MultipleNamedValuePredicate.matchAny(List<? extends Predicate> predicates)
Marks each given predicate and combines them with the OR operator.
|
static Predicate |
MultipleNamedValuePredicate.matchAny(Predicate one,
Predicate two,
Predicate... more)
Marks each given predicate and combines them with the AND operator.
|
Predicate |
VariableOperand.nameAndValueEq(String expectedName,
Object expectedValue)
Returns a predicate to check for variables with the given name and value.
|
<V> Predicate |
VariableOperand.nameAndValueEq(ValueAccessor<V> valueAccessor,
V expectedValue)
Returns a predicate to check for variables with the given name and value.
|
Predicate |
Predicate.not()
Negates this predicate through a logical NOT operator.
|
static Predicate |
Predicates.not(Predicate predicate)
Negates the given predicate through a NOT operator.
|
Predicate |
BasicOperand.notEq(T expectedValue)
Builds a predicate for a
value ! |
Predicate |
BasicOperand.notIn(Collection<? extends T> possibleValues)
Builds a predicate which tests that the value is not one of the possible values.
|
Predicate |
BasicOperand.notIn(T possibleValue)
Builds a predicate which tests that the value is not one of the possible values.
|
Predicate |
BasicOperand.notIn(T possibleValue1,
T possibleValue2)
Builds a predicate which tests that the value is not one of the possible values.
|
Predicate |
BasicOperand.notIn(T possibleValue1,
T possibleValue2,
T possibleValue3)
Builds a predicate which tests that the value is not one of the possible values.
|
Predicate |
BasicOperand.notIn(T possibleValue1,
T possibleValue2,
T possibleValue3,
T... morePossibleValues)
Builds a predicate which tests that the value is not one of the possible values.
|
Predicate |
StringOperand.notLike(T expectedValue)
Builds a predicate for a
NOT(queryParameter LIKE expectedValue) comparison. |
static Predicate |
Predicates.or(List<? extends Predicate> predicates)
Concatenates the given predicates to a combined predicate through a logical OR operator.
|
Predicate |
Predicate.or(Predicate predicate)
Concatenates this predicate with the given predicate to a combined predicate through a logical OR operator.
|
static Predicate |
Predicates.or(Predicate one,
Predicate two,
Predicate... more)
Concatenates the given predicates to a combined predicate through a logical OR operator.
|
Predicate |
VariableOperand.undefined(String variableName)
Returns an undefined variable predicate.
|
Predicate |
VariableOperand.undefined(ValueAccessor<?> variableAccessor)
Returns undefined variable predicate.
|
Predicate |
VariableOperand.valueIsNotNull()
Returns a predicate to check that the variable value is null, irrespective of the value type.
|
Predicate |
VariableOperand.valueIsNull()
Returns a predicate to check that the variable value is null, irrespective of the value type.
|
Modifier and Type | Method and Description |
---|---|
Predicate |
Predicate.and(Predicate predicate)
Concatenates this predicate with the given predicate to a combined predicate through a logical AND operator.
|
static Predicate |
Predicates.and(Predicate one,
Predicate two,
Predicate... more)
Concatenates the given predicates to a combined predicate through a logical AND operator.
|
static Predicate |
Predicates.and(Predicate one,
Predicate two,
Predicate... more)
Concatenates the given predicates to a combined predicate through a logical AND operator.
|
static Query |
Query.byPredicate(Predicate predicate)
Convenience method to create a
Query with the given predicate. |
Predicate |
BasicOperand.eq(BasicOperand<T> operand,
Predicate innerSelectPredicate)
Builds a predicate which tests that the value of the given operand is equal to a single match
of the given inner select predicate.
|
Predicate |
BasicOperand.eq(Predicate innerSelectPredicate)
Builds a predicate which tests that the value is equal to a single match
of the given inner select predicate.
|
Predicate |
PriorityFieldOperand.highest(Predicate aggregationPredicate)
Builds a predicate for a
priority = max(all priority values matching aggregationPredicate) comparison. |
Predicate |
BasicOperand.in(BasicOperand<T> operand,
Predicate innerSelectPredicate)
Builds a predicate which tests that the value of the given operand is contained in any of the given inner select predicate matches.
|
Predicate |
BasicOperand.in(Predicate innerSelectPredicate)
Builds a predicate which tests that the value is contained in any of the given inner select predicate matches.
|
Predicate |
PriorityFieldOperand.lowest(Predicate aggregationPredicate)
Builds a predicate for a
priority = min(all priority values matching aggregationPredicate) comparison. |
static Predicate |
MultipleNamedValuePredicate.match(Predicate predicate)
Marks the given predicate.
|
static Predicate |
MultipleNamedValuePredicate.matchAll(Predicate one,
Predicate two,
Predicate... more)
Marks each given predicate and combines them with the AND operator.
|
static Predicate |
MultipleNamedValuePredicate.matchAll(Predicate one,
Predicate two,
Predicate... more)
Marks each given predicate and combines them with the AND operator.
|
static Predicate |
MultipleNamedValuePredicate.matchAny(Predicate one,
Predicate two,
Predicate... more)
Marks each given predicate and combines them with the AND operator.
|
static Predicate |
MultipleNamedValuePredicate.matchAny(Predicate one,
Predicate two,
Predicate... more)
Marks each given predicate and combines them with the AND operator.
|
QueryHint |
VariableRestrictionQueryHintFactory.matching(Predicate predicate)
Creates a query hint which restricts the variables to be loaded based on the given predicate (white list semantics).
|
static Predicate |
Predicates.not(Predicate predicate)
Negates the given predicate through a NOT operator.
|
Predicate |
Predicate.or(Predicate predicate)
Concatenates this predicate with the given predicate to a combined predicate through a logical OR operator.
|
static Predicate |
Predicates.or(Predicate one,
Predicate two,
Predicate... more)
Concatenates the given predicates to a combined predicate through a logical OR operator.
|
static Predicate |
Predicates.or(Predicate one,
Predicate two,
Predicate... more)
Concatenates the given predicates to a combined predicate through a logical OR operator.
|
Query.Builder |
Query.Builder.predicate(Predicate predicate)
The predicate to match.
|
Modifier and Type | Method and Description |
---|---|
static Predicate |
Predicates.and(List<? extends Predicate> predicates)
Concatenates the given predicates to a combined predicate through a logical AND operator.
|
Predicate |
Predicate.apply(Function<Predicate,Predicate> transformation)
Applies the given transformation, returning the transformed predicate.
|
Predicate |
Predicate.apply(Function<Predicate,Predicate> transformation)
Applies the given transformation, returning the transformed predicate.
|
Predicate |
MultipleNamedValuePredicate.apply(Function<Predicate,Predicate> transformation) |
Predicate |
MultipleNamedValuePredicate.apply(Function<Predicate,Predicate> transformation) |
static Predicate |
MultipleNamedValuePredicate.matchAll(List<? extends Predicate> predicates)
Marks each given predicate and combines them with the AND operator.
|
static Predicate |
MultipleNamedValuePredicate.matchAny(List<? extends Predicate> predicates)
Marks each given predicate and combines them with the OR operator.
|
static Predicate |
Predicates.or(List<? extends Predicate> predicates)
Concatenates the given predicates to a combined predicate through a logical OR operator.
|
Modifier and Type | Class and Description |
---|---|
class |
com.edorasware.api.query.internal.BasePredicate |
Modifier and Type | Method and Description |
---|---|
long |
WorkObjectService.countWorkObjects(Predicate predicate)
Counts the work objects that match the query with the given predicate.
|
long |
WorkObjectService.countWorkObjects(Predicate predicate,
SearchScope searchScope)
Counts the work objects that match the query with the given predicate in given scope.
|
Optional<WorkObject> |
WorkObjectService.findWorkObject(Predicate predicate)
Finds the work object that matches the query with the given predicate.
|
Optional<WorkObject> |
WorkObjectService.findWorkObject(Predicate predicate,
SearchScope searchScope)
Finds the work object that matches the query with the given predicate in given scope.
|
List<WorkObject> |
WorkObjectService.findWorkObjects(Predicate predicate)
Finds the work objects that match the query with the given predicate.
|
List<WorkObject> |
WorkObjectService.findWorkObjects(Predicate predicate,
SearchScope searchScope)
Finds the work objects that match the query with the given predicate in given scope.
|
WorkObject |
WorkObjectService.getWorkObject(Predicate predicate)
Returns the work object that matches the predicate.
|
WorkObject |
WorkObjectService.getWorkObject(Predicate predicate,
SearchScope searchScope)
Returns the work object that matches the predicate in given scope.
|
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.