Top Description Fields Constructors Methods
org.hibernate.event.spi

public Class RefreshEvent

extends AbstractEvent
Class Inheritance
Imports
org.hibernate.LockMode, .LockOptions

Defines an event class for the refreshing of an object.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private String
private LockOptions
private Object

Constructor Summary

AccessConstructor and Description
public
RefreshEvent(Object object, EventSource source)

Deprecated as a consequence of EventSource being deprecated.
public
RefreshEvent(String entityName, Object object, EventSource source)

Deprecated as a consequence of EventSource being deprecated.
public
RefreshEvent(Object object, LockMode lockMode, EventSource source)

Deprecated as a consequence of EventSource being deprecated.
public
RefreshEvent(Object object, LockOptions lockOptions, EventSource source)

Deprecated as a consequence of EventSource being deprecated.
public
RefreshEvent(String entityName, Object object, LockOptions lockOptions, EventSource source)

Deprecated as a consequence of EventSource being deprecated.

Method Summary

Modifier and TypeMethod and Description
public String
public LockMode
public LockOptions
public boolean
public int
public Object
public void
setEntityName(String entityName)

Inherited from org.hibernate.event.spi.AbstractEvent:
getSession

Field Detail

entityNameback to summary
private String entityName
lockOptionsback to summary
private LockOptions lockOptions
objectback to summary
private Object object

Constructor Detail

RefreshEventback to summary
public RefreshEvent(Object object, EventSource source)

Deprecated

as a consequence of EventSource being deprecated. See corresponding docs for further information.

RefreshEventback to summary
public RefreshEvent(String entityName, Object object, EventSource source)

Deprecated

as a consequence of EventSource being deprecated. See corresponding docs for further information.

RefreshEventback to summary
public RefreshEvent(Object object, LockMode lockMode, EventSource source)

Deprecated

as a consequence of EventSource being deprecated. See corresponding docs for further information.

RefreshEventback to summary
public RefreshEvent(Object object, LockOptions lockOptions, EventSource source)

Deprecated

as a consequence of EventSource being deprecated. See corresponding docs for further information.

RefreshEventback to summary
public RefreshEvent(String entityName, Object object, LockOptions lockOptions, EventSource source)

Deprecated

as a consequence of EventSource being deprecated. See corresponding docs for further information.

Method Detail

getEntityNameback to summary
public String getEntityName()
getLockModeback to summary
public LockMode getLockMode()
getLockOptionsback to summary
public LockOptions getLockOptions()
getLockScopeback to summary
public boolean getLockScope()
getLockTimeoutback to summary
public int getLockTimeout()
getObjectback to summary
public Object getObject()
setEntityNameback to summary
public void setEntityName(String entityName)