Package io.jmix.data.impl
Class DataStoreInMemoryCrudListener
java.lang.Object
io.jmix.data.impl.DataStoreInMemoryCrudListener
- All Implemented Interfaces:
DataStoreEventListener
,org.springframework.core.Ordered
@Component("data_DataStoreInMemoryCrudListener")
public class DataStoreInMemoryCrudListener
extends Object
implements DataStoreEventListener
-
Field Summary
Modifier and TypeFieldDescriptionprotected AccessManager
protected org.springframework.context.ApplicationContext
protected EntityAttributesEraser
protected EntityStates
protected ExtendedEntities
protected FetchPlanRepository
protected FetchPlans
protected Metadata
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
protected Collection<MetaClass>
collectEntityClasses
(FetchPlan fetchPlan, Set<FetchPlan> visited) protected Collection<MetaClass>
collectEntityClasses
(LoadContext<?> context) void
void
void
int
getOrder()
protected boolean
hasInMemoryRead
(LoadContext<?> context) protected boolean
isNew
(SaveContext saveContext, Object entity) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.core.datastore.DataStoreEventListener
beforeValueLoad, entityReload
-
Field Details
-
accessManager
-
extendedEntities
-
metadata
-
fetchPlans
-
fetchPlanRepository
-
entityAttributesEraser
-
entityStates
-
applicationContext
@Autowired protected org.springframework.context.ApplicationContext applicationContext
-
-
Constructor Details
-
DataStoreInMemoryCrudListener
public DataStoreInMemoryCrudListener()
-
-
Method Details
-
beforeEntityLoad
- Specified by:
beforeEntityLoad
in interfaceDataStoreEventListener
-
beforeEntityCount
- Specified by:
beforeEntityCount
in interfaceDataStoreEventListener
-
beforeEntitySave
- Specified by:
beforeEntitySave
in interfaceDataStoreEventListener
-
entityLoading
- Specified by:
entityLoading
in interfaceDataStoreEventListener
-
afterEntityLoad
- Specified by:
afterEntityLoad
in interfaceDataStoreEventListener
-
entitySaving
- Specified by:
entitySaving
in interfaceDataStoreEventListener
-
entityDeleting
- Specified by:
entityDeleting
in interfaceDataStoreEventListener
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceDataStoreEventListener
- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-
hasInMemoryRead
-
collectEntityClasses
-
collectEntityClasses
-
isNew
-