public class WorkflowMetricsSLADefinitionVersionUtil
extends java.lang.Object
com.liferay.portal.workflow.metrics.service.persistence.impl.WorkflowMetricsSLADefinitionVersionPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
WorkflowMetricsSLADefinitionVersionPersistence
Constructor and Description |
---|
WorkflowMetricsSLADefinitionVersionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<WorkflowMetricsSLADefinitionVersion> workflowMetricsSLADefinitionVersions)
Caches the workflow metrics sla definition versions in the entity cache if it is enabled.
|
static void |
cacheResult(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion)
Caches the workflow metrics sla definition version in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion) |
static int |
countAll()
Returns the number of workflow metrics sla definition versions.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of workflow metrics sla definition versions where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of workflow metrics sla definition versions where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of workflow metrics sla definition versions where uuid = ?.
|
static int |
countByV_WMSLAD(java.lang.String version,
long workflowMetricsSLADefinitionId)
Returns the number of workflow metrics sla definition versions where version = ? and workflowMetricsSLADefinitionId = ?.
|
static int |
countByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId)
Returns the number of workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static WorkflowMetricsSLADefinitionVersion |
create(long workflowMetricsSLADefinitionVersionId)
Creates a new workflow metrics sla definition version with the primary key.
|
static WorkflowMetricsSLADefinitionVersion |
fetchByPrimaryKey(long workflowMetricsSLADefinitionVersionId)
Returns the workflow metrics sla definition version with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,WorkflowMetricsSLADefinitionVersion> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static WorkflowMetricsSLADefinitionVersion |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
Returns the first workflow metrics sla definition version in the ordered set where uuid = ? and companyId = ?.
|
static WorkflowMetricsSLADefinitionVersion |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
Returns the last workflow metrics sla definition version in the ordered set where uuid = ? and companyId = ?.
|
static WorkflowMetricsSLADefinitionVersion |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
Returns the first workflow metrics sla definition version in the ordered set where uuid = ?.
|
static WorkflowMetricsSLADefinitionVersion |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the workflow metrics sla definition version where uuid = ? and groupId = ? or returns
null if it could not be found. |
static WorkflowMetricsSLADefinitionVersion |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the workflow metrics sla definition version where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static WorkflowMetricsSLADefinitionVersion |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
Returns the last workflow metrics sla definition version in the ordered set where uuid = ?.
|
static WorkflowMetricsSLADefinitionVersion |
fetchByV_WMSLAD(java.lang.String version,
long workflowMetricsSLADefinitionId)
Returns the workflow metrics sla definition version where version = ? and workflowMetricsSLADefinitionId = ? or returns
null if it could not be found. |
static WorkflowMetricsSLADefinitionVersion |
fetchByV_WMSLAD(java.lang.String version,
long workflowMetricsSLADefinitionId,
boolean useFinderCache)
Returns the workflow metrics sla definition version where version = ? and workflowMetricsSLADefinitionId = ? or returns
null if it could not be found, optionally using the finder cache. |
static WorkflowMetricsSLADefinitionVersion |
fetchByWorkflowMetricsSLADefinitionId_First(long workflowMetricsSLADefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
Returns the first workflow metrics sla definition version in the ordered set where workflowMetricsSLADefinitionId = ?.
|
static WorkflowMetricsSLADefinitionVersion |
fetchByWorkflowMetricsSLADefinitionId_Last(long workflowMetricsSLADefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
Returns the last workflow metrics sla definition version in the ordered set where workflowMetricsSLADefinitionId = ?.
|
static java.util.List<WorkflowMetricsSLADefinitionVersion> |
findAll()
Returns all the workflow metrics sla definition versions.
|
static java.util.List<WorkflowMetricsSLADefinitionVersion> |
findAll(int start,
int end)
Returns a range of all the workflow metrics sla definition versions.
|
static java.util.List<WorkflowMetricsSLADefinitionVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
Returns an ordered range of all the workflow metrics sla definition versions.
|
static java.util.List<WorkflowMetricsSLADefinitionVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the workflow metrics sla definition versions.
|
static WorkflowMetricsSLADefinitionVersion |
findByPrimaryKey(long workflowMetricsSLADefinitionVersionId)
Returns the workflow metrics sla definition version with the primary key or throws a
NoSuchSLADefinitionVersionException if it could not be found. |
static WorkflowMetricsSLADefinitionVersion |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
Returns the first workflow metrics sla definition version in the ordered set where uuid = ? and companyId = ?.
|
static WorkflowMetricsSLADefinitionVersion |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
Returns the last workflow metrics sla definition version in the ordered set where uuid = ? and companyId = ?.
|
static WorkflowMetricsSLADefinitionVersion[] |
findByUuid_C_PrevAndNext(long workflowMetricsSLADefinitionVersionId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
Returns the workflow metrics sla definition versions before and after the current workflow metrics sla definition version in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<WorkflowMetricsSLADefinitionVersion> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the workflow metrics sla definition versions where uuid = ? and companyId = ?.
|
static java.util.List<WorkflowMetricsSLADefinitionVersion> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the workflow metrics sla definition versions where uuid = ? and companyId = ?.
|
static java.util.List<WorkflowMetricsSLADefinitionVersion> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
Returns an ordered range of all the workflow metrics sla definition versions where uuid = ? and companyId = ?.
|
static java.util.List<WorkflowMetricsSLADefinitionVersion> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the workflow metrics sla definition versions where uuid = ? and companyId = ?.
|
static WorkflowMetricsSLADefinitionVersion |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
Returns the first workflow metrics sla definition version in the ordered set where uuid = ?.
|
static WorkflowMetricsSLADefinitionVersion |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the workflow metrics sla definition version where uuid = ? and groupId = ? or throws a
NoSuchSLADefinitionVersionException if it could not be found. |
static WorkflowMetricsSLADefinitionVersion |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
Returns the last workflow metrics sla definition version in the ordered set where uuid = ?.
|
static WorkflowMetricsSLADefinitionVersion[] |
findByUuid_PrevAndNext(long workflowMetricsSLADefinitionVersionId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
Returns the workflow metrics sla definition versions before and after the current workflow metrics sla definition version in the ordered set where uuid = ?.
|
static java.util.List<WorkflowMetricsSLADefinitionVersion> |
findByUuid(java.lang.String uuid)
Returns all the workflow metrics sla definition versions where uuid = ?.
|
static java.util.List<WorkflowMetricsSLADefinitionVersion> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the workflow metrics sla definition versions where uuid = ?.
|
static java.util.List<WorkflowMetricsSLADefinitionVersion> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
Returns an ordered range of all the workflow metrics sla definition versions where uuid = ?.
|
static java.util.List<WorkflowMetricsSLADefinitionVersion> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the workflow metrics sla definition versions where uuid = ?.
|
static WorkflowMetricsSLADefinitionVersion |
findByV_WMSLAD(java.lang.String version,
long workflowMetricsSLADefinitionId)
Returns the workflow metrics sla definition version where version = ? and workflowMetricsSLADefinitionId = ? or throws a
NoSuchSLADefinitionVersionException if it could not be found. |
static WorkflowMetricsSLADefinitionVersion |
findByWorkflowMetricsSLADefinitionId_First(long workflowMetricsSLADefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
Returns the first workflow metrics sla definition version in the ordered set where workflowMetricsSLADefinitionId = ?.
|
static WorkflowMetricsSLADefinitionVersion |
findByWorkflowMetricsSLADefinitionId_Last(long workflowMetricsSLADefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
Returns the last workflow metrics sla definition version in the ordered set where workflowMetricsSLADefinitionId = ?.
|
static WorkflowMetricsSLADefinitionVersion[] |
findByWorkflowMetricsSLADefinitionId_PrevAndNext(long workflowMetricsSLADefinitionVersionId,
long workflowMetricsSLADefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
Returns the workflow metrics sla definition versions before and after the current workflow metrics sla definition version in the ordered set where workflowMetricsSLADefinitionId = ?.
|
static java.util.List<WorkflowMetricsSLADefinitionVersion> |
findByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId)
Returns all the workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ?.
|
static java.util.List<WorkflowMetricsSLADefinitionVersion> |
findByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId,
int start,
int end)
Returns a range of all the workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ?.
|
static java.util.List<WorkflowMetricsSLADefinitionVersion> |
findByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
Returns an ordered range of all the workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ?.
|
static java.util.List<WorkflowMetricsSLADefinitionVersion> |
findByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ?.
|
static java.util.List<WorkflowMetricsSLADefinitionVersion> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<WorkflowMetricsSLADefinitionVersion> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<WorkflowMetricsSLADefinitionVersion> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) |
static WorkflowMetricsSLADefinitionVersionPersistence |
getPersistence() |
static WorkflowMetricsSLADefinitionVersion |
remove(long workflowMetricsSLADefinitionVersionId)
Removes the workflow metrics sla definition version with the primary key from the database.
|
static void |
removeAll()
Removes all the workflow metrics sla definition versions from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the workflow metrics sla definition versions where uuid = ? and companyId = ? from the database.
|
static WorkflowMetricsSLADefinitionVersion |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the workflow metrics sla definition version where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the workflow metrics sla definition versions where uuid = ? from the database.
|
static WorkflowMetricsSLADefinitionVersion |
removeByV_WMSLAD(java.lang.String version,
long workflowMetricsSLADefinitionId)
Removes the workflow metrics sla definition version where version = ? and workflowMetricsSLADefinitionId = ? from the database.
|
static void |
removeByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId)
Removes all the workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ? from the database.
|
static WorkflowMetricsSLADefinitionVersion |
update(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion) |
static WorkflowMetricsSLADefinitionVersion |
update(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static WorkflowMetricsSLADefinitionVersion |
updateImpl(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion) |
public WorkflowMetricsSLADefinitionVersionUtil()
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion)
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,WorkflowMetricsSLADefinitionVersion> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<WorkflowMetricsSLADefinitionVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<WorkflowMetricsSLADefinitionVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<WorkflowMetricsSLADefinitionVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static WorkflowMetricsSLADefinitionVersion update(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static WorkflowMetricsSLADefinitionVersion update(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<WorkflowMetricsSLADefinitionVersion> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<WorkflowMetricsSLADefinitionVersion> 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, then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionVersionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of workflow metrics sla definition versionsend
- the upper bound of the range of workflow metrics sla definition versions (not inclusive)public static java.util.List<WorkflowMetricsSLADefinitionVersion> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> 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, then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionVersionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of workflow metrics sla definition versionsend
- the upper bound of the range of workflow metrics sla definition versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<WorkflowMetricsSLADefinitionVersion> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionVersionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of workflow metrics sla definition versionsend
- the upper bound of the range of workflow metrics sla definition versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static WorkflowMetricsSLADefinitionVersion findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionVersionException
- if a matching workflow metrics sla definition version could not be foundpublic static WorkflowMetricsSLADefinitionVersion fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow metrics sla definition version could not be foundpublic static WorkflowMetricsSLADefinitionVersion findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionVersionException
- if a matching workflow metrics sla definition version could not be foundpublic static WorkflowMetricsSLADefinitionVersion fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow metrics sla definition version could not be foundpublic static WorkflowMetricsSLADefinitionVersion[] findByUuid_PrevAndNext(long workflowMetricsSLADefinitionVersionId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException
workflowMetricsSLADefinitionVersionId
- the primary key of the current workflow metrics sla definition versionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionVersionException
- if a workflow metrics sla definition version 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 WorkflowMetricsSLADefinitionVersion findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchSLADefinitionVersionException
NoSuchSLADefinitionVersionException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchSLADefinitionVersionException
- if a matching workflow metrics sla definition version could not be foundpublic static WorkflowMetricsSLADefinitionVersion 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 version could not be foundpublic static WorkflowMetricsSLADefinitionVersion fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching workflow metrics sla definition version could not be foundpublic static WorkflowMetricsSLADefinitionVersion removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchSLADefinitionVersionException
uuid
- the uuidgroupId
- the group IDNoSuchSLADefinitionVersionException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<WorkflowMetricsSLADefinitionVersion> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<WorkflowMetricsSLADefinitionVersion> 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, then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionVersionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of workflow metrics sla definition versionsend
- the upper bound of the range of workflow metrics sla definition versions (not inclusive)public static java.util.List<WorkflowMetricsSLADefinitionVersion> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> 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, then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionVersionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of workflow metrics sla definition versionsend
- the upper bound of the range of workflow metrics sla definition versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<WorkflowMetricsSLADefinitionVersion> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionVersionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of workflow metrics sla definition versionsend
- the upper bound of the range of workflow metrics sla definition versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static WorkflowMetricsSLADefinitionVersion findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionVersionException
- if a matching workflow metrics sla definition version could not be foundpublic static WorkflowMetricsSLADefinitionVersion fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow metrics sla definition version could not be foundpublic static WorkflowMetricsSLADefinitionVersion findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionVersionException
- if a matching workflow metrics sla definition version could not be foundpublic static WorkflowMetricsSLADefinitionVersion fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow metrics sla definition version could not be foundpublic static WorkflowMetricsSLADefinitionVersion[] findByUuid_C_PrevAndNext(long workflowMetricsSLADefinitionVersionId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException
workflowMetricsSLADefinitionVersionId
- the primary key of the current workflow metrics sla definition versionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionVersionException
- if a workflow metrics sla definition version 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<WorkflowMetricsSLADefinitionVersion> findByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId)
workflowMetricsSLADefinitionId
- the workflow metrics sla definition IDpublic static java.util.List<WorkflowMetricsSLADefinitionVersion> findByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId, 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, then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionVersionModelImpl
.
workflowMetricsSLADefinitionId
- the workflow metrics sla definition IDstart
- the lower bound of the range of workflow metrics sla definition versionsend
- the upper bound of the range of workflow metrics sla definition versions (not inclusive)public static java.util.List<WorkflowMetricsSLADefinitionVersion> findByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> 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, then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionVersionModelImpl
.
workflowMetricsSLADefinitionId
- the workflow metrics sla definition IDstart
- the lower bound of the range of workflow metrics sla definition versionsend
- the upper bound of the range of workflow metrics sla definition versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<WorkflowMetricsSLADefinitionVersion> findByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionVersionModelImpl
.
workflowMetricsSLADefinitionId
- the workflow metrics sla definition IDstart
- the lower bound of the range of workflow metrics sla definition versionsend
- the upper bound of the range of workflow metrics sla definition versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static WorkflowMetricsSLADefinitionVersion findByWorkflowMetricsSLADefinitionId_First(long workflowMetricsSLADefinitionId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException
workflowMetricsSLADefinitionId
- the workflow metrics sla definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionVersionException
- if a matching workflow metrics sla definition version could not be foundpublic static WorkflowMetricsSLADefinitionVersion fetchByWorkflowMetricsSLADefinitionId_First(long workflowMetricsSLADefinitionId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
workflowMetricsSLADefinitionId
- the workflow metrics sla definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow metrics sla definition version could not be foundpublic static WorkflowMetricsSLADefinitionVersion findByWorkflowMetricsSLADefinitionId_Last(long workflowMetricsSLADefinitionId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException
workflowMetricsSLADefinitionId
- the workflow metrics sla definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionVersionException
- if a matching workflow metrics sla definition version could not be foundpublic static WorkflowMetricsSLADefinitionVersion fetchByWorkflowMetricsSLADefinitionId_Last(long workflowMetricsSLADefinitionId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator)
workflowMetricsSLADefinitionId
- the workflow metrics sla definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow metrics sla definition version could not be foundpublic static WorkflowMetricsSLADefinitionVersion[] findByWorkflowMetricsSLADefinitionId_PrevAndNext(long workflowMetricsSLADefinitionVersionId, long workflowMetricsSLADefinitionId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException
workflowMetricsSLADefinitionVersionId
- the primary key of the current workflow metrics sla definition versionworkflowMetricsSLADefinitionId
- the workflow metrics sla definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSLADefinitionVersionException
- if a workflow metrics sla definition version with the primary key could not be foundpublic static void removeByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId)
workflowMetricsSLADefinitionId
- the workflow metrics sla definition IDpublic static int countByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId)
workflowMetricsSLADefinitionId
- the workflow metrics sla definition IDpublic static WorkflowMetricsSLADefinitionVersion findByV_WMSLAD(java.lang.String version, long workflowMetricsSLADefinitionId) throws NoSuchSLADefinitionVersionException
NoSuchSLADefinitionVersionException
if it could not be found.version
- the versionworkflowMetricsSLADefinitionId
- the workflow metrics sla definition IDNoSuchSLADefinitionVersionException
- if a matching workflow metrics sla definition version could not be foundpublic static WorkflowMetricsSLADefinitionVersion fetchByV_WMSLAD(java.lang.String version, long workflowMetricsSLADefinitionId)
null
if it could not be found. Uses the finder cache.version
- the versionworkflowMetricsSLADefinitionId
- the workflow metrics sla definition IDnull
if a matching workflow metrics sla definition version could not be foundpublic static WorkflowMetricsSLADefinitionVersion fetchByV_WMSLAD(java.lang.String version, long workflowMetricsSLADefinitionId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.version
- the versionworkflowMetricsSLADefinitionId
- the workflow metrics sla definition IDuseFinderCache
- whether to use the finder cachenull
if a matching workflow metrics sla definition version could not be foundpublic static WorkflowMetricsSLADefinitionVersion removeByV_WMSLAD(java.lang.String version, long workflowMetricsSLADefinitionId) throws NoSuchSLADefinitionVersionException
version
- the versionworkflowMetricsSLADefinitionId
- the workflow metrics sla definition IDNoSuchSLADefinitionVersionException
public static int countByV_WMSLAD(java.lang.String version, long workflowMetricsSLADefinitionId)
version
- the versionworkflowMetricsSLADefinitionId
- the workflow metrics sla definition IDpublic static void cacheResult(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion)
workflowMetricsSLADefinitionVersion
- the workflow metrics sla definition versionpublic static void cacheResult(java.util.List<WorkflowMetricsSLADefinitionVersion> workflowMetricsSLADefinitionVersions)
workflowMetricsSLADefinitionVersions
- the workflow metrics sla definition versionspublic static WorkflowMetricsSLADefinitionVersion create(long workflowMetricsSLADefinitionVersionId)
workflowMetricsSLADefinitionVersionId
- the primary key for the new workflow metrics sla definition versionpublic static WorkflowMetricsSLADefinitionVersion remove(long workflowMetricsSLADefinitionVersionId) throws NoSuchSLADefinitionVersionException
workflowMetricsSLADefinitionVersionId
- the primary key of the workflow metrics sla definition versionNoSuchSLADefinitionVersionException
- if a workflow metrics sla definition version with the primary key could not be foundpublic static WorkflowMetricsSLADefinitionVersion updateImpl(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion)
public static WorkflowMetricsSLADefinitionVersion findByPrimaryKey(long workflowMetricsSLADefinitionVersionId) throws NoSuchSLADefinitionVersionException
NoSuchSLADefinitionVersionException
if it could not be found.workflowMetricsSLADefinitionVersionId
- the primary key of the workflow metrics sla definition versionNoSuchSLADefinitionVersionException
- if a workflow metrics sla definition version with the primary key could not be foundpublic static WorkflowMetricsSLADefinitionVersion fetchByPrimaryKey(long workflowMetricsSLADefinitionVersionId)
null
if it could not be found.workflowMetricsSLADefinitionVersionId
- the primary key of the workflow metrics sla definition versionnull
if a workflow metrics sla definition version with the primary key could not be foundpublic static java.util.List<WorkflowMetricsSLADefinitionVersion> findAll()
public static java.util.List<WorkflowMetricsSLADefinitionVersion> 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, then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionVersionModelImpl
.
start
- the lower bound of the range of workflow metrics sla definition versionsend
- the upper bound of the range of workflow metrics sla definition versions (not inclusive)public static java.util.List<WorkflowMetricsSLADefinitionVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> 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, then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionVersionModelImpl
.
start
- the lower bound of the range of workflow metrics sla definition versionsend
- the upper bound of the range of workflow metrics sla definition versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<WorkflowMetricsSLADefinitionVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from WorkflowMetricsSLADefinitionVersionModelImpl
.
start
- the lower bound of the range of workflow metrics sla definition versionsend
- the upper bound of the range of workflow metrics sla definition versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static WorkflowMetricsSLADefinitionVersionPersistence getPersistence()