Class AbstractSharePushNotificationWorkflowAction
java.lang.Object
de.uplanet.lucy.server.workflow.action.AbstractWorkflowAction
de.uplanet.lucy.server.share.workflow.action.AbstractSharePushNotificationWorkflowAction
- All Implemented Interfaces:
IActivatableWorkflowObject,ILogLevelAware,INamedWorkflowObject,INeedWorkflow,IWorkflowAction,IWorkflowObject,Serializable
- Direct Known Subclasses:
ShareFrequencyPushNotificationWorkflowAction,ShareImmediatelyPushNotificationWorkflowAction
public abstract class AbstractSharePushNotificationWorkflowAction
extends AbstractWorkflowAction
implements ILogLevelAware
- See Also:
-
Field Summary
Fields inherited from interface de.uplanet.lucy.server.workflow.IWorkflowObject
GUID_COMPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetTitle()booleanisDryRun()booleanThis flag determines if verbose logging is turned on or off.booleanThis property specifies whether or not messages should be pushed asynchronously if possible.booleanThis property specifies whether or not pushing a message should be part of the current transaction or not.process(IWorkflowEvent p_evt, de.uplanet.lucy.server.workflow.IWorkflowProcessingContext p_wfCtx, de.uplanet.lucy.server.IProcessingContext p_ctx) Process a workflow event in the given context.voidsetCollapseKey(String p_strCollapseKey) voidsetDryRun(boolean p_bDryRun) voidsetLogVerbose(boolean p_bLogVerbose) This flag determines if verbose logging is turned on or off.voidsetPortalName(String p_strPortalName) voidsetPushAsynchronous(boolean p_bPushAsynchronous) This property specifies whether or not messages should be pushed asynchronously if possible.voidsetTimeToLive(long p_lTimeToLive) voidvoidsetUseTransaction(boolean p_bUseTransaction) This property specifies whether or not pushing a message should be part of the current transaction or not.Methods inherited from class de.uplanet.lucy.server.workflow.action.AbstractWorkflowAction
getAfferentTransition, getEfferentTransition, getGuid, getName, getWorkflow, isActive, setActive, setAfferentTransition, setEfferentTransition, setName, setWorkflow, toString
-
Constructor Details
-
AbstractSharePushNotificationWorkflowAction
-
-
Method Details
-
getTitle
-
setTitle
-
getPortalName
-
setPortalName
-
getTimeToLive
public long getTimeToLive() -
setTimeToLive
public void setTimeToLive(long p_lTimeToLive) -
getCollapseKey
-
setCollapseKey
-
isUseTransaction
public boolean isUseTransaction()This property specifies whether or not pushing a message should be part of the current transaction or not.If
truethis implies asynchronous sending.- Returns:
trueif pushing a message should be part of the current transaction, orfalseotherwise.
-
setUseTransaction
public void setUseTransaction(boolean p_bUseTransaction) This property specifies whether or not pushing a message should be part of the current transaction or not.If
truethis implies asynchronous sending.- Parameters:
p_bUseTransaction-trueif pushing a message should be part of the current transaction, orfalseotherwise.
-
isPushAsynchronous
public boolean isPushAsynchronous()This property specifies whether or not messages should be pushed asynchronously if possible.If transactions are
usedor the message to be sent has multiple recipients, this property is ignored.- Returns:
trueif messages should be pushed asynchronously, orfalseotherwise.
-
setPushAsynchronous
public void setPushAsynchronous(boolean p_bPushAsynchronous) This property specifies whether or not messages should be pushed asynchronously if possible.If transactions are
usedor the message to be sent has multiple recipients, this property is ignored.- Parameters:
p_bPushAsynchronous-trueif messages should be pushed asynchronously, orfalseotherwise.
-
isDryRun
public boolean isDryRun() -
setDryRun
public void setDryRun(boolean p_bDryRun) -
isLogVerbose
public boolean isLogVerbose()Description copied from interface:ILogLevelAwareThis flag determines if verbose logging is turned on or off.- Specified by:
isLogVerbosein interfaceILogLevelAware- Returns:
trueif logging is verbose, orfalseotherwise.
-
setLogVerbose
public void setLogVerbose(boolean p_bLogVerbose) Description copied from interface:ILogLevelAwareThis flag determines if verbose logging is turned on or off.- Specified by:
setLogVerbosein interfaceILogLevelAware- Parameters:
p_bLogVerbose-trueif logging should be verbose, orfalseotherwise.
-
process
public WorkflowTransition process(IWorkflowEvent p_evt, de.uplanet.lucy.server.workflow.IWorkflowProcessingContext p_wfCtx, de.uplanet.lucy.server.IProcessingContext p_ctx) throws Exception Description copied from interface:IWorkflowActionProcess a workflow event in the given context.Normally, a workflow action should return its efferent transition, regardless whether it is
active, or not.- Specified by:
processin interfaceIWorkflowAction- Parameters:
p_evt- The event to be processed.p_wfCtx- The workflow processing context.p_ctx- The processing context.- Returns:
- The efferent transition, or
null. - Throws:
Exception- If an error occurred.
-