|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.content.workflow.action.WorkflowSendMailActionHandler
public class WorkflowSendMailActionHandler
Sends e-mails notifying the new assigned to users of the content state.
Constructor Summary | |
---|---|
WorkflowSendMailActionHandler()
|
Method Summary | |
---|---|
protected String |
getWebsiteUrl(SessionConfig sessionConfig,
ContentLocale contentLocale,
ITransaction transaction)
Method created so that classes that extend this object may customize the website url referenced in the link to the content. |
protected void |
prepareMailObject(SessionConfig sessionConfig,
IMultipleMail mail,
ITransaction transaction)
Method created for classes that extend this action handler to customize the mail sent. |
void |
preProcessAction(SessionConfig sessionConfig,
ContentLocale contentLocale,
WorkflowTransitionConfig transition,
ContentWorkflowMetaData newWorkflowMetaData,
ITransaction transaction)
Method called when a workflow action is performed, before its changes are applied to the persistence layer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkflowSendMailActionHandler()
Method Detail |
---|
public void preProcessAction(SessionConfig sessionConfig, ContentLocale contentLocale, WorkflowTransitionConfig transition, ContentWorkflowMetaData newWorkflowMetaData, ITransaction transaction) throws PortalException
IWorkflowActionHandler
preProcessAction
in interface IWorkflowActionHandler
sessionConfig
- the user session information.transition
- the transition being performed, or null if no transition is being performed.newWorkflowMetaData
- the new workflow metadata that will be saved. Changes to this object
will reflect in the workflow meta data that will be saved.transaction
- the transaction for persistence access.
PortalException
- if the action should be canceled.protected void prepareMailObject(SessionConfig sessionConfig, IMultipleMail mail, ITransaction transaction)
mail
- sessionConfig
- transition
- newWorkflowMetaData
- transaction
- protected String getWebsiteUrl(SessionConfig sessionConfig, ContentLocale contentLocale, ITransaction transaction) throws PortalException
sessionConfig
- the user's session.contentLocale
- the content locale.transaction
- the transaction.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |