com.liferay.portal.kernel.workflow
Class DefaultWorkflowDefinition
java.lang.Object
com.liferay.portal.kernel.workflow.DefaultWorkflowDefinition
- All Implemented Interfaces:
- WorkflowDefinition, Serializable
public class DefaultWorkflowDefinition
- extends Object
- implements Serializable, WorkflowDefinition
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultWorkflowDefinition
public DefaultWorkflowDefinition()
getContent
public String getContent()
- Specified by:
getContent
in interface WorkflowDefinition
getInputStream
public InputStream getInputStream()
- Specified by:
getInputStream
in interface WorkflowDefinition
getName
public String getName()
- Specified by:
getName
in interface WorkflowDefinition
getOptionalAttributes
public Map<String,Object> getOptionalAttributes()
- Specified by:
getOptionalAttributes
in interface WorkflowDefinition
getTitle
public String getTitle()
- Specified by:
getTitle
in interface WorkflowDefinition
getTitle
public String getTitle(String languageId)
- Specified by:
getTitle
in interface WorkflowDefinition
getVersion
public int getVersion()
- Specified by:
getVersion
in interface WorkflowDefinition
isActive
public boolean isActive()
- Specified by:
isActive
in interface WorkflowDefinition
setActive
public void setActive(boolean active)
setContent
public void setContent(String content)
setInputStream
public void setInputStream(InputStream inputStream)
setName
public void setName(String name)
setOptionalAttributes
public void setOptionalAttributes(Map<String,Object> optionalAttributes)
setTitle
public void setTitle(String title)
setVersion
public void setVersion(int version)