com.liferay.portlet.workflow.service.impl
Class WorkflowInstanceServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.impl.PrincipalBean
      extended by com.liferay.portlet.workflow.service.base.WorkflowInstanceServiceBaseImpl
          extended by com.liferay.portlet.workflow.service.impl.WorkflowInstanceServiceImpl
All Implemented Interfaces:
com.liferay.portlet.workflow.service.WorkflowInstanceService, org.springframework.beans.factory.InitializingBean

public class WorkflowInstanceServiceImpl
extends WorkflowInstanceServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portlet.workflow.service.base.WorkflowInstanceServiceBaseImpl
workflowComponentService, workflowDefinitionService, workflowTaskService
 
Fields inherited from class com.liferay.portal.service.impl.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
WorkflowInstanceServiceImpl()
           
 
Method Summary
 com.liferay.portlet.workflow.model.WorkflowInstance addInstance(long definitionId)
           
 void signalInstance(long instanceId)
           
 void signalToken(long instanceId, long tokenId)
           
 
Methods inherited from class com.liferay.portlet.workflow.service.base.WorkflowInstanceServiceBaseImpl
afterPropertiesSet, getWorkflowComponentService, getWorkflowDefinitionService, getWorkflowTaskService, setWorkflowComponentService, setWorkflowDefinitionService, setWorkflowTaskService
 
Methods inherited from class com.liferay.portal.service.impl.PrincipalBean
getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowInstanceServiceImpl

public WorkflowInstanceServiceImpl()
Method Detail

addInstance

public com.liferay.portlet.workflow.model.WorkflowInstance addInstance(long definitionId)
                                                                throws com.liferay.portal.PortalException,
                                                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

signalInstance

public void signalInstance(long instanceId)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

signalToken

public void signalToken(long instanceId,
                        long tokenId)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException