Interface WorkflowMetricsSLADefinitionPersistence

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

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

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

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

      List<WorkflowMetricsSLADefinition> findByUuid(String uuid, int start, int end)
      Returns a range of all the workflow metrics sla definitions 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 WorkflowMetricsSLADefinitionModelImpl.

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

      List<WorkflowMetricsSLADefinition> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns an ordered range of all the workflow metrics sla definitions 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 WorkflowMetricsSLADefinitionModelImpl.

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

      List<WorkflowMetricsSLADefinition> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the workflow metrics sla definitions 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 WorkflowMetricsSLADefinitionModelImpl.

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

      WorkflowMetricsSLADefinition findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the first workflow metrics sla definition 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
      Throws:
      NoSuchSLADefinitionException - if a matching workflow metrics sla definition could not be found
    • fetchByUuid_First

      WorkflowMetricsSLADefinition fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns the first workflow metrics sla definition 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, or null if a matching workflow metrics sla definition could not be found
    • findByUuid_Last

      WorkflowMetricsSLADefinition findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the last workflow metrics sla definition 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
      Throws:
      NoSuchSLADefinitionException - if a matching workflow metrics sla definition could not be found
    • fetchByUuid_Last

      WorkflowMetricsSLADefinition fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns the last workflow metrics sla definition 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, or null if a matching workflow metrics sla definition could not be found
    • findByUuid_PrevAndNext

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

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

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

      WorkflowMetricsSLADefinition findByUUID_G(String uuid, long groupId) throws NoSuchSLADefinitionException
      Returns the workflow metrics sla definition where uuid = ? and groupId = ? or throws a NoSuchSLADefinitionException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching workflow metrics sla definition
      Throws:
      NoSuchSLADefinitionException - if a matching workflow metrics sla definition could not be found
    • fetchByUUID_G

      WorkflowMetricsSLADefinition fetchByUUID_G(String uuid, long groupId)
      Returns the workflow metrics sla definition 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, or null if a matching workflow metrics sla definition could not be found
    • fetchByUUID_G

      WorkflowMetricsSLADefinition fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the workflow metrics sla definition 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, or null if a matching workflow metrics sla definition could not be found
    • removeByUUID_G

      WorkflowMetricsSLADefinition removeByUUID_G(String uuid, long groupId) throws NoSuchSLADefinitionException
      Removes the workflow metrics sla definition where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the workflow metrics sla definition that was removed
      Throws:
      NoSuchSLADefinitionException
    • countByUUID_G

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

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

      List<WorkflowMetricsSLADefinition> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the workflow metrics sla definitions 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 WorkflowMetricsSLADefinitionModelImpl.

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

      List<WorkflowMetricsSLADefinition> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns an ordered range of all the workflow metrics sla definitions 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 WorkflowMetricsSLADefinitionModelImpl.

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

      List<WorkflowMetricsSLADefinition> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the workflow metrics sla definitions 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 WorkflowMetricsSLADefinitionModelImpl.

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

      WorkflowMetricsSLADefinition findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the first workflow metrics sla definition 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
      Throws:
      NoSuchSLADefinitionException - if a matching workflow metrics sla definition could not be found
    • fetchByUuid_C_First

      WorkflowMetricsSLADefinition fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns the first workflow metrics sla definition 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, or null if a matching workflow metrics sla definition could not be found
    • findByUuid_C_Last

      WorkflowMetricsSLADefinition findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the last workflow metrics sla definition 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
      Throws:
      NoSuchSLADefinitionException - if a matching workflow metrics sla definition could not be found
    • fetchByUuid_C_Last

      WorkflowMetricsSLADefinition fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns the last workflow metrics sla definition 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, or null if a matching workflow metrics sla definition could not be found
    • findByUuid_C_PrevAndNext

      WorkflowMetricsSLADefinition[] findByUuid_C_PrevAndNext(long workflowMetricsSLADefinitionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the workflow metrics sla definitions before and after the current workflow metrics sla definition in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      workflowMetricsSLADefinitionId - the primary key of the current workflow metrics sla definition
      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
      Throws:
      NoSuchSLADefinitionException - if a workflow metrics sla definition with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the workflow metrics sla definitions 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 definitions where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching workflow metrics sla definitions
    • findByWMSLAD_A

      WorkflowMetricsSLADefinition findByWMSLAD_A(long workflowMetricsSLADefinitionId, boolean active) throws NoSuchSLADefinitionException
      Returns the workflow metrics sla definition where workflowMetricsSLADefinitionId = ? and active = ? or throws a NoSuchSLADefinitionException if it could not be found.
      Parameters:
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      active - the active
      Returns:
      the matching workflow metrics sla definition
      Throws:
      NoSuchSLADefinitionException - if a matching workflow metrics sla definition could not be found
    • fetchByWMSLAD_A

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

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

      WorkflowMetricsSLADefinition removeByWMSLAD_A(long workflowMetricsSLADefinitionId, boolean active) throws NoSuchSLADefinitionException
      Removes the workflow metrics sla definition where workflowMetricsSLADefinitionId = ? and active = ? from the database.
      Parameters:
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      active - the active
      Returns:
      the workflow metrics sla definition that was removed
      Throws:
      NoSuchSLADefinitionException
    • countByWMSLAD_A

      int countByWMSLAD_A(long workflowMetricsSLADefinitionId, boolean active)
      Returns the number of workflow metrics sla definitions where workflowMetricsSLADefinitionId = ? and active = ?.
      Parameters:
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      active - the active
      Returns:
      the number of matching workflow metrics sla definitions
    • findByC_S

      List<WorkflowMetricsSLADefinition> findByC_S(long companyId, int status)
      Returns all the workflow metrics sla definitions where companyId = ? and status = ?.
      Parameters:
      companyId - the company ID
      status - the status
      Returns:
      the matching workflow metrics sla definitions
    • findByC_S

      List<WorkflowMetricsSLADefinition> findByC_S(long companyId, int status, int start, int end)
      Returns a range of all the workflow metrics sla definitions where companyId = ? and status = ?.

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

      Parameters:
      companyId - the company ID
      status - the status
      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 matching workflow metrics sla definitions
    • findByC_S

      List<WorkflowMetricsSLADefinition> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns an ordered range of all the workflow metrics sla definitions where companyId = ? and status = ?.

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

      Parameters:
      companyId - the company ID
      status - the status
      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 ordered range of matching workflow metrics sla definitions
    • findByC_S

      List<WorkflowMetricsSLADefinition> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the workflow metrics sla definitions where companyId = ? and status = ?.

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

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

      WorkflowMetricsSLADefinition findByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the first workflow metrics sla definition in the ordered set where companyId = ? and status = ?.
      Parameters:
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching workflow metrics sla definition
      Throws:
      NoSuchSLADefinitionException - if a matching workflow metrics sla definition could not be found
    • fetchByC_S_First

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

      WorkflowMetricsSLADefinition findByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the last workflow metrics sla definition in the ordered set where companyId = ? and status = ?.
      Parameters:
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching workflow metrics sla definition
      Throws:
      NoSuchSLADefinitionException - if a matching workflow metrics sla definition could not be found
    • fetchByC_S_Last

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

      WorkflowMetricsSLADefinition[] findByC_S_PrevAndNext(long workflowMetricsSLADefinitionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the workflow metrics sla definitions before and after the current workflow metrics sla definition in the ordered set where companyId = ? and status = ?.
      Parameters:
      workflowMetricsSLADefinitionId - the primary key of the current workflow metrics sla definition
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next workflow metrics sla definition
      Throws:
      NoSuchSLADefinitionException - if a workflow metrics sla definition with the primary key could not be found
    • removeByC_S

      void removeByC_S(long companyId, int status)
      Removes all the workflow metrics sla definitions where companyId = ? and status = ? from the database.
      Parameters:
      companyId - the company ID
      status - the status
    • countByC_S

      int countByC_S(long companyId, int status)
      Returns the number of workflow metrics sla definitions where companyId = ? and status = ?.
      Parameters:
      companyId - the company ID
      status - the status
      Returns:
      the number of matching workflow metrics sla definitions
    • findByC_A_P

      List<WorkflowMetricsSLADefinition> findByC_A_P(long companyId, boolean active, long processId)
      Returns all the workflow metrics sla definitions where companyId = ? and active = ? and processId = ?.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      Returns:
      the matching workflow metrics sla definitions
    • findByC_A_P

      List<WorkflowMetricsSLADefinition> findByC_A_P(long companyId, boolean active, long processId, int start, int end)
      Returns a range of all the workflow metrics sla definitions where companyId = ? and active = ? and processId = ?.

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

      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      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 matching workflow metrics sla definitions
    • findByC_A_P

      List<WorkflowMetricsSLADefinition> findByC_A_P(long companyId, boolean active, long processId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns an ordered range of all the workflow metrics sla definitions where companyId = ? and active = ? and processId = ?.

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

      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      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 ordered range of matching workflow metrics sla definitions
    • findByC_A_P

      List<WorkflowMetricsSLADefinition> findByC_A_P(long companyId, boolean active, long processId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the workflow metrics sla definitions where companyId = ? and active = ? and processId = ?.

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

      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      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)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching workflow metrics sla definitions
    • findByC_A_P_First

      WorkflowMetricsSLADefinition findByC_A_P_First(long companyId, boolean active, long processId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the first workflow metrics sla definition in the ordered set where companyId = ? and active = ? and processId = ?.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching workflow metrics sla definition
      Throws:
      NoSuchSLADefinitionException - if a matching workflow metrics sla definition could not be found
    • fetchByC_A_P_First

      WorkflowMetricsSLADefinition fetchByC_A_P_First(long companyId, boolean active, long processId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns the first workflow metrics sla definition in the ordered set where companyId = ? and active = ? and processId = ?.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching workflow metrics sla definition, or null if a matching workflow metrics sla definition could not be found
    • findByC_A_P_Last

      WorkflowMetricsSLADefinition findByC_A_P_Last(long companyId, boolean active, long processId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the last workflow metrics sla definition in the ordered set where companyId = ? and active = ? and processId = ?.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching workflow metrics sla definition
      Throws:
      NoSuchSLADefinitionException - if a matching workflow metrics sla definition could not be found
    • fetchByC_A_P_Last

      WorkflowMetricsSLADefinition fetchByC_A_P_Last(long companyId, boolean active, long processId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns the last workflow metrics sla definition in the ordered set where companyId = ? and active = ? and processId = ?.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching workflow metrics sla definition, or null if a matching workflow metrics sla definition could not be found
    • findByC_A_P_PrevAndNext

      WorkflowMetricsSLADefinition[] findByC_A_P_PrevAndNext(long workflowMetricsSLADefinitionId, long companyId, boolean active, long processId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the workflow metrics sla definitions before and after the current workflow metrics sla definition in the ordered set where companyId = ? and active = ? and processId = ?.
      Parameters:
      workflowMetricsSLADefinitionId - the primary key of the current workflow metrics sla definition
      companyId - the company ID
      active - the active
      processId - the process ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next workflow metrics sla definition
      Throws:
      NoSuchSLADefinitionException - if a workflow metrics sla definition with the primary key could not be found
    • removeByC_A_P

      void removeByC_A_P(long companyId, boolean active, long processId)
      Removes all the workflow metrics sla definitions where companyId = ? and active = ? and processId = ? from the database.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
    • countByC_A_P

      int countByC_A_P(long companyId, boolean active, long processId)
      Returns the number of workflow metrics sla definitions where companyId = ? and active = ? and processId = ?.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      Returns:
      the number of matching workflow metrics sla definitions
    • findByC_A_N_P

      List<WorkflowMetricsSLADefinition> findByC_A_N_P(long companyId, boolean active, String name, long processId)
      Returns all the workflow metrics sla definitions where companyId = ? and active = ? and name = ? and processId = ?.
      Parameters:
      companyId - the company ID
      active - the active
      name - the name
      processId - the process ID
      Returns:
      the matching workflow metrics sla definitions
    • findByC_A_N_P

      List<WorkflowMetricsSLADefinition> findByC_A_N_P(long companyId, boolean active, String name, long processId, int start, int end)
      Returns a range of all the workflow metrics sla definitions where companyId = ? and active = ? and name = ? and processId = ?.

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

      Parameters:
      companyId - the company ID
      active - the active
      name - the name
      processId - the process ID
      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 matching workflow metrics sla definitions
    • findByC_A_N_P

      List<WorkflowMetricsSLADefinition> findByC_A_N_P(long companyId, boolean active, String name, long processId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns an ordered range of all the workflow metrics sla definitions where companyId = ? and active = ? and name = ? and processId = ?.

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

      Parameters:
      companyId - the company ID
      active - the active
      name - the name
      processId - the process ID
      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 ordered range of matching workflow metrics sla definitions
    • findByC_A_N_P

      List<WorkflowMetricsSLADefinition> findByC_A_N_P(long companyId, boolean active, String name, long processId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the workflow metrics sla definitions where companyId = ? and active = ? and name = ? and processId = ?.

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

      Parameters:
      companyId - the company ID
      active - the active
      name - the name
      processId - the process ID
      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)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching workflow metrics sla definitions
    • findByC_A_N_P_First

      WorkflowMetricsSLADefinition findByC_A_N_P_First(long companyId, boolean active, String name, long processId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the first workflow metrics sla definition in the ordered set where companyId = ? and active = ? and name = ? and processId = ?.
      Parameters:
      companyId - the company ID
      active - the active
      name - the name
      processId - the process ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching workflow metrics sla definition
      Throws:
      NoSuchSLADefinitionException - if a matching workflow metrics sla definition could not be found
    • fetchByC_A_N_P_First

      WorkflowMetricsSLADefinition fetchByC_A_N_P_First(long companyId, boolean active, String name, long processId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns the first workflow metrics sla definition in the ordered set where companyId = ? and active = ? and name = ? and processId = ?.
      Parameters:
      companyId - the company ID
      active - the active
      name - the name
      processId - the process ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching workflow metrics sla definition, or null if a matching workflow metrics sla definition could not be found
    • findByC_A_N_P_Last

      WorkflowMetricsSLADefinition findByC_A_N_P_Last(long companyId, boolean active, String name, long processId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the last workflow metrics sla definition in the ordered set where companyId = ? and active = ? and name = ? and processId = ?.
      Parameters:
      companyId - the company ID
      active - the active
      name - the name
      processId - the process ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching workflow metrics sla definition
      Throws:
      NoSuchSLADefinitionException - if a matching workflow metrics sla definition could not be found
    • fetchByC_A_N_P_Last

      WorkflowMetricsSLADefinition fetchByC_A_N_P_Last(long companyId, boolean active, String name, long processId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns the last workflow metrics sla definition in the ordered set where companyId = ? and active = ? and name = ? and processId = ?.
      Parameters:
      companyId - the company ID
      active - the active
      name - the name
      processId - the process ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching workflow metrics sla definition, or null if a matching workflow metrics sla definition could not be found
    • findByC_A_N_P_PrevAndNext

      WorkflowMetricsSLADefinition[] findByC_A_N_P_PrevAndNext(long workflowMetricsSLADefinitionId, long companyId, boolean active, String name, long processId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the workflow metrics sla definitions before and after the current workflow metrics sla definition in the ordered set where companyId = ? and active = ? and name = ? and processId = ?.
      Parameters:
      workflowMetricsSLADefinitionId - the primary key of the current workflow metrics sla definition
      companyId - the company ID
      active - the active
      name - the name
      processId - the process ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next workflow metrics sla definition
      Throws:
      NoSuchSLADefinitionException - if a workflow metrics sla definition with the primary key could not be found
    • removeByC_A_N_P

      void removeByC_A_N_P(long companyId, boolean active, String name, long processId)
      Removes all the workflow metrics sla definitions where companyId = ? and active = ? and name = ? and processId = ? from the database.
      Parameters:
      companyId - the company ID
      active - the active
      name - the name
      processId - the process ID
    • countByC_A_N_P

      int countByC_A_N_P(long companyId, boolean active, String name, long processId)
      Returns the number of workflow metrics sla definitions where companyId = ? and active = ? and name = ? and processId = ?.
      Parameters:
      companyId - the company ID
      active - the active
      name - the name
      processId - the process ID
      Returns:
      the number of matching workflow metrics sla definitions
    • findByC_A_P_S

      List<WorkflowMetricsSLADefinition> findByC_A_P_S(long companyId, boolean active, long processId, int status)
      Returns all the workflow metrics sla definitions where companyId = ? and active = ? and processId = ? and status = ?.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      status - the status
      Returns:
      the matching workflow metrics sla definitions
    • findByC_A_P_S

      List<WorkflowMetricsSLADefinition> findByC_A_P_S(long companyId, boolean active, long processId, int status, int start, int end)
      Returns a range of all the workflow metrics sla definitions where companyId = ? and active = ? and processId = ? and status = ?.

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

      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      status - the status
      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 matching workflow metrics sla definitions
    • findByC_A_P_S

      List<WorkflowMetricsSLADefinition> findByC_A_P_S(long companyId, boolean active, long processId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns an ordered range of all the workflow metrics sla definitions where companyId = ? and active = ? and processId = ? and status = ?.

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

      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      status - the status
      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 ordered range of matching workflow metrics sla definitions
    • findByC_A_P_S

      List<WorkflowMetricsSLADefinition> findByC_A_P_S(long companyId, boolean active, long processId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the workflow metrics sla definitions where companyId = ? and active = ? and processId = ? and status = ?.

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

      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      status - the status
      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)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching workflow metrics sla definitions
    • findByC_A_P_S_First

      WorkflowMetricsSLADefinition findByC_A_P_S_First(long companyId, boolean active, long processId, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the first workflow metrics sla definition in the ordered set where companyId = ? and active = ? and processId = ? and status = ?.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching workflow metrics sla definition
      Throws:
      NoSuchSLADefinitionException - if a matching workflow metrics sla definition could not be found
    • fetchByC_A_P_S_First

      WorkflowMetricsSLADefinition fetchByC_A_P_S_First(long companyId, boolean active, long processId, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns the first workflow metrics sla definition in the ordered set where companyId = ? and active = ? and processId = ? and status = ?.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching workflow metrics sla definition, or null if a matching workflow metrics sla definition could not be found
    • findByC_A_P_S_Last

      WorkflowMetricsSLADefinition findByC_A_P_S_Last(long companyId, boolean active, long processId, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the last workflow metrics sla definition in the ordered set where companyId = ? and active = ? and processId = ? and status = ?.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching workflow metrics sla definition
      Throws:
      NoSuchSLADefinitionException - if a matching workflow metrics sla definition could not be found
    • fetchByC_A_P_S_Last

      WorkflowMetricsSLADefinition fetchByC_A_P_S_Last(long companyId, boolean active, long processId, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns the last workflow metrics sla definition in the ordered set where companyId = ? and active = ? and processId = ? and status = ?.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching workflow metrics sla definition, or null if a matching workflow metrics sla definition could not be found
    • findByC_A_P_S_PrevAndNext

      WorkflowMetricsSLADefinition[] findByC_A_P_S_PrevAndNext(long workflowMetricsSLADefinitionId, long companyId, boolean active, long processId, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the workflow metrics sla definitions before and after the current workflow metrics sla definition in the ordered set where companyId = ? and active = ? and processId = ? and status = ?.
      Parameters:
      workflowMetricsSLADefinitionId - the primary key of the current workflow metrics sla definition
      companyId - the company ID
      active - the active
      processId - the process ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next workflow metrics sla definition
      Throws:
      NoSuchSLADefinitionException - if a workflow metrics sla definition with the primary key could not be found
    • removeByC_A_P_S

      void removeByC_A_P_S(long companyId, boolean active, long processId, int status)
      Removes all the workflow metrics sla definitions where companyId = ? and active = ? and processId = ? and status = ? from the database.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      status - the status
    • countByC_A_P_S

      int countByC_A_P_S(long companyId, boolean active, long processId, int status)
      Returns the number of workflow metrics sla definitions where companyId = ? and active = ? and processId = ? and status = ?.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      status - the status
      Returns:
      the number of matching workflow metrics sla definitions
    • findByC_A_P_NotPV_S

      List<WorkflowMetricsSLADefinition> findByC_A_P_NotPV_S(long companyId, boolean active, long processId, String processVersion, int status)
      Returns all the workflow metrics sla definitions where companyId = ? and active = ? and processId = ? and processVersion ≠ ? and status = ?.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      processVersion - the process version
      status - the status
      Returns:
      the matching workflow metrics sla definitions
    • findByC_A_P_NotPV_S

      List<WorkflowMetricsSLADefinition> findByC_A_P_NotPV_S(long companyId, boolean active, long processId, String processVersion, int status, int start, int end)
      Returns a range of all the workflow metrics sla definitions where companyId = ? and active = ? and processId = ? and processVersion ≠ ? and status = ?.

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

      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      processVersion - the process version
      status - the status
      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 matching workflow metrics sla definitions
    • findByC_A_P_NotPV_S

      List<WorkflowMetricsSLADefinition> findByC_A_P_NotPV_S(long companyId, boolean active, long processId, String processVersion, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns an ordered range of all the workflow metrics sla definitions where companyId = ? and active = ? and processId = ? and processVersion ≠ ? and status = ?.

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

      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      processVersion - the process version
      status - the status
      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 ordered range of matching workflow metrics sla definitions
    • findByC_A_P_NotPV_S

      List<WorkflowMetricsSLADefinition> findByC_A_P_NotPV_S(long companyId, boolean active, long processId, String processVersion, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the workflow metrics sla definitions where companyId = ? and active = ? and processId = ? and processVersion ≠ ? and status = ?.

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

      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      processVersion - the process version
      status - the status
      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)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching workflow metrics sla definitions
    • findByC_A_P_NotPV_S_First

      WorkflowMetricsSLADefinition findByC_A_P_NotPV_S_First(long companyId, boolean active, long processId, String processVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the first workflow metrics sla definition in the ordered set where companyId = ? and active = ? and processId = ? and processVersion ≠ ? and status = ?.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      processVersion - the process version
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching workflow metrics sla definition
      Throws:
      NoSuchSLADefinitionException - if a matching workflow metrics sla definition could not be found
    • fetchByC_A_P_NotPV_S_First

      WorkflowMetricsSLADefinition fetchByC_A_P_NotPV_S_First(long companyId, boolean active, long processId, String processVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns the first workflow metrics sla definition in the ordered set where companyId = ? and active = ? and processId = ? and processVersion ≠ ? and status = ?.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      processVersion - the process version
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching workflow metrics sla definition, or null if a matching workflow metrics sla definition could not be found
    • findByC_A_P_NotPV_S_Last

      WorkflowMetricsSLADefinition findByC_A_P_NotPV_S_Last(long companyId, boolean active, long processId, String processVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the last workflow metrics sla definition in the ordered set where companyId = ? and active = ? and processId = ? and processVersion ≠ ? and status = ?.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      processVersion - the process version
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching workflow metrics sla definition
      Throws:
      NoSuchSLADefinitionException - if a matching workflow metrics sla definition could not be found
    • fetchByC_A_P_NotPV_S_Last

      WorkflowMetricsSLADefinition fetchByC_A_P_NotPV_S_Last(long companyId, boolean active, long processId, String processVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      Returns the last workflow metrics sla definition in the ordered set where companyId = ? and active = ? and processId = ? and processVersion ≠ ? and status = ?.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      processVersion - the process version
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching workflow metrics sla definition, or null if a matching workflow metrics sla definition could not be found
    • findByC_A_P_NotPV_S_PrevAndNext

      WorkflowMetricsSLADefinition[] findByC_A_P_NotPV_S_PrevAndNext(long workflowMetricsSLADefinitionId, long companyId, boolean active, long processId, String processVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
      Returns the workflow metrics sla definitions before and after the current workflow metrics sla definition in the ordered set where companyId = ? and active = ? and processId = ? and processVersion ≠ ? and status = ?.
      Parameters:
      workflowMetricsSLADefinitionId - the primary key of the current workflow metrics sla definition
      companyId - the company ID
      active - the active
      processId - the process ID
      processVersion - the process version
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next workflow metrics sla definition
      Throws:
      NoSuchSLADefinitionException - if a workflow metrics sla definition with the primary key could not be found
    • removeByC_A_P_NotPV_S

      void removeByC_A_P_NotPV_S(long companyId, boolean active, long processId, String processVersion, int status)
      Removes all the workflow metrics sla definitions where companyId = ? and active = ? and processId = ? and processVersion ≠ ? and status = ? from the database.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      processVersion - the process version
      status - the status
    • countByC_A_P_NotPV_S

      int countByC_A_P_NotPV_S(long companyId, boolean active, long processId, String processVersion, int status)
      Returns the number of workflow metrics sla definitions where companyId = ? and active = ? and processId = ? and processVersion ≠ ? and status = ?.
      Parameters:
      companyId - the company ID
      active - the active
      processId - the process ID
      processVersion - the process version
      status - the status
      Returns:
      the number of matching workflow metrics sla definitions
    • cacheResult

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

      void cacheResult(List<WorkflowMetricsSLADefinition> workflowMetricsSLADefinitions)
      Caches the workflow metrics sla definitions in the entity cache if it is enabled.
      Parameters:
      workflowMetricsSLADefinitions - the workflow metrics sla definitions
    • create

      WorkflowMetricsSLADefinition create(long workflowMetricsSLADefinitionId)
      Creates a new workflow metrics sla definition with the primary key. Does not add the workflow metrics sla definition to the database.
      Parameters:
      workflowMetricsSLADefinitionId - the primary key for the new workflow metrics sla definition
      Returns:
      the new workflow metrics sla definition
    • remove

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

      WorkflowMetricsSLADefinition updateImpl(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
    • findByPrimaryKey

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

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

      Returns all the workflow metrics sla definitions.
      Returns:
      the workflow metrics sla definitions
    • findAll

      List<WorkflowMetricsSLADefinition> findAll(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 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 WorkflowMetricsSLADefinitionModelImpl.

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

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

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

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

      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)
      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 definitions
    • removeAll

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

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