public interface WorkflowHandler<T>
Modifier and Type | Method and Description |
---|---|
AssetRenderer<T> |
getAssetRenderer(long classPK) |
AssetRendererFactory<T> |
getAssetRendererFactory() |
String |
getClassName() |
String |
getIconCssClass() |
String |
getIconPath(LiferayPortletRequest liferayPortletRequest)
Deprecated.
As of 7.0.0, with no direct replacement
|
String |
getSummary(long classPK,
Locale locale)
Deprecated.
As of 7.0.0, replaced by
getSummary(long,
PortletRequest, PortletResponse) |
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 request,
javax.servlet.http.HttpServletResponse response,
String template) |
boolean |
isAssetTypeSearchable() |
boolean |
isScopeable() |
boolean |
isVisible() |
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()
@Deprecated String getIconPath(LiferayPortletRequest liferayPortletRequest)
@Deprecated String getSummary(long classPK, Locale locale)
getSummary(long,
PortletRequest, PortletResponse)
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 request, javax.servlet.http.HttpServletResponse response, String template)
boolean isAssetTypeSearchable()
boolean isScopeable()
boolean isVisible()
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