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