@ProviderType public interface DDMFormInstanceReportPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DDMFormInstanceReport>
Caching information and settings can be found in portal.properties
DDMFormInstanceReportUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(DDMFormInstanceReport ddmFormInstanceReport)
Caches the ddm form instance report in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<DDMFormInstanceReport> ddmFormInstanceReports)
Caches the ddm form instance reports in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of ddm form instance reports.
|
int |
countByFormInstanceId(long formInstanceId)
Returns the number of ddm form instance reports where formInstanceId = ?.
|
DDMFormInstanceReport |
create(long formInstanceReportId)
Creates a new ddm form instance report with the primary key.
|
DDMFormInstanceReport |
fetchByFormInstanceId(long formInstanceId)
Returns the ddm form instance report where formInstanceId = ? or returns
null if it could not be found. |
DDMFormInstanceReport |
fetchByFormInstanceId(long formInstanceId,
boolean useFinderCache)
Returns the ddm form instance report where formInstanceId = ? or returns
null if it could not be found, optionally using the finder cache. |
DDMFormInstanceReport |
fetchByPrimaryKey(long formInstanceReportId)
Returns the ddm form instance report with the primary key or returns
null if it could not be found. |
java.util.List<DDMFormInstanceReport> |
findAll()
Returns all the ddm form instance reports.
|
java.util.List<DDMFormInstanceReport> |
findAll(int start,
int end)
Returns a range of all the ddm form instance reports.
|
java.util.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.
|
java.util.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.
|
DDMFormInstanceReport |
findByFormInstanceId(long formInstanceId)
Returns the ddm form instance report where formInstanceId = ? or throws a
NoSuchFormInstanceReportException if it could not be found. |
DDMFormInstanceReport |
findByPrimaryKey(long formInstanceReportId)
Returns the ddm form instance report with the primary key or throws a
NoSuchFormInstanceReportException if it could not be found. |
DDMFormInstanceReport |
remove(long formInstanceReportId)
Removes the ddm form instance report with the primary key from the database.
|
void |
removeAll()
Removes all the ddm form instance reports from the database.
|
DDMFormInstanceReport |
removeByFormInstanceId(long formInstanceId)
Removes the ddm form instance report where formInstanceId = ? from the database.
|
DDMFormInstanceReport |
updateImpl(DDMFormInstanceReport ddmFormInstanceReport) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
DDMFormInstanceReport findByFormInstanceId(long formInstanceId) throws NoSuchFormInstanceReportException
NoSuchFormInstanceReportException
if it could not be found.formInstanceId
- the form instance IDNoSuchFormInstanceReportException
- if a matching ddm form instance report could not be foundDDMFormInstanceReport fetchByFormInstanceId(long formInstanceId)
null
if it could not be found. Uses the finder cache.formInstanceId
- the form instance IDnull
if a matching ddm form instance report could not be foundDDMFormInstanceReport fetchByFormInstanceId(long formInstanceId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.formInstanceId
- the form instance IDuseFinderCache
- whether to use the finder cachenull
if a matching ddm form instance report could not be foundDDMFormInstanceReport removeByFormInstanceId(long formInstanceId) throws NoSuchFormInstanceReportException
formInstanceId
- the form instance IDNoSuchFormInstanceReportException
int countByFormInstanceId(long formInstanceId)
formInstanceId
- the form instance IDvoid cacheResult(DDMFormInstanceReport ddmFormInstanceReport)
ddmFormInstanceReport
- the ddm form instance reportvoid cacheResult(java.util.List<DDMFormInstanceReport> ddmFormInstanceReports)
ddmFormInstanceReports
- the ddm form instance reportsDDMFormInstanceReport create(long formInstanceReportId)
formInstanceReportId
- the primary key for the new ddm form instance reportDDMFormInstanceReport remove(long formInstanceReportId) throws NoSuchFormInstanceReportException
formInstanceReportId
- the primary key of the ddm form instance reportNoSuchFormInstanceReportException
- if a ddm form instance report with the primary key could not be foundDDMFormInstanceReport updateImpl(DDMFormInstanceReport ddmFormInstanceReport)
DDMFormInstanceReport findByPrimaryKey(long formInstanceReportId) throws NoSuchFormInstanceReportException
NoSuchFormInstanceReportException
if it could not be found.formInstanceReportId
- the primary key of the ddm form instance reportNoSuchFormInstanceReportException
- if a ddm form instance report with the primary key could not be foundDDMFormInstanceReport fetchByPrimaryKey(long formInstanceReportId)
null
if it could not be found.formInstanceReportId
- the primary key of the ddm form instance reportnull
if a ddm form instance report with the primary key could not be foundjava.util.List<DDMFormInstanceReport> findAll()
java.util.List<DDMFormInstanceReport> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceReportModelImpl
.
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)java.util.List<DDMFormInstanceReport> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceReport> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceReportModelImpl
.
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 (optionally null
)java.util.List<DDMFormInstanceReport> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceReport> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceReportModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()