lumis.content.workflow
Class WorkflowController

Package class diagram package WorkflowController
java.lang.Object
  extended by lumis.content.workflow.WorkflowController

public class WorkflowController
extends Object

Mediates content workflow operations from a process action handlers to IWorkflowManager.

Since:
4.0.0

Field Summary
static String ASSIGNED_TO_PARAMETER_NAME
          The parameter that defines the value for workflow's assignedTo.
static String ASSIGNED_TO_PARAMETER_VALUE_NULL
          Value to indicate the assigned to is to be set to null.
static String TRANSITION_PARAMETER_NAME
           
 
Constructor Summary
WorkflowController(IProcessActionHandler processActionHandler, ContentTableSource source, ITransaction transaction)
           
 
Method Summary
 boolean autoArchivePublishedContent(ContentLocale contentLocale)
           
 void contentDeleted()
           
 void contentInserted(ContentVersion contentVersion)
           
 void contentUpdated(ContentVersion contentVersion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRANSITION_PARAMETER_NAME

public static final String TRANSITION_PARAMETER_NAME
See Also:
Constant Field Values

ASSIGNED_TO_PARAMETER_NAME

public static final String ASSIGNED_TO_PARAMETER_NAME
The parameter that defines the value for workflow's assignedTo. A value of ASSIGNED_TO_PARAMETER_VALUE_NULLindicates to change to null, and any other value indicates to change to that value. If the parameter is not present or is set to null, the assigned to is not to be changed.

See Also:
ASSIGNED_TO_PARAMETER_VALUE_NULL, Constant Field Values

ASSIGNED_TO_PARAMETER_VALUE_NULL

public static final String ASSIGNED_TO_PARAMETER_VALUE_NULL
Value to indicate the assigned to is to be set to null.

See Also:
ASSIGNED_TO_PARAMETER_NAME, Constant Field Values
Constructor Detail

WorkflowController

public WorkflowController(IProcessActionHandler processActionHandler,
                          ContentTableSource source,
                          ITransaction transaction)
                   throws PortalException
Throws:
PortalException
Method Detail

contentUpdated

public void contentUpdated(ContentVersion contentVersion)
                    throws PortalException
Throws:
PortalException

contentInserted

public void contentInserted(ContentVersion contentVersion)
                     throws PortalException
Parameters:
contentVersion - the content version inserted.
Throws:
PortalException

contentDeleted

public void contentDeleted()
                    throws PortalException
Throws:
PortalException

autoArchivePublishedContent

public boolean autoArchivePublishedContent(ContentLocale contentLocale)
                                    throws PortalException
Throws:
PortalException


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.