public class Work extends Object
Constructor and Description |
---|
Work(Class<?> entityType,
Serializable id,
WorkType type) |
Work(Object entity,
Serializable id,
WorkType type) |
Work(Object entity,
Serializable id,
WorkType type,
boolean identifierRollbackEnabled) |
Work(Object entity,
WorkType type) |
Work(String tenantId,
Class<?> entityType,
Serializable id,
WorkType type) |
Work(String tenantId,
Object entity,
Serializable id,
WorkType type) |
Work(String tenantId,
Object entity,
Serializable id,
WorkType type,
boolean identifierRollbackEnabled) |
Work(String tenantId,
Object entity,
WorkType type) |
Modifier and Type | Method and Description |
---|---|
Object |
getEntity() |
Class<?> |
getEntityClass() |
Serializable |
getId() |
String |
getTenantIdentifier() |
WorkType |
getType() |
boolean |
isIdentifierWasRolledBack() |
String |
toString() |
public Work(Object entity, Serializable id, WorkType type)
public Work(Object entity, Serializable id, WorkType type, boolean identifierRollbackEnabled)
public Work(Class<?> entityType, Serializable id, WorkType type)
public Work(String tenantId, Object entity, Serializable id, WorkType type)
public Work(String tenantId, Object entity, Serializable id, WorkType type, boolean identifierRollbackEnabled)
public Work(String tenantId, Class<?> entityType, Serializable id, WorkType type)
public Class<?> getEntityClass()
public String getTenantIdentifier()
public Object getEntity()
public Serializable getId()
public WorkType getType()
public boolean isIdentifierWasRolledBack()
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved