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

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

signalInstance

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

signalToken

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