public interface WorkflowHandler<T>
Modifier and Type | Method and Description |
---|---|
AssetRenderer<T> |
getAssetRenderer(long classPK) |
AssetRendererFactory<T> |
getAssetRendererFactory() |
String |
getClassName() |
String |
getIconCssClass() |
String |
getSummary(long classPK,
PortletRequest portletRequest,
PortletResponse portletResponse) |
String |
getTitle(long classPK,
Locale locale) |
String |
getType(Locale locale) |
PortletURL |
getURLEdit(long classPK,
LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse) |
String |
getURLEditWorkflowTask(long workflowTaskId,
ServiceContext serviceContext) |
PortletURL |
getURLViewDiffs(long classPK,
LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse) |
String |
getURLViewInContext(long classPK,
LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse,
String noSuchEntryRedirect) |
WorkflowDefinitionLink |
getWorkflowDefinitionLink(long companyId,
long groupId,
long classPK) |
boolean |
include(long classPK,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
String template) |
boolean |
isAssetTypeSearchable() |
boolean |
isScopeable() |
boolean |
isVisible() |
default boolean |
isVisible(Group group) |
void |
startWorkflowInstance(long companyId,
long groupId,
long userId,
long classPK,
T model,
Map<String,Serializable> workflowContext) |
T |
updateStatus(int status,
Map<String,Serializable> workflowContext) |
AssetRenderer<T> getAssetRenderer(long classPK) throws PortalException
PortalException
AssetRendererFactory<T> getAssetRendererFactory()
String getClassName()
String getIconCssClass()
String getSummary(long classPK, PortletRequest portletRequest, PortletResponse portletResponse)
String getTitle(long classPK, Locale locale)
String getType(Locale locale)
PortletURL getURLEdit(long classPK, LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse)
String getURLEditWorkflowTask(long workflowTaskId, ServiceContext serviceContext) throws PortalException
PortalException
PortletURL getURLViewDiffs(long classPK, LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse)
String getURLViewInContext(long classPK, LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, String noSuchEntryRedirect)
WorkflowDefinitionLink getWorkflowDefinitionLink(long companyId, long groupId, long classPK) throws PortalException
PortalException
boolean include(long classPK, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String template)
boolean isAssetTypeSearchable()
boolean isScopeable()
boolean isVisible()
default boolean isVisible(Group group)
void startWorkflowInstance(long companyId, long groupId, long userId, long classPK, T model, Map<String,Serializable> workflowContext) throws PortalException
PortalException
T updateStatus(int status, Map<String,Serializable> workflowContext) throws PortalException
PortalException