Class WorkflowMetricsSLADefinitionVersionUtil
com.liferay.portal.workflow.metrics.service.persistence.impl.WorkflowMetricsSLADefinitionVersionPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion) Caches the workflow metrics sla definition version in the entity cache if it is enabled.static voidcacheResult(List<WorkflowMetricsSLADefinitionVersion> workflowMetricsSLADefinitionVersions) Caches the workflow metrics sla definition versions in the entity cache if it is enabled.static voidstatic voidclearCache(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion) static intcountAll()Returns the number of workflow metrics sla definition versions.static intcountByUuid(String uuid) Returns the number of workflow metrics sla definition versions where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of workflow metrics sla definition versions where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of workflow metrics sla definition versions where uuid = ? and groupId = ?.static intcountByV_WMSLAD(String version, long workflowMetricsSLADefinitionId) Returns the number of workflow metrics sla definition versions where version = ? and workflowMetricsSLADefinitionId = ?.static intcountByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId) Returns the number of workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) create(long workflowMetricsSLADefinitionVersionId) Creates a new workflow metrics sla definition version with the primary key.fetchByPrimaryKey(long workflowMetricsSLADefinitionVersionId) Returns the workflow metrics sla definition version with the primary key or returnsnullif it could not be found.fetchByPrimaryKeys(Set<Serializable> primaryKeys) fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns the first workflow metrics sla definition version in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns the last workflow metrics sla definition version in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns the first workflow metrics sla definition version in the ordered set where uuid = ?.fetchByUUID_G(String uuid, long groupId) Returns the workflow metrics sla definition version where uuid = ? and groupId = ? or returnsnullif it could not be found.fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the workflow metrics sla definition version where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns the last workflow metrics sla definition version in the ordered set where uuid = ?.fetchByV_WMSLAD(String version, long workflowMetricsSLADefinitionId) Returns the workflow metrics sla definition version where version = ? and workflowMetricsSLADefinitionId = ? or returnsnullif it could not be found.fetchByV_WMSLAD(String version, long workflowMetricsSLADefinitionId, boolean useFinderCache) Returns the workflow metrics sla definition version where version = ? and workflowMetricsSLADefinitionId = ? or returnsnullif it could not be found, optionally using the finder cache.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 = ?.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 = ?.findAll()Returns all the workflow metrics sla definition versions.findAll(int start, int end) Returns a range of all the workflow metrics sla definition versions.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.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.findByPrimaryKey(long workflowMetricsSLADefinitionVersionId) Returns the workflow metrics sla definition version with the primary key or throws aNoSuchSLADefinitionVersionExceptionif it could not be found.findByUuid(String uuid) Returns all the workflow metrics sla definition versions where uuid = ?.findByUuid(String uuid, int start, int end) Returns a range of all the workflow metrics sla definition versions where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns an ordered range of all the workflow metrics sla definition versions where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the workflow metrics sla definition versions where uuid = ?.findByUuid_C(String uuid, long companyId) Returns all the workflow metrics sla definition versions where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the workflow metrics sla definition versions where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns an ordered range of all the workflow metrics sla definition versions where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the workflow metrics sla definition versions where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns the first workflow metrics sla definition version in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns the last workflow metrics sla definition version in the ordered set where uuid = ? and companyId = ?.static WorkflowMetricsSLADefinitionVersion[]findByUuid_C_PrevAndNext(long workflowMetricsSLADefinitionVersionId, 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 = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns the first workflow metrics sla definition version in the ordered set where uuid = ?.findByUUID_G(String uuid, long groupId) Returns the workflow metrics sla definition version where uuid = ? and groupId = ? or throws aNoSuchSLADefinitionVersionExceptionif it could not be found.findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns the last workflow metrics sla definition version in the ordered set where uuid = ?.static WorkflowMetricsSLADefinitionVersion[]findByUuid_PrevAndNext(long workflowMetricsSLADefinitionVersionId, 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 = ?.findByV_WMSLAD(String version, long workflowMetricsSLADefinitionId) Returns the workflow metrics sla definition version where version = ? and workflowMetricsSLADefinitionId = ? or throws aNoSuchSLADefinitionVersionExceptionif it could not be found.findByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId) Returns all the workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ?.findByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId, int start, int end) Returns a range of all the workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ?.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 = ?.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 = ?.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 = ?.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 = ?.findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) remove(long workflowMetricsSLADefinitionVersionId) Removes the workflow metrics sla definition version with the primary key from the database.static voidRemoves all the workflow metrics sla definition versions from the database.static voidremoveByUuid(String uuid) Removes all the workflow metrics sla definition versions where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the workflow metrics sla definition versions where uuid = ? and companyId = ? from the database.removeByUUID_G(String uuid, long groupId) Removes the workflow metrics sla definition version where uuid = ? and groupId = ? from the database.removeByV_WMSLAD(String version, long workflowMetricsSLADefinitionId) Removes the workflow metrics sla definition version where version = ? and workflowMetricsSLADefinitionId = ? from the database.static voidremoveByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId) Removes all the workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ? from the database.static voidupdate(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion) update(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateImpl(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion)
-
Constructor Details
-
WorkflowMetricsSLADefinitionVersionUtil
public WorkflowMetricsSLADefinitionVersionUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
public static void clearCache(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion) - See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,WorkflowMetricsSLADefinitionVersion> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<WorkflowMetricsSLADefinitionVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<WorkflowMetricsSLADefinitionVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<WorkflowMetricsSLADefinitionVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) - See Also:
-
update
public static WorkflowMetricsSLADefinitionVersion update(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion) - See Also:
-
update
public static WorkflowMetricsSLADefinitionVersion update(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
Returns all the workflow metrics sla definition versions where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching workflow metrics sla definition versions
-
findByUuid
Returns a range of all the workflow metrics sla definition versions where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionVersionModelImpl.- Parameters:
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)- Returns:
- the range of matching workflow metrics sla definition versions
-
findByUuid
public static List<WorkflowMetricsSLADefinitionVersion> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns an ordered range of all the workflow metrics sla definition versions where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionVersionModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching workflow metrics sla definition versions
-
findByUuid
public static List<WorkflowMetricsSLADefinitionVersion> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the workflow metrics sla definition versions where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionVersionModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching workflow metrics sla definition versions
-
findByUuid_First
public static WorkflowMetricsSLADefinitionVersion findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException Returns the first workflow metrics sla definition version in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition version
-
fetchByUuid_First
public static WorkflowMetricsSLADefinitionVersion fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns the first workflow metrics sla definition version in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition version, or
nullif a matching workflow metrics sla definition version could not be found
-
findByUuid_Last
public static WorkflowMetricsSLADefinitionVersion findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException Returns the last workflow metrics sla definition version in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition version
-
fetchByUuid_Last
public static WorkflowMetricsSLADefinitionVersion fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns the last workflow metrics sla definition version in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition version, or
nullif a matching workflow metrics sla definition version could not be found
-
findByUuid_PrevAndNext
public static WorkflowMetricsSLADefinitionVersion[] findByUuid_PrevAndNext(long workflowMetricsSLADefinitionVersionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException Returns the workflow metrics sla definition versions before and after the current workflow metrics sla definition version in the ordered set where uuid = ?.- Parameters:
workflowMetricsSLADefinitionVersionId- the primary key of the current workflow metrics sla definition versionuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next workflow metrics sla definition version
-
removeByUuid
Removes all the workflow metrics sla definition versions where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of workflow metrics sla definition versions where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching workflow metrics sla definition versions
-
findByUUID_G
public static WorkflowMetricsSLADefinitionVersion findByUUID_G(String uuid, long groupId) throws NoSuchSLADefinitionVersionException Returns the workflow metrics sla definition version where uuid = ? and groupId = ? or throws aNoSuchSLADefinitionVersionExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching workflow metrics sla definition version
-
fetchByUUID_G
Returns the workflow metrics sla definition version where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching workflow metrics sla definition version, or
nullif a matching workflow metrics sla definition version could not be found
-
fetchByUUID_G
public static WorkflowMetricsSLADefinitionVersion fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the workflow metrics sla definition version where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching workflow metrics sla definition version, or
nullif a matching workflow metrics sla definition version could not be found
-
removeByUUID_G
public static WorkflowMetricsSLADefinitionVersion removeByUUID_G(String uuid, long groupId) throws NoSuchSLADefinitionVersionException Removes the workflow metrics sla definition version where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the workflow metrics sla definition version that was removed
- Throws:
NoSuchSLADefinitionVersionException
-
countByUUID_G
Returns the number of workflow metrics sla definition versions where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching workflow metrics sla definition versions
-
findByUuid_C
Returns all the workflow metrics sla definition versions where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching workflow metrics sla definition versions
-
findByUuid_C
public static List<WorkflowMetricsSLADefinitionVersion> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the workflow metrics sla definition versions where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionVersionModelImpl.- Parameters:
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)- Returns:
- the range of matching workflow metrics sla definition versions
-
findByUuid_C
public static List<WorkflowMetricsSLADefinitionVersion> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns an ordered range of all the workflow metrics sla definition versions where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionVersionModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching workflow metrics sla definition versions
-
findByUuid_C
public static List<WorkflowMetricsSLADefinitionVersion> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the workflow metrics sla definition versions where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionVersionModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching workflow metrics sla definition versions
-
findByUuid_C_First
public static WorkflowMetricsSLADefinitionVersion findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException Returns the first workflow metrics sla definition version in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition version
-
fetchByUuid_C_First
public static WorkflowMetricsSLADefinitionVersion fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns the first workflow metrics sla definition version in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition version, or
nullif a matching workflow metrics sla definition version could not be found
-
findByUuid_C_Last
public static WorkflowMetricsSLADefinitionVersion findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException Returns the last workflow metrics sla definition version in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition version
-
fetchByUuid_C_Last
public static WorkflowMetricsSLADefinitionVersion fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns the last workflow metrics sla definition version in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition version, or
nullif a matching workflow metrics sla definition version could not be found
-
findByUuid_C_PrevAndNext
public static WorkflowMetricsSLADefinitionVersion[] findByUuid_C_PrevAndNext(long workflowMetricsSLADefinitionVersionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException Returns the workflow metrics sla definition versions before and after the current workflow metrics sla definition version in the ordered set where uuid = ? and companyId = ?.- Parameters:
workflowMetricsSLADefinitionVersionId- the primary key of the current workflow metrics sla definition versionuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next workflow metrics sla definition version
-
removeByUuid_C
Removes all the workflow metrics sla definition versions where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of workflow metrics sla definition versions where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching workflow metrics sla definition versions
-
findByWorkflowMetricsSLADefinitionId
public static List<WorkflowMetricsSLADefinitionVersion> findByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId) Returns all the workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ?.- Parameters:
workflowMetricsSLADefinitionId- the workflow metrics sla definition ID- Returns:
- the matching workflow metrics sla definition versions
-
findByWorkflowMetricsSLADefinitionId
public static List<WorkflowMetricsSLADefinitionVersion> findByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId, int start, int end) Returns a range of all the workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionVersionModelImpl.- Parameters:
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)- Returns:
- the range of matching workflow metrics sla definition versions
-
findByWorkflowMetricsSLADefinitionId
public static List<WorkflowMetricsSLADefinitionVersion> findByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns an ordered range of all the workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionVersionModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching workflow metrics sla definition versions
-
findByWorkflowMetricsSLADefinitionId
public static List<WorkflowMetricsSLADefinitionVersion> findByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionVersionModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching workflow metrics sla definition versions
-
findByWorkflowMetricsSLADefinitionId_First
public static WorkflowMetricsSLADefinitionVersion findByWorkflowMetricsSLADefinitionId_First(long workflowMetricsSLADefinitionId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException Returns the first workflow metrics sla definition version in the ordered set where workflowMetricsSLADefinitionId = ?.- Parameters:
workflowMetricsSLADefinitionId- the workflow metrics sla definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition version
-
fetchByWorkflowMetricsSLADefinitionId_First
public static WorkflowMetricsSLADefinitionVersion fetchByWorkflowMetricsSLADefinitionId_First(long workflowMetricsSLADefinitionId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns the first workflow metrics sla definition version in the ordered set where workflowMetricsSLADefinitionId = ?.- Parameters:
workflowMetricsSLADefinitionId- the workflow metrics sla definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching workflow metrics sla definition version, or
nullif a matching workflow metrics sla definition version could not be found
-
findByWorkflowMetricsSLADefinitionId_Last
public static WorkflowMetricsSLADefinitionVersion findByWorkflowMetricsSLADefinitionId_Last(long workflowMetricsSLADefinitionId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException Returns the last workflow metrics sla definition version in the ordered set where workflowMetricsSLADefinitionId = ?.- Parameters:
workflowMetricsSLADefinitionId- the workflow metrics sla definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition version
-
fetchByWorkflowMetricsSLADefinitionId_Last
public static WorkflowMetricsSLADefinitionVersion fetchByWorkflowMetricsSLADefinitionId_Last(long workflowMetricsSLADefinitionId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns the last workflow metrics sla definition version in the ordered set where workflowMetricsSLADefinitionId = ?.- Parameters:
workflowMetricsSLADefinitionId- the workflow metrics sla definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching workflow metrics sla definition version, or
nullif a matching workflow metrics sla definition version could not be found
-
findByWorkflowMetricsSLADefinitionId_PrevAndNext
public static WorkflowMetricsSLADefinitionVersion[] findByWorkflowMetricsSLADefinitionId_PrevAndNext(long workflowMetricsSLADefinitionVersionId, long workflowMetricsSLADefinitionId, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) throws NoSuchSLADefinitionVersionException Returns the workflow metrics sla definition versions before and after the current workflow metrics sla definition version in the ordered set where workflowMetricsSLADefinitionId = ?.- Parameters:
workflowMetricsSLADefinitionVersionId- the primary key of the current workflow metrics sla definition versionworkflowMetricsSLADefinitionId- the workflow metrics sla definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next workflow metrics sla definition version
-
removeByWorkflowMetricsSLADefinitionId
public static void removeByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId) Removes all the workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ? from the database.- Parameters:
workflowMetricsSLADefinitionId- the workflow metrics sla definition ID
-
countByWorkflowMetricsSLADefinitionId
public static int countByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId) Returns the number of workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ?.- Parameters:
workflowMetricsSLADefinitionId- the workflow metrics sla definition ID- Returns:
- the number of matching workflow metrics sla definition versions
-
findByV_WMSLAD
public static WorkflowMetricsSLADefinitionVersion findByV_WMSLAD(String version, long workflowMetricsSLADefinitionId) throws NoSuchSLADefinitionVersionException Returns the workflow metrics sla definition version where version = ? and workflowMetricsSLADefinitionId = ? or throws aNoSuchSLADefinitionVersionExceptionif it could not be found.- Parameters:
version- the versionworkflowMetricsSLADefinitionId- the workflow metrics sla definition ID- Returns:
- the matching workflow metrics sla definition version
-
fetchByV_WMSLAD
public static WorkflowMetricsSLADefinitionVersion fetchByV_WMSLAD(String version, long workflowMetricsSLADefinitionId) Returns the workflow metrics sla definition version where version = ? and workflowMetricsSLADefinitionId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
version- the versionworkflowMetricsSLADefinitionId- the workflow metrics sla definition ID- Returns:
- the matching workflow metrics sla definition version, or
nullif a matching workflow metrics sla definition version could not be found
-
fetchByV_WMSLAD
public static WorkflowMetricsSLADefinitionVersion fetchByV_WMSLAD(String version, long workflowMetricsSLADefinitionId, boolean useFinderCache) Returns the workflow metrics sla definition version where version = ? and workflowMetricsSLADefinitionId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
version- the versionworkflowMetricsSLADefinitionId- the workflow metrics sla definition IDuseFinderCache- whether to use the finder cache- Returns:
- the matching workflow metrics sla definition version, or
nullif a matching workflow metrics sla definition version could not be found
-
removeByV_WMSLAD
public static WorkflowMetricsSLADefinitionVersion removeByV_WMSLAD(String version, long workflowMetricsSLADefinitionId) throws NoSuchSLADefinitionVersionException Removes the workflow metrics sla definition version where version = ? and workflowMetricsSLADefinitionId = ? from the database.- Parameters:
version- the versionworkflowMetricsSLADefinitionId- the workflow metrics sla definition ID- Returns:
- the workflow metrics sla definition version that was removed
- Throws:
NoSuchSLADefinitionVersionException
-
countByV_WMSLAD
Returns the number of workflow metrics sla definition versions where version = ? and workflowMetricsSLADefinitionId = ?.- Parameters:
version- the versionworkflowMetricsSLADefinitionId- the workflow metrics sla definition ID- Returns:
- the number of matching workflow metrics sla definition versions
-
cacheResult
public static void cacheResult(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion) Caches the workflow metrics sla definition version in the entity cache if it is enabled.- Parameters:
workflowMetricsSLADefinitionVersion- the workflow metrics sla definition version
-
cacheResult
public static void cacheResult(List<WorkflowMetricsSLADefinitionVersion> workflowMetricsSLADefinitionVersions) Caches the workflow metrics sla definition versions in the entity cache if it is enabled.- Parameters:
workflowMetricsSLADefinitionVersions- the workflow metrics sla definition versions
-
create
public static WorkflowMetricsSLADefinitionVersion create(long workflowMetricsSLADefinitionVersionId) Creates a new workflow metrics sla definition version with the primary key. Does not add the workflow metrics sla definition version to the database.- Parameters:
workflowMetricsSLADefinitionVersionId- the primary key for the new workflow metrics sla definition version- Returns:
- the new workflow metrics sla definition version
-
remove
public static WorkflowMetricsSLADefinitionVersion remove(long workflowMetricsSLADefinitionVersionId) throws NoSuchSLADefinitionVersionException Removes the workflow metrics sla definition version with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
workflowMetricsSLADefinitionVersionId- the primary key of the workflow metrics sla definition version- Returns:
- the workflow metrics sla definition version that was removed
-
updateImpl
public static WorkflowMetricsSLADefinitionVersion updateImpl(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion) -
findByPrimaryKey
public static WorkflowMetricsSLADefinitionVersion findByPrimaryKey(long workflowMetricsSLADefinitionVersionId) throws NoSuchSLADefinitionVersionException Returns the workflow metrics sla definition version with the primary key or throws aNoSuchSLADefinitionVersionExceptionif it could not be found.- Parameters:
workflowMetricsSLADefinitionVersionId- the primary key of the workflow metrics sla definition version- Returns:
- the workflow metrics sla definition version
-
fetchByPrimaryKey
public static WorkflowMetricsSLADefinitionVersion fetchByPrimaryKey(long workflowMetricsSLADefinitionVersionId) Returns the workflow metrics sla definition version with the primary key or returnsnullif it could not be found.- Parameters:
workflowMetricsSLADefinitionVersionId- the primary key of the workflow metrics sla definition version- Returns:
- the workflow metrics sla definition version, or
nullif a workflow metrics sla definition version with the primary key could not be found
-
findAll
Returns all the workflow metrics sla definition versions.- Returns:
- the workflow metrics sla definition versions
-
findAll
Returns a range of all the workflow metrics sla definition versions.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionVersionModelImpl.- Parameters:
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)- Returns:
- the range of workflow metrics sla definition versions
-
findAll
public static List<WorkflowMetricsSLADefinitionVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator) Returns an ordered range of all the workflow metrics sla definition versions.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionVersionModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of workflow metrics sla definition versions
-
findAll
public static List<WorkflowMetricsSLADefinitionVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinitionVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the workflow metrics sla definition versions.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromWorkflowMetricsSLADefinitionVersionModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of workflow metrics sla definition versions
-
removeAll
public static void removeAll()Removes all the workflow metrics sla definition versions from the database. -
countAll
public static int countAll()Returns the number of workflow metrics sla definition versions.- Returns:
- the number of workflow metrics sla definition versions
-
getPersistence
-
setPersistence
-