Class WorkflowMetricsSLADefinitionVersionLocalServiceWrapper

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

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

    • WorkflowMetricsSLADefinitionVersionLocalServiceWrapper

      public WorkflowMetricsSLADefinitionVersionLocalServiceWrapper()
    • WorkflowMetricsSLADefinitionVersionLocalServiceWrapper

      public WorkflowMetricsSLADefinitionVersionLocalServiceWrapper(WorkflowMetricsSLADefinitionVersionLocalService workflowMetricsSLADefinitionVersionLocalService)
  • Method Details

    • addWorkflowMetricsSLADefinitionVersion

      public WorkflowMetricsSLADefinitionVersion addWorkflowMetricsSLADefinitionVersion(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion)
      Adds the workflow metrics sla definition version to the database. Also notifies the appropriate model listeners.

      Important: Inspect WorkflowMetricsSLADefinitionVersionLocalServiceImpl 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:
      addWorkflowMetricsSLADefinitionVersion in interface WorkflowMetricsSLADefinitionVersionLocalService
      Parameters:
      workflowMetricsSLADefinitionVersion - the workflow metrics sla definition version
      Returns:
      the workflow metrics sla definition version 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 WorkflowMetricsSLADefinitionVersionLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • createWorkflowMetricsSLADefinitionVersion

      public WorkflowMetricsSLADefinitionVersion createWorkflowMetricsSLADefinitionVersion(long workflowMetricsSLADefinitionVersionId)
      Creates a new workflow metrics sla definition version with the primary key. Does not add the workflow metrics sla definition version to the database.
      Specified by:
      createWorkflowMetricsSLADefinitionVersion in interface WorkflowMetricsSLADefinitionVersionLocalService
      Parameters:
      workflowMetricsSLADefinitionVersionId - the primary key for the new workflow metrics sla definition version
      Returns:
      the new workflow metrics sla definition version
    • 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 WorkflowMetricsSLADefinitionVersionLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteWorkflowMetricsSLADefinitionVersion

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

      Important: Inspect WorkflowMetricsSLADefinitionVersionLocalServiceImpl 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:
      deleteWorkflowMetricsSLADefinitionVersion in interface WorkflowMetricsSLADefinitionVersionLocalService
      Parameters:
      workflowMetricsSLADefinitionVersionId - the primary key of the workflow metrics sla definition version
      Returns:
      the workflow metrics sla definition version that was removed
      Throws:
      PortalException - if a workflow metrics sla definition version with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteWorkflowMetricsSLADefinitionVersion

      public WorkflowMetricsSLADefinitionVersion deleteWorkflowMetricsSLADefinitionVersion(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion)
      Deletes the workflow metrics sla definition version from the database. Also notifies the appropriate model listeners.

      Important: Inspect WorkflowMetricsSLADefinitionVersionLocalServiceImpl 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:
      deleteWorkflowMetricsSLADefinitionVersion in interface WorkflowMetricsSLADefinitionVersionLocalService
      Parameters:
      workflowMetricsSLADefinitionVersion - the workflow metrics sla definition version
      Returns:
      the workflow metrics sla definition version 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 WorkflowMetricsSLADefinitionVersionLocalService
    • 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 WorkflowMetricsSLADefinitionVersionLocalService
    • dynamicQuery

      public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
      Specified by:
      dynamicQuery in interface WorkflowMetricsSLADefinitionVersionLocalService
    • 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 WorkflowMetricsSLADefinitionVersionLocalService
      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.WorkflowMetricsSLADefinitionVersionModelImpl.

      Specified by:
      dynamicQuery in interface WorkflowMetricsSLADefinitionVersionLocalService
      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.WorkflowMetricsSLADefinitionVersionModelImpl.

      Specified by:
      dynamicQuery in interface WorkflowMetricsSLADefinitionVersionLocalService
      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 WorkflowMetricsSLADefinitionVersionLocalService
      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 WorkflowMetricsSLADefinitionVersionLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchWorkflowMetricsSLADefinitionVersion

      public WorkflowMetricsSLADefinitionVersion fetchWorkflowMetricsSLADefinitionVersion(long workflowMetricsSLADefinitionVersionId)
      Specified by:
      fetchWorkflowMetricsSLADefinitionVersion in interface WorkflowMetricsSLADefinitionVersionLocalService
    • fetchWorkflowMetricsSLADefinitionVersionByUuidAndGroupId

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

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

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

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

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface WorkflowMetricsSLADefinitionVersionLocalService
      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 WorkflowMetricsSLADefinitionVersionLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • getWorkflowMetricsSLADefinitionVersion

      public WorkflowMetricsSLADefinitionVersion getWorkflowMetricsSLADefinitionVersion(long workflowMetricsSLADefinitionVersionId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the workflow metrics sla definition version with the primary key.
      Specified by:
      getWorkflowMetricsSLADefinitionVersion in interface WorkflowMetricsSLADefinitionVersionLocalService
      Parameters:
      workflowMetricsSLADefinitionVersionId - the primary key of the workflow metrics sla definition version
      Returns:
      the workflow metrics sla definition version
      Throws:
      PortalException - if a workflow metrics sla definition version with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getWorkflowMetricsSLADefinitionVersion

      public WorkflowMetricsSLADefinitionVersion getWorkflowMetricsSLADefinitionVersion(long workflowMetricsSLADefinitionId, String version) throws NoSuchSLADefinitionVersionException
      Specified by:
      getWorkflowMetricsSLADefinitionVersion in interface WorkflowMetricsSLADefinitionVersionLocalService
      Throws:
      NoSuchSLADefinitionVersionException
    • getWorkflowMetricsSLADefinitionVersionByUuidAndGroupId

      public WorkflowMetricsSLADefinitionVersion getWorkflowMetricsSLADefinitionVersionByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the workflow metrics sla definition version matching the UUID and group.
      Specified by:
      getWorkflowMetricsSLADefinitionVersionByUuidAndGroupId in interface WorkflowMetricsSLADefinitionVersionLocalService
      Parameters:
      uuid - the workflow metrics sla definition version's UUID
      groupId - the primary key of the group
      Returns:
      the matching workflow metrics sla definition version
      Throws:
      PortalException - if a matching workflow metrics sla definition version could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getWorkflowMetricsSLADefinitionVersions

      public List<WorkflowMetricsSLADefinitionVersion> getWorkflowMetricsSLADefinitionVersions(int start, int end)
      Returns a range of all the workflow metrics sla definition versions.

      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.WorkflowMetricsSLADefinitionVersionModelImpl.

      Specified by:
      getWorkflowMetricsSLADefinitionVersions in interface WorkflowMetricsSLADefinitionVersionLocalService
      Parameters:
      start - the lower bound of the range of workflow metrics sla definition versions
      end - the upper bound of the range of workflow metrics sla definition versions (not inclusive)
      Returns:
      the range of workflow metrics sla definition versions
    • getWorkflowMetricsSLADefinitionVersions

      public List<WorkflowMetricsSLADefinitionVersion> getWorkflowMetricsSLADefinitionVersions(long workflowMetricsSLADefinitionId)
      Specified by:
      getWorkflowMetricsSLADefinitionVersions in interface WorkflowMetricsSLADefinitionVersionLocalService
    • getWorkflowMetricsSLADefinitionVersions

      public List<WorkflowMetricsSLADefinitionVersion> getWorkflowMetricsSLADefinitionVersions(long companyId, Date createDate, Long processId, int status)
      Specified by:
      getWorkflowMetricsSLADefinitionVersions in interface WorkflowMetricsSLADefinitionVersionLocalService
    • getWorkflowMetricsSLADefinitionVersions

      public List<WorkflowMetricsSLADefinitionVersion> getWorkflowMetricsSLADefinitionVersions(long workflowMetricsSLADefinitionId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
      Specified by:
      getWorkflowMetricsSLADefinitionVersions in interface WorkflowMetricsSLADefinitionVersionLocalService
    • getWorkflowMetricsSLADefinitionVersionsByUuidAndCompanyId

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

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

      public int getWorkflowMetricsSLADefinitionVersionsCount()
      Returns the number of workflow metrics sla definition versions.
      Specified by:
      getWorkflowMetricsSLADefinitionVersionsCount in interface WorkflowMetricsSLADefinitionVersionLocalService
      Returns:
      the number of workflow metrics sla definition versions
    • updateWorkflowMetricsSLADefinitionVersion

      public WorkflowMetricsSLADefinitionVersion updateWorkflowMetricsSLADefinitionVersion(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion)
      Updates the workflow metrics sla definition version in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect WorkflowMetricsSLADefinitionVersionLocalServiceImpl 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:
      updateWorkflowMetricsSLADefinitionVersion in interface WorkflowMetricsSLADefinitionVersionLocalService
      Parameters:
      workflowMetricsSLADefinitionVersion - the workflow metrics sla definition version
      Returns:
      the workflow metrics sla definition version 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

      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<WorkflowMetricsSLADefinitionVersionLocalService>
    • setWrappedService

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