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(String metaDataId)
           
 void contentDeleted()
           
 void contentInserted(String primaryKey)
           
 boolean contentMayBePublished(String itemId)
           
 void contentUpdated()
           
 
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()
                    throws PortalException
Throws:
PortalException

contentInserted

public void contentInserted(String primaryKey)
                     throws PortalException
Parameters:
primaryKey - the primary key of the inserted content.
Throws:
PortalException

contentDeleted

public void contentDeleted()
                    throws PortalException
Throws:
PortalException

contentMayBePublished

public boolean contentMayBePublished(String itemId)
                              throws PortalException
Throws:
PortalException

autoArchivePublishedContent

public boolean autoArchivePublishedContent(String metaDataId)
                                    throws PortalException
Throws:
PortalException


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