Interface DDMFormInstanceReportPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DDMFormInstanceReport>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceReport>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(DDMFormInstanceReport ddmFormInstanceReport) Caches the ddm form instance report in the entity cache if it is enabled.voidcacheResult(List<DDMFormInstanceReport> ddmFormInstanceReports) Caches the ddm form instance reports in the entity cache if it is enabled.intcountAll()Returns the number of ddm form instance reports.intcountByFormInstanceId(long formInstanceId) Returns the number of ddm form instance reports where formInstanceId = ?.create(long formInstanceReportId) Creates a new ddm form instance report with the primary key.fetchByFormInstanceId(long formInstanceId) Returns the ddm form instance report where formInstanceId = ? or returnsnullif it could not be found.fetchByFormInstanceId(long formInstanceId, boolean useFinderCache) Returns the ddm form instance report where formInstanceId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByPrimaryKey(long formInstanceReportId) Returns the ddm form instance report with the primary key or returnsnullif it could not be found.findAll()Returns all the ddm form instance reports.findAll(int start, int end) Returns a range of all the ddm form instance reports.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceReport> orderByComparator) Returns an ordered range of all the ddm form instance reports.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceReport> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance reports.findByFormInstanceId(long formInstanceId) Returns the ddm form instance report where formInstanceId = ? or throws aNoSuchFormInstanceReportExceptionif it could not be found.findByPrimaryKey(long formInstanceReportId) Returns the ddm form instance report with the primary key or throws aNoSuchFormInstanceReportExceptionif it could not be found.remove(long formInstanceReportId) Removes the ddm form instance report with the primary key from the database.voidRemoves all the ddm form instance reports from the database.removeByFormInstanceId(long formInstanceId) Removes the ddm form instance report where formInstanceId = ? from the database.updateImpl(DDMFormInstanceReport ddmFormInstanceReport) 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, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByFormInstanceId
DDMFormInstanceReport findByFormInstanceId(long formInstanceId) throws NoSuchFormInstanceReportException Returns the ddm form instance report where formInstanceId = ? or throws aNoSuchFormInstanceReportExceptionif it could not be found.- Parameters:
formInstanceId- the form instance ID- Returns:
- the matching ddm form instance report
- Throws:
NoSuchFormInstanceReportException- if a matching ddm form instance report could not be found
-
fetchByFormInstanceId
Returns the ddm form instance report where formInstanceId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
formInstanceId- the form instance ID- Returns:
- the matching ddm form instance report, or
nullif a matching ddm form instance report could not be found
-
fetchByFormInstanceId
Returns the ddm form instance report where formInstanceId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
formInstanceId- the form instance IDuseFinderCache- whether to use the finder cache- Returns:
- the matching ddm form instance report, or
nullif a matching ddm form instance report could not be found
-
removeByFormInstanceId
DDMFormInstanceReport removeByFormInstanceId(long formInstanceId) throws NoSuchFormInstanceReportException Removes the ddm form instance report where formInstanceId = ? from the database.- Parameters:
formInstanceId- the form instance ID- Returns:
- the ddm form instance report that was removed
- Throws:
NoSuchFormInstanceReportException
-
countByFormInstanceId
int countByFormInstanceId(long formInstanceId) Returns the number of ddm form instance reports where formInstanceId = ?.- Parameters:
formInstanceId- the form instance ID- Returns:
- the number of matching ddm form instance reports
-
cacheResult
Caches the ddm form instance report in the entity cache if it is enabled.- Parameters:
ddmFormInstanceReport- the ddm form instance report
-
cacheResult
Caches the ddm form instance reports in the entity cache if it is enabled.- Parameters:
ddmFormInstanceReports- the ddm form instance reports
-
create
Creates a new ddm form instance report with the primary key. Does not add the ddm form instance report to the database.- Parameters:
formInstanceReportId- the primary key for the new ddm form instance report- Returns:
- the new ddm form instance report
-
remove
Removes the ddm form instance report with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
formInstanceReportId- the primary key of the ddm form instance report- Returns:
- the ddm form instance report that was removed
- Throws:
NoSuchFormInstanceReportException- if a ddm form instance report with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
DDMFormInstanceReport findByPrimaryKey(long formInstanceReportId) throws NoSuchFormInstanceReportException Returns the ddm form instance report with the primary key or throws aNoSuchFormInstanceReportExceptionif it could not be found.- Parameters:
formInstanceReportId- the primary key of the ddm form instance report- Returns:
- the ddm form instance report
- Throws:
NoSuchFormInstanceReportException- if a ddm form instance report with the primary key could not be found
-
fetchByPrimaryKey
Returns the ddm form instance report with the primary key or returnsnullif it could not be found.- Parameters:
formInstanceReportId- the primary key of the ddm form instance report- Returns:
- the ddm form instance report, or
nullif a ddm form instance report with the primary key could not be found
-
findAll
List<DDMFormInstanceReport> findAll()Returns all the ddm form instance reports.- Returns:
- the ddm form instance reports
-
findAll
Returns a range of all the ddm form instance reports.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 fromDDMFormInstanceReportModelImpl.- Parameters:
start- the lower bound of the range of ddm form instance reportsend- the upper bound of the range of ddm form instance reports (not inclusive)- Returns:
- the range of ddm form instance reports
-
findAll
List<DDMFormInstanceReport> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceReport> orderByComparator) Returns an ordered range of all the ddm form instance reports.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 fromDDMFormInstanceReportModelImpl.- Parameters:
start- the lower bound of the range of ddm form instance reportsend- the upper bound of the range of ddm form instance reports (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of ddm form instance reports
-
findAll
List<DDMFormInstanceReport> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceReport> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance reports.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 fromDDMFormInstanceReportModelImpl.- Parameters:
start- the lower bound of the range of ddm form instance reportsend- the upper bound of the range of ddm form instance reports (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of ddm form instance reports
-
removeAll
void removeAll()Removes all the ddm form instance reports from the database. -
countAll
int countAll()Returns the number of ddm form instance reports.- Returns:
- the number of ddm form instance reports
-