|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.core.workflow.BaseActivity
public abstract class BaseActivity
| Constructor Summary | |
|---|---|
BaseActivity()
|
|
| Method Summary | |
|---|---|
boolean |
getAutomaticallyRegisterRollbackHandler()
Whether or not this activity should automatically register a configured RollbackHandler with the ActivityStateManager. |
String |
getBeanName()
|
ErrorHandler |
getErrorHandler()
Get the fine-grained error handler wired up for this Activity |
RollbackHandler |
getRollbackHandler()
Retrieve the RollbackHandler instance that should be called by the ActivityStateManager in the event of a workflow execution problem. |
String |
getRollbackRegion()
Retrieve the optional region label for the RollbackHandler. |
Map<String,Object> |
getStateConfiguration()
Retrieve any user-defined state that should accompany the RollbackHandler. |
void |
setAutomaticallyRegisterRollbackHandler(boolean automaticallyRegisterRollbackHandler)
Whether or not this activity should automatically register a configured RollbackHandler with the ActivityStateManager. |
void |
setBeanName(String beanName)
|
void |
setErrorHandler(ErrorHandler errorHandler)
|
void |
setRollbackHandler(RollbackHandler rollbackHandler)
Set the RollbackHandler instance that should be called by the ActivityStateManager in the event of a workflow execution problem. |
void |
setRollbackRegion(String rollbackRegion)
Set the optional region label for the RollbackHandler. |
void |
setStateConfiguration(Map<String,Object> stateConfiguration)
Set any user-defined state that should accompany the RollbackHandler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.broadleafcommerce.core.workflow.Activity |
|---|
execute |
| Constructor Detail |
|---|
public BaseActivity()
| Method Detail |
|---|
public ErrorHandler getErrorHandler()
Activity
getErrorHandler in interface Activitypublic void setBeanName(String beanName)
setBeanName in interface org.springframework.beans.factory.BeanNameAwarepublic void setErrorHandler(ErrorHandler errorHandler)
setErrorHandler in interface Activitypublic String getBeanName()
getBeanName in interface Activitypublic RollbackHandler getRollbackHandler()
Activity
getRollbackHandler in interface Activitypublic void setRollbackHandler(RollbackHandler rollbackHandler)
Activity
setRollbackHandler in interface ActivityrollbackHandler - the handler responsible for reverting state for the activitypublic String getRollbackRegion()
Activity
getRollbackRegion in interface Activitypublic void setRollbackRegion(String rollbackRegion)
Activity
setRollbackRegion in interface ActivityrollbackRegion - the rollback region label for the RollbackHandler instancepublic Map<String,Object> getStateConfiguration()
Activity
getStateConfiguration in interface Activitypublic void setStateConfiguration(Map<String,Object> stateConfiguration)
Activity
setStateConfiguration in interface ActivitystateConfiguration - any user-defined state configuration necessary for the execution of the RollbackHandlerpublic boolean getAutomaticallyRegisterRollbackHandler()
Activity
getAutomaticallyRegisterRollbackHandler in interface Activitypublic void setAutomaticallyRegisterRollbackHandler(boolean automaticallyRegisterRollbackHandler)
Activity
setAutomaticallyRegisterRollbackHandler in interface ActivityautomaticallyRegisterRollbackHandler - Whether or not to automatically register a RollbackHandler with the ActivityStateManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||