public class DataStoreBeforeEntityCountEvent extends BaseDataStoreEvent
Modifier and Type | Field and Description |
---|---|
protected boolean |
countByItems |
protected boolean |
countPrevented |
protected EventSharedState |
eventState |
Constructor and Description |
---|
DataStoreBeforeEntityCountEvent(LoadContext<?> loadContext,
EventSharedState eventState) |
Modifier and Type | Method and Description |
---|---|
boolean |
countByItems() |
boolean |
countPrevented() |
EventSharedState |
getEventState() |
LoadContext<?> |
getLoadContext() |
void |
sendTo(DataStoreEventListener listener) |
void |
setCountByItems() |
void |
setCountPrevented() |
protected boolean countPrevented
protected boolean countByItems
protected final EventSharedState eventState
public DataStoreBeforeEntityCountEvent(LoadContext<?> loadContext, EventSharedState eventState)
public LoadContext<?> getLoadContext()
public EventSharedState getEventState()
public void setCountPrevented()
public boolean countPrevented()
public void setCountByItems()
public boolean countByItems()
public void sendTo(DataStoreEventListener listener)
sendTo
in class BaseDataStoreEvent