CriteriaUpdate contract.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected <Y> void | |
| private void | |
| protected String | renderQuery(RenderingContext renderingContext)
Implements abstract org. |
| public <Y, X extends Y> CriteriaUpdate | set(SingularAttribute<? super T, Y>
attribute to be updated singularAttribute, X new value value)Implements javax. |
| public <Y> CriteriaUpdate | set(SingularAttribute<? super T, Y>
attribute to be updated singularAttribute, Expression<? extends Y> new value value)Implements javax. |
| public <Y, X extends Y> CriteriaUpdate | set(Path<Y>
attribute to be updated attributePath, X new value value)Implements javax. |
| public <Y> CriteriaUpdate | set(Path<Y>
attribute to be updated attributePath, Expression<? extends Y> new value value)Implements javax. |
| public CriteriaUpdate | set(String
name of the attribute to be updated attributeName, Object new value value)Implements javax. |
| public void | |
| public CriteriaUpdate | where(Expression<Boolean>
a simple or compound boolean expression restriction)Implements javax. |
| public CriteriaUpdate | where(Predicate...
zero or more restriction predicates restrictions)Implements javax. |
| assignments | back to summary |
|---|---|
| private List<CriteriaUpdateImpl. | |
| CriteriaUpdateImpl | back to summary |
|---|---|
| public CriteriaUpdateImpl(CriteriaBuilderImpl criteriaBuilder) | |
| addAssignment | back to summary |
|---|---|
| protected <Y> void addAssignment(Path<Y> attributePath, Expression<? extends Y> value) | |
| renderAssignments | back to summary |
|---|---|
| private void renderAssignments(StringBuilder jpaql, RenderingContext renderingContext) | |
| renderQuery | back to summary |
|---|---|
| protected String renderQuery(RenderingContext renderingContext) Implements abstract org.
| |
| set | back to summary |
|---|---|
| public <Y, X extends Y> CriteriaUpdate Implements javax. Doc from javax. Update the value of the specified attribute.
| |
| set | back to summary |
|---|---|
| public <Y> CriteriaUpdate Implements javax. Doc from javax. Update the value of the specified attribute.
| |
| set | back to summary |
|---|---|
| public <Y, X extends Y> CriteriaUpdate Implements javax. Doc from javax. Update the value of the specified attribute.
| |
| set | back to summary |
|---|---|
| public <Y> CriteriaUpdate Implements javax. Doc from javax. Update the value of the specified attribute.
| |
| set | back to summary |
|---|---|
| public CriteriaUpdate Implements javax. Doc from javax. Update the value of the specified attribute.
| |
| validate | back to summary |
|---|---|
| public void validate() Overrides org. Implements org.
| |
| where | back to summary |
|---|---|
| public CriteriaUpdate Implements javax. Doc from javax. Modify the update query to restrict the target of the update according to the specified boolean expression. Replaces the previously added restriction(s), if any.
| |
| where | back to summary |
|---|---|
| public CriteriaUpdate Implements javax. Doc from javax. Modify the update query to restrict the target of the update according to the conjunction of the specified restriction predicates. Replaces the previously added restriction(s), if any. If no restrictions are specified, any previously added restrictions are simply removed.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final SingularAttributePath | |
| private final ExpressionImplementor |
| Access | Constructor and Description |
|---|---|
| private |
| attributePath | back to summary |
|---|---|
| private final SingularAttributePath<A> attributePath | |
| value | back to summary |
|---|---|
| private final ExpressionImplementor<? extends A> value | |
| Assignment | back to summary |
|---|---|
| private Assignment(SingularAttributePath<A> attributePath, Expression<? extends A> value) | |