Class RootWrapper<X>
java.lang.Object
org.omnifaces.persistence.service.RootWrapper<X>
- Type Parameters:
X
- Generic entity type referenced by root.
- All Implemented Interfaces:
Expression<X>
,FetchParent<X,
,X> From<X,
,X> Path<X>
,Root<X>
,Selection<X>
,TupleElement<X>
A wrapper for Root
, useful in case you intend to decorate it.
- Author:
- Bauke Scholtz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<X> Expression<X>
fetch
(PluralAttribute<? super X, ?, Y> attribute) fetch
(PluralAttribute<? super X, ?, Y> attribute, JoinType jt) fetch
(SingularAttribute<? super X, Y> attribute) fetch
(SingularAttribute<? super X, Y> attribute, JoinType jt) <X,
Y> Fetch<X, Y> <X,
Y> Fetch<X, Y> <K,
V, M extends Map<K, V>>
Expression<M>get
(MapAttribute<X, K, V> map) <E,
C extends Collection<E>>
Expression<C>get
(PluralAttribute<X, C, E> collection) <Y> Path<Y>
get
(SingularAttribute<? super X, Y> attribute) <Y> Path<Y>
getAlias()
getJoins()
getModel()
Path<?>
in
(Expression<?>... values) in
(Expression<Collection<?>> values) in
(Collection<?> values) boolean
boolean
isNull()
<Y> CollectionJoin<X,
Y> join
(CollectionAttribute<? super X, Y> collection) <Y> CollectionJoin<X,
Y> join
(CollectionAttribute<? super X, Y> collection, JoinType jt) join
(ListAttribute<? super X, Y> list) join
(ListAttribute<? super X, Y> list, JoinType jt) join
(MapAttribute<? super X, K, V> map) join
(MapAttribute<? super X, K, V> map, JoinType jt) join
(SetAttribute<? super X, Y> set) join
(SetAttribute<? super X, Y> set, JoinType jt) join
(SingularAttribute<? super X, Y> attribute) join
(SingularAttribute<? super X, Y> attribute, JoinType jt) <X,
Y> Join<X, Y> <X,
Y> Join<X, Y> <X,
Y> CollectionJoin<X, Y> joinCollection
(String attributeName) <X,
Y> CollectionJoin<X, Y> joinCollection
(String attributeName, JoinType jt) <X,
Y> ListJoin<X, Y> <X,
Y> ListJoin<X, Y> <X,
K, V> MapJoin<X, K, V> <X,
K, V> MapJoin<X, K, V> <X,
Y> SetJoin<X, Y> <X,
Y> SetJoin<X, Y> Expression<Class<? extends X>>
type()
-
Constructor Details
-
RootWrapper
-
-
Method Details
-
getWrapped
-
isNull
- Specified by:
isNull
in interfaceExpression<X>
-
getJavaType
- Specified by:
getJavaType
in interfaceTupleElement<X>
-
getModel
-
alias
-
getFetches
- Specified by:
getFetches
in interfaceFetchParent<X,
X>
-
isNotNull
- Specified by:
isNotNull
in interfaceExpression<X>
-
getAlias
- Specified by:
getAlias
in interfaceTupleElement<X>
-
in
- Specified by:
in
in interfaceExpression<X>
-
isCompoundSelection
public boolean isCompoundSelection()- Specified by:
isCompoundSelection
in interfaceSelection<X>
-
getParentPath
- Specified by:
getParentPath
in interfacePath<X>
-
fetch
- Specified by:
fetch
in interfaceFetchParent<X,
X>
-
getCompoundSelectionItems
- Specified by:
getCompoundSelectionItems
in interfaceSelection<X>
-
get
-
getJoins
-
in
- Specified by:
in
in interfaceExpression<X>
-
fetch
- Specified by:
fetch
in interfaceFetchParent<X,
X>
-
get
-
in
- Specified by:
in
in interfaceExpression<X>
-
fetch
- Specified by:
fetch
in interfaceFetchParent<X,
X>
-
in
- Specified by:
in
in interfaceExpression<X>
-
get
-
getCorrelationParent
- Specified by:
getCorrelationParent
in interfaceFrom<X,
X>
-
fetch
- Specified by:
fetch
in interfaceFetchParent<X,
X>
-
as
- Specified by:
as
in interfaceExpression<X>
-
type
-
fetch
- Specified by:
fetch
in interfaceFetchParent<X,
X>
-
join
-
get
-
join
-
fetch
- Specified by:
fetch
in interfaceFetchParent<X,
X>
-
join
-
join
-
join
-
join
-
join
-
join
-
join
-
join
-
join
-
joinCollection
- Specified by:
joinCollection
in interfaceFrom<X,
X>
-
joinSet
-
joinList
-
joinMap
-
join
-
joinCollection
- Specified by:
joinCollection
in interfaceFrom<X,
X>
-
joinSet
-
joinList
-
joinMap
-