|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.content.workflow.WorkflowConfig
@StableMinor(version="4.1", sinceVersion="4.0") public class WorkflowConfig
Contains the definition information for a workflow.
Constructor Summary | |
---|---|
WorkflowConfig()
|
Method Summary | |
---|---|
List<IWorkflowActionHandler> |
getActionHandlers()
Returns the action handlers for this workflow. |
String |
getBaseUrl()
Returns the relative path to this workflow's definition directory. |
String |
getDefinition()
Returns the definition for this workflow, as a string. |
Node |
getDefinitionXmlNode()
Deprecated. Since 4.0.11, this method is no longer used and may be removed in the future. |
String |
getDescription()
Returns the description for this workflow. |
String |
getId()
Returns this workflow's identifier. |
String |
getName()
Returns the name for this workflow. |
IResource |
getResource()
Returns the localization resource for this workflow. |
List<WorkflowRoleConfig> |
getRoles()
Returns the roles for this Workflow. |
WorkflowStateConfig |
getStartState()
Returns the start state for this workflow. |
WorkflowStateConfig |
getState(String stateId)
Returns the specified state of this workflow. |
List<WorkflowStateConfig> |
getStates()
Returns all states of this workflow. |
String |
getStringsUrlPrefix()
Returns the first string resource path for this workflow. |
List<String> |
getStringsUrlPrefixes()
Returns this workflow's string resource paths. |
void |
setBaseUrl(String baseUrl)
Sets the relative path to this workflow's definition directory. |
void |
setDefinition(Node workflowNode)
Sets the definition for this workflow. |
void |
setDefinition(String definition)
Sets the definition for this workflow. |
void |
setDescription(String description)
Sets this workflow's description. |
void |
setId(String id)
Sets this workflow's identifier. |
void |
setName(String name)
Sets this workflow's name. |
void |
setStringsUrlPrefix(String stringsUrlPrefix)
Sets the string resource path for this workflow. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkflowConfig()
Method Detail |
---|
public String getDefinition() throws PortalException
PortalException
@Deprecated public Node getDefinitionXmlNode()
public void setDefinition(String definition) throws PortalException
definition
- the definition to set.
PortalException
public void setDefinition(Node workflowNode) throws PortalException
workflowNode
- the node containing the workflow's definition.
PortalException
public String getId()
public void setId(String id)
id
- the identifier to set.public String getDescription()
null
if not defined.getResource()
public void setDescription(String description)
description
- the description to set.getDescription()
public String getName()
getResource()
public void setName(String name)
name
- the name to set.getName()
public String getBaseUrl()
public void setBaseUrl(String baseUrl)
baseUrl
- the value to set.getBaseUrl()
public String getStringsUrlPrefix()
null
if this workflow has no resource path.public void setStringsUrlPrefix(String stringsUrlPrefix)
stringsUrlPrefix
- the value to set.public List<String> getStringsUrlPrefixes()
null
if none was specified.public IResource getResource() throws PortalException
PortalException
public List<WorkflowStateConfig> getStates()
public WorkflowStateConfig getState(String stateId) throws WorkflowException
stateId
- the state's id.
WorkflowException
- if the state was not found.public WorkflowStateConfig getStartState()
public List<WorkflowRoleConfig> getRoles()
public List<IWorkflowActionHandler> getActionHandlers()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |