Class WorkflowInstanceLinkLocalServiceImpl

Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portal.service.base.WorkflowInstanceLinkLocalServiceBaseImpl
com.liferay.portal.service.impl.WorkflowInstanceLinkLocalServiceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.portal.kernel.model.WorkflowInstanceLink>, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.WorkflowInstanceLinkLocalService

public class WorkflowInstanceLinkLocalServiceImpl extends WorkflowInstanceLinkLocalServiceBaseImpl
Author:
Brian Wing Shun Chan, Bruno Farache, Marcellus Tavares
  • Constructor Details

    • WorkflowInstanceLinkLocalServiceImpl

      public WorkflowInstanceLinkLocalServiceImpl()
  • Method Details

    • addWorkflowInstanceLink

      public com.liferay.portal.kernel.model.WorkflowInstanceLink addWorkflowInstanceLink(long userId, long companyId, long groupId, String className, long classPK, long workflowInstanceId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteWorkflowInstanceLink

      public com.liferay.portal.kernel.model.WorkflowInstanceLink deleteWorkflowInstanceLink(long workflowInstanceLinkId) throws com.liferay.portal.kernel.exception.PortalException
      Description copied from class: WorkflowInstanceLinkLocalServiceBaseImpl
      Deletes the workflow instance link with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect WorkflowInstanceLinkLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      deleteWorkflowInstanceLink in interface com.liferay.portal.kernel.service.WorkflowInstanceLinkLocalService
      Overrides:
      deleteWorkflowInstanceLink in class WorkflowInstanceLinkLocalServiceBaseImpl
      Parameters:
      workflowInstanceLinkId - the primary key of the workflow instance link
      Returns:
      the workflow instance link that was removed
      Throws:
      com.liferay.portal.kernel.exception.PortalException - if a workflow instance link with the primary key could not be found
    • deleteWorkflowInstanceLink

      public com.liferay.portal.kernel.model.WorkflowInstanceLink deleteWorkflowInstanceLink(long companyId, long groupId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteWorkflowInstanceLink

      @SystemEvent(type=1) public com.liferay.portal.kernel.model.WorkflowInstanceLink deleteWorkflowInstanceLink(com.liferay.portal.kernel.model.WorkflowInstanceLink workflowInstanceLink) throws com.liferay.portal.kernel.exception.PortalException
      Description copied from class: WorkflowInstanceLinkLocalServiceBaseImpl
      Deletes the workflow instance link from the database. Also notifies the appropriate model listeners.

      Important: Inspect WorkflowInstanceLinkLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      deleteWorkflowInstanceLink in interface com.liferay.portal.kernel.service.WorkflowInstanceLinkLocalService
      Overrides:
      deleteWorkflowInstanceLink in class WorkflowInstanceLinkLocalServiceBaseImpl
      Parameters:
      workflowInstanceLink - the workflow instance link
      Returns:
      the workflow instance link that was removed
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteWorkflowInstanceLinks

      public void deleteWorkflowInstanceLinks(long companyId, long groupId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchWorkflowInstanceLink

      public com.liferay.portal.kernel.model.WorkflowInstanceLink fetchWorkflowInstanceLink(long companyId, long groupId, String className, long classPK)
    • getState

      public String getState(long companyId, long groupId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWorkflowInstanceLink

      public com.liferay.portal.kernel.model.WorkflowInstanceLink getWorkflowInstanceLink(long companyId, long groupId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWorkflowInstanceLinks

      public List<com.liferay.portal.kernel.model.WorkflowInstanceLink> getWorkflowInstanceLinks(long companyId, long groupId, String className, long classPK)
    • hasWorkflowInstanceLink

      public boolean hasWorkflowInstanceLink(long companyId, long groupId, String className, long classPK)
    • isEnded

      public boolean isEnded(long companyId, long groupId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • startWorkflowInstance

      public void startWorkflowInstance(long companyId, long groupId, long userId, String className, long classPK, Map<String,Serializable> workflowContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • startWorkflowInstance

      public void startWorkflowInstance(long companyId, long groupId, long userId, String className, long classPK, Map<String,Serializable> workflowContext, boolean waitForCompletion) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateClassPK

      public void updateClassPK(long companyId, long groupId, String className, long oldClassPK, long newClassPK) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException