Class WorkflowMetricsSLADefinitionLocalServiceWrapper

java.lang.Object
com.liferay.portal.workflow.metrics.service.WorkflowMetricsSLADefinitionLocalServiceWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<WorkflowMetricsSLADefinitionLocalService>, WorkflowMetricsSLADefinitionLocalService

public class WorkflowMetricsSLADefinitionLocalServiceWrapper extends Object implements com.liferay.portal.kernel.service.ServiceWrapper<WorkflowMetricsSLADefinitionLocalService>, WorkflowMetricsSLADefinitionLocalService
See Also:
Generated:
  • Constructor Details

    • WorkflowMetricsSLADefinitionLocalServiceWrapper

      public WorkflowMetricsSLADefinitionLocalServiceWrapper()
    • WorkflowMetricsSLADefinitionLocalServiceWrapper

      public WorkflowMetricsSLADefinitionLocalServiceWrapper(WorkflowMetricsSLADefinitionLocalService workflowMetricsSLADefinitionLocalService)
  • Method Details

    • addWorkflowMetricsSLADefinition

      public WorkflowMetricsSLADefinition addWorkflowMetricsSLADefinition(String calendarKey, String description, long duration, String name, String[] pauseNodeKeys, long processId, String[] startNodeKeys, String[] stopNodeKeys, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addWorkflowMetricsSLADefinition

      public WorkflowMetricsSLADefinition addWorkflowMetricsSLADefinition(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
      Adds the workflow metrics sla definition to the database. Also notifies the appropriate model listeners.

      Important: Inspect WorkflowMetricsSLADefinitionLocalServiceImpl 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:
      addWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalService
      Parameters:
      workflowMetricsSLADefinition - the workflow metrics sla definition
      Returns:
      the workflow metrics sla definition that was added
    • createPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Specified by:
      createPersistedModel in interface WorkflowMetricsSLADefinitionLocalService
    • createWorkflowMetricsSLADefinition

      public WorkflowMetricsSLADefinition createWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId)
      Creates a new workflow metrics sla definition with the primary key. Does not add the workflow metrics sla definition to the database.
      Specified by:
      createWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalService
      Parameters:
      workflowMetricsSLADefinitionId - the primary key for the new workflow metrics sla definition
      Returns:
      the new workflow metrics sla definition
    • deactivateWorkflowMetricsSLADefinition

      public void deactivateWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deactivateWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deletePersistedModel

      public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Specified by:
      deletePersistedModel in interface WorkflowMetricsSLADefinitionLocalService
    • deleteWorkflowMetricsSLADefinition

      public WorkflowMetricsSLADefinition deleteWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the workflow metrics sla definition with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect WorkflowMetricsSLADefinitionLocalServiceImpl 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:
      deleteWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalService
      Parameters:
      workflowMetricsSLADefinitionId - the primary key of the workflow metrics sla definition
      Returns:
      the workflow metrics sla definition that was removed
    • deleteWorkflowMetricsSLADefinition

      public WorkflowMetricsSLADefinition deleteWorkflowMetricsSLADefinition(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
      Deletes the workflow metrics sla definition from the database. Also notifies the appropriate model listeners.

      Important: Inspect WorkflowMetricsSLADefinitionLocalServiceImpl 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:
      deleteWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalService
      Parameters:
      workflowMetricsSLADefinition - the workflow metrics sla definition
      Returns:
      the workflow metrics sla definition that was removed
    • dslQuery

      public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Specified by:
      dslQuery in interface WorkflowMetricsSLADefinitionLocalService
    • dslQueryCount

      public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Specified by:
      dslQueryCount in interface WorkflowMetricsSLADefinitionLocalService
    • dynamicQuery

      public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
      Specified by:
      dynamicQuery in interface WorkflowMetricsSLADefinitionLocalService
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Performs a dynamic query on the database and returns the matching rows.
      Specified by:
      dynamicQuery in interface WorkflowMetricsSLADefinitionLocalService
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the matching rows
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      Performs a dynamic query on the database and returns a range of the matching rows.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.portal.workflow.metrics.model.impl.WorkflowMetricsSLADefinitionModelImpl.

      Specified by:
      dynamicQuery in interface WorkflowMetricsSLADefinitionLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      Returns:
      the range of matching rows
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
      Performs a dynamic query on the database and returns an ordered range of the matching rows.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.portal.workflow.metrics.model.impl.WorkflowMetricsSLADefinitionModelImpl.

      Specified by:
      dynamicQuery in interface WorkflowMetricsSLADefinitionLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching rows
    • dynamicQueryCount

      public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Returns the number of rows matching the dynamic query.
      Specified by:
      dynamicQueryCount in interface WorkflowMetricsSLADefinitionLocalService
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the number of rows matching the dynamic query
    • dynamicQueryCount

      public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
      Returns the number of rows matching the dynamic query.
      Specified by:
      dynamicQueryCount in interface WorkflowMetricsSLADefinitionLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchWorkflowMetricsSLADefinition

      public WorkflowMetricsSLADefinition fetchWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId)
      Specified by:
      fetchWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalService
    • fetchWorkflowMetricsSLADefinitionByUuidAndGroupId

      public WorkflowMetricsSLADefinition fetchWorkflowMetricsSLADefinitionByUuidAndGroupId(String uuid, long groupId)
      Returns the workflow metrics sla definition matching the UUID and group.
      Specified by:
      fetchWorkflowMetricsSLADefinitionByUuidAndGroupId in interface WorkflowMetricsSLADefinitionLocalService
      Parameters:
      uuid - the workflow metrics sla definition's UUID
      groupId - the primary key of the group
      Returns:
      the matching workflow metrics sla definition, or null if a matching workflow metrics sla definition could not be found
    • getActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
      Specified by:
      getActionableDynamicQuery in interface WorkflowMetricsSLADefinitionLocalService
    • getExportActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
      Specified by:
      getExportActionableDynamicQuery in interface WorkflowMetricsSLADefinitionLocalService
    • getIndexableActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
      Specified by:
      getIndexableActionableDynamicQuery in interface WorkflowMetricsSLADefinitionLocalService
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface WorkflowMetricsSLADefinitionLocalService
      Returns:
      the OSGi service identifier
    • getPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Specified by:
      getPersistedModel in interface WorkflowMetricsSLADefinitionLocalService
    • getWorkflowMetricsSLADefinition

      public WorkflowMetricsSLADefinition getWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the workflow metrics sla definition with the primary key.
      Specified by:
      getWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalService
      Parameters:
      workflowMetricsSLADefinitionId - the primary key of the workflow metrics sla definition
      Returns:
      the workflow metrics sla definition
    • getWorkflowMetricsSLADefinition

      public WorkflowMetricsSLADefinition getWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWorkflowMetricsSLADefinitionByUuidAndGroupId

      public WorkflowMetricsSLADefinition getWorkflowMetricsSLADefinitionByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the workflow metrics sla definition matching the UUID and group.
      Specified by:
      getWorkflowMetricsSLADefinitionByUuidAndGroupId in interface WorkflowMetricsSLADefinitionLocalService
      Parameters:
      uuid - the workflow metrics sla definition's UUID
      groupId - the primary key of the group
      Returns:
      the matching workflow metrics sla definition
    • getWorkflowMetricsSLADefinitions

      public List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitions(int start, int end)
      Returns a range of all the workflow metrics sla definitions.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.portal.workflow.metrics.model.impl.WorkflowMetricsSLADefinitionModelImpl.

      Specified by:
      getWorkflowMetricsSLADefinitions in interface WorkflowMetricsSLADefinitionLocalService
      Parameters:
      start - the lower bound of the range of workflow metrics sla definitions
      end - the upper bound of the range of workflow metrics sla definitions (not inclusive)
      Returns:
      the range of workflow metrics sla definitions
    • getWorkflowMetricsSLADefinitions

      public List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitions(long companyId, boolean active, long processId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Specified by:
      getWorkflowMetricsSLADefinitions in interface WorkflowMetricsSLADefinitionLocalService
    • getWorkflowMetricsSLADefinitions

      public List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitions(long companyId, boolean active, long processId, String processVersion, int status)
      Specified by:
      getWorkflowMetricsSLADefinitions in interface WorkflowMetricsSLADefinitionLocalService
    • getWorkflowMetricsSLADefinitions

      public List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitions(long companyId, int status)
      Specified by:
      getWorkflowMetricsSLADefinitions in interface WorkflowMetricsSLADefinitionLocalService
    • getWorkflowMetricsSLADefinitions

      public List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitions(long companyId, String name, long processId)
      Specified by:
      getWorkflowMetricsSLADefinitions in interface WorkflowMetricsSLADefinitionLocalService
    • getWorkflowMetricsSLADefinitionsByUuidAndCompanyId

      public List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitionsByUuidAndCompanyId(String uuid, long companyId)
      Returns all the workflow metrics sla definitions matching the UUID and company.
      Specified by:
      getWorkflowMetricsSLADefinitionsByUuidAndCompanyId in interface WorkflowMetricsSLADefinitionLocalService
      Parameters:
      uuid - the UUID of the workflow metrics sla definitions
      companyId - the primary key of the company
      Returns:
      the matching workflow metrics sla definitions, or an empty list if no matches were found
    • getWorkflowMetricsSLADefinitionsByUuidAndCompanyId

      public List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitionsByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns a range of workflow metrics sla definitions matching the UUID and company.
      Specified by:
      getWorkflowMetricsSLADefinitionsByUuidAndCompanyId in interface WorkflowMetricsSLADefinitionLocalService
      Parameters:
      uuid - the UUID of the workflow metrics sla definitions
      companyId - the primary key of the company
      start - the lower bound of the range of workflow metrics sla definitions
      end - the upper bound of the range of workflow metrics sla definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the range of matching workflow metrics sla definitions, or an empty list if no matches were found
    • getWorkflowMetricsSLADefinitionsCount

      public int getWorkflowMetricsSLADefinitionsCount()
      Returns the number of workflow metrics sla definitions.
      Specified by:
      getWorkflowMetricsSLADefinitionsCount in interface WorkflowMetricsSLADefinitionLocalService
      Returns:
      the number of workflow metrics sla definitions
    • getWorkflowMetricsSLADefinitionsCount

      public int getWorkflowMetricsSLADefinitionsCount(long companyId, boolean active, long processId)
      Specified by:
      getWorkflowMetricsSLADefinitionsCount in interface WorkflowMetricsSLADefinitionLocalService
    • getWorkflowMetricsSLADefinitionsCount

      public int getWorkflowMetricsSLADefinitionsCount(long companyId, boolean active, long processId, int status)
      Specified by:
      getWorkflowMetricsSLADefinitionsCount in interface WorkflowMetricsSLADefinitionLocalService
    • updateWorkflowMetricsSLADefinition

      public WorkflowMetricsSLADefinition updateWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId, String calendarKey, String description, long duration, String name, String[] pauseNodeKeys, String[] startNodeKeys, String[] stopNodeKeys, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateWorkflowMetricsSLADefinition

      public WorkflowMetricsSLADefinition updateWorkflowMetricsSLADefinition(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
      Updates the workflow metrics sla definition in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect WorkflowMetricsSLADefinitionLocalServiceImpl 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:
      updateWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalService
      Parameters:
      workflowMetricsSLADefinition - the workflow metrics sla definition
      Returns:
      the workflow metrics sla definition that was updated
    • getBasePersistence

      public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
      Specified by:
      getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • getWrappedService

      public WorkflowMetricsSLADefinitionLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<WorkflowMetricsSLADefinitionLocalService>
    • setWrappedService

      public void setWrappedService(WorkflowMetricsSLADefinitionLocalService workflowMetricsSLADefinitionLocalService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<WorkflowMetricsSLADefinitionLocalService>