Class WorkflowMetricsSLADefinitionUtil

java.lang.Object
com.liferay.portal.workflow.metrics.service.persistence.WorkflowMetricsSLADefinitionUtil

public class WorkflowMetricsSLADefinitionUtil extends Object
The persistence utility for the workflow metrics sla definition service. This utility wraps com.liferay.portal.workflow.metrics.service.persistence.impl.WorkflowMetricsSLADefinitionPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • WorkflowMetricsSLADefinitionUtil

      public WorkflowMetricsSLADefinitionUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,WorkflowMetricsSLADefinition> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<WorkflowMetricsSLADefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<WorkflowMetricsSLADefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<WorkflowMetricsSLADefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static WorkflowMetricsSLADefinition update(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static WorkflowMetricsSLADefinition update(WorkflowMetricsSLADefinition workflowMetricsSLADefinition, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<WorkflowMetricsSLADefinition> findByUuid(String uuid)
      Returns all the workflow metrics sla definitions where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching workflow metrics sla definitions
    • findByUuid

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • fetchByUuid_First

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • fetchByUuid_Last

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • removeByUuid

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

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • fetchByUUID_G

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • fetchByUuid_C_First

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • fetchByUuid_C_Last

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • removeByUuid_C

      public static 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

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • fetchByWMSLAD_A

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • fetchByC_S_First

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • fetchByC_S_Last

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • removeByC_S

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • fetchByC_A_P_First

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • fetchByC_A_P_Last

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • removeByC_A_P

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • fetchByC_A_N_P_First

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • fetchByC_A_N_P_Last

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • removeByC_A_N_P

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • fetchByC_A_P_S_First

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • fetchByC_A_P_S_Last

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • removeByC_A_P_S

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • fetchByC_A_P_NotPV_S_First

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • fetchByC_A_P_NotPV_S_Last

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • removeByC_A_P_NotPV_S

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSLADefinitionException
    • updateImpl

      public static WorkflowMetricsSLADefinition updateImpl(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
    • findByPrimaryKey

      public static 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
      NoSuchSLADefinitionException
    • fetchByPrimaryKey

      public static 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

      public static List<WorkflowMetricsSLADefinition> findAll()
      Returns all the workflow metrics sla definitions.
      Returns:
      the workflow metrics sla definitions
    • findAll

      public static 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

      public static 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

      public static 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

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

      public static int countAll()
      Returns the number of workflow metrics sla definitions.
      Returns:
      the number of workflow metrics sla definitions
    • getPersistence

      public static WorkflowMetricsSLADefinitionPersistence getPersistence()
    • setPersistence

      public static void setPersistence(WorkflowMetricsSLADefinitionPersistence persistence)