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) boolean
include
(long classPK, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String template) boolean
boolean
boolean
void
startWorkflowInstance
(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, wait
Methods 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:
getAssetRenderer
in interfaceWorkflowHandler<T>
- Throws:
PortalException
-
getAssetRendererFactory
- Specified by:
getAssetRendererFactory
in interfaceWorkflowHandler<T>
-
getIconCssClass
- Specified by:
getIconCssClass
in interfaceWorkflowHandler<T>
-
getNotificationLink
public String getNotificationLink(long workflowTaskId, ServiceContext serviceContext) throws PortalException - Specified by:
getNotificationLink
in interfaceWorkflowHandler<T>
- Throws:
PortalException
-
getSummary
public String getSummary(long classPK, PortletRequest portletRequest, PortletResponse portletResponse) - Specified by:
getSummary
in interfaceWorkflowHandler<T>
-
getTitle
- Specified by:
getTitle
in interfaceWorkflowHandler<T>
-
getURLEdit
public PortletURL getURLEdit(long classPK, LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) - Specified by:
getURLEdit
in interfaceWorkflowHandler<T>
-
getURLViewDiffs
public PortletURL getURLViewDiffs(long classPK, LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) - Specified by:
getURLViewDiffs
in interfaceWorkflowHandler<T>
-
getURLViewInContext
public String getURLViewInContext(long classPK, LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, String noSuchEntryRedirect) - Specified by:
getURLViewInContext
in interfaceWorkflowHandler<T>
-
getWorkflowDefinitionLink
public WorkflowDefinitionLink getWorkflowDefinitionLink(long companyId, long groupId, long classPK) throws PortalException - Specified by:
getWorkflowDefinitionLink
in interfaceWorkflowHandler<T>
- Throws:
PortalException
-
include
public boolean include(long classPK, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String template) - Specified by:
include
in interfaceWorkflowHandler<T>
-
isAssetTypeSearchable
public boolean isAssetTypeSearchable()- Specified by:
isAssetTypeSearchable
in interfaceWorkflowHandler<T>
-
isScopeable
public boolean isScopeable()- Specified by:
isScopeable
in interfaceWorkflowHandler<T>
-
isVisible
public boolean isVisible()- Specified by:
isVisible
in interfaceWorkflowHandler<T>
-
startWorkflowInstance
public void startWorkflowInstance(long companyId, long groupId, long userId, long classPK, T model, Map<String, Serializable> workflowContext) throws PortalException- Specified by:
startWorkflowInstance
in interfaceWorkflowHandler<T>
- Throws:
PortalException
-