public class LockEvent extends AbstractEvent
Constructor and Description |
---|
LockEvent(Object object,
LockMode lockMode,
EventSource source) |
LockEvent(Object object,
LockOptions lockOptions,
EventSource source) |
LockEvent(String entityName,
Object original,
LockMode lockMode,
EventSource source) |
LockEvent(String entityName,
Object original,
LockOptions lockOptions,
EventSource source) |
Modifier and Type | Method and Description |
---|---|
String |
getEntityName() |
LockMode |
getLockMode() |
LockOptions |
getLockOptions() |
boolean |
getLockScope() |
int |
getLockTimeout() |
Object |
getObject() |
void |
setEntityName(String entityName) |
void |
setLockMode(LockMode lockMode) |
void |
setLockScope(boolean cascade) |
void |
setLockTimeout(int timeout) |
void |
setObject(Object object) |
getSession
public LockEvent(String entityName, Object original, LockMode lockMode, EventSource source)
public LockEvent(String entityName, Object original, LockOptions lockOptions, EventSource source)
public LockEvent(Object object, LockMode lockMode, EventSource source)
public LockEvent(Object object, LockOptions lockOptions, EventSource source)
public Object getObject()
public void setObject(Object object)
public LockOptions getLockOptions()
public LockMode getLockMode()
public void setLockMode(LockMode lockMode)
public void setLockTimeout(int timeout)
public int getLockTimeout()
public void setLockScope(boolean cascade)
public boolean getLockScope()
public String getEntityName()
public void setEntityName(String entityName)
Copyright © 2019 JBoss by Red Hat. All rights reserved.