Liferay 6.2-ce-ga5

com.liferay.portal.kernel.workflow
Interface WorkflowHandler

All Known Implementing Classes:
BaseWorkflowHandler

public interface WorkflowHandler


Method Summary
 AssetRenderer getAssetRenderer(long classPK)
           
 AssetRendererFactory getAssetRendererFactory()
           
 String getClassName()
           
 String getIconPath(LiferayPortletRequest liferayPortletRequest)
           
 String getSummary(long classPK, Locale locale)
           
 String getTitle(long classPK, Locale locale)
           
 String getType(Locale locale)
           
 PortletURL getURLEdit(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 isAssetTypeSearchable()
           
 boolean isScopeable()
           
 boolean isVisible()
           
 String render(long classPK, RenderRequest renderRequest, RenderResponse renderResponse, String template)
           
 void startWorkflowInstance(long companyId, long groupId, long userId, long classPK, Object model, Map<String,Serializable> workflowContext)
           
 Object updateStatus(int status, Map<String,Serializable> workflowContext)
           
 

Method Detail

getAssetRenderer

AssetRenderer getAssetRenderer(long classPK)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

getAssetRendererFactory

AssetRendererFactory getAssetRendererFactory()

getClassName

String getClassName()

getIconPath

String getIconPath(LiferayPortletRequest liferayPortletRequest)

getSummary

String getSummary(long classPK,
                  Locale locale)

getTitle

String getTitle(long classPK,
                Locale locale)

getType

String getType(Locale locale)

getURLEdit

PortletURL getURLEdit(long classPK,
                      LiferayPortletRequest liferayPortletRequest,
                      LiferayPortletResponse liferayPortletResponse)

getURLViewInContext

String getURLViewInContext(long classPK,
                           LiferayPortletRequest liferayPortletRequest,
                           LiferayPortletResponse liferayPortletResponse,
                           String noSuchEntryRedirect)

getWorkflowDefinitionLink

WorkflowDefinitionLink getWorkflowDefinitionLink(long companyId,
                                                 long groupId,
                                                 long classPK)
                                                 throws PortalException,
                                                        SystemException
Throws:
PortalException
SystemException

isAssetTypeSearchable

boolean isAssetTypeSearchable()

isScopeable

boolean isScopeable()

isVisible

boolean isVisible()

render

String render(long classPK,
              RenderRequest renderRequest,
              RenderResponse renderResponse,
              String template)

startWorkflowInstance

void startWorkflowInstance(long companyId,
                           long groupId,
                           long userId,
                           long classPK,
                           Object model,
                           Map<String,Serializable> workflowContext)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

updateStatus

Object updateStatus(int status,
                    Map<String,Serializable> workflowContext)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

Liferay 6.2-ce-ga5