Package io.jmix.eclipselink.impl
Class DataEntitySystemStateSupport
java.lang.Object
io.jmix.core.EntitySystemStateSupport
io.jmix.eclipselink.impl.DataEntitySystemStateSupport
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EntityStatesprotected Metadataprotected MetadataTools -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopySystemState(Entity src, Entity dst) protected Collection<String> getFetchGroupAttributes(org.eclipse.persistence.queries.FetchGroup fetchGroup) protected @Nullable org.eclipse.persistence.queries.FetchGroupmergeFetchGroups(@Nullable org.eclipse.persistence.queries.FetchGroup first, @Nullable org.eclipse.persistence.queries.FetchGroup second) voidmergeLazyLoadingState(Entity src, Entity dst, MetaProperty metaProperty, Function<Collection<Object>, Collection<Object>> collectionWrapFunction) protected @Nullable org.eclipse.persistence.queries.FetchGroupmergeReferenceFetchGroup(@Nullable org.eclipse.persistence.queries.FetchGroup fetchGroup, Entity dst, ReferenceLoadedPropertiesInfo referenceInfo) Returns the given fetch group plus the persistent attributes loaded in the reference, ornullif the given fetch group isnull(all attributes are fetched).voidmergeSystemState(Entity src, Entity dst) Merges the system state of the source into the destination.protected voidtraverseFetchGroupAttributes(Set<String> set, org.eclipse.persistence.queries.FetchGroup fetchGroup, String prefix) Methods inherited from class io.jmix.core.EntitySystemStateSupport
isReference
-
Field Details
-
metadata
-
metadataTools
-
entityStates
-
-
Constructor Details
-
DataEntitySystemStateSupport
public DataEntitySystemStateSupport()
-
-
Method Details
-
copySystemState
- Overrides:
copySystemStatein classEntitySystemStateSupport
-
mergeSystemState
Description copied from class:EntitySystemStateSupportMerges the system state of the source into the destination. A source returned byUnconstrainedDataManager.getReference(Class, Object)has no state to merge.- Overrides:
mergeSystemStatein classEntitySystemStateSupport
-
mergeLazyLoadingState
public void mergeLazyLoadingState(Entity src, Entity dst, MetaProperty metaProperty, Function<Collection<Object>, Collection<Object>> collectionWrapFunction) - Overrides:
mergeLazyLoadingStatein classEntitySystemStateSupport
-
mergeReferenceFetchGroup
protected @Nullable org.eclipse.persistence.queries.FetchGroup mergeReferenceFetchGroup(@Nullable org.eclipse.persistence.queries.FetchGroup fetchGroup, Entity dst, ReferenceLoadedPropertiesInfo referenceInfo) Returns the given fetch group plus the persistent attributes loaded in the reference, ornullif the given fetch group isnull(all attributes are fetched). -
mergeFetchGroups
protected @Nullable org.eclipse.persistence.queries.FetchGroup mergeFetchGroups(@Nullable org.eclipse.persistence.queries.FetchGroup first, @Nullable org.eclipse.persistence.queries.FetchGroup second) -
getFetchGroupAttributes
protected Collection<String> getFetchGroupAttributes(org.eclipse.persistence.queries.FetchGroup fetchGroup) -
traverseFetchGroupAttributes
-