public class SaveOrUpdateEvent extends AbstractEvent
Constructor and Description |
---|
SaveOrUpdateEvent(Object object,
EventSource source) |
SaveOrUpdateEvent(String entityName,
Object original,
EventSource source) |
SaveOrUpdateEvent(String entityName,
Object original,
Serializable id,
EventSource source) |
Modifier and Type | Method and Description |
---|---|
Object |
getEntity() |
String |
getEntityName() |
EntityEntry |
getEntry() |
Object |
getObject() |
Serializable |
getRequestedId() |
Serializable |
getResultId() |
void |
setEntity(Object entity) |
void |
setEntityName(String entityName) |
void |
setEntry(EntityEntry entry) |
void |
setObject(Object object) |
void |
setRequestedId(Serializable requestedId) |
void |
setResultId(Serializable resultId) |
getSession
public SaveOrUpdateEvent(String entityName, Object original, EventSource source)
public SaveOrUpdateEvent(String entityName, Object original, Serializable id, EventSource source)
public SaveOrUpdateEvent(Object object, EventSource source)
public Object getObject()
public void setObject(Object object)
public Serializable getRequestedId()
public void setRequestedId(Serializable requestedId)
public String getEntityName()
public void setEntityName(String entityName)
public Object getEntity()
public void setEntity(Object entity)
public EntityEntry getEntry()
public void setEntry(EntityEntry entry)
public Serializable getResultId()
public void setResultId(Serializable resultId)
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.