com.liferay.portlet.workflow.service
Interface WorkflowDefinitionService
- public interface WorkflowDefinitionService
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.WorkflowDefinitionServiceImpl
.
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:
WorkflowDefinitionServiceFactory
,
WorkflowDefinitionServiceUtil
Method Summary |
WorkflowDefinition |
addDefinition(java.lang.String xml,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
WorkflowDefinition |
addDefinition(java.lang.String xml,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
WorkflowDefinition |
addDefinition(java.lang.String xml,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addDefinitionResources(User user,
long definitionId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addDefinitionResources(User user,
long definitionId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
WorkflowDefinition |
getDefinition(long definitionId)
|
addDefinition
public WorkflowDefinition addDefinition(java.lang.String xml,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
java.rmi.RemoteException
addDefinition
public WorkflowDefinition addDefinition(java.lang.String xml,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
java.rmi.RemoteException
addDefinition
public WorkflowDefinition addDefinition(java.lang.String xml,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
java.rmi.RemoteException
addDefinitionResources
public void addDefinitionResources(User user,
long definitionId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
java.rmi.RemoteException
addDefinitionResources
public void addDefinitionResources(User user,
long definitionId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
java.rmi.RemoteException
getDefinition
public WorkflowDefinition getDefinition(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