Package lumis.content.workflow
Class WorkflowController
- java.lang.Object
-
- lumis.content.workflow.WorkflowController
-
public class WorkflowController extends java.lang.Object
Mediates content workflow operations from a process action handlers toIWorkflowManager
.- Since:
- 4.0.0
- Version:
- $Revision: 20857 $ $Date: 2017-12-27 13:27:30 -0200 (Wed, 27 Dec 2017) $
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ASSIGNED_TO_PARAMETER_NAME
The parameter that defines the value for workflow's assignedTo.static java.lang.String
ASSIGNED_TO_PARAMETER_VALUE_NULL
Value to indicate the assigned to is to be set to null.static java.lang.String
TRANSITION_PARAMETER_NAME
-
Constructor Summary
Constructors Constructor Description WorkflowController(IParameters parameters, ContentTableSource source, ITransaction transaction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
autoArchivePublishedContent(ContentLocale contentLocale)
void
contentDeleted(java.util.Collection<ContentLocale> contentLocales)
void
contentInserted(ContentVersion contentVersion)
void
contentUpdated(ContentVersion contentVersion)
-
-
-
Field Detail
-
TRANSITION_PARAMETER_NAME
public static final java.lang.String TRANSITION_PARAMETER_NAME
- See Also:
- Constant Field Values
-
ASSIGNED_TO_PARAMETER_NAME
public static final java.lang.String ASSIGNED_TO_PARAMETER_NAME
The parameter that defines the value for workflow's assignedTo. A value ofASSIGNED_TO_PARAMETER_VALUE_NULL
indicates 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.
-
ASSIGNED_TO_PARAMETER_VALUE_NULL
public static final java.lang.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(IParameters parameters, 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(java.util.Collection<ContentLocale> contentLocales) throws PortalException
- Throws:
PortalException
-
autoArchivePublishedContent
public boolean autoArchivePublishedContent(ContentLocale contentLocale) throws PortalException
- Throws:
PortalException
-
-