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:
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
WorkflowDefinition addDefinition(java.lang.String xml,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws java.rmi.RemoteException,
com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addDefinition
WorkflowDefinition addDefinition(java.lang.String xml,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws java.rmi.RemoteException,
com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addDefinition
WorkflowDefinition addDefinition(java.lang.String xml,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws java.rmi.RemoteException,
com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addDefinitionResources
void addDefinitionResources(User user,
long definitionId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws java.rmi.RemoteException,
com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addDefinitionResources
void addDefinitionResources(User user,
long definitionId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws java.rmi.RemoteException,
com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getDefinition
WorkflowDefinition getDefinition(long definitionId)
throws java.rmi.RemoteException,
com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException