Class BaseWorkflowHandler<T>
Object
com.liferay.portal.kernel.workflow.BaseWorkflowHandler<T>
- All Implemented Interfaces:
WorkflowHandler<T>
- Author:
- Bruno Farache, Marcellus Tavares, Juan Fernández, Julio Camarero, Jorge Ferrer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAssetRenderer(long classPK) getNotificationLink(long workflowTaskId, ServiceContext serviceContext) getSummary(long classPK, PortletRequest portletRequest, PortletResponse portletResponse) getURLEdit(long classPK, LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) getURLViewDiffs(long classPK, LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) getURLViewInContext(long classPK, LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, String noSuchEntryRedirect) getWorkflowDefinitionLink(long companyId, long groupId, long classPK) booleaninclude(long classPK, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String template) booleanbooleanbooleanvoidstartWorkflowInstance(long companyId, long groupId, long userId, long classPK, T model, Map<String, Serializable> workflowContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.workflow.WorkflowHandler
contributeWorkflowContext, getClassName, getDiscussionClassPK, getType, isCommentable, isVisible, updateStatus, updateStatus
-
Constructor Details
-
BaseWorkflowHandler
public BaseWorkflowHandler()
-
-
Method Details
-
getAssetRenderer
- Specified by:
getAssetRendererin interfaceWorkflowHandler<T>- Throws:
PortalException
-
getAssetRendererFactory
- Specified by:
getAssetRendererFactoryin interfaceWorkflowHandler<T>
-
getIconCssClass
- Specified by:
getIconCssClassin interfaceWorkflowHandler<T>
-
getNotificationLink
public String getNotificationLink(long workflowTaskId, ServiceContext serviceContext) throws PortalException - Specified by:
getNotificationLinkin interfaceWorkflowHandler<T>- Throws:
PortalException
-
getSummary
public String getSummary(long classPK, PortletRequest portletRequest, PortletResponse portletResponse) - Specified by:
getSummaryin interfaceWorkflowHandler<T>
-
getTitle
- Specified by:
getTitlein interfaceWorkflowHandler<T>
-
getURLEdit
public PortletURL getURLEdit(long classPK, LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) - Specified by:
getURLEditin interfaceWorkflowHandler<T>
-
getURLViewDiffs
public PortletURL getURLViewDiffs(long classPK, LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) - Specified by:
getURLViewDiffsin interfaceWorkflowHandler<T>
-
getURLViewInContext
public String getURLViewInContext(long classPK, LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, String noSuchEntryRedirect) - Specified by:
getURLViewInContextin interfaceWorkflowHandler<T>
-
getWorkflowDefinitionLink
public WorkflowDefinitionLink getWorkflowDefinitionLink(long companyId, long groupId, long classPK) throws PortalException - Specified by:
getWorkflowDefinitionLinkin interfaceWorkflowHandler<T>- Throws:
PortalException
-
include
public boolean include(long classPK, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String template) - Specified by:
includein interfaceWorkflowHandler<T>
-
isAssetTypeSearchable
public boolean isAssetTypeSearchable()- Specified by:
isAssetTypeSearchablein interfaceWorkflowHandler<T>
-
isScopeable
public boolean isScopeable()- Specified by:
isScopeablein interfaceWorkflowHandler<T>
-
isVisible
public boolean isVisible()- Specified by:
isVisiblein interfaceWorkflowHandler<T>
-
startWorkflowInstance
public void startWorkflowInstance(long companyId, long groupId, long userId, long classPK, T model, Map<String, Serializable> workflowContext) throws PortalException- Specified by:
startWorkflowInstancein interfaceWorkflowHandler<T>- Throws:
PortalException
-