Class WorkflowMetricsSLADefinitionUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(WorkflowMetricsSLADefinition workflowMetricsSLADefinition) Caches the workflow metrics sla definition in the entity cache if it is enabled.static voidcacheResult(List<WorkflowMetricsSLADefinition> workflowMetricsSLADefinitions) Caches the workflow metrics sla definitions in the entity cache if it is enabled.static voidstatic voidclearCache(WorkflowMetricsSLADefinition workflowMetricsSLADefinition) static intcountAll()Returns the number of workflow metrics sla definitions.static intcountByC_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 = ?.static intcountByC_A_P(long companyId, boolean active, long processId) Returns the number of workflow metrics sla definitions where companyId = ? and active = ? and processId = ?.static intcountByC_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 = ?.static intcountByC_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 = ?.static intcountByC_S(long companyId, int status) Returns the number of workflow metrics sla definitions where companyId = ? and status = ?.static intcountByUuid(String uuid) Returns the number of workflow metrics sla definitions where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of workflow metrics sla definitions where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of workflow metrics sla definitions where uuid = ? and groupId = ?.static intcountByWMSLAD_A(long workflowMetricsSLADefinitionId, boolean active) Returns the number of workflow metrics sla definitions where workflowMetricsSLADefinitionId = ? and active = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static WorkflowMetricsSLADefinitioncreate(long workflowMetricsSLADefinitionId) Creates a new workflow metrics sla definition with the primary key.static WorkflowMetricsSLADefinitionfetchByC_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 = ?.static WorkflowMetricsSLADefinitionfetchByC_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 = ?.static WorkflowMetricsSLADefinitionfetchByC_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 = ?.static WorkflowMetricsSLADefinitionfetchByC_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 = ?.static WorkflowMetricsSLADefinitionfetchByC_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 = ?.static WorkflowMetricsSLADefinitionfetchByC_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 = ?.static WorkflowMetricsSLADefinitionfetchByC_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 = ?.static WorkflowMetricsSLADefinitionfetchByC_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 = ?.static WorkflowMetricsSLADefinitionfetchByC_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 = ?.static WorkflowMetricsSLADefinitionfetchByC_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 = ?.static WorkflowMetricsSLADefinitionfetchByPrimaryKey(long workflowMetricsSLADefinitionId) Returns the workflow metrics sla definition with the primary key or returnsnullif it could not be found.fetchByPrimaryKeys(Set<Serializable> primaryKeys) static WorkflowMetricsSLADefinitionfetchByUuid_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 = ?.static WorkflowMetricsSLADefinitionfetchByUuid_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 = ?.static WorkflowMetricsSLADefinitionfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) Returns the first workflow metrics sla definition in the ordered set where uuid = ?.static WorkflowMetricsSLADefinitionfetchByUUID_G(String uuid, long groupId) Returns the workflow metrics sla definition where uuid = ? and groupId = ? or returnsnullif it could not be found.static WorkflowMetricsSLADefinitionfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the workflow metrics sla definition where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static WorkflowMetricsSLADefinitionfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) Returns the last workflow metrics sla definition in the ordered set where uuid = ?.static WorkflowMetricsSLADefinitionfetchByWMSLAD_A(long workflowMetricsSLADefinitionId, boolean active) Returns the workflow metrics sla definition where workflowMetricsSLADefinitionId = ? and active = ? or returnsnullif it could not be found.static WorkflowMetricsSLADefinitionfetchByWMSLAD_A(long workflowMetricsSLADefinitionId, boolean active, boolean useFinderCache) Returns the workflow metrics sla definition where workflowMetricsSLADefinitionId = ? and active = ? or returnsnullif it could not be found, optionally using the finder cache.static List<WorkflowMetricsSLADefinition> findAll()Returns all the workflow metrics sla definitions.static List<WorkflowMetricsSLADefinition> findAll(int start, int end) Returns a range of all the workflow metrics sla definitions.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.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.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 = ?.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 = ?.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 = ?.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 = ?.static WorkflowMetricsSLADefinitionfindByC_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 = ?.static WorkflowMetricsSLADefinitionfindByC_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 = ?.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) 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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.static WorkflowMetricsSLADefinitionfindByC_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 = ?.static WorkflowMetricsSLADefinitionfindByC_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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.static WorkflowMetricsSLADefinitionfindByC_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 = ?.static WorkflowMetricsSLADefinitionfindByC_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 = ?.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) 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 = ?.static WorkflowMetricsSLADefinition[]findByC_A_P_PrevAndNext(long workflowMetricsSLADefinitionId, long companyId, boolean active, long processId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) 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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.static WorkflowMetricsSLADefinitionfindByC_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 = ?.static WorkflowMetricsSLADefinitionfindByC_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 = ?.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) 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 = ?.static List<WorkflowMetricsSLADefinition> findByC_S(long companyId, int status) Returns all the workflow metrics sla definitions where companyId = ? and status = ?.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 = ?.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 = ?.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 = ?.static WorkflowMetricsSLADefinitionfindByC_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 = ?.static WorkflowMetricsSLADefinitionfindByC_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 = ?.static WorkflowMetricsSLADefinition[]findByC_S_PrevAndNext(long workflowMetricsSLADefinitionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) Returns the workflow metrics sla definitions before and after the current workflow metrics sla definition in the ordered set where companyId = ? and status = ?.static WorkflowMetricsSLADefinitionfindByPrimaryKey(long workflowMetricsSLADefinitionId) Returns the workflow metrics sla definition with the primary key or throws aNoSuchSLADefinitionExceptionif it could not be found.static List<WorkflowMetricsSLADefinition> findByUuid(String uuid) Returns all the workflow metrics sla definitions where uuid = ?.static List<WorkflowMetricsSLADefinition> findByUuid(String uuid, int start, int end) Returns a range of all the workflow metrics sla definitions where uuid = ?.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 = ?.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 = ?.static List<WorkflowMetricsSLADefinition> findByUuid_C(String uuid, long companyId) Returns all the workflow metrics sla definitions where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.static WorkflowMetricsSLADefinitionfindByUuid_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 = ?.static WorkflowMetricsSLADefinitionfindByUuid_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 = ?.static WorkflowMetricsSLADefinition[]findByUuid_C_PrevAndNext(long workflowMetricsSLADefinitionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) Returns the workflow metrics sla definitions before and after the current workflow metrics sla definition in the ordered set where uuid = ? and companyId = ?.static WorkflowMetricsSLADefinitionfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) Returns the first workflow metrics sla definition in the ordered set where uuid = ?.static WorkflowMetricsSLADefinitionfindByUUID_G(String uuid, long groupId) Returns the workflow metrics sla definition where uuid = ? and groupId = ? or throws aNoSuchSLADefinitionExceptionif it could not be found.static WorkflowMetricsSLADefinitionfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) Returns the last workflow metrics sla definition in the ordered set where uuid = ?.static WorkflowMetricsSLADefinition[]findByUuid_PrevAndNext(long workflowMetricsSLADefinitionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) Returns the workflow metrics sla definitions before and after the current workflow metrics sla definition in the ordered set where uuid = ?.static WorkflowMetricsSLADefinitionfindByWMSLAD_A(long workflowMetricsSLADefinitionId, boolean active) Returns the workflow metrics sla definition where workflowMetricsSLADefinitionId = ? and active = ? or throws aNoSuchSLADefinitionExceptionif it could not be found.static List<WorkflowMetricsSLADefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<WorkflowMetricsSLADefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<WorkflowMetricsSLADefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) static WorkflowMetricsSLADefinitionremove(long workflowMetricsSLADefinitionId) Removes the workflow metrics sla definition with the primary key from the database.static voidRemoves all the workflow metrics sla definitions from the database.static voidremoveByC_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.static voidremoveByC_A_P(long companyId, boolean active, long processId) Removes all the workflow metrics sla definitions where companyId = ? and active = ? and processId = ? from the database.static voidremoveByC_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.static voidremoveByC_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.static voidremoveByC_S(long companyId, int status) Removes all the workflow metrics sla definitions where companyId = ? and status = ? from the database.static voidremoveByUuid(String uuid) Removes all the workflow metrics sla definitions where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the workflow metrics sla definitions where uuid = ? and companyId = ? from the database.static WorkflowMetricsSLADefinitionremoveByUUID_G(String uuid, long groupId) Removes the workflow metrics sla definition where uuid = ? and groupId = ? from the database.static WorkflowMetricsSLADefinitionremoveByWMSLAD_A(long workflowMetricsSLADefinitionId, boolean active) Removes the workflow metrics sla definition where workflowMetricsSLADefinitionId = ? and active = ? from the database.static voidsetPersistence(WorkflowMetricsSLADefinitionPersistence persistence) static WorkflowMetricsSLADefinitionupdate(WorkflowMetricsSLADefinition workflowMetricsSLADefinition) static WorkflowMetricsSLADefinitionupdate(WorkflowMetricsSLADefinition workflowMetricsSLADefinition, com.liferay.portal.kernel.service.ServiceContext serviceContext) static WorkflowMetricsSLADefinitionupdateImpl(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
-
Constructor Details
-
WorkflowMetricsSLADefinitionUtil
public WorkflowMetricsSLADefinitionUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,WorkflowMetricsSLADefinition> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<WorkflowMetricsSLADefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<WorkflowMetricsSLADefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
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:
-
update
public static WorkflowMetricsSLADefinition update(WorkflowMetricsSLADefinition workflowMetricsSLADefinition) - See Also:
-
update
public static WorkflowMetricsSLADefinition update(WorkflowMetricsSLADefinition workflowMetricsSLADefinition, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
Returns all the workflow metrics sla definitions where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching workflow metrics sla definitions
-
findByUuid
Returns a range of all the workflow metrics sla definitions where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of workflow metrics sla definitionsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of workflow metrics sla definitionsend- the upper bound of the range of workflow metrics sla definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of workflow metrics sla definitionsend- the upper bound of the range of workflow metrics sla definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition
-
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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition, or
nullif 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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition
-
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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition, or
nullif 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 definitionuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next workflow metrics sla definition
-
removeByUuid
Removes all the workflow metrics sla definitions where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
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 aNoSuchSLADefinitionExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching workflow metrics sla definition
-
fetchByUUID_G
Returns the workflow metrics sla definition where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching workflow metrics sla definition, or
nullif 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 returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching workflow metrics sla definition, or
nullif 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 uuidgroupId- the group ID- Returns:
- the workflow metrics sla definition that was removed
- Throws:
NoSuchSLADefinitionException
-
countByUUID_G
Returns the number of workflow metrics sla definitions where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching workflow metrics sla definitions
-
findByUuid_C
Returns all the workflow metrics sla definitions where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of workflow metrics sla definitionsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of workflow metrics sla definitionsend- the upper bound of the range of workflow metrics sla definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of workflow metrics sla definitionsend- the upper bound of the range of workflow metrics sla definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition
-
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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition, or
nullif 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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition
-
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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition, or
nullif 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 definitionuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next workflow metrics sla definition
-
removeByUuid_C
Removes all the workflow metrics sla definitions where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of workflow metrics sla definitions where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- 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 aNoSuchSLADefinitionExceptionif it could not be found.- Parameters:
workflowMetricsSLADefinitionId- the workflow metrics sla definition IDactive- the active- Returns:
- the matching workflow metrics sla definition
-
fetchByWMSLAD_A
public static WorkflowMetricsSLADefinition fetchByWMSLAD_A(long workflowMetricsSLADefinitionId, boolean active) Returns the workflow metrics sla definition where workflowMetricsSLADefinitionId = ? and active = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
workflowMetricsSLADefinitionId- the workflow metrics sla definition IDactive- the active- Returns:
- the matching workflow metrics sla definition, or
nullif 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 returnsnullif it could not be found, optionally using the finder cache.- Parameters:
workflowMetricsSLADefinitionId- the workflow metrics sla definition IDactive- the activeuseFinderCache- whether to use the finder cache- Returns:
- the matching workflow metrics sla definition, or
nullif 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 IDactive- 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 IDactive- the active- Returns:
- the number of matching workflow metrics sla definitions
-
findByC_S
Returns all the workflow metrics sla definitions where companyId = ? and status = ?.- Parameters:
companyId- the company IDstatus- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
companyId- the company IDstatus- the statusstart- the lower bound of the range of workflow metrics sla definitionsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
companyId- the company IDstatus- the statusstart- the lower bound of the range of workflow metrics sla definitionsend- the upper bound of the range of workflow metrics sla definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
companyId- the company IDstatus- the statusstart- the lower bound of the range of workflow metrics sla definitionsend- the upper bound of the range of workflow metrics sla definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition
-
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 IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition, or
nullif 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 IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition
-
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 IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition, or
nullif 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 definitioncompanyId- the company IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next workflow metrics sla definition
-
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 IDstatus- 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 IDstatus- 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 IDactive- the activeprocessId- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
companyId- the company IDactive- the activeprocessId- the process IDstart- the lower bound of the range of workflow metrics sla definitionsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
companyId- the company IDactive- the activeprocessId- the process IDstart- the lower bound of the range of workflow metrics sla definitionsend- the upper bound of the range of workflow metrics sla definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
companyId- the company IDactive- the activeprocessId- the process IDstart- the lower bound of the range of workflow metrics sla definitionsend- the upper bound of the range of workflow metrics sla definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDactive- the activeprocessId- the process IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition
-
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 IDactive- the activeprocessId- the process IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition, or
nullif 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 IDactive- the activeprocessId- the process IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition
-
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 IDactive- the activeprocessId- the process IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition, or
nullif 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 definitioncompanyId- the company IDactive- the activeprocessId- the process IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next workflow metrics sla definition
-
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 IDactive- the activeprocessId- 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 IDactive- the activeprocessId- 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 IDactive- the activename- the nameprocessId- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
companyId- the company IDactive- the activename- the nameprocessId- the process IDstart- the lower bound of the range of workflow metrics sla definitionsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
companyId- the company IDactive- the activename- the nameprocessId- the process IDstart- the lower bound of the range of workflow metrics sla definitionsend- the upper bound of the range of workflow metrics sla definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
companyId- the company IDactive- the activename- the nameprocessId- the process IDstart- the lower bound of the range of workflow metrics sla definitionsend- the upper bound of the range of workflow metrics sla definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDactive- the activename- the nameprocessId- the process IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition
-
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 IDactive- the activename- the nameprocessId- the process IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition, or
nullif 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 IDactive- the activename- the nameprocessId- the process IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition
-
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 IDactive- the activename- the nameprocessId- the process IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition, or
nullif 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 definitioncompanyId- the company IDactive- the activename- the nameprocessId- the process IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next workflow metrics sla definition
-
removeByC_A_N_P
Removes all the workflow metrics sla definitions where companyId = ? and active = ? and name = ? and processId = ? from the database.- Parameters:
companyId- the company IDactive- the activename- the nameprocessId- the process ID
-
countByC_A_N_P
Returns the number of workflow metrics sla definitions where companyId = ? and active = ? and name = ? and processId = ?.- Parameters:
companyId- the company IDactive- the activename- the nameprocessId- 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 IDactive- the activeprocessId- the process IDstatus- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
companyId- the company IDactive- the activeprocessId- the process IDstatus- the statusstart- the lower bound of the range of workflow metrics sla definitionsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
companyId- the company IDactive- the activeprocessId- the process IDstatus- the statusstart- the lower bound of the range of workflow metrics sla definitionsend- the upper bound of the range of workflow metrics sla definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
companyId- the company IDactive- the activeprocessId- the process IDstatus- the statusstart- the lower bound of the range of workflow metrics sla definitionsend- the upper bound of the range of workflow metrics sla definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDactive- the activeprocessId- the process IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition
-
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 IDactive- the activeprocessId- the process IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition, or
nullif 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 IDactive- the activeprocessId- the process IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition
-
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 IDactive- the activeprocessId- the process IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition, or
nullif 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 definitioncompanyId- the company IDactive- the activeprocessId- the process IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next workflow metrics sla definition
-
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 IDactive- the activeprocessId- the process IDstatus- 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 IDactive- the activeprocessId- the process IDstatus- 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 IDactive- the activeprocessId- the process IDprocessVersion- the process versionstatus- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
companyId- the company IDactive- the activeprocessId- the process IDprocessVersion- the process versionstatus- the statusstart- the lower bound of the range of workflow metrics sla definitionsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
companyId- the company IDactive- the activeprocessId- the process IDprocessVersion- the process versionstatus- the statusstart- the lower bound of the range of workflow metrics sla definitionsend- the upper bound of the range of workflow metrics sla definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
companyId- the company IDactive- the activeprocessId- the process IDprocessVersion- the process versionstatus- the statusstart- the lower bound of the range of workflow metrics sla definitionsend- the upper bound of the range of workflow metrics sla definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDactive- the activeprocessId- the process IDprocessVersion- the process versionstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition
-
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 IDactive- the activeprocessId- the process IDprocessVersion- the process versionstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition, or
nullif 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 IDactive- the activeprocessId- the process IDprocessVersion- the process versionstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition
-
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 IDactive- the activeprocessId- the process IDprocessVersion- the process versionstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition, or
nullif 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 definitioncompanyId- the company IDactive- the activeprocessId- the process IDprocessVersion- the process versionstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next workflow metrics sla definition
-
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 IDactive- the activeprocessId- the process IDprocessVersion- the process versionstatus- 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 IDactive- the activeprocessId- the process IDprocessVersion- the process versionstatus- the status- Returns:
- the number of matching workflow metrics sla definitions
-
cacheResult
Caches the workflow metrics sla definition in the entity cache if it is enabled.- Parameters:
workflowMetricsSLADefinition- the workflow metrics sla definition
-
cacheResult
Caches the workflow metrics sla definitions in the entity cache if it is enabled.- Parameters:
workflowMetricsSLADefinitions- the workflow metrics sla definitions
-
create
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
-
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 aNoSuchSLADefinitionExceptionif it could not be found.- Parameters:
workflowMetricsSLADefinitionId- the primary key of the workflow metrics sla definition- Returns:
- the workflow metrics sla definition
-
fetchByPrimaryKey
Returns the workflow metrics sla definition with the primary key or returnsnullif it could not be found.- Parameters:
workflowMetricsSLADefinitionId- the primary key of the workflow metrics sla definition- Returns:
- the workflow metrics sla definition, or
nullif a workflow metrics sla definition with the primary key could not be found
-
findAll
Returns all the workflow metrics sla definitions.- Returns:
- the workflow metrics sla definitions
-
findAll
Returns a range of all the workflow metrics sla definitions.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
start- the lower bound of the range of workflow metrics sla definitionsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
start- the lower bound of the range of workflow metrics sla definitionsend- the upper bound of the range of workflow metrics sla definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionModelImpl.- Parameters:
start- the lower bound of the range of workflow metrics sla definitionsend- the upper bound of the range of workflow metrics sla definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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
-
setPersistence
-