FetchPlans
to build FetchPlan
instead@Deprecated
public class View
extends io.jmix.core.FetchPlan
A view can be constructed in Java code or defined in XML and deployed
to the FetchPlanRepository
for recurring usage.
Modifier and Type | Class and Description |
---|---|
static class |
View.ViewParams
Deprecated.
Parameters object to be used in constructors.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE
Deprecated.
Includes all local non-system properties and properties defined by
NamePattern
(effectively MINIMAL + LOCAL ). |
static java.lang.String |
INSTANCE_NAME
Deprecated.
Includes only properties contained in
NamePattern . |
static java.lang.String |
LOCAL
Deprecated.
Includes all local non-system properties.
|
static java.lang.String |
MINIMAL
Deprecated.
A synonym for
INSTANCE_NAME . |
Constructor and Description |
---|
View(java.lang.Class<? extends io.jmix.core.Entity> entityClass)
Deprecated.
|
View(java.lang.Class<? extends io.jmix.core.Entity> entityClass,
boolean includeSystemProperties)
Deprecated.
|
View(java.lang.Class<? extends io.jmix.core.Entity> entityClass,
java.lang.String name)
Deprecated.
|
View(java.lang.Class<? extends io.jmix.core.Entity> entityClass,
java.lang.String name,
boolean includeSystemProperties)
Deprecated.
|
View(java.lang.Class<? extends io.jmix.core.Entity> entityClass,
java.lang.String name,
java.util.List<io.jmix.core.FetchPlanProperty> properties,
boolean loadPartialEntities)
Deprecated.
|
View(View.ViewParams viewParams)
Deprecated.
|
View(View src,
java.lang.Class<? extends io.jmix.core.Entity> entityClass,
java.lang.String name,
boolean includeSystemProperties)
Deprecated.
|
View(View src,
java.lang.String name,
boolean includeSystemProperties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
View |
addProperty(java.lang.String name)
Deprecated.
Add a property to this view.
|
View |
addProperty(java.lang.String name,
io.jmix.core.FetchPlan view)
Deprecated.
Add a property to this view.
|
View |
addProperty(java.lang.String name,
io.jmix.core.FetchPlan view,
boolean lazy)
Deprecated.
|
View |
addProperty(java.lang.String name,
io.jmix.core.FetchPlan view,
io.jmix.core.FetchMode fetchMode)
Deprecated.
Add a property to this view.
|
View |
addSystemProperties()
Deprecated.
|
static View |
copy(View fetchPlan)
Deprecated.
|
protected static void |
putProperties(java.util.Map<java.lang.String,io.jmix.core.FetchPlanProperty> thisProperties,
java.util.Collection<io.jmix.core.FetchPlanProperty> sourceProperties)
Deprecated.
|
View |
setLoadPartialEntities(boolean loadPartialEntities)
Deprecated.
Specifies whether the view affects loading of local attributes.
|
public static final java.lang.String LOCAL
public static final java.lang.String MINIMAL
INSTANCE_NAME
. Left for backward compatibilitypublic static final java.lang.String INSTANCE_NAME
NamePattern
.public static final java.lang.String BASE
NamePattern
(effectively MINIMAL
+ LOCAL
).public View(java.lang.Class<? extends io.jmix.core.Entity> entityClass)
public View(java.lang.Class<? extends io.jmix.core.Entity> entityClass, boolean includeSystemProperties)
public View(java.lang.Class<? extends io.jmix.core.Entity> entityClass, java.lang.String name)
public View(java.lang.Class<? extends io.jmix.core.Entity> entityClass, java.lang.String name, boolean includeSystemProperties)
public View(View src, java.lang.String name, boolean includeSystemProperties)
public View(View src, @Nullable java.lang.Class<? extends io.jmix.core.Entity> entityClass, java.lang.String name, boolean includeSystemProperties)
public View(java.lang.Class<? extends io.jmix.core.Entity> entityClass, java.lang.String name, java.util.List<io.jmix.core.FetchPlanProperty> properties, boolean loadPartialEntities)
public View(View.ViewParams viewParams)
protected static void putProperties(java.util.Map<java.lang.String,io.jmix.core.FetchPlanProperty> thisProperties, java.util.Collection<io.jmix.core.FetchPlanProperty> sourceProperties)
public View addProperty(java.lang.String name, @Nullable io.jmix.core.FetchPlan view, io.jmix.core.FetchMode fetchMode)
name
- property nameview
- a view for a reference attribute, or nullfetchMode
- fetch mode for a reference attribute@Deprecated public View addProperty(java.lang.String name, @Nullable io.jmix.core.FetchPlan view, boolean lazy)
public View addProperty(java.lang.String name, io.jmix.core.FetchPlan view)
name
- property nameview
- a view for a reference attribute, or nullpublic View addProperty(java.lang.String name)
name
- property namepublic View setLoadPartialEntities(boolean loadPartialEntities)
loadPartialEntities
- true to affect loading of local attributespublic View addSystemProperties()