public class WorkflowController extends Object
IWorkflowManager
.Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
WorkflowController(IParameters parameters,
ContentTableSource source,
ITransaction transaction) |
Modifier and Type | Method and Description |
---|---|
boolean |
autoArchivePublishedContent(ContentLocale contentLocale) |
void |
contentDeleted(Collection<ContentLocale> contentLocales) |
void |
contentInserted(ContentVersion contentVersion) |
void |
contentUpdated(ContentVersion contentVersion) |
public static final String TRANSITION_PARAMETER_NAME
public static final String ASSIGNED_TO_PARAMETER_NAME
ASSIGNED_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.public static final String ASSIGNED_TO_PARAMETER_VALUE_NULL
ASSIGNED_TO_PARAMETER_NAME
,
Constant Field Valuespublic WorkflowController(IParameters parameters, ContentTableSource source, ITransaction transaction) throws PortalException
PortalException
public void contentUpdated(ContentVersion contentVersion) throws PortalException
PortalException
public void contentInserted(ContentVersion contentVersion) throws PortalException
contentVersion
- the content version inserted.PortalException
public void contentDeleted(Collection<ContentLocale> contentLocales) throws PortalException
PortalException
public boolean autoArchivePublishedContent(ContentLocale contentLocale) throws PortalException
PortalException
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.