public class Restrictions<E> extends EntityOpt<E>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Restrictions.Restriction<E> |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Restrictions<E> |
and() |
Restrictions<E> |
and(Consumer<ICriteriaOpt<E>> criteraOptConsumer) |
Restrictions<E> |
and(Criterion<E,?>... criteris) |
Restrictions<E> |
and(Criterion<E,?> c) |
Restrictions<E> |
and(ICriteriaOpt<E> criteraOpt) |
Restrictions<E> |
andAny(List<Criterion<E,?>> criterions)
And (cnd1 or cnd2 ... or cndn)
|
Restrictions<E> |
andSome(List<Criterion<E,?>> criterions) |
List<Restrictions.Restriction<E>> |
getRestrictionList() |
static <E> Restrictions<E> |
newInstance(EntityNode<E> entityNode) |
protected Restrictions<E> |
or() |
Restrictions<E> |
or(Consumer<ICriteriaOpt<E>> criteraOptConsumer) |
Restrictions<E> |
or(Criterion<E,?>... criteris) |
Restrictions<E> |
or(ICriteriaOpt<E> criteraOpt) |
Restrictions<E> |
orAny(List<Criterion<E,?>> criterions) |
Restrictions<E> |
orSome(List<Criterion<E,?>> criterions)
Or (cnd1 and cnd2 ... and cndn)
|
void |
reset() |
getEntityNodepublic static <E> Restrictions<E> newInstance(EntityNode<E> entityNode)
public void reset()
protected Restrictions<E> and()
protected Restrictions<E> or()
public Restrictions<E> and(Criterion<E,?> c)
public Restrictions<E> andAny(List<Criterion<E,?>> criterions)
criterions - list of criterionpublic Restrictions<E> andSome(List<Criterion<E,?>> criterions)
public Restrictions<E> orSome(List<Criterion<E,?>> criterions)
criterions - list of criterionpublic Restrictions<E> orAny(List<Criterion<E,?>> criterions)
public Restrictions<E> and(Criterion<E,?>... criteris)
public Restrictions<E> or(Criterion<E,?>... criteris)
public Restrictions<E> and(Consumer<ICriteriaOpt<E>> criteraOptConsumer)
public Restrictions<E> and(ICriteriaOpt<E> criteraOpt)
public Restrictions<E> or(Consumer<ICriteriaOpt<E>> criteraOptConsumer)
public Restrictions<E> or(ICriteriaOpt<E> criteraOpt)
public List<Restrictions.Restriction<E>> getRestrictionList()
Copyright © 2024. All rights reserved.