IdSerialization.@Deprecated
@Component(value="cuba_EntityLoadInfoBuilder")
public class EntityLoadInfoBuilder
extends java.lang.Object
EntityLoadInfo objects and provides additional methods for working with them.| Modifier and Type | Field and Description |
|---|---|
protected io.jmix.core.Metadata |
metadata
Deprecated.
|
protected io.jmix.core.MetadataTools |
metadataTools
Deprecated.
|
static java.lang.String |
NAME
Deprecated.
|
| Constructor and Description |
|---|
EntityLoadInfoBuilder()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(java.util.Collection<EntityLoadInfo> collection,
io.jmix.core.Entity entity)
Deprecated.
Check whether an info about the given entity instance is contained in the collection.
|
EntityLoadInfo |
create(io.jmix.core.Entity entity)
Deprecated.
Create a new info instance with empty view name.
|
EntityLoadInfo |
create(io.jmix.core.Entity entity,
java.lang.String viewName)
Deprecated.
Create a new info instance.
|
EntityLoadInfo |
parse(java.lang.String str)
Deprecated.
Parse an info from the string.
|
public static final java.lang.String NAME
@Autowired protected io.jmix.core.Metadata metadata
@Autowired protected io.jmix.core.MetadataTools metadataTools
public EntityLoadInfo create(io.jmix.core.Entity entity, @Nullable java.lang.String viewName)
entity - entity instanceviewName - view name, can be nullpublic EntityLoadInfo create(io.jmix.core.Entity entity)
entity - entity instance@Nullable public EntityLoadInfo parse(java.lang.String str)
str - string representation of the info. See EntityLoadInfo for formats.public boolean contains(java.util.Collection<EntityLoadInfo> collection, io.jmix.core.Entity entity)
collection - collection of EntityLoadInfo objectsentity - entity instance