com.liferay.portlet.workflow.service.impl
Class WorkflowDefinitionServiceImpl
java.lang.Object
com.liferay.portal.service.impl.PrincipalBean
com.liferay.portlet.workflow.service.impl.WorkflowDefinitionServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.workflow.service.WorkflowDefinitionService
- public class WorkflowDefinitionServiceImpl
- extends PrincipalBean
- implements com.liferay.portlet.workflow.service.WorkflowDefinitionService
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
com.liferay.portlet.workflow.model.WorkflowDefinition |
addDefinition(java.lang.String xml,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
com.liferay.portlet.workflow.model.WorkflowDefinition |
addDefinition(java.lang.String xml,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
com.liferay.portlet.workflow.model.WorkflowDefinition |
addDefinition(java.lang.String xml,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addDefinitionResources(com.liferay.portal.model.User user,
long definitionId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addDefinitionResources(com.liferay.portal.model.User user,
long definitionId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
com.liferay.portlet.workflow.model.WorkflowDefinition |
getDefinition(long definitionId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowDefinitionServiceImpl
public WorkflowDefinitionServiceImpl()
addDefinition
public com.liferay.portlet.workflow.model.WorkflowDefinition addDefinition(java.lang.String xml,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addDefinition
in interface com.liferay.portlet.workflow.service.WorkflowDefinitionService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addDefinition
public com.liferay.portlet.workflow.model.WorkflowDefinition addDefinition(java.lang.String xml,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addDefinition
in interface com.liferay.portlet.workflow.service.WorkflowDefinitionService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addDefinition
public com.liferay.portlet.workflow.model.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.PortalException,
com.liferay.portal.SystemException
- Specified by:
addDefinition
in interface com.liferay.portlet.workflow.service.WorkflowDefinitionService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addDefinitionResources
public void addDefinitionResources(com.liferay.portal.model.User user,
long definitionId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addDefinitionResources
in interface com.liferay.portlet.workflow.service.WorkflowDefinitionService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addDefinitionResources
public void addDefinitionResources(com.liferay.portal.model.User user,
long definitionId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addDefinitionResources
in interface com.liferay.portlet.workflow.service.WorkflowDefinitionService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getDefinition
public com.liferay.portlet.workflow.model.WorkflowDefinition getDefinition(long definitionId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getDefinition
in interface com.liferay.portlet.workflow.service.WorkflowDefinitionService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException