Package io.jmix.data.impl
Class DataStoreCrudListener
java.lang.Object
io.jmix.data.impl.DataStoreCrudListener
- All Implemented Interfaces:
DataStoreEventListener
,org.springframework.core.Ordered
@Component("data_DataStoreCrudListener")
public class DataStoreCrudListener
extends Object
implements DataStoreEventListener
-
Field Summary
Modifier and TypeFieldDescriptionprotected AccessManager
protected EntityStates
protected ExtendedEntities
protected Metadata
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
protected CrudEntityContext
evaluateCrudAccess
(MetaClass metaClass, Collection<AccessConstraint<?>> accessConstraints) int
getOrder()
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
afterEntityLoad, beforeValueLoad, entityDeleting, entityLoading, entityReload, entitySaving
-
Field Details
-
accessManager
-
extendedEntities
-
entityStates
-
metadata
-
-
Constructor Details
-
DataStoreCrudListener
public DataStoreCrudListener()
-
-
Method Details
-
beforeEntityLoad
- Specified by:
beforeEntityLoad
in interfaceDataStoreEventListener
-
beforeEntityCount
- Specified by:
beforeEntityCount
in interfaceDataStoreEventListener
-
beforeEntitySave
- Specified by:
beforeEntitySave
in interfaceDataStoreEventListener
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceDataStoreEventListener
- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-
evaluateCrudAccess
protected CrudEntityContext evaluateCrudAccess(MetaClass metaClass, Collection<AccessConstraint<?>> accessConstraints)
-