@ProviderType public interface WorkflowMetricsSLADefinitionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<WorkflowMetricsSLADefinition>
Caching information and settings can be found in portal.properties
WorkflowMetricsSLADefinitionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<WorkflowMetricsSLADefinition> workflowMetricsSLADefinitions)
Caches the workflow metrics sla definitions in the entity cache if it is enabled.
|
void |
cacheResult(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
Caches the workflow metrics sla definition in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of workflow metrics sla definitions.
|
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 = ?.
|
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 = ?.
|
int |
countByC_P_S(long companyId,
long processId,
int status)
Returns the number of workflow metrics sla definitions where companyId = ? and processId = ? and status = ?.
|
int |
countByC_P(long companyId,
long processId)
Returns the number of workflow metrics sla definitions where companyId = ? and processId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of workflow metrics sla definitions where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of workflow metrics sla definitions where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of workflow metrics sla definitions where uuid = ?.
|
WorkflowMetricsSLADefinition |
create(long workflowMetricsSLADefinitionId)
Creates a new workflow metrics sla definition with the primary key.
|
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. |
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. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
WorkflowMetricsSLADefinition |
fetchByPrimaryKey(long workflowMetricsSLADefinitionId)
Returns the workflow metrics sla definition with the primary key or returns
null if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
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. |
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 = ?.
|
java.util.List<WorkflowMetricsSLADefinition> |
findAll()
Returns all the workflow metrics sla definitions.
|
java.util.List<WorkflowMetricsSLADefinition> |
findAll(int start,
int end)
Returns a range of all the workflow metrics sla definitions.
|
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.
|
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.
|
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. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<WorkflowMetricsSLADefinition> |
findByC_P(long companyId,
long processId)
Returns all the workflow metrics sla definitions where companyId = ? and processId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
WorkflowMetricsSLADefinition |
findByPrimaryKey(long workflowMetricsSLADefinitionId)
Returns the workflow metrics sla definition with the primary key or throws a
NoSuchSLADefinitionException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<WorkflowMetricsSLADefinition> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the workflow metrics sla definitions where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
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 = ?.
|
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 = ?.
|
java.util.List<WorkflowMetricsSLADefinition> |
findByUuid(java.lang.String uuid)
Returns all the workflow metrics sla definitions where uuid = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
WorkflowMetricsSLADefinition |
remove(long workflowMetricsSLADefinitionId)
Removes the workflow metrics sla definition with the primary key from the database.
|
void |
removeAll()
Removes all the workflow metrics sla definitions from the database.
|
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.
|
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.
|
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.
|
void |
removeByC_P(long companyId,
long processId)
Removes all the workflow metrics sla definitions where companyId = ? and processId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the workflow metrics sla definitions where uuid = ? and companyId = ? from the database.
|
WorkflowMetricsSLADefinition |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the workflow metrics sla definition where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the workflow metrics sla definitions where uuid = ? from the database.
|
WorkflowMetricsSLADefinition |
updateImpl(WorkflowMetricsSLADefinition workflowMetricsSLADefinition) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<WorkflowMetricsSLADefinition> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.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)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
)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 cacheWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition[] 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 foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchSLADefinitionException
uuid
- the uuidgroupId
- the group IDNoSuchSLADefinitionException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<WorkflowMetricsSLADefinition> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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)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
)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 cacheWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition[] 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 foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<WorkflowMetricsSLADefinition> findByC_P(long companyId, long processId)
companyId
- the company IDprocessId
- the process IDjava.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)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
)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 cacheWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition[] 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 foundvoid removeByC_P(long companyId, long processId)
companyId
- the company IDprocessId
- the process IDint countByC_P(long companyId, long processId)
companyId
- the company IDprocessId
- the process IDWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition removeByC_N_P(long companyId, java.lang.String name, long processId) throws NoSuchSLADefinitionException
companyId
- the company IDname
- the nameprocessId
- the process IDNoSuchSLADefinitionException
int countByC_N_P(long companyId, java.lang.String name, long processId)
companyId
- the company IDname
- the nameprocessId
- the process IDjava.util.List<WorkflowMetricsSLADefinition> findByC_P_S(long companyId, long processId, int status)
companyId
- the company IDprocessId
- the process IDstatus
- the statusjava.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)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
)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 cacheWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition[] 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 foundvoid removeByC_P_S(long companyId, long processId, int status)
companyId
- the company IDprocessId
- the process IDstatus
- the statusint countByC_P_S(long companyId, long processId, int status)
companyId
- the company IDprocessId
- the process IDstatus
- the statusjava.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 statusjava.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)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
)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 cacheWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition[] 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 foundvoid 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 statusint 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 statusvoid cacheResult(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
workflowMetricsSLADefinition
- the workflow metrics sla definitionvoid cacheResult(java.util.List<WorkflowMetricsSLADefinition> workflowMetricsSLADefinitions)
workflowMetricsSLADefinitions
- the workflow metrics sla definitionsWorkflowMetricsSLADefinition create(long workflowMetricsSLADefinitionId)
workflowMetricsSLADefinitionId
- the primary key for the new workflow metrics sla definitionWorkflowMetricsSLADefinition 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 foundWorkflowMetricsSLADefinition updateImpl(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
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 foundWorkflowMetricsSLADefinition 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 foundjava.util.List<WorkflowMetricsSLADefinition> findAll()
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)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
)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 cachevoid removeAll()
int countAll()