Class WorkflowMetricsSLADefinitionVersionUtil

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

public class WorkflowMetricsSLADefinitionVersionUtil extends Object
The persistence utility for the workflow metrics sla definition version service. This utility wraps com.liferay.portal.workflow.metrics.service.persistence.impl.WorkflowMetricsSLADefinitionVersionPersistenceImpl 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

    • WorkflowMetricsSLADefinitionVersionUtil

      public WorkflowMetricsSLADefinitionVersionUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion)
      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,WorkflowMetricsSLADefinitionVersion> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

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

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

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

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

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

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

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

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of workflow metrics sla definition versions
      end - the upper bound of the range of workflow metrics sla definition versions (not inclusive)
      Returns:
      the range of matching workflow metrics sla definition versions
    • findByUuid

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

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of workflow metrics sla definition versions
      end - the upper bound of the range of workflow metrics sla definition versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching workflow metrics sla definition versions
    • findByUuid

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

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of workflow metrics sla definition versions
      end - the upper bound of the range of workflow metrics sla definition versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching workflow metrics sla definition versions
    • findByUuid_First

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of workflow metrics sla definition versions
      end - the upper bound of the range of workflow metrics sla definition versions (not inclusive)
      Returns:
      the range of matching workflow metrics sla definition versions
    • findByUuid_C

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

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

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of workflow metrics sla definition versions
      end - the upper bound of the range of workflow metrics sla definition versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching workflow metrics sla definition versions
    • findByUuid_C

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

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

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of workflow metrics sla definition versions
      end - the upper bound of the range of workflow metrics sla definition versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching workflow metrics sla definition versions
    • findByUuid_C_First

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

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

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

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

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

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

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

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

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

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

      Parameters:
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      start - the lower bound of the range of workflow metrics sla definition versions
      end - the upper bound of the range of workflow metrics sla definition versions (not inclusive)
      Returns:
      the range of matching workflow metrics sla definition versions
    • findByWorkflowMetricsSLADefinitionId

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

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

      Parameters:
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      start - the lower bound of the range of workflow metrics sla definition versions
      end - the upper bound of the range of workflow metrics sla definition versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching workflow metrics sla definition versions
    • findByWorkflowMetricsSLADefinitionId

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

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

      Parameters:
      workflowMetricsSLADefinitionId - the workflow metrics sla definition ID
      start - the lower bound of the range of workflow metrics sla definition versions
      end - the upper bound of the range of workflow metrics sla definition versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching workflow metrics sla definition versions
    • findByWorkflowMetricsSLADefinitionId_First

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static WorkflowMetricsSLADefinitionVersion updateImpl(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion)
    • findByPrimaryKey

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

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

      public static List<WorkflowMetricsSLADefinitionVersion> findAll()
      Returns all the workflow metrics sla definition versions.
      Returns:
      the workflow metrics sla definition versions
    • findAll

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

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

      Parameters:
      start - the lower bound of the range of workflow metrics sla definition versions
      end - the upper bound of the range of workflow metrics sla definition versions (not inclusive)
      Returns:
      the range of workflow metrics sla definition versions
    • findAll

      public static List<WorkflowMetricsSLADefinitionVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
      Returns an ordered range of all the workflow metrics sla definition versions.

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

      Parameters:
      start - the lower bound of the range of workflow metrics sla definition versions
      end - the upper bound of the range of workflow metrics sla definition versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of workflow metrics sla definition versions
    • findAll

      public static List<WorkflowMetricsSLADefinitionVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the workflow metrics sla definition versions.

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

      Parameters:
      start - the lower bound of the range of workflow metrics sla definition versions
      end - the upper bound of the range of workflow metrics sla definition versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of workflow metrics sla definition versions
    • removeAll

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

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

      public static WorkflowMetricsSLADefinitionVersionPersistence getPersistence()
    • setPersistence

      public static void setPersistence(WorkflowMetricsSLADefinitionVersionPersistence persistence)