Class WorkflowErrorImpl
- java.lang.Object
-
- org.silverpeas.core.persistence.datasource.model.jpa.AbstractJpaEntity<E,I>
-
- org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity<WorkflowErrorImpl,UniqueIntegerIdentifier>
-
- org.silverpeas.core.workflow.engine.error.WorkflowErrorImpl
-
- All Implemented Interfaces:
Serializable
,IdentifiableEntity
,WorkflowError
@Entity public class WorkflowErrorImpl extends BasicJpaEntity<WorkflowErrorImpl,UniqueIntegerIdentifier> implements WorkflowError
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WorkflowErrorImpl()
WorkflowErrorImpl(ProcessInstance instance, GenericEvent event, Exception exception)
A WorkflowErrorImpl is build from a process instance, a generic event, a history step and a Exception
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Action
getAction()
Date
getActionDate()
Get action dateString
getErrorMessage()
ProcessInstance
getProcessInstance()
State
getResolvedState()
String
getStackTrace()
User
getUser()
int
hashCode()
-
Methods inherited from class org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity
performBeforePersist, performBeforeRemove, performBeforeUpdate
-
Methods inherited from class org.silverpeas.core.persistence.datasource.model.jpa.AbstractJpaEntity
getId, getNativeId, isPersisted, setId
-
-
-
-
Constructor Detail
-
WorkflowErrorImpl
protected WorkflowErrorImpl()
-
WorkflowErrorImpl
public WorkflowErrorImpl(ProcessInstance instance, GenericEvent event, Exception exception)
A WorkflowErrorImpl is build from a process instance, a generic event, a history step and a Exception
-
-
Method Detail
-
getProcessInstance
public ProcessInstance getProcessInstance() throws WorkflowException
- Specified by:
getProcessInstance
in interfaceWorkflowError
- Returns:
- ProcessInstance
- Throws:
WorkflowException
-
getErrorMessage
public String getErrorMessage()
- Specified by:
getErrorMessage
in interfaceWorkflowError
- Returns:
- error message
-
getStackTrace
public String getStackTrace()
- Specified by:
getStackTrace
in interfaceWorkflowError
- Returns:
- stack trace
-
getUser
public User getUser() throws WorkflowException
- Specified by:
getUser
in interfaceWorkflowError
- Returns:
- user
- Throws:
WorkflowException
-
getAction
public Action getAction() throws WorkflowException
- Specified by:
getAction
in interfaceWorkflowError
- Returns:
- action
- Throws:
WorkflowException
-
getActionDate
public Date getActionDate()
Get action date- Specified by:
getActionDate
in interfaceWorkflowError
- Returns:
- action date
-
getResolvedState
public State getResolvedState() throws WorkflowException
- Specified by:
getResolvedState
in interfaceWorkflowError
- Returns:
- resolved state
- Throws:
WorkflowException
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classAbstractJpaEntity<WorkflowErrorImpl,UniqueIntegerIdentifier>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractJpaEntity<WorkflowErrorImpl,UniqueIntegerIdentifier>
-
-