Interface WorkflowMetricsSLADefinitionVersionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<WorkflowMetricsSLADefinitionVersion>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion) Caches the workflow metrics sla definition version in the entity cache if it is enabled.voidcacheResult(List<WorkflowMetricsSLADefinitionVersion> workflowMetricsSLADefinitionVersions) Caches the workflow metrics sla definition versions in the entity cache if it is enabled.intcountAll()Returns the number of workflow metrics sla definition versions.intcountByUuid(String uuid) Returns the number of workflow metrics sla definition versions where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of workflow metrics sla definition versions where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of workflow metrics sla definition versions where uuid = ? and groupId = ?.intcountByV_WMSLAD(String version, long workflowMetricsSLADefinitionId) Returns the number of workflow metrics sla definition versions where version = ? and workflowMetricsSLADefinitionId = ?.intcountByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId) Returns the number of workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ?.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.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 = ?.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 = ?.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 = ?.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 = ?.remove(long workflowMetricsSLADefinitionVersionId) Removes the workflow metrics sla definition version with the primary key from the database.voidRemoves all the workflow metrics sla definition versions from the database.voidremoveByUuid(String uuid) Removes all the workflow metrics sla definition versions where uuid = ? from the database.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.voidremoveByWorkflowMetricsSLADefinitionId(long workflowMetricsSLADefinitionId) Removes all the workflow metrics sla definition versions where workflowMetricsSLADefinitionId = ? from the database.updateImpl(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
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
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
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
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
- Throws:
NoSuchSLADefinitionVersionException- if a matching workflow metrics sla definition version could not be found
-
fetchByUuid_First
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
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
- Throws:
NoSuchSLADefinitionVersionException- if a matching workflow metrics sla definition version could not be found
-
fetchByUuid_Last
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
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
- Throws:
NoSuchSLADefinitionVersionException- if a workflow metrics sla definition version with the primary key could not be found
-
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
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
- Throws:
NoSuchSLADefinitionVersionException- if a matching workflow metrics sla definition version could not be found
-
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
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
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
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
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
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
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
- Throws:
NoSuchSLADefinitionVersionException- if a matching workflow metrics sla definition version could not be found
-
fetchByUuid_C_First
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
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
- Throws:
NoSuchSLADefinitionVersionException- if a matching workflow metrics sla definition version could not be found
-
fetchByUuid_C_Last
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
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
- Throws:
NoSuchSLADefinitionVersionException- if a workflow metrics sla definition version with the primary key could not be found
-
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
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
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
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
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
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
- Throws:
NoSuchSLADefinitionVersionException- if a matching workflow metrics sla definition version could not be found
-
fetchByWorkflowMetricsSLADefinitionId_First
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
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
- Throws:
NoSuchSLADefinitionVersionException- if a matching workflow metrics sla definition version could not be found
-
fetchByWorkflowMetricsSLADefinitionId_Last
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
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
- Throws:
NoSuchSLADefinitionVersionException- if a workflow metrics sla definition version with the primary key could not be found
-
removeByWorkflowMetricsSLADefinitionId
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
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
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
- Throws:
NoSuchSLADefinitionVersionException- if a matching workflow metrics sla definition version could not be found
-
fetchByV_WMSLAD
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
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
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
Caches the workflow metrics sla definition version in the entity cache if it is enabled.- Parameters:
workflowMetricsSLADefinitionVersion- the workflow metrics sla definition version
-
cacheResult
Caches the workflow metrics sla definition versions in the entity cache if it is enabled.- Parameters:
workflowMetricsSLADefinitionVersions- the workflow metrics sla definition versions
-
create
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
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
- Throws:
NoSuchSLADefinitionVersionException- if a workflow metrics sla definition version with the primary key could not be found
-
updateImpl
WorkflowMetricsSLADefinitionVersion updateImpl(WorkflowMetricsSLADefinitionVersion workflowMetricsSLADefinitionVersion) -
findByPrimaryKey
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
- Throws:
NoSuchSLADefinitionVersionException- if a workflow metrics sla definition version with the primary key could not be found
-
fetchByPrimaryKey
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
List<WorkflowMetricsSLADefinitionVersion> 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
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
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
void removeAll()Removes all the workflow metrics sla definition versions from the database. -
countAll
int countAll()Returns the number of workflow metrics sla definition versions.- Returns:
- the number of workflow metrics sla definition versions
-