@ProviderType
public class WorkflowMetricsSLADefinitionUtil
extends java.lang.Object
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
WorkflowMetricsSLADefinitionPersistence
Constructor and Description |
---|
WorkflowMetricsSLADefinitionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<WorkflowMetricsSLADefinition> workflowMetricsSLADefinitions)
Caches the workflow metrics sla definitions in the entity cache if it is enabled.
|
static void |
cacheResult(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
Caches the workflow metrics sla definition in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(WorkflowMetricsSLADefinition workflowMetricsSLADefinition) |
static int |
countAll()
Returns the number of workflow metrics sla definitions.
|
static int |
countByC_N_P(long companyId,
java.lang.String name,
long processId)
Returns the number of workflow metrics sla definitions where companyId = ? and name = ? and processId = ?.
|
static int |
countByC_P_NotPV_S(long companyId,
long processId,
java.lang.String processVersion,
int status)
Returns the number of workflow metrics sla definitions where companyId = ? and processId = ? and processVersion ≠ ? and status = ?.
|
static int |
countByC_P_S(long companyId,
long processId,
int status)
Returns the number of workflow metrics sla definitions where companyId = ? and processId = ? and status = ?.
|
static int |
countByC_P(long companyId,
long processId)
Returns the number of workflow metrics sla definitions where companyId = ? and processId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of workflow metrics sla definitions where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of workflow metrics sla definitions where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of workflow metrics sla definitions where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static WorkflowMetricsSLADefinition |
create(long workflowMetricsSLADefinitionId)
Creates a new workflow metrics sla definition with the primary key.
|
static WorkflowMetricsSLADefinition |
fetchByC_N_P(long companyId,
java.lang.String name,
long processId)
Returns the workflow metrics sla definition where companyId = ? and name = ? and processId = ? or returns
null if it could not be found. |
static WorkflowMetricsSLADefinition |
fetchByC_N_P(long companyId,
java.lang.String name,
long processId,
boolean retrieveFromCache)
Returns the workflow metrics sla definition where companyId = ? and name = ? and processId = ? or returns
null if it could not be found, optionally using the finder cache. |
static WorkflowMetricsSLADefinition |
fetchByC_P_First(long companyId,
long processId,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
Returns the first workflow metrics sla definition in the ordered set where companyId = ? and processId = ?.
|
static WorkflowMetricsSLADefinition |
fetchByC_P_Last(long companyId,
long processId,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
Returns the last workflow metrics sla definition in the ordered set where companyId = ? and processId = ?.
|
static WorkflowMetricsSLADefinition |
fetchByC_P_NotPV_S_First(long companyId,
long processId,
java.lang.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 processId = ? and processVersion ≠ ? and status = ?.
|
static WorkflowMetricsSLADefinition |
fetchByC_P_NotPV_S_Last(long companyId,
long processId,
java.lang.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 processId = ? and processVersion ≠ ? and status = ?.
|
static WorkflowMetricsSLADefinition |
fetchByC_P_S_First(long companyId,
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 processId = ? and status = ?.
|
static WorkflowMetricsSLADefinition |
fetchByC_P_S_Last(long companyId,
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 processId = ? and status = ?.
|
static WorkflowMetricsSLADefinition |
fetchByPrimaryKey(long workflowMetricsSLADefinitionId)
Returns the workflow metrics sla definition with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,WorkflowMetricsSLADefinition> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static WorkflowMetricsSLADefinition |
fetchByUuid_C_First(java.lang.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 WorkflowMetricsSLADefinition |
fetchByUuid_C_Last(java.lang.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 |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
Returns the first workflow metrics sla definition in the ordered set where uuid = ?.
|
static WorkflowMetricsSLADefinition |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the workflow metrics sla definition where uuid = ? and groupId = ? or returns
null if it could not be found. |
static WorkflowMetricsSLADefinition |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the workflow metrics sla definition where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static WorkflowMetricsSLADefinition |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
Returns the last workflow metrics sla definition in the ordered set where uuid = ?.
|
static java.util.List<WorkflowMetricsSLADefinition> |
findAll()
Returns all the workflow metrics sla definitions.
|
static java.util.List<WorkflowMetricsSLADefinition> |
findAll(int start,
int end)
Returns a range of all the workflow metrics sla definitions.
|
static java.util.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 java.util.List<WorkflowMetricsSLADefinition> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the workflow metrics sla definitions.
|
static WorkflowMetricsSLADefinition |
findByC_N_P(long companyId,
java.lang.String name,
long processId)
Returns the workflow metrics sla definition where companyId = ? and name = ? and processId = ? or throws a
NoSuchSLADefinitionException if it could not be found. |
static WorkflowMetricsSLADefinition |
findByC_P_First(long companyId,
long processId,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
Returns the first workflow metrics sla definition in the ordered set where companyId = ? and processId = ?.
|
static WorkflowMetricsSLADefinition |
findByC_P_Last(long companyId,
long processId,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
Returns the last workflow metrics sla definition in the ordered set where companyId = ? and processId = ?.
|
static WorkflowMetricsSLADefinition |
findByC_P_NotPV_S_First(long companyId,
long processId,
java.lang.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 processId = ? and processVersion ≠ ? and status = ?.
|
static WorkflowMetricsSLADefinition |
findByC_P_NotPV_S_Last(long companyId,
long processId,
java.lang.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 processId = ? and processVersion ≠ ? and status = ?.
|
static WorkflowMetricsSLADefinition[] |
findByC_P_NotPV_S_PrevAndNext(long workflowMetricsSLADefinitionId,
long companyId,
long processId,
java.lang.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 processId = ? and processVersion ≠ ? and status = ?.
|
static java.util.List<WorkflowMetricsSLADefinition> |
findByC_P_NotPV_S(long companyId,
long processId,
java.lang.String processVersion,
int status)
Returns all the workflow metrics sla definitions where companyId = ? and processId = ? and processVersion ≠ ? and status = ?.
|
static java.util.List<WorkflowMetricsSLADefinition> |
findByC_P_NotPV_S(long companyId,
long processId,
java.lang.String processVersion,
int status,
int start,
int end)
Returns a range of all the workflow metrics sla definitions where companyId = ? and processId = ? and processVersion ≠ ? and status = ?.
|
static java.util.List<WorkflowMetricsSLADefinition> |
findByC_P_NotPV_S(long companyId,
long processId,
java.lang.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 processId = ? and processVersion ≠ ? and status = ?.
|
static java.util.List<WorkflowMetricsSLADefinition> |
findByC_P_NotPV_S(long companyId,
long processId,
java.lang.String processVersion,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the workflow metrics sla definitions where companyId = ? and processId = ? and processVersion ≠ ? and status = ?.
|
static WorkflowMetricsSLADefinition[] |
findByC_P_PrevAndNext(long workflowMetricsSLADefinitionId,
long companyId,
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 processId = ?.
|
static WorkflowMetricsSLADefinition |
findByC_P_S_First(long companyId,
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 processId = ? and status = ?.
|
static WorkflowMetricsSLADefinition |
findByC_P_S_Last(long companyId,
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 processId = ? and status = ?.
|
static WorkflowMetricsSLADefinition[] |
findByC_P_S_PrevAndNext(long workflowMetricsSLADefinitionId,
long companyId,
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 processId = ? and status = ?.
|
static java.util.List<WorkflowMetricsSLADefinition> |
findByC_P_S(long companyId,
long processId,
int status)
Returns all the workflow metrics sla definitions where companyId = ? and processId = ? and status = ?.
|
static java.util.List<WorkflowMetricsSLADefinition> |
findByC_P_S(long companyId,
long processId,
int status,
int start,
int end)
Returns a range of all the workflow metrics sla definitions where companyId = ? and processId = ? and status = ?.
|
static java.util.List<WorkflowMetricsSLADefinition> |
findByC_P_S(long companyId,
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 processId = ? and status = ?.
|
static java.util.List<WorkflowMetricsSLADefinition> |
findByC_P_S(long companyId,
long processId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the workflow metrics sla definitions where companyId = ? and processId = ? and status = ?.
|
static java.util.List<WorkflowMetricsSLADefinition> |
findByC_P(long companyId,
long processId)
Returns all the workflow metrics sla definitions where companyId = ? and processId = ?.
|
static java.util.List<WorkflowMetricsSLADefinition> |
findByC_P(long companyId,
long processId,
int start,
int end)
Returns a range of all the workflow metrics sla definitions where companyId = ? and processId = ?.
|
static java.util.List<WorkflowMetricsSLADefinition> |
findByC_P(long companyId,
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 processId = ?.
|
static java.util.List<WorkflowMetricsSLADefinition> |
findByC_P(long companyId,
long processId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the workflow metrics sla definitions where companyId = ? and processId = ?.
|
static WorkflowMetricsSLADefinition |
findByPrimaryKey(long workflowMetricsSLADefinitionId)
Returns the workflow metrics sla definition with the primary key or throws a
NoSuchSLADefinitionException if it could not be found. |
static WorkflowMetricsSLADefinition |
findByUuid_C_First(java.lang.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 WorkflowMetricsSLADefinition |
findByUuid_C_Last(java.lang.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,
java.lang.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 java.util.List<WorkflowMetricsSLADefinition> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the workflow metrics sla definitions where uuid = ? and companyId = ?.
|
static java.util.List<WorkflowMetricsSLADefinition> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the workflow metrics sla definitions where uuid = ? and companyId = ?.
|
static java.util.List<WorkflowMetricsSLADefinition> |
findByUuid_C(java.lang.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 java.util.List<WorkflowMetricsSLADefinition> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the workflow metrics sla definitions where uuid = ? and companyId = ?.
|
static WorkflowMetricsSLADefinition |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
Returns the first workflow metrics sla definition in the ordered set where uuid = ?.
|
static WorkflowMetricsSLADefinition |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the workflow metrics sla definition where uuid = ? and groupId = ? or throws a
NoSuchSLADefinitionException if it could not be found. |
static WorkflowMetricsSLADefinition |
findByUuid_Last(java.lang.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,
java.lang.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 java.util.List<WorkflowMetricsSLADefinition> |
findByUuid(java.lang.String uuid)
Returns all the workflow metrics sla definitions where uuid = ?.
|
static java.util.List<WorkflowMetricsSLADefinition> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the workflow metrics sla definitions where uuid = ?.
|
static java.util.List<WorkflowMetricsSLADefinition> |
findByUuid(java.lang.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 java.util.List<WorkflowMetricsSLADefinition> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the workflow metrics sla definitions where uuid = ?.
|
static java.util.List<WorkflowMetricsSLADefinition> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<WorkflowMetricsSLADefinition> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<WorkflowMetricsSLADefinition> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) |
static WorkflowMetricsSLADefinitionPersistence |
getPersistence() |
static WorkflowMetricsSLADefinition |
remove(long workflowMetricsSLADefinitionId)
Removes the workflow metrics sla definition with the primary key from the database.
|
static void |
removeAll()
Removes all the workflow metrics sla definitions from the database.
|
static WorkflowMetricsSLADefinition |
removeByC_N_P(long companyId,
java.lang.String name,
long processId)
Removes the workflow metrics sla definition where companyId = ? and name = ? and processId = ? from the database.
|
static void |
removeByC_P_NotPV_S(long companyId,
long processId,
java.lang.String processVersion,
int status)
Removes all the workflow metrics sla definitions where companyId = ? and processId = ? and processVersion ≠ ? and status = ? from the database.
|
static void |
removeByC_P_S(long companyId,
long processId,
int status)
Removes all the workflow metrics sla definitions where companyId = ? and processId = ? and status = ? from the database.
|
static void |
removeByC_P(long companyId,
long processId)
Removes all the workflow metrics sla definitions where companyId = ? and processId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the workflow metrics sla definitions where uuid = ? and companyId = ? from the database.
|
static WorkflowMetricsSLADefinition |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the workflow metrics sla definition where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the workflow metrics sla definitions where uuid = ? from the database.
|
static WorkflowMetricsSLADefinition |
update(WorkflowMetricsSLADefinition workflowMetricsSLADefinition) |
static WorkflowMetricsSLADefinition |
update(WorkflowMetricsSLADefinition workflowMetricsSLADefinition,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static WorkflowMetricsSLADefinition |
updateImpl(WorkflowMetricsSLADefinition workflowMetricsSLADefinition) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,WorkflowMetricsSLADefinition> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<WorkflowMetricsSLADefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<WorkflowMetricsSLADefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<WorkflowMetricsSLADefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static WorkflowMetricsSLADefinition update(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static WorkflowMetricsSLADefinition update(WorkflowMetricsSLADefinition workflowMetricsSLADefinition, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<WorkflowMetricsSLADefinition> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<WorkflowMetricsSLADefinition> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<WorkflowMetricsSLADefinition> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<WorkflowMetricsSLADefinition> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static WorkflowMetricsSLADefinition findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionException
- if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionException
- if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition[] findByUuid_PrevAndNext(long workflowMetricsSLADefinitionId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
workflowMetricsSLADefinitionId
- the primary key of the current workflow metrics sla definitionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionException
- if a workflow metrics sla definition with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static WorkflowMetricsSLADefinition findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchSLADefinitionException
NoSuchSLADefinitionException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchSLADefinitionException
- if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchSLADefinitionException
uuid
- the uuidgroupId
- the group IDNoSuchSLADefinitionException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<WorkflowMetricsSLADefinition> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<WorkflowMetricsSLADefinition> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<WorkflowMetricsSLADefinition> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<WorkflowMetricsSLADefinition> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static WorkflowMetricsSLADefinition findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionException
- if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionException
- if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition[] findByUuid_C_PrevAndNext(long workflowMetricsSLADefinitionId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
workflowMetricsSLADefinitionId
- the primary key of the current workflow metrics sla definitionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionException
- if a workflow metrics sla definition with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<WorkflowMetricsSLADefinition> findByC_P(long companyId, long processId)
companyId
- the company IDprocessId
- the process IDpublic static java.util.List<WorkflowMetricsSLADefinition> findByC_P(long companyId, long processId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDprocessId
- 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)public static java.util.List<WorkflowMetricsSLADefinition> findByC_P(long companyId, long processId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDprocessId
- 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 (optionally null
)public static java.util.List<WorkflowMetricsSLADefinition> findByC_P(long companyId, long processId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDprocessId
- 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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static WorkflowMetricsSLADefinition findByC_P_First(long companyId, long processId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
companyId
- the company IDprocessId
- the process IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionException
- if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition fetchByC_P_First(long companyId, long processId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
companyId
- the company IDprocessId
- the process IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition findByC_P_Last(long companyId, long processId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
companyId
- the company IDprocessId
- the process IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionException
- if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition fetchByC_P_Last(long companyId, long processId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
companyId
- the company IDprocessId
- the process IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition[] findByC_P_PrevAndNext(long workflowMetricsSLADefinitionId, long companyId, long processId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
workflowMetricsSLADefinitionId
- the primary key of the current workflow metrics sla definitioncompanyId
- the company IDprocessId
- the process IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionException
- if a workflow metrics sla definition with the primary key could not be foundpublic static void removeByC_P(long companyId, long processId)
companyId
- the company IDprocessId
- the process IDpublic static int countByC_P(long companyId, long processId)
companyId
- the company IDprocessId
- the process IDpublic static WorkflowMetricsSLADefinition findByC_N_P(long companyId, java.lang.String name, long processId) throws NoSuchSLADefinitionException
NoSuchSLADefinitionException
if it could not be found.companyId
- the company IDname
- the nameprocessId
- the process IDNoSuchSLADefinitionException
- if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition fetchByC_N_P(long companyId, java.lang.String name, long processId)
null
if it could not be found. Uses the finder cache.companyId
- the company IDname
- the nameprocessId
- the process IDnull
if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition fetchByC_N_P(long companyId, java.lang.String name, long processId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDname
- the nameprocessId
- the process IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition removeByC_N_P(long companyId, java.lang.String name, long processId) throws NoSuchSLADefinitionException
companyId
- the company IDname
- the nameprocessId
- the process IDNoSuchSLADefinitionException
public static int countByC_N_P(long companyId, java.lang.String name, long processId)
companyId
- the company IDname
- the nameprocessId
- the process IDpublic static java.util.List<WorkflowMetricsSLADefinition> findByC_P_S(long companyId, long processId, int status)
companyId
- the company IDprocessId
- the process IDstatus
- the statuspublic static java.util.List<WorkflowMetricsSLADefinition> findByC_P_S(long companyId, long processId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDprocessId
- 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)public static java.util.List<WorkflowMetricsSLADefinition> findByC_P_S(long companyId, long processId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDprocessId
- 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 (optionally null
)public static java.util.List<WorkflowMetricsSLADefinition> findByC_P_S(long companyId, long processId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDprocessId
- 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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static WorkflowMetricsSLADefinition findByC_P_S_First(long companyId, long processId, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
companyId
- the company IDprocessId
- the process IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionException
- if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition fetchByC_P_S_First(long companyId, long processId, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
companyId
- the company IDprocessId
- the process IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition findByC_P_S_Last(long companyId, long processId, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
companyId
- the company IDprocessId
- the process IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionException
- if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition fetchByC_P_S_Last(long companyId, long processId, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
companyId
- the company IDprocessId
- the process IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition[] findByC_P_S_PrevAndNext(long workflowMetricsSLADefinitionId, long companyId, long processId, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
workflowMetricsSLADefinitionId
- the primary key of the current workflow metrics sla definitioncompanyId
- the company IDprocessId
- the process IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionException
- if a workflow metrics sla definition with the primary key could not be foundpublic static void removeByC_P_S(long companyId, long processId, int status)
companyId
- the company IDprocessId
- the process IDstatus
- the statuspublic static int countByC_P_S(long companyId, long processId, int status)
companyId
- the company IDprocessId
- the process IDstatus
- the statuspublic static java.util.List<WorkflowMetricsSLADefinition> findByC_P_NotPV_S(long companyId, long processId, java.lang.String processVersion, int status)
companyId
- the company IDprocessId
- the process IDprocessVersion
- the process versionstatus
- the statuspublic static java.util.List<WorkflowMetricsSLADefinition> findByC_P_NotPV_S(long companyId, long processId, java.lang.String processVersion, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDprocessId
- 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)public static java.util.List<WorkflowMetricsSLADefinition> findByC_P_NotPV_S(long companyId, long processId, java.lang.String processVersion, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDprocessId
- 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 (optionally null
)public static java.util.List<WorkflowMetricsSLADefinition> findByC_P_NotPV_S(long companyId, long processId, java.lang.String processVersion, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDprocessId
- 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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static WorkflowMetricsSLADefinition findByC_P_NotPV_S_First(long companyId, long processId, java.lang.String processVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
companyId
- the company IDprocessId
- the process IDprocessVersion
- the process versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionException
- if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition fetchByC_P_NotPV_S_First(long companyId, long processId, java.lang.String processVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
companyId
- the company IDprocessId
- the process IDprocessVersion
- the process versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition findByC_P_NotPV_S_Last(long companyId, long processId, java.lang.String processVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
companyId
- the company IDprocessId
- the process IDprocessVersion
- the process versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionException
- if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition fetchByC_P_NotPV_S_Last(long companyId, long processId, java.lang.String processVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
companyId
- the company IDprocessId
- the process IDprocessVersion
- the process versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow metrics sla definition could not be foundpublic static WorkflowMetricsSLADefinition[] findByC_P_NotPV_S_PrevAndNext(long workflowMetricsSLADefinitionId, long companyId, long processId, java.lang.String processVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) throws NoSuchSLADefinitionException
workflowMetricsSLADefinitionId
- the primary key of the current workflow metrics sla definitioncompanyId
- the company IDprocessId
- the process IDprocessVersion
- the process versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionException
- if a workflow metrics sla definition with the primary key could not be foundpublic static void removeByC_P_NotPV_S(long companyId, long processId, java.lang.String processVersion, int status)
companyId
- the company IDprocessId
- the process IDprocessVersion
- the process versionstatus
- the statuspublic static int countByC_P_NotPV_S(long companyId, long processId, java.lang.String processVersion, int status)
companyId
- the company IDprocessId
- the process IDprocessVersion
- the process versionstatus
- the statuspublic static void cacheResult(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
workflowMetricsSLADefinition
- the workflow metrics sla definitionpublic static void cacheResult(java.util.List<WorkflowMetricsSLADefinition> workflowMetricsSLADefinitions)
workflowMetricsSLADefinitions
- the workflow metrics sla definitionspublic static WorkflowMetricsSLADefinition create(long workflowMetricsSLADefinitionId)
workflowMetricsSLADefinitionId
- the primary key for the new workflow metrics sla definitionpublic static WorkflowMetricsSLADefinition remove(long workflowMetricsSLADefinitionId) throws NoSuchSLADefinitionException
workflowMetricsSLADefinitionId
- the primary key of the workflow metrics sla definitionNoSuchSLADefinitionException
- if a workflow metrics sla definition with the primary key could not be foundpublic static WorkflowMetricsSLADefinition updateImpl(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
public static WorkflowMetricsSLADefinition findByPrimaryKey(long workflowMetricsSLADefinitionId) throws NoSuchSLADefinitionException
NoSuchSLADefinitionException
if it could not be found.workflowMetricsSLADefinitionId
- the primary key of the workflow metrics sla definitionNoSuchSLADefinitionException
- if a workflow metrics sla definition with the primary key could not be foundpublic static WorkflowMetricsSLADefinition fetchByPrimaryKey(long workflowMetricsSLADefinitionId)
null
if it could not be found.workflowMetricsSLADefinitionId
- the primary key of the workflow metrics sla definitionnull
if a workflow metrics sla definition with the primary key could not be foundpublic static java.util.List<WorkflowMetricsSLADefinition> findAll()
public static java.util.List<WorkflowMetricsSLADefinition> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<WorkflowMetricsSLADefinition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<WorkflowMetricsSLADefinition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static WorkflowMetricsSLADefinitionPersistence getPersistence()