Class WorkflowHandlerWrapper<T>
Object
com.liferay.portal.kernel.workflow.WorkflowHandlerWrapper<T>
- All Implemented Interfaces:
WorkflowHandler<T>
- Author:
- Adolfo Pérez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAssetRenderer(long classPK) longgetDiscussionClassPK(Map<String, Serializable> workflowContext) 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) booleanbooleanbooleanbooleanbooleanvoidstartWorkflowInstance(long companyId, long groupId, long userId, long classPK, T model, Map<String, Serializable> workflowContext) updateStatus(int status, Map<String, Serializable> workflowContext) updateStatus(T model, int status, 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
-
Constructor Details
-
WorkflowHandlerWrapper
-
-
Method Details
-
getAssetRenderer
- Specified by:
getAssetRendererin interfaceWorkflowHandler<T>- Throws:
PortalException
-
getAssetRendererFactory
- Specified by:
getAssetRendererFactoryin interfaceWorkflowHandler<T>
-
getClassName
- Specified by:
getClassNamein interfaceWorkflowHandler<T>
-
getDiscussionClassPK
- Specified by:
getDiscussionClassPKin 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>
-
getType
- Specified by:
getTypein 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>
-
isCommentable
public boolean isCommentable()- Specified by:
isCommentablein interfaceWorkflowHandler<T>
-
isScopeable
public boolean isScopeable()- Specified by:
isScopeablein interfaceWorkflowHandler<T>
-
isVisible
public boolean isVisible()- Specified by:
isVisiblein interfaceWorkflowHandler<T>
-
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
-
updateStatus
- Specified by:
updateStatusin interfaceWorkflowHandler<T>- Throws:
PortalException
-
updateStatus
public T updateStatus(T model, int status, Map<String, Serializable> workflowContext) throws PortalException- Specified by:
updateStatusin interfaceWorkflowHandler<T>- Throws:
PortalException
-