Interface WorkflowMetricsSLADefinitionVersionPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<WorkflowMetricsSLADefinitionVersion>

@ProviderType public interface WorkflowMetricsSLADefinitionVersionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<WorkflowMetricsSLADefinitionVersion>
The persistence interface for the workflow metrics sla definition version service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      Returns all the workflow metrics sla definition versions where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching workflow metrics sla definition versions
    • findByUuid

      List<WorkflowMetricsSLADefinitionVersion> findByUuid(String uuid, int start, int end)
      Returns a range of all the workflow metrics sla definition versions where uuid = ?.

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

      Parameters:
      uuid - the uuid
      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 matching workflow metrics sla definition versions
    • findByUuid

      List<WorkflowMetricsSLADefinitionVersion> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
      Returns an ordered range of all the workflow metrics sla definition versions where uuid = ?.

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

      Parameters:
      uuid - the uuid
      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 ordered range of matching workflow metrics sla definition versions
    • findByUuid

      List<WorkflowMetricsSLADefinitionVersion> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the workflow metrics sla definition versions where uuid = ?.

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

      Parameters:
      uuid - the uuid
      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)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching workflow metrics sla definition versions
    • findByUuid_First

      WorkflowMetricsSLADefinitionVersion findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException
      Returns the first workflow metrics sla definition version in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching workflow metrics sla definition version
      Throws:
      NoSuchSLADefinitionVersionException - if a matching workflow metrics sla definition version could not be found
    • fetchByUuid_First

      WorkflowMetricsSLADefinitionVersion fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
      Returns the first workflow metrics sla definition version in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching workflow metrics sla definition version, or null if a matching workflow metrics sla definition version could not be found
    • findByUuid_Last

      WorkflowMetricsSLADefinitionVersion findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException
      Returns the last workflow metrics sla definition version in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching workflow metrics sla definition version
      Throws:
      NoSuchSLADefinitionVersionException - if a matching workflow metrics sla definition version could not be found
    • fetchByUuid_Last

      WorkflowMetricsSLADefinitionVersion fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
      Returns the last workflow metrics sla definition version in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching workflow metrics sla definition version, or null if a matching workflow metrics sla definition version could not be found
    • findByUuid_PrevAndNext

      WorkflowMetricsSLADefinitionVersion[] findByUuid_PrevAndNext(long workflowMetricsSLADefinitionVersionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException
      Returns the workflow metrics sla definition versions before and after the current workflow metrics sla definition version in the ordered set where uuid = ?.
      Parameters:
      workflowMetricsSLADefinitionVersionId - the primary key of the current workflow metrics sla definition version
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next workflow metrics sla definition version
      Throws:
      NoSuchSLADefinitionVersionException - if a workflow metrics sla definition version with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the workflow metrics sla definition versions where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of workflow metrics sla definition versions where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching workflow metrics sla definition versions
    • findByUUID_G

      Returns the workflow metrics sla definition version where uuid = ? and groupId = ? or throws a NoSuchSLADefinitionVersionException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching workflow metrics sla definition version
      Throws:
      NoSuchSLADefinitionVersionException - if a matching workflow metrics sla definition version could not be found
    • fetchByUUID_G

      WorkflowMetricsSLADefinitionVersion fetchByUUID_G(String uuid, long groupId)
      Returns the workflow metrics sla definition version where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching workflow metrics sla definition version, or null if a matching workflow metrics sla definition version could not be found
    • fetchByUUID_G

      WorkflowMetricsSLADefinitionVersion fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the workflow metrics sla definition version where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching workflow metrics sla definition version, or null if a matching workflow metrics sla definition version could not be found
    • removeByUUID_G

      Removes the workflow metrics sla definition version where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the workflow metrics sla definition version that was removed
      Throws:
      NoSuchSLADefinitionVersionException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Returns the number of workflow metrics sla definition versions where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching workflow metrics sla definition versions
    • findByUuid_C

      List<WorkflowMetricsSLADefinitionVersion> findByUuid_C(String uuid, long companyId)
      Returns all the workflow metrics sla definition versions where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching workflow metrics sla definition versions
    • findByUuid_C

      List<WorkflowMetricsSLADefinitionVersion> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the workflow metrics sla definition versions where uuid = ? and companyId = ?.

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

      Parameters:
      uuid - the uuid
      companyId - the company ID
      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 matching workflow metrics sla definition versions
    • findByUuid_C

      List<WorkflowMetricsSLADefinitionVersion> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
      Returns an ordered range of all the workflow metrics sla definition versions where uuid = ? and companyId = ?.

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

      Parameters:
      uuid - the uuid
      companyId - the company ID
      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 ordered range of matching workflow metrics sla definition versions
    • findByUuid_C

      List<WorkflowMetricsSLADefinitionVersion> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the workflow metrics sla definition versions where uuid = ? and companyId = ?.

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

      Parameters:
      uuid - the uuid
      companyId - the company ID
      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)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching workflow metrics sla definition versions
    • findByUuid_C_First

      WorkflowMetricsSLADefinitionVersion findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException
      Returns the first workflow metrics sla definition version in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching workflow metrics sla definition version
      Throws:
      NoSuchSLADefinitionVersionException - if a matching workflow metrics sla definition version could not be found
    • fetchByUuid_C_First

      WorkflowMetricsSLADefinitionVersion fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
      Returns the first workflow metrics sla definition version in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching workflow metrics sla definition version, or null if a matching workflow metrics sla definition version could not be found
    • findByUuid_C_Last

      WorkflowMetricsSLADefinitionVersion findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException
      Returns the last workflow metrics sla definition version in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching workflow metrics sla definition version
      Throws:
      NoSuchSLADefinitionVersionException - if a matching workflow metrics sla definition version could not be found
    • fetchByUuid_C_Last

      WorkflowMetricsSLADefinitionVersion fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
      Returns the last workflow metrics sla definition version in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching workflow metrics sla definition version, or null if a matching workflow metrics sla definition version could not be found
    • findByUuid_C_PrevAndNext

      WorkflowMetricsSLADefinitionVersion[] findByUuid_C_PrevAndNext(long workflowMetricsSLADefinitionVersionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException
      Returns the workflow metrics sla definition versions before and after the current workflow metrics sla definition version in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      workflowMetricsSLADefinitionVersionId - the primary key of the current workflow metrics sla definition version
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next workflow metrics sla definition version
      Throws:
      NoSuchSLADefinitionVersionException - if a workflow metrics sla definition version with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the workflow metrics sla definition versions where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of workflow metrics sla definition versions where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching workflow metrics sla definition versions
    • findByWorkflowMetricsSLADefinitionId

      List<WorkflowMetricsSLADefinitionVersion> findByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId)
      Returns all the workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ?.
      Parameters:
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      Returns:
      the matching workflow metrics sla definition versions
    • findByWorkflowMetricsSLADefinitionId

      List<WorkflowMetricsSLADefinitionVersion> findByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId, int start, int end)
      Returns a range of all the workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ?.

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

      Parameters:
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      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 matching workflow metrics sla definition versions
    • findByWorkflowMetricsSLADefinitionId

      List<WorkflowMetricsSLADefinitionVersion> findByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
      Returns an ordered range of all the workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ?.

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

      Parameters:
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      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 ordered range of matching workflow metrics sla definition versions
    • findByWorkflowMetricsSLADefinitionId

      List<WorkflowMetricsSLADefinitionVersion> findByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ?.

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

      Parameters:
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      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)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching workflow metrics sla definition versions
    • findByWorkflowMetricsSLADefinitionId_First

      WorkflowMetricsSLADefinitionVersion findByWorkflowMetricsSLADefinitionId_First(long workflowMetricsSLADefinitionId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException
      Returns the first workflow metrics sla definition version in the ordered set where workflowMetricsSLADefinitionId = ?.
      Parameters:
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching workflow metrics sla definition version
      Throws:
      NoSuchSLADefinitionVersionException - if a matching workflow metrics sla definition version could not be found
    • fetchByWorkflowMetricsSLADefinitionId_First

      WorkflowMetricsSLADefinitionVersion fetchByWorkflowMetricsSLADefinitionId_First(long workflowMetricsSLADefinitionId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
      Returns the first workflow metrics sla definition version in the ordered set where workflowMetricsSLADefinitionId = ?.
      Parameters:
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching workflow metrics sla definition version, or null if a matching workflow metrics sla definition version could not be found
    • findByWorkflowMetricsSLADefinitionId_Last

      WorkflowMetricsSLADefinitionVersion findByWorkflowMetricsSLADefinitionId_Last(long workflowMetricsSLADefinitionId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException
      Returns the last workflow metrics sla definition version in the ordered set where workflowMetricsSLADefinitionId = ?.
      Parameters:
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching workflow metrics sla definition version
      Throws:
      NoSuchSLADefinitionVersionException - if a matching workflow metrics sla definition version could not be found
    • fetchByWorkflowMetricsSLADefinitionId_Last

      WorkflowMetricsSLADefinitionVersion fetchByWorkflowMetricsSLADefinitionId_Last(long workflowMetricsSLADefinitionId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
      Returns the last workflow metrics sla definition version in the ordered set where workflowMetricsSLADefinitionId = ?.
      Parameters:
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching workflow metrics sla definition version, or null if a matching workflow metrics sla definition version could not be found
    • findByWorkflowMetricsSLADefinitionId_PrevAndNext

      WorkflowMetricsSLADefinitionVersion[] findByWorkflowMetricsSLADefinitionId_PrevAndNext(long workflowMetricsSLADefinitionVersionId, long workflowMetricsSLADefinitionId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException
      Returns the workflow metrics sla definition versions before and after the current workflow metrics sla definition version in the ordered set where workflowMetricsSLADefinitionId = ?.
      Parameters:
      workflowMetricsSLADefinitionVersionId - the primary key of the current workflow metrics sla definition version
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next workflow metrics sla definition version
      Throws:
      NoSuchSLADefinitionVersionException - if a workflow metrics sla definition version with the primary key could not be found
    • removeByWorkflowMetricsSLADefinitionId

      void removeByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId)
      Removes all the workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ? from the database.
      Parameters:
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
    • countByWorkflowMetricsSLADefinitionId

      int countByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId)
      Returns the number of workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ?.
      Parameters:
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      Returns:
      the number of matching workflow metrics sla definition versions
    • findByV_WMSLAD

      WorkflowMetricsSLADefinitionVersion findByV_WMSLAD(String version, long workflowMetricsSLADefinitionId) throws NoSuchSLADefinitionVersionException
      Returns the workflow metrics sla definition version where version = ? and workflowMetricsSLADefinitionId = ? or throws a NoSuchSLADefinitionVersionException if it could not be found.
      Parameters:
      version - the version
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      Returns:
      the matching workflow metrics sla definition version
      Throws:
      NoSuchSLADefinitionVersionException - if a matching workflow metrics sla definition version could not be found
    • fetchByV_WMSLAD

      WorkflowMetricsSLADefinitionVersion fetchByV_WMSLAD(String version, long workflowMetricsSLADefinitionId)
      Returns the workflow metrics sla definition version where version = ? and workflowMetricsSLADefinitionId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      version - the version
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      Returns:
      the matching workflow metrics sla definition version, or null if a matching workflow metrics sla definition version could not be found
    • fetchByV_WMSLAD

      WorkflowMetricsSLADefinitionVersion fetchByV_WMSLAD(String version, long workflowMetricsSLADefinitionId, boolean useFinderCache)
      Returns the workflow metrics sla definition version where version = ? and workflowMetricsSLADefinitionId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      version - the version
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching workflow metrics sla definition version, or null if a matching workflow metrics sla definition version could not be found
    • removeByV_WMSLAD

      WorkflowMetricsSLADefinitionVersion removeByV_WMSLAD(String version, long workflowMetricsSLADefinitionId) throws NoSuchSLADefinitionVersionException
      Removes the workflow metrics sla definition version where version = ? and workflowMetricsSLADefinitionId = ? from the database.
      Parameters:
      version - the version
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      Returns:
      the workflow metrics sla definition version that was removed
      Throws:
      NoSuchSLADefinitionVersionException
    • countByV_WMSLAD

      int countByV_WMSLAD(String version, long workflowMetricsSLADefinitionId)
      Returns the number of workflow metrics sla definition versions where version = ? and workflowMetricsSLADefinitionId = ?.
      Parameters:
      version - the version
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      Returns:
      the number of matching workflow metrics sla definition versions
    • cacheResult

      void cacheResult(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion)
      Caches the workflow metrics sla definition version in the entity cache if it is enabled.
      Parameters:
      workflowMetricsSLADefinitionVersion - the workflow metrics sla definition version
    • cacheResult

      void cacheResult(List<WorkflowMetricsSLADefinitionVersion> workflowMetricsSLADefinitionVersions)
      Caches the workflow metrics sla definition versions in the entity cache if it is enabled.
      Parameters:
      workflowMetricsSLADefinitionVersions - the workflow metrics sla definition versions
    • create

      WorkflowMetricsSLADefinitionVersion create(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.
      Parameters:
      workflowMetricsSLADefinitionVersionId - the primary key for the new workflow metrics sla definition version
      Returns:
      the new workflow metrics sla definition version
    • remove

      WorkflowMetricsSLADefinitionVersion remove(long workflowMetricsSLADefinitionVersionId) throws NoSuchSLADefinitionVersionException
      Removes the workflow metrics sla definition version with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      workflowMetricsSLADefinitionVersionId - the primary key of the workflow metrics sla definition version
      Returns:
      the workflow metrics sla definition version that was removed
      Throws:
      NoSuchSLADefinitionVersionException - if a workflow metrics sla definition version with the primary key could not be found
    • updateImpl

      WorkflowMetricsSLADefinitionVersion updateImpl(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion)
    • findByPrimaryKey

      WorkflowMetricsSLADefinitionVersion findByPrimaryKey(long workflowMetricsSLADefinitionVersionId) throws NoSuchSLADefinitionVersionException
      Returns the workflow metrics sla definition version with the primary key or throws a NoSuchSLADefinitionVersionException if it could not be found.
      Parameters:
      workflowMetricsSLADefinitionVersionId - the primary key of the workflow metrics sla definition version
      Returns:
      the workflow metrics sla definition version
      Throws:
      NoSuchSLADefinitionVersionException - if a workflow metrics sla definition version with the primary key could not be found
    • fetchByPrimaryKey

      WorkflowMetricsSLADefinitionVersion fetchByPrimaryKey(long workflowMetricsSLADefinitionVersionId)
      Returns the workflow metrics sla definition version with the primary key or returns null if it could not be found.
      Parameters:
      workflowMetricsSLADefinitionVersionId - the primary key of the workflow metrics sla definition version
      Returns:
      the workflow metrics sla definition version, or null if a workflow metrics sla definition version with the primary key could not be found
    • findAll

      Returns all the workflow metrics sla definition versions.
      Returns:
      the workflow metrics sla definition versions
    • findAll

      List<WorkflowMetricsSLADefinitionVersion> findAll(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 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 WorkflowMetricsSLADefinitionVersionModelImpl.

      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
    • findAll

      List<WorkflowMetricsSLADefinitionVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
      Returns an ordered 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 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 WorkflowMetricsSLADefinitionVersionModelImpl.

      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)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of workflow metrics sla definition versions
    • findAll

      List<WorkflowMetricsSLADefinitionVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered 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 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 WorkflowMetricsSLADefinitionVersionModelImpl.

      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)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of workflow metrics sla definition versions
    • removeAll

      void removeAll()
      Removes all the workflow metrics sla definition versions from the database.
    • countAll

      int countAll()
      Returns the number of workflow metrics sla definition versions.
      Returns:
      the number of workflow metrics sla definition versions