com.liferay.portlet.documentlibrary.workflow
Class DLFileEntryWorkflowHandler
java.lang.Object
com.liferay.portal.kernel.workflow.BaseWorkflowHandler
com.liferay.portlet.documentlibrary.workflow.DLFileEntryWorkflowHandler
- All Implemented Interfaces:
- com.liferay.portal.kernel.workflow.WorkflowHandler
public class DLFileEntryWorkflowHandler
- extends com.liferay.portal.kernel.workflow.BaseWorkflowHandler
- Author:
- Bruno Farache, Jorge Ferrer, Alexander Chow
|
Method Summary |
java.lang.String |
getClassName()
|
protected java.lang.String |
getIconPath(com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
java.lang.String |
getType(java.util.Locale locale)
|
com.liferay.portal.model.WorkflowDefinitionLink |
getWorkflowDefinitionLink(long companyId,
long groupId,
long classPK)
|
boolean |
isVisible()
|
com.liferay.portlet.documentlibrary.model.DLFileEntry |
updateStatus(int status,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext)
|
| Methods inherited from class com.liferay.portal.kernel.workflow.BaseWorkflowHandler |
getAssetRenderer, getAssetRendererFactory, getIconPath, getSummary, getTitle, getURLEdit, getURLViewInContext, isAssetTypeSearchable, isScopeable, render, startWorkflowInstance |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_NAME
public static final java.lang.String CLASS_NAME
DLFileEntryWorkflowHandler
public DLFileEntryWorkflowHandler()
getClassName
public java.lang.String getClassName()
getType
public java.lang.String getType(java.util.Locale locale)
getWorkflowDefinitionLink
public com.liferay.portal.model.WorkflowDefinitionLink getWorkflowDefinitionLink(long companyId,
long groupId,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getWorkflowDefinitionLink in interface com.liferay.portal.kernel.workflow.WorkflowHandler- Overrides:
getWorkflowDefinitionLink in class com.liferay.portal.kernel.workflow.BaseWorkflowHandler
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
isVisible
public boolean isVisible()
- Specified by:
isVisible in interface com.liferay.portal.kernel.workflow.WorkflowHandler- Overrides:
isVisible in class com.liferay.portal.kernel.workflow.BaseWorkflowHandler
updateStatus
public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(int status,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getIconPath
protected java.lang.String getIconPath(com.liferay.portal.theme.ThemeDisplay themeDisplay)
- Overrides:
getIconPath in class com.liferay.portal.kernel.workflow.BaseWorkflowHandler