Interface DDMFormInstanceVersionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DDMFormInstanceVersion>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceVersion>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(DDMFormInstanceVersion ddmFormInstanceVersion) Caches the ddm form instance version in the entity cache if it is enabled.void
cacheResult
(List<DDMFormInstanceVersion> ddmFormInstanceVersions) Caches the ddm form instance versions in the entity cache if it is enabled.int
countAll()
Returns the number of ddm form instance versions.int
countByF_S
(long formInstanceId, int status) Returns the number of ddm form instance versions where formInstanceId = ? and status = ?.int
countByF_V
(long formInstanceId, String version) Returns the number of ddm form instance versions where formInstanceId = ? and version = ?.int
countByFormInstanceId
(long formInstanceId) Returns the number of ddm form instance versions where formInstanceId = ?.create
(long formInstanceVersionId) Creates a new ddm form instance version with the primary key.fetchByF_S_First
(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns the first ddm form instance version in the ordered set where formInstanceId = ? and status = ?.fetchByF_S_Last
(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns the last ddm form instance version in the ordered set where formInstanceId = ? and status = ?.fetchByF_V
(long formInstanceId, String version) Returns the ddm form instance version where formInstanceId = ? and version = ? or returnsnull
if it could not be found.fetchByF_V
(long formInstanceId, String version, boolean useFinderCache) Returns the ddm form instance version where formInstanceId = ? and version = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByFormInstanceId_First
(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns the first ddm form instance version in the ordered set where formInstanceId = ?.fetchByFormInstanceId_Last
(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns the last ddm form instance version in the ordered set where formInstanceId = ?.fetchByPrimaryKey
(long formInstanceVersionId) Returns the ddm form instance version with the primary key or returnsnull
if it could not be found.findAll()
Returns all the ddm form instance versions.findAll
(int start, int end) Returns a range of all the ddm form instance versions.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns an ordered range of all the ddm form instance versions.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance versions.findByF_S
(long formInstanceId, int status) Returns all the ddm form instance versions where formInstanceId = ? and status = ?.findByF_S
(long formInstanceId, int status, int start, int end) Returns a range of all the ddm form instance versions where formInstanceId = ? and status = ?.findByF_S
(long formInstanceId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns an ordered range of all the ddm form instance versions where formInstanceId = ? and status = ?.findByF_S
(long formInstanceId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance versions where formInstanceId = ? and status = ?.findByF_S_First
(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns the first ddm form instance version in the ordered set where formInstanceId = ? and status = ?.findByF_S_Last
(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns the last ddm form instance version in the ordered set where formInstanceId = ? and status = ?.findByF_S_PrevAndNext
(long formInstanceVersionId, long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns the ddm form instance versions before and after the current ddm form instance version in the ordered set where formInstanceId = ? and status = ?.Returns the ddm form instance version where formInstanceId = ? and version = ? or throws aNoSuchFormInstanceVersionException
if it could not be found.findByFormInstanceId
(long formInstanceId) Returns all the ddm form instance versions where formInstanceId = ?.findByFormInstanceId
(long formInstanceId, int start, int end) Returns a range of all the ddm form instance versions where formInstanceId = ?.findByFormInstanceId
(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns an ordered range of all the ddm form instance versions where formInstanceId = ?.findByFormInstanceId
(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance versions where formInstanceId = ?.findByFormInstanceId_First
(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns the first ddm form instance version in the ordered set where formInstanceId = ?.findByFormInstanceId_Last
(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns the last ddm form instance version in the ordered set where formInstanceId = ?.findByFormInstanceId_PrevAndNext
(long formInstanceVersionId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns the ddm form instance versions before and after the current ddm form instance version in the ordered set where formInstanceId = ?.findByPrimaryKey
(long formInstanceVersionId) Returns the ddm form instance version with the primary key or throws aNoSuchFormInstanceVersionException
if it could not be found.remove
(long formInstanceVersionId) Removes the ddm form instance version with the primary key from the database.void
Removes all the ddm form instance versions from the database.void
removeByF_S
(long formInstanceId, int status) Removes all the ddm form instance versions where formInstanceId = ? and status = ? from the database.removeByF_V
(long formInstanceId, String version) Removes the ddm form instance version where formInstanceId = ? and version = ? from the database.void
removeByFormInstanceId
(long formInstanceId) Removes all the ddm form instance versions where formInstanceId = ? from the database.updateImpl
(DDMFormInstanceVersion ddmFormInstanceVersion) 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
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByFormInstanceId
Returns all the ddm form instance versions where formInstanceId = ?.- Parameters:
formInstanceId
- the form instance ID- Returns:
- the matching ddm form instance versions
-
findByFormInstanceId
Returns a range of all the ddm form instance versions where formInstanceId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMFormInstanceVersionModelImpl
.- Parameters:
formInstanceId
- the form instance IDstart
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)- Returns:
- the range of matching ddm form instance versions
-
findByFormInstanceId
List<DDMFormInstanceVersion> findByFormInstanceId(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns an ordered range of all the ddm form instance versions where formInstanceId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMFormInstanceVersionModelImpl
.- Parameters:
formInstanceId
- the form instance IDstart
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm form instance versions
-
findByFormInstanceId
List<DDMFormInstanceVersion> findByFormInstanceId(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance versions where formInstanceId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMFormInstanceVersionModelImpl
.- Parameters:
formInstanceId
- the form instance IDstart
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance 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 ddm form instance versions
-
findByFormInstanceId_First
DDMFormInstanceVersion findByFormInstanceId_First(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException Returns the first ddm form instance version in the ordered set where formInstanceId = ?.- Parameters:
formInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm form instance version
- Throws:
NoSuchFormInstanceVersionException
- if a matching ddm form instance version could not be found
-
fetchByFormInstanceId_First
DDMFormInstanceVersion fetchByFormInstanceId_First(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns the first ddm form instance version in the ordered set where formInstanceId = ?.- Parameters:
formInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm form instance version, or
null
if a matching ddm form instance version could not be found
-
findByFormInstanceId_Last
DDMFormInstanceVersion findByFormInstanceId_Last(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException Returns the last ddm form instance version in the ordered set where formInstanceId = ?.- Parameters:
formInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm form instance version
- Throws:
NoSuchFormInstanceVersionException
- if a matching ddm form instance version could not be found
-
fetchByFormInstanceId_Last
DDMFormInstanceVersion fetchByFormInstanceId_Last(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns the last ddm form instance version in the ordered set where formInstanceId = ?.- Parameters:
formInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm form instance version, or
null
if a matching ddm form instance version could not be found
-
findByFormInstanceId_PrevAndNext
DDMFormInstanceVersion[] findByFormInstanceId_PrevAndNext(long formInstanceVersionId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException Returns the ddm form instance versions before and after the current ddm form instance version in the ordered set where formInstanceId = ?.- Parameters:
formInstanceVersionId
- the primary key of the current ddm form instance versionformInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm form instance version
- Throws:
NoSuchFormInstanceVersionException
- if a ddm form instance version with the primary key could not be found
-
removeByFormInstanceId
void removeByFormInstanceId(long formInstanceId) Removes all the ddm form instance versions where formInstanceId = ? from the database.- Parameters:
formInstanceId
- the form instance ID
-
countByFormInstanceId
int countByFormInstanceId(long formInstanceId) Returns the number of ddm form instance versions where formInstanceId = ?.- Parameters:
formInstanceId
- the form instance ID- Returns:
- the number of matching ddm form instance versions
-
findByF_V
DDMFormInstanceVersion findByF_V(long formInstanceId, String version) throws NoSuchFormInstanceVersionException Returns the ddm form instance version where formInstanceId = ? and version = ? or throws aNoSuchFormInstanceVersionException
if it could not be found.- Parameters:
formInstanceId
- the form instance IDversion
- the version- Returns:
- the matching ddm form instance version
- Throws:
NoSuchFormInstanceVersionException
- if a matching ddm form instance version could not be found
-
fetchByF_V
Returns the ddm form instance version where formInstanceId = ? and version = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
formInstanceId
- the form instance IDversion
- the version- Returns:
- the matching ddm form instance version, or
null
if a matching ddm form instance version could not be found
-
fetchByF_V
Returns the ddm form instance version where formInstanceId = ? and version = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
formInstanceId
- the form instance IDversion
- the versionuseFinderCache
- whether to use the finder cache- Returns:
- the matching ddm form instance version, or
null
if a matching ddm form instance version could not be found
-
removeByF_V
DDMFormInstanceVersion removeByF_V(long formInstanceId, String version) throws NoSuchFormInstanceVersionException Removes the ddm form instance version where formInstanceId = ? and version = ? from the database.- Parameters:
formInstanceId
- the form instance IDversion
- the version- Returns:
- the ddm form instance version that was removed
- Throws:
NoSuchFormInstanceVersionException
-
countByF_V
Returns the number of ddm form instance versions where formInstanceId = ? and version = ?.- Parameters:
formInstanceId
- the form instance IDversion
- the version- Returns:
- the number of matching ddm form instance versions
-
findByF_S
Returns all the ddm form instance versions where formInstanceId = ? and status = ?.- Parameters:
formInstanceId
- the form instance IDstatus
- the status- Returns:
- the matching ddm form instance versions
-
findByF_S
Returns a range of all the ddm form instance versions where formInstanceId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMFormInstanceVersionModelImpl
.- Parameters:
formInstanceId
- the form instance IDstatus
- the statusstart
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)- Returns:
- the range of matching ddm form instance versions
-
findByF_S
List<DDMFormInstanceVersion> findByF_S(long formInstanceId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns an ordered range of all the ddm form instance versions where formInstanceId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMFormInstanceVersionModelImpl
.- Parameters:
formInstanceId
- the form instance IDstatus
- the statusstart
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm form instance versions
-
findByF_S
List<DDMFormInstanceVersion> findByF_S(long formInstanceId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance versions where formInstanceId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMFormInstanceVersionModelImpl
.- Parameters:
formInstanceId
- the form instance IDstatus
- the statusstart
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance 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 ddm form instance versions
-
findByF_S_First
DDMFormInstanceVersion findByF_S_First(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException Returns the first ddm form instance version in the ordered set where formInstanceId = ? and status = ?.- Parameters:
formInstanceId
- the form instance IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm form instance version
- Throws:
NoSuchFormInstanceVersionException
- if a matching ddm form instance version could not be found
-
fetchByF_S_First
DDMFormInstanceVersion fetchByF_S_First(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns the first ddm form instance version in the ordered set where formInstanceId = ? and status = ?.- Parameters:
formInstanceId
- the form instance IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm form instance version, or
null
if a matching ddm form instance version could not be found
-
findByF_S_Last
DDMFormInstanceVersion findByF_S_Last(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException Returns the last ddm form instance version in the ordered set where formInstanceId = ? and status = ?.- Parameters:
formInstanceId
- the form instance IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm form instance version
- Throws:
NoSuchFormInstanceVersionException
- if a matching ddm form instance version could not be found
-
fetchByF_S_Last
DDMFormInstanceVersion fetchByF_S_Last(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns the last ddm form instance version in the ordered set where formInstanceId = ? and status = ?.- Parameters:
formInstanceId
- the form instance IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm form instance version, or
null
if a matching ddm form instance version could not be found
-
findByF_S_PrevAndNext
DDMFormInstanceVersion[] findByF_S_PrevAndNext(long formInstanceVersionId, long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException Returns the ddm form instance versions before and after the current ddm form instance version in the ordered set where formInstanceId = ? and status = ?.- Parameters:
formInstanceVersionId
- the primary key of the current ddm form instance versionformInstanceId
- the form instance IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm form instance version
- Throws:
NoSuchFormInstanceVersionException
- if a ddm form instance version with the primary key could not be found
-
removeByF_S
void removeByF_S(long formInstanceId, int status) Removes all the ddm form instance versions where formInstanceId = ? and status = ? from the database.- Parameters:
formInstanceId
- the form instance IDstatus
- the status
-
countByF_S
int countByF_S(long formInstanceId, int status) Returns the number of ddm form instance versions where formInstanceId = ? and status = ?.- Parameters:
formInstanceId
- the form instance IDstatus
- the status- Returns:
- the number of matching ddm form instance versions
-
cacheResult
Caches the ddm form instance version in the entity cache if it is enabled.- Parameters:
ddmFormInstanceVersion
- the ddm form instance version
-
cacheResult
Caches the ddm form instance versions in the entity cache if it is enabled.- Parameters:
ddmFormInstanceVersions
- the ddm form instance versions
-
create
Creates a new ddm form instance version with the primary key. Does not add the ddm form instance version to the database.- Parameters:
formInstanceVersionId
- the primary key for the new ddm form instance version- Returns:
- the new ddm form instance version
-
remove
Removes the ddm form instance version with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
formInstanceVersionId
- the primary key of the ddm form instance version- Returns:
- the ddm form instance version that was removed
- Throws:
NoSuchFormInstanceVersionException
- if a ddm form instance version with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
DDMFormInstanceVersion findByPrimaryKey(long formInstanceVersionId) throws NoSuchFormInstanceVersionException Returns the ddm form instance version with the primary key or throws aNoSuchFormInstanceVersionException
if it could not be found.- Parameters:
formInstanceVersionId
- the primary key of the ddm form instance version- Returns:
- the ddm form instance version
- Throws:
NoSuchFormInstanceVersionException
- if a ddm form instance version with the primary key could not be found
-
fetchByPrimaryKey
Returns the ddm form instance version with the primary key or returnsnull
if it could not be found.- Parameters:
formInstanceVersionId
- the primary key of the ddm form instance version- Returns:
- the ddm form instance version, or
null
if a ddm form instance version with the primary key could not be found
-
findAll
List<DDMFormInstanceVersion> findAll()Returns all the ddm form instance versions.- Returns:
- the ddm form instance versions
-
findAll
Returns a range of all the ddm form instance versions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMFormInstanceVersionModelImpl
.- Parameters:
start
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)- Returns:
- the range of ddm form instance versions
-
findAll
List<DDMFormInstanceVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) Returns an ordered range of all the ddm form instance versions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMFormInstanceVersionModelImpl
.- Parameters:
start
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of ddm form instance versions
-
findAll
List<DDMFormInstanceVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance versions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMFormInstanceVersionModelImpl
.- Parameters:
start
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (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 versions
-
removeAll
void removeAll()Removes all the ddm form instance versions from the database. -
countAll
int countAll()Returns the number of ddm form instance versions.- Returns:
- the number of ddm form instance versions
-