Package com.blazebit.persistence.view
Class SerializableEntityViewManager
java.lang.Object
com.blazebit.persistence.view.SerializableEntityViewManager
- All Implemented Interfaces:
ServiceProvider
,EntityViewManager
,Serializable
public class SerializableEntityViewManager extends Object implements EntityViewManager, Serializable
A serializable entity view manager implementation that accesses the actual entity view manager through a static field in the entity view implementation class.
- Since:
- 1.5.0
- Author:
- Christian Beikov
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static String
EVM_FIELD_NAME
static String
SERIALIZABLE_EVM_FIELD_NAME
-
Constructor Summary
Constructors Constructor Description SerializableEntityViewManager(Class<?> entityViewClass, EntityViewManager evm)
Creates a new serializable entity view manager. -
Method Summary
Modifier and Type Method Description <T, Q extends FullQueryBuilder<T, Q>>
QapplySetting(EntityViewSetting<T,Q> setting, CriteriaBuilder<?> criteriaBuilder)
Applies the entity view setting to the given criteria builder.<T, Q extends FullQueryBuilder<T, Q>>
QapplySetting(EntityViewSetting<T,Q> setting, CriteriaBuilder<?> criteriaBuilder, String entityViewRoot)
Applies the entity view setting to the given entity view root of the criteria builder.<T> T
convert(Object source, Class<T> entityViewClass, ConvertOption... convertOptions)
Creates a new instance of the entity view class, copies the values of matching attributes of the source object and returns the instance.<T> T
convert(Object source, Class<T> entityViewClass, String constructorName, ConvertOption... convertOptions)
Creates a new instance of the entity view class, copies the values of matching attributes of the source object and returns the instance.<T> T
convert(Object source, Class<T> entityViewClass, String constructorName, Map<String,Object> optionalParameters, ConvertOption... convertOptions)
Creates a new instance of the entity view class, copies the values of matching attributes of the source object and returns the instance.<T> T
convert(Object source, Class<T> entityViewClass, Map<String,Object> optionalParameters, ConvertOption... convertOptions)
Creates a new instance of the entity view class, copies the values of matching attributes of the source object and returns the instance.<T> ConvertOperationBuilder<T>
convertWith(Object source, Class<T> entityViewClass, ConvertOption... convertOptions)
Creates a new instance of the entity view class, copies the values of matching attributes of the source object and returns the instance.<T> ConvertOperationBuilder<T>
convertWith(Object source, Class<T> entityViewClass, String constructorName, ConvertOption... convertOptions)
Creates a new instance of the entity view class, copies the values of matching attributes of the source object and returns the instance.<T> ConvertOperationBuilder<T>
convertWith(Object source, Class<T> entityViewClass, String constructorName, Map<String,Object> optionalParameters, ConvertOption... convertOptions)
Creates a new instance of the entity view class, copies the values of matching attributes of the source object and returns the instance.<T> ConvertOperationBuilder<T>
convertWith(Object source, Class<T> entityViewClass, Map<String,Object> optionalParameters, ConvertOption... convertOptions)
Creates a new instance of the entity view class, copies the values of matching attributes of the source object and returns the instance.<T> T
create(Class<T> entityViewClass)
Creates a new instance of the entity view class and returns it.<T> T
create(Class<T> entityViewClass, Map<String,Object> optionalParameters)
Creates a new instance of the entity view class and returns it.<X> EntityViewBuilder<X>
createBuilder(Class<X> clazz)
Creates a builder for the entity view of the given class type.<X> EntityViewBuilder<X>
createBuilder(Class<X> clazz, String constructorName)
Creates a builder for the entity view of the given class type.<X> EntityViewBuilder<X>
createBuilder(Class<X> clazz, Map<String,Object> optionalParameters)
Creates a builder for the entity view of the given class type.<X> EntityViewBuilder<X>
createBuilder(Class<X> clazz, Map<String,Object> optionalParameters, String constructorName)
Creates a builder for the entity view of the given class type.<X> EntityViewBuilder<X>
createBuilder(X view)
Copies the state from the given view into a builder for the same entity view type.<X> EntityViewBuilder<X>
createBuilder(X view, String constructorName)
Copies the state from the given view into a builder for the same entity view type.<X> EntityViewBuilder<X>
createBuilder(X view, Map<String,Object> optionalParameters)
Copies the state from the given view into a builder for the same entity view type.<X> EntityViewBuilder<X>
createBuilder(X view, Map<String,Object> optionalParameters, String constructorName)
Copies the state from the given view into a builder for the same entity view type.<T> T
find(javax.persistence.EntityManager entityManager, EntityViewSetting<T,CriteriaBuilder<T>> entityViewSetting, Object entityId)
Loads and returns an entity view as determined by the given typeEntityViewSetting
having the given entity id.<T> T
find(javax.persistence.EntityManager entityManager, Class<T> entityViewClass, Object entityId)
Loads and returns an entity view of the given type having the given entity id.<T> SingularChangeModel<T>
getChangeModel(T entityView)
Gives access to the change model of the entity view instance.<T> T
getEntityReference(javax.persistence.EntityManager entityManager, Object entityView)
Creates an entity reference for the given entity view and returns it.ViewMetamodel
getMetamodel()
Returns the metamodel for this entity view manager.Map<String,Object>
getOptionalParameters()
Returns the globally configured optional parameters.<T> T
getReference(Class<T> entityViewClass, Object id)
Creates a reference instance of the entity view class for the given id and returns it.<T> T
getService(Class<T> serviceClass)
void
remove(javax.persistence.EntityManager entityManager, Class<?> entityViewClass, Object viewId)
Removes the entity represented by the entity type defiend for the given view and the given entity id.void
remove(javax.persistence.EntityManager entityManager, Object view)
Removes the entity represented by the given view.FlushOperationBuilder
removeWith(javax.persistence.EntityManager entityManager, Class<?> entityViewClass, Object viewId)
Removes the entity represented by the entity type defiend for the given view and the given entity id.FlushOperationBuilder
removeWith(javax.persistence.EntityManager entityManager, Object view)
Removes the entity represented by the given view.void
save(javax.persistence.EntityManager entityManager, Object view)
Saves the entity which the given entity view maps to.void
saveFull(javax.persistence.EntityManager entityManager, Object view)
Fully saves the entity which the given entity view maps to.void
saveFullTo(javax.persistence.EntityManager entityManager, Object view, Object entity)
Fully saves the entity view state onto the given entity.FlushOperationBuilder
saveFullWith(javax.persistence.EntityManager entityManager, Object view)
Fully saves the entity which the given entity view maps to.FlushOperationBuilder
saveFullWithTo(javax.persistence.EntityManager entityManager, Object view, Object entity)
Fully saves the entity view state onto the given entity.void
saveTo(javax.persistence.EntityManager entityManager, Object view, Object entity)
Saves the entity view state onto the given entity.FlushOperationBuilder
saveWith(javax.persistence.EntityManager entityManager, Object view)
Saves the entity which the given entity view maps to.FlushOperationBuilder
saveWithTo(javax.persistence.EntityManager entityManager, Object view, Object entity)
Saves the entity view state onto the given entity.void
update(javax.persistence.EntityManager entityManager, Object view)
Deprecated.void
updateFull(javax.persistence.EntityManager entityManager, Object view)
Deprecated.
-
Field Details
-
EVM_FIELD_NAME
- See Also:
- Constant Field Values
-
SERIALIZABLE_EVM_FIELD_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
SerializableEntityViewManager
Creates a new serializable entity view manager.- Parameters:
entityViewClass
- The entity view class from which to access the entity view manager fromevm
- The transient entity view manager
-
-
Method Details
-
getMetamodel
Description copied from interface:EntityViewManager
Returns the metamodel for this entity view manager.- Specified by:
getMetamodel
in interfaceEntityViewManager
- Returns:
- The metamodel for this entity view manager
-
getOptionalParameters
Description copied from interface:EntityViewManager
Returns the globally configured optional parameters.- Specified by:
getOptionalParameters
in interfaceEntityViewManager
- Returns:
- The optional parameters
-
find
public <T> T find(javax.persistence.EntityManager entityManager, Class<T> entityViewClass, Object entityId)Description copied from interface:EntityViewManager
Loads and returns an entity view of the given type having the given entity id.- Specified by:
find
in interfaceEntityViewManager
- Type Parameters:
T
- The type of the entity view class- Parameters:
entityManager
- The entity manager to use for queryingentityViewClass
- The entity view class to useentityId
- The id of the entity- Returns:
- The loaded instance of the given entity view type with the id
-
find
public <T> T find(javax.persistence.EntityManager entityManager, EntityViewSetting<T,CriteriaBuilder<T>> entityViewSetting, Object entityId)Description copied from interface:EntityViewManager
Loads and returns an entity view as determined by the given typeEntityViewSetting
having the given entity id.- Specified by:
find
in interfaceEntityViewManager
- Type Parameters:
T
- The type of the entity view class- Parameters:
entityManager
- The entity manager to use for queryingentityViewSetting
- The entity view setting to useentityId
- The id of the entity- Returns:
- The loaded instance of the given entity view type with the id
-
getReference
Description copied from interface:EntityViewManager
Creates a reference instance of the entity view class for the given id and returns it.- Specified by:
getReference
in interfaceEntityViewManager
- Type Parameters:
T
- The type of the entity view class- Parameters:
entityViewClass
- The entity view class to constructid
- The id of the entity view- Returns:
- A reference instance of the given entity view type with the id
-
getEntityReference
Description copied from interface:EntityViewManager
Creates an entity reference for the given entity view and returns it.- Specified by:
getEntityReference
in interfaceEntityViewManager
- Type Parameters:
T
- The type of the entity class- Parameters:
entityManager
- The entity manager to use for the entity referenceentityView
- The entity view class for which to get the entity reference- Returns:
- An entity reference for given entity view object
-
getChangeModel
Description copied from interface:EntityViewManager
Gives access to the change model of the entity view instance.- Specified by:
getChangeModel
in interfaceEntityViewManager
- Type Parameters:
T
- The type of the given entity view- Parameters:
entityView
- The entity view- Returns:
- The change model of the entity view instance
-
create
Description copied from interface:EntityViewManager
Creates a new instance of the entity view class and returns it.- Specified by:
create
in interfaceEntityViewManager
- Type Parameters:
T
- The type of the entity view class- Parameters:
entityViewClass
- The entity view class to construct- Returns:
- A new instance of the given entity view class
-
create
Description copied from interface:EntityViewManager
Creates a new instance of the entity view class and returns it.- Specified by:
create
in interfaceEntityViewManager
- Type Parameters:
T
- The type of the entity view class- Parameters:
entityViewClass
- The entity view class to constructoptionalParameters
- The optional parameters to consider- Returns:
- A new instance of the given entity view class
-
createBuilder
Description copied from interface:EntityViewManager
Creates a builder for the entity view of the given class type.- Specified by:
createBuilder
in interfaceEntityViewManager
- Type Parameters:
X
- The entity view type- Parameters:
clazz
- The entity view type to build- Returns:
- The builder
-
createBuilder
Description copied from interface:EntityViewManager
Creates a builder for the entity view of the given class type.- Specified by:
createBuilder
in interfaceEntityViewManager
- Type Parameters:
X
- The entity view type- Parameters:
clazz
- The entity view type to buildconstructorName
- The entity view constructor to use- Returns:
- The builder
-
createBuilder
Description copied from interface:EntityViewManager
Copies the state from the given view into a builder for the same entity view type.- Specified by:
createBuilder
in interfaceEntityViewManager
- Type Parameters:
X
- The entity view type- Parameters:
view
- The entity view to copy into a builder- Returns:
- The builder
-
createBuilder
Description copied from interface:EntityViewManager
Copies the state from the given view into a builder for the same entity view type.- Specified by:
createBuilder
in interfaceEntityViewManager
- Type Parameters:
X
- The entity view type- Parameters:
view
- The entity view to copy into a builderconstructorName
- The entity view constructor to use- Returns:
- The builder
-
createBuilder
public <X> EntityViewBuilder<X> createBuilder(Class<X> clazz, Map<String,Object> optionalParameters)Description copied from interface:EntityViewManager
Creates a builder for the entity view of the given class type.- Specified by:
createBuilder
in interfaceEntityViewManager
- Type Parameters:
X
- The entity view type- Parameters:
clazz
- The entity view type to buildoptionalParameters
- The optional parameters to consider- Returns:
- The builder
-
createBuilder
public <X> EntityViewBuilder<X> createBuilder(Class<X> clazz, Map<String,Object> optionalParameters, String constructorName)Description copied from interface:EntityViewManager
Creates a builder for the entity view of the given class type.- Specified by:
createBuilder
in interfaceEntityViewManager
- Type Parameters:
X
- The entity view type- Parameters:
clazz
- The entity view type to buildoptionalParameters
- The optional parameters to considerconstructorName
- The entity view constructor to use- Returns:
- The builder
-
createBuilder
Description copied from interface:EntityViewManager
Copies the state from the given view into a builder for the same entity view type.- Specified by:
createBuilder
in interfaceEntityViewManager
- Type Parameters:
X
- The entity view type- Parameters:
view
- The entity view to copy into a builderoptionalParameters
- The optional parameters to consider- Returns:
- The builder
-
createBuilder
public <X> EntityViewBuilder<X> createBuilder(X view, Map<String,Object> optionalParameters, String constructorName)Description copied from interface:EntityViewManager
Copies the state from the given view into a builder for the same entity view type.- Specified by:
createBuilder
in interfaceEntityViewManager
- Type Parameters:
X
- The entity view type- Parameters:
view
- The entity view to copy into a builderoptionalParameters
- The optional parameters to considerconstructorName
- The entity view constructor to use- Returns:
- The builder
-
convert
Description copied from interface:EntityViewManager
Creates a new instance of the entity view class, copies the values of matching attributes of the source object and returns the instance.- Specified by:
convert
in interfaceEntityViewManager
- Type Parameters:
T
- The type of the entity view class- Parameters:
source
- The source object from which to copy valuesentityViewClass
- The entity view class to constructconvertOptions
- The options to use for converting- Returns:
- A new instance of the given entity view class
-
convert
public <T> T convert(Object source, Class<T> entityViewClass, String constructorName, ConvertOption... convertOptions)Description copied from interface:EntityViewManager
Creates a new instance of the entity view class, copies the values of matching attributes of the source object and returns the instance.- Specified by:
convert
in interfaceEntityViewManager
- Type Parameters:
T
- The type of the entity view class- Parameters:
source
- The source object from which to copy valuesentityViewClass
- The entity view class to constructconstructorName
- The name of the entity view constructor to useconvertOptions
- The options to use for converting- Returns:
- A new instance of the given entity view class
-
convert
public <T> T convert(Object source, Class<T> entityViewClass, Map<String,Object> optionalParameters, ConvertOption... convertOptions)Description copied from interface:EntityViewManager
Creates a new instance of the entity view class, copies the values of matching attributes of the source object and returns the instance.- Specified by:
convert
in interfaceEntityViewManager
- Type Parameters:
T
- The type of the entity view class- Parameters:
source
- The source object from which to copy valuesentityViewClass
- The entity view class to constructoptionalParameters
- The optional parameters to considerconvertOptions
- The options to use for converting- Returns:
- A new instance of the given entity view class
-
convert
public <T> T convert(Object source, Class<T> entityViewClass, String constructorName, Map<String,Object> optionalParameters, ConvertOption... convertOptions)Description copied from interface:EntityViewManager
Creates a new instance of the entity view class, copies the values of matching attributes of the source object and returns the instance.- Specified by:
convert
in interfaceEntityViewManager
- Type Parameters:
T
- The type of the entity view class- Parameters:
source
- The source object from which to copy valuesentityViewClass
- The entity view class to constructconstructorName
- The name of the entity view constructor to useoptionalParameters
- The optional parameters to considerconvertOptions
- The options to use for converting- Returns:
- A new instance of the given entity view class
-
convertWith
public <T> ConvertOperationBuilder<T> convertWith(Object source, Class<T> entityViewClass, ConvertOption... convertOptions)Description copied from interface:EntityViewManager
Creates a new instance of the entity view class, copies the values of matching attributes of the source object and returns the instance.- Specified by:
convertWith
in interfaceEntityViewManager
- Type Parameters:
T
- The type of the entity view class- Parameters:
source
- The source object from which to copy valuesentityViewClass
- The entity view class to constructconvertOptions
- The options to use for converting- Returns:
- A builder to specify attribute entity view types and conversion options
-
convertWith
public <T> ConvertOperationBuilder<T> convertWith(Object source, Class<T> entityViewClass, String constructorName, ConvertOption... convertOptions)Description copied from interface:EntityViewManager
Creates a new instance of the entity view class, copies the values of matching attributes of the source object and returns the instance.- Specified by:
convertWith
in interfaceEntityViewManager
- Type Parameters:
T
- The type of the entity view class- Parameters:
source
- The source object from which to copy valuesentityViewClass
- The entity view class to constructconstructorName
- The name of the entity view constructor to useconvertOptions
- The options to use for converting- Returns:
- A builder to specify attribute entity view types and conversion options
-
convertWith
public <T> ConvertOperationBuilder<T> convertWith(Object source, Class<T> entityViewClass, Map<String,Object> optionalParameters, ConvertOption... convertOptions)Description copied from interface:EntityViewManager
Creates a new instance of the entity view class, copies the values of matching attributes of the source object and returns the instance.- Specified by:
convertWith
in interfaceEntityViewManager
- Type Parameters:
T
- The type of the entity view class- Parameters:
source
- The source object from which to copy valuesentityViewClass
- The entity view class to constructoptionalParameters
- The optional parameters to considerconvertOptions
- The options to use for converting- Returns:
- A builder to specify attribute entity view types and conversion options
-
convertWith
public <T> ConvertOperationBuilder<T> convertWith(Object source, Class<T> entityViewClass, String constructorName, Map<String,Object> optionalParameters, ConvertOption... convertOptions)Description copied from interface:EntityViewManager
Creates a new instance of the entity view class, copies the values of matching attributes of the source object and returns the instance.- Specified by:
convertWith
in interfaceEntityViewManager
- Type Parameters:
T
- The type of the entity view class- Parameters:
source
- The source object from which to copy valuesentityViewClass
- The entity view class to constructconstructorName
- The name of the entity view constructor to useoptionalParameters
- The optional parameters to considerconvertOptions
- The options to use for converting- Returns:
- A builder to specify attribute entity view types and conversion options
-
save
Description copied from interface:EntityViewManager
Saves the entity which the given entity view maps to. Issues a partial update if enabled for the given view.- Specified by:
save
in interfaceEntityViewManager
- Parameters:
entityManager
- The entity manager to use for the saveview
- The view to use for saving
-
saveFull
Description copied from interface:EntityViewManager
Fully saves the entity which the given entity view maps to.- Specified by:
saveFull
in interfaceEntityViewManager
- Parameters:
entityManager
- The entity manager to use for the saveview
- The view to use for saving
-
saveTo
Description copied from interface:EntityViewManager
Saves the entity view state onto the given entity. Issues a partial update if enabled for the given view.- Specified by:
saveTo
in interfaceEntityViewManager
- Parameters:
entityManager
- The entity manager to use for the saveview
- The view to use for savingentity
- The entity to apply data to
-
saveFullTo
Description copied from interface:EntityViewManager
Fully saves the entity view state onto the given entity.- Specified by:
saveFullTo
in interfaceEntityViewManager
- Parameters:
entityManager
- The entity manager to use for the saveview
- The view to use for savingentity
- The entity to apply data to
-
update
Deprecated.Description copied from interface:EntityViewManager
Updates the entity which the given entity view maps to. Issues a partial update if enabled for the given view.- Specified by:
update
in interfaceEntityViewManager
- Parameters:
entityManager
- The entity manager to use for the updateview
- The view to use for updating
-
updateFull
Deprecated.Description copied from interface:EntityViewManager
Fully updates the entity which the given entity view maps to.- Specified by:
updateFull
in interfaceEntityViewManager
- Parameters:
entityManager
- The entity manager to use for the updateview
- The view to use for updating
-
saveWith
Description copied from interface:EntityViewManager
Saves the entity which the given entity view maps to. Issues a partial update if enabled for the given view.- Specified by:
saveWith
in interfaceEntityViewManager
- Parameters:
entityManager
- The entity manager to use for the updateview
- The view to use for updating- Returns:
- A flush operation builder for further configuring the flush operation
-
saveFullWith
public FlushOperationBuilder saveFullWith(javax.persistence.EntityManager entityManager, Object view)Description copied from interface:EntityViewManager
Fully saves the entity which the given entity view maps to.- Specified by:
saveFullWith
in interfaceEntityViewManager
- Parameters:
entityManager
- The entity manager to use for the updateview
- The view to use for updating- Returns:
- A flush operation builder for further configuring the flush operation
-
saveWithTo
public FlushOperationBuilder saveWithTo(javax.persistence.EntityManager entityManager, Object view, Object entity)Description copied from interface:EntityViewManager
Saves the entity view state onto the given entity. Issues a partial update if enabled for the given view.- Specified by:
saveWithTo
in interfaceEntityViewManager
- Parameters:
entityManager
- The entity manager to use for the updateview
- The view to use for updatingentity
- The entity to apply data to- Returns:
- A flush operation builder for further configuring the flush operation
-
saveFullWithTo
public FlushOperationBuilder saveFullWithTo(javax.persistence.EntityManager entityManager, Object view, Object entity)Description copied from interface:EntityViewManager
Fully saves the entity view state onto the given entity.- Specified by:
saveFullWithTo
in interfaceEntityViewManager
- Parameters:
entityManager
- The entity manager to use for the updateview
- The view to use for updatingentity
- The entity to apply data to- Returns:
- A flush operation builder for further configuring the flush operation
-
remove
Description copied from interface:EntityViewManager
Removes the entity represented by the given view. Also cascades deletes to attributes that haveCascadeType.DELETE
enabled.- Specified by:
remove
in interfaceEntityViewManager
- Parameters:
entityManager
- The entity manager to use for the removingview
- The view for which the entity should be removed
-
removeWith
public FlushOperationBuilder removeWith(javax.persistence.EntityManager entityManager, Object view)Description copied from interface:EntityViewManager
Removes the entity represented by the given view. Also cascades deletes to attributes that haveCascadeType.DELETE
enabled.- Specified by:
removeWith
in interfaceEntityViewManager
- Parameters:
entityManager
- The entity manager to use for the removingview
- The view for which the entity should be removed- Returns:
- A flush operation builder for further configuring the flush operation
-
remove
public void remove(javax.persistence.EntityManager entityManager, Class<?> entityViewClass, Object viewId)Description copied from interface:EntityViewManager
Removes the entity represented by the entity type defiend for the given view and the given entity id. Also cascades deletes to attributes that haveCascadeType.DELETE
enabled.- Specified by:
remove
in interfaceEntityViewManager
- Parameters:
entityManager
- The entity manager to use for the removingentityViewClass
- The entity view class to useviewId
- The id of entity view
-
removeWith
public FlushOperationBuilder removeWith(javax.persistence.EntityManager entityManager, Class<?> entityViewClass, Object viewId)Description copied from interface:EntityViewManager
Removes the entity represented by the entity type defiend for the given view and the given entity id. Also cascades deletes to attributes that haveCascadeType.DELETE
enabled.- Specified by:
removeWith
in interfaceEntityViewManager
- Parameters:
entityManager
- The entity manager to use for the removingentityViewClass
- The entity view class to useviewId
- The id of entity view- Returns:
- A flush operation builder for further configuring the flush operation
-
applySetting
public <T, Q extends FullQueryBuilder<T, Q>> Q applySetting(EntityViewSetting<T,Q> setting, CriteriaBuilder<?> criteriaBuilder)Description copied from interface:EntityViewManager
Applies the entity view setting to the given criteria builder.- Specified by:
applySetting
in interfaceEntityViewManager
- Type Parameters:
T
- The type of the entity viewQ
- PaginatedCriteriaBuilder if paginated, CriteriaBuilder otherwise- Parameters:
setting
- The setting that should be appliedcriteriaBuilder
- The criteria builder on which the setting should be applied- Returns:
- PaginatedCriteriaBuilder if paginated, CriteriaBuilder otherwise
-
applySetting
public <T, Q extends FullQueryBuilder<T, Q>> Q applySetting(EntityViewSetting<T,Q> setting, CriteriaBuilder<?> criteriaBuilder, String entityViewRoot)Description copied from interface:EntityViewManager
Applies the entity view setting to the given entity view root of the criteria builder.- Specified by:
applySetting
in interfaceEntityViewManager
- Type Parameters:
T
- The type of the entity viewQ
- PaginatedCriteriaBuilder if paginated, CriteriaBuilder otherwise- Parameters:
setting
- The setting that should be appliedcriteriaBuilder
- The criteria builder on which the setting should be appliedentityViewRoot
- The relation from which the entity view should be materialized- Returns:
- PaginatedCriteriaBuilder if paginated, CriteriaBuilder otherwise
-
getService
- Specified by:
getService
in interfaceServiceProvider
-