com.liferay.portlet.workflow.service
Interface WorkflowInstanceService


public interface WorkflowInstanceService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.workflow.service.impl.WorkflowInstanceServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

Author:
Brian Wing Shun Chan
See Also:
WorkflowInstanceServiceFactory, WorkflowInstanceServiceUtil

Method Summary
 WorkflowInstance addInstance(long definitionId)
           
 void signalInstance(long instanceId)
           
 void signalToken(long instanceId, long tokenId)
           
 

Method Detail

addInstance

WorkflowInstance addInstance(long definitionId)
                             throws java.rmi.RemoteException,
                                    com.liferay.portal.SystemException,
                                    com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

signalInstance

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

signalToken

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