Interface DDMFormInstanceRecordVersionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DDMFormInstanceRecordVersion>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceRecordVersion>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion) Caches the ddm form instance record version in the entity cache if it is enabled.void
cacheResult
(List<DDMFormInstanceRecordVersion> ddmFormInstanceRecordVersions) Caches the ddm form instance record versions in the entity cache if it is enabled.int
countAll()
Returns the number of ddm form instance record versions.int
countByF_F
(long formInstanceId, String formInstanceVersion) Returns the number of ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.int
countByF_S
(long formInstanceRecordId, int status) Returns the number of ddm form instance record versions where formInstanceRecordId = ? and status = ?.int
countByF_V
(long formInstanceRecordId, String version) Returns the number of ddm form instance record versions where formInstanceRecordId = ? and version = ?.int
countByFormInstanceRecordId
(long formInstanceRecordId) Returns the number of ddm form instance record versions where formInstanceRecordId = ?.int
countByU_F
(long userId, long formInstanceId) Returns the number of ddm form instance record versions where userId = ? and formInstanceId = ?.int
countByU_F_F_S
(long userId, long formInstanceId, String formInstanceVersion, int status) Returns the number of ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.create
(long formInstanceRecordVersionId) Creates a new ddm form instance record version with the primary key.fetchByF_F_First
(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the first ddm form instance record version in the ordered set where formInstanceId = ? and formInstanceVersion = ?.fetchByF_F_Last
(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the last ddm form instance record version in the ordered set where formInstanceId = ? and formInstanceVersion = ?.fetchByF_S_First
(long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the first ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?.fetchByF_S_Last
(long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the last ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?.fetchByF_V
(long formInstanceRecordId, String version) Returns the ddm form instance record version where formInstanceRecordId = ? and version = ? or returnsnull
if it could not be found.fetchByF_V
(long formInstanceRecordId, String version, boolean useFinderCache) Returns the ddm form instance record version where formInstanceRecordId = ? and version = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByFormInstanceRecordId_First
(long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the first ddm form instance record version in the ordered set where formInstanceRecordId = ?.fetchByFormInstanceRecordId_Last
(long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the last ddm form instance record version in the ordered set where formInstanceRecordId = ?.fetchByPrimaryKey
(long formInstanceRecordVersionId) Returns the ddm form instance record version with the primary key or returnsnull
if it could not be found.fetchByU_F_F_S_First
(long userId, long formInstanceId, String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the first ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.fetchByU_F_F_S_Last
(long userId, long formInstanceId, String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the last ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.fetchByU_F_First
(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the first ddm form instance record version in the ordered set where userId = ? and formInstanceId = ?.fetchByU_F_Last
(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the last ddm form instance record version in the ordered set where userId = ? and formInstanceId = ?.findAll()
Returns all the ddm form instance record versions.findAll
(int start, int end) Returns a range of all the ddm form instance record versions.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns an ordered range of all the ddm form instance record versions.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance record versions.Returns all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.Returns a range of all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.findByF_F
(long formInstanceId, String formInstanceVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns an ordered range of all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.findByF_F
(long formInstanceId, String formInstanceVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.findByF_F_First
(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the first ddm form instance record version in the ordered set where formInstanceId = ? and formInstanceVersion = ?.findByF_F_Last
(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the last ddm form instance record version in the ordered set where formInstanceId = ? and formInstanceVersion = ?.findByF_F_PrevAndNext
(long formInstanceRecordVersionId, long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the ddm form instance record versions before and after the current ddm form instance record version in the ordered set where formInstanceId = ? and formInstanceVersion = ?.findByF_S
(long formInstanceRecordId, int status) Returns all the ddm form instance record versions where formInstanceRecordId = ? and status = ?.findByF_S
(long formInstanceRecordId, int status, int start, int end) Returns a range of all the ddm form instance record versions where formInstanceRecordId = ? and status = ?.findByF_S
(long formInstanceRecordId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns an ordered range of all the ddm form instance record versions where formInstanceRecordId = ? and status = ?.findByF_S
(long formInstanceRecordId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance record versions where formInstanceRecordId = ? and status = ?.findByF_S_First
(long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the first ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?.findByF_S_Last
(long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the last ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?.findByF_S_PrevAndNext
(long formInstanceRecordVersionId, long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the ddm form instance record versions before and after the current ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?.Returns the ddm form instance record version where formInstanceRecordId = ? and version = ? or throws aNoSuchFormInstanceRecordVersionException
if it could not be found.findByFormInstanceRecordId
(long formInstanceRecordId) Returns all the ddm form instance record versions where formInstanceRecordId = ?.findByFormInstanceRecordId
(long formInstanceRecordId, int start, int end) Returns a range of all the ddm form instance record versions where formInstanceRecordId = ?.findByFormInstanceRecordId
(long formInstanceRecordId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns an ordered range of all the ddm form instance record versions where formInstanceRecordId = ?.findByFormInstanceRecordId
(long formInstanceRecordId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance record versions where formInstanceRecordId = ?.findByFormInstanceRecordId_First
(long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the first ddm form instance record version in the ordered set where formInstanceRecordId = ?.findByFormInstanceRecordId_Last
(long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the last ddm form instance record version in the ordered set where formInstanceRecordId = ?.findByFormInstanceRecordId_PrevAndNext
(long formInstanceRecordVersionId, long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the ddm form instance record versions before and after the current ddm form instance record version in the ordered set where formInstanceRecordId = ?.findByPrimaryKey
(long formInstanceRecordVersionId) Returns the ddm form instance record version with the primary key or throws aNoSuchFormInstanceRecordVersionException
if it could not be found.findByU_F
(long userId, long formInstanceId) Returns all the ddm form instance record versions where userId = ? and formInstanceId = ?.findByU_F
(long userId, long formInstanceId, int start, int end) Returns a range of all the ddm form instance record versions where userId = ? and formInstanceId = ?.findByU_F
(long userId, long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns an ordered range of all the ddm form instance record versions where userId = ? and formInstanceId = ?.findByU_F
(long userId, long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance record versions where userId = ? and formInstanceId = ?.findByU_F_F_S
(long userId, long formInstanceId, String formInstanceVersion, int status) Returns all the ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.findByU_F_F_S
(long userId, long formInstanceId, String formInstanceVersion, int status, int start, int end) Returns a range of all the ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.findByU_F_F_S
(long userId, long formInstanceId, String formInstanceVersion, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns an ordered range of all the ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.findByU_F_F_S
(long userId, long formInstanceId, String formInstanceVersion, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.findByU_F_F_S_First
(long userId, long formInstanceId, String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the first ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.findByU_F_F_S_Last
(long userId, long formInstanceId, String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the last ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.findByU_F_F_S_PrevAndNext
(long formInstanceRecordVersionId, long userId, long formInstanceId, String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the ddm form instance record versions before and after the current ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.findByU_F_First
(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the first ddm form instance record version in the ordered set where userId = ? and formInstanceId = ?.findByU_F_Last
(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the last ddm form instance record version in the ordered set where userId = ? and formInstanceId = ?.findByU_F_PrevAndNext
(long formInstanceRecordVersionId, long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the ddm form instance record versions before and after the current ddm form instance record version in the ordered set where userId = ? and formInstanceId = ?.remove
(long formInstanceRecordVersionId) Removes the ddm form instance record version with the primary key from the database.void
Removes all the ddm form instance record versions from the database.void
removeByF_F
(long formInstanceId, String formInstanceVersion) Removes all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ? from the database.void
removeByF_S
(long formInstanceRecordId, int status) Removes all the ddm form instance record versions where formInstanceRecordId = ? and status = ? from the database.removeByF_V
(long formInstanceRecordId, String version) Removes the ddm form instance record version where formInstanceRecordId = ? and version = ? from the database.void
removeByFormInstanceRecordId
(long formInstanceRecordId) Removes all the ddm form instance record versions where formInstanceRecordId = ? from the database.void
removeByU_F
(long userId, long formInstanceId) Removes all the ddm form instance record versions where userId = ? and formInstanceId = ? from the database.void
removeByU_F_F_S
(long userId, long formInstanceId, String formInstanceVersion, int status) Removes all the ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ? from the database.updateImpl
(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion) 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
-
findByFormInstanceRecordId
Returns all the ddm form instance record versions where formInstanceRecordId = ?.- Parameters:
formInstanceRecordId
- the form instance record ID- Returns:
- the matching ddm form instance record versions
-
findByFormInstanceRecordId
List<DDMFormInstanceRecordVersion> findByFormInstanceRecordId(long formInstanceRecordId, int start, int end) Returns a range of all the ddm form instance record versions where formInstanceRecordId = ?.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 fromDDMFormInstanceRecordVersionModelImpl
.- Parameters:
formInstanceRecordId
- the form instance record IDstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)- Returns:
- the range of matching ddm form instance record versions
-
findByFormInstanceRecordId
List<DDMFormInstanceRecordVersion> findByFormInstanceRecordId(long formInstanceRecordId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns an ordered range of all the ddm form instance record versions where formInstanceRecordId = ?.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 fromDDMFormInstanceRecordVersionModelImpl
.- Parameters:
formInstanceRecordId
- the form instance record IDstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm form instance record versions
-
findByFormInstanceRecordId
List<DDMFormInstanceRecordVersion> findByFormInstanceRecordId(long formInstanceRecordId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance record versions where formInstanceRecordId = ?.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 fromDDMFormInstanceRecordVersionModelImpl
.- Parameters:
formInstanceRecordId
- the form instance record IDstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record 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 record versions
-
findByFormInstanceRecordId_First
DDMFormInstanceRecordVersion findByFormInstanceRecordId_First(long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException Returns the first ddm form instance record version in the ordered set where formInstanceRecordId = ?.- Parameters:
formInstanceRecordId
- the form instance record IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm form instance record version
- Throws:
NoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be found
-
fetchByFormInstanceRecordId_First
DDMFormInstanceRecordVersion fetchByFormInstanceRecordId_First(long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the first ddm form instance record version in the ordered set where formInstanceRecordId = ?.- Parameters:
formInstanceRecordId
- the form instance record IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm form instance record version, or
null
if a matching ddm form instance record version could not be found
-
findByFormInstanceRecordId_Last
DDMFormInstanceRecordVersion findByFormInstanceRecordId_Last(long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException Returns the last ddm form instance record version in the ordered set where formInstanceRecordId = ?.- Parameters:
formInstanceRecordId
- the form instance record IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm form instance record version
- Throws:
NoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be found
-
fetchByFormInstanceRecordId_Last
DDMFormInstanceRecordVersion fetchByFormInstanceRecordId_Last(long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the last ddm form instance record version in the ordered set where formInstanceRecordId = ?.- Parameters:
formInstanceRecordId
- the form instance record IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm form instance record version, or
null
if a matching ddm form instance record version could not be found
-
findByFormInstanceRecordId_PrevAndNext
DDMFormInstanceRecordVersion[] findByFormInstanceRecordId_PrevAndNext(long formInstanceRecordVersionId, long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException Returns the ddm form instance record versions before and after the current ddm form instance record version in the ordered set where formInstanceRecordId = ?.- Parameters:
formInstanceRecordVersionId
- the primary key of the current ddm form instance record versionformInstanceRecordId
- the form instance record IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm form instance record version
- Throws:
NoSuchFormInstanceRecordVersionException
- if a ddm form instance record version with the primary key could not be found
-
removeByFormInstanceRecordId
void removeByFormInstanceRecordId(long formInstanceRecordId) Removes all the ddm form instance record versions where formInstanceRecordId = ? from the database.- Parameters:
formInstanceRecordId
- the form instance record ID
-
countByFormInstanceRecordId
int countByFormInstanceRecordId(long formInstanceRecordId) Returns the number of ddm form instance record versions where formInstanceRecordId = ?.- Parameters:
formInstanceRecordId
- the form instance record ID- Returns:
- the number of matching ddm form instance record versions
-
findByU_F
Returns all the ddm form instance record versions where userId = ? and formInstanceId = ?.- Parameters:
userId
- the user IDformInstanceId
- the form instance ID- Returns:
- the matching ddm form instance record versions
-
findByU_F
Returns a range of all the ddm form instance record versions where userId = ? and 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 fromDDMFormInstanceRecordVersionModelImpl
.- Parameters:
userId
- the user IDformInstanceId
- the form instance IDstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)- Returns:
- the range of matching ddm form instance record versions
-
findByU_F
List<DDMFormInstanceRecordVersion> findByU_F(long userId, long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns an ordered range of all the ddm form instance record versions where userId = ? and 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 fromDDMFormInstanceRecordVersionModelImpl
.- Parameters:
userId
- the user IDformInstanceId
- the form instance IDstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm form instance record versions
-
findByU_F
List<DDMFormInstanceRecordVersion> findByU_F(long userId, long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance record versions where userId = ? and 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 fromDDMFormInstanceRecordVersionModelImpl
.- Parameters:
userId
- the user IDformInstanceId
- the form instance IDstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record 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 record versions
-
findByU_F_First
DDMFormInstanceRecordVersion findByU_F_First(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException Returns the first ddm form instance record version in the ordered set where userId = ? and formInstanceId = ?.- Parameters:
userId
- the user IDformInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm form instance record version
- Throws:
NoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be found
-
fetchByU_F_First
DDMFormInstanceRecordVersion fetchByU_F_First(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the first ddm form instance record version in the ordered set where userId = ? and formInstanceId = ?.- Parameters:
userId
- the user IDformInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm form instance record version, or
null
if a matching ddm form instance record version could not be found
-
findByU_F_Last
DDMFormInstanceRecordVersion findByU_F_Last(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException Returns the last ddm form instance record version in the ordered set where userId = ? and formInstanceId = ?.- Parameters:
userId
- the user IDformInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm form instance record version
- Throws:
NoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be found
-
fetchByU_F_Last
DDMFormInstanceRecordVersion fetchByU_F_Last(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the last ddm form instance record version in the ordered set where userId = ? and formInstanceId = ?.- Parameters:
userId
- the user IDformInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm form instance record version, or
null
if a matching ddm form instance record version could not be found
-
findByU_F_PrevAndNext
DDMFormInstanceRecordVersion[] findByU_F_PrevAndNext(long formInstanceRecordVersionId, long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException Returns the ddm form instance record versions before and after the current ddm form instance record version in the ordered set where userId = ? and formInstanceId = ?.- Parameters:
formInstanceRecordVersionId
- the primary key of the current ddm form instance record versionuserId
- the user IDformInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm form instance record version
- Throws:
NoSuchFormInstanceRecordVersionException
- if a ddm form instance record version with the primary key could not be found
-
removeByU_F
void removeByU_F(long userId, long formInstanceId) Removes all the ddm form instance record versions where userId = ? and formInstanceId = ? from the database.- Parameters:
userId
- the user IDformInstanceId
- the form instance ID
-
countByU_F
int countByU_F(long userId, long formInstanceId) Returns the number of ddm form instance record versions where userId = ? and formInstanceId = ?.- Parameters:
userId
- the user IDformInstanceId
- the form instance ID- Returns:
- the number of matching ddm form instance record versions
-
findByF_F
Returns all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.- Parameters:
formInstanceId
- the form instance IDformInstanceVersion
- the form instance version- Returns:
- the matching ddm form instance record versions
-
findByF_F
List<DDMFormInstanceRecordVersion> findByF_F(long formInstanceId, String formInstanceVersion, int start, int end) Returns a range of all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.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 fromDDMFormInstanceRecordVersionModelImpl
.- Parameters:
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)- Returns:
- the range of matching ddm form instance record versions
-
findByF_F
List<DDMFormInstanceRecordVersion> findByF_F(long formInstanceId, String formInstanceVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns an ordered range of all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.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 fromDDMFormInstanceRecordVersionModelImpl
.- Parameters:
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm form instance record versions
-
findByF_F
List<DDMFormInstanceRecordVersion> findByF_F(long formInstanceId, String formInstanceVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.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 fromDDMFormInstanceRecordVersionModelImpl
.- Parameters:
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record 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 record versions
-
findByF_F_First
DDMFormInstanceRecordVersion findByF_F_First(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException Returns the first ddm form instance record version in the ordered set where formInstanceId = ? and formInstanceVersion = ?.- Parameters:
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm form instance record version
- Throws:
NoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be found
-
fetchByF_F_First
DDMFormInstanceRecordVersion fetchByF_F_First(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the first ddm form instance record version in the ordered set where formInstanceId = ? and formInstanceVersion = ?.- Parameters:
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm form instance record version, or
null
if a matching ddm form instance record version could not be found
-
findByF_F_Last
DDMFormInstanceRecordVersion findByF_F_Last(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException Returns the last ddm form instance record version in the ordered set where formInstanceId = ? and formInstanceVersion = ?.- Parameters:
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm form instance record version
- Throws:
NoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be found
-
fetchByF_F_Last
DDMFormInstanceRecordVersion fetchByF_F_Last(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the last ddm form instance record version in the ordered set where formInstanceId = ? and formInstanceVersion = ?.- Parameters:
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm form instance record version, or
null
if a matching ddm form instance record version could not be found
-
findByF_F_PrevAndNext
DDMFormInstanceRecordVersion[] findByF_F_PrevAndNext(long formInstanceRecordVersionId, long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException Returns the ddm form instance record versions before and after the current ddm form instance record version in the ordered set where formInstanceId = ? and formInstanceVersion = ?.- Parameters:
formInstanceRecordVersionId
- the primary key of the current ddm form instance record versionformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm form instance record version
- Throws:
NoSuchFormInstanceRecordVersionException
- if a ddm form instance record version with the primary key could not be found
-
removeByF_F
Removes all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ? from the database.- Parameters:
formInstanceId
- the form instance IDformInstanceVersion
- the form instance version
-
countByF_F
Returns the number of ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.- Parameters:
formInstanceId
- the form instance IDformInstanceVersion
- the form instance version- Returns:
- the number of matching ddm form instance record versions
-
findByF_V
DDMFormInstanceRecordVersion findByF_V(long formInstanceRecordId, String version) throws NoSuchFormInstanceRecordVersionException Returns the ddm form instance record version where formInstanceRecordId = ? and version = ? or throws aNoSuchFormInstanceRecordVersionException
if it could not be found.- Parameters:
formInstanceRecordId
- the form instance record IDversion
- the version- Returns:
- the matching ddm form instance record version
- Throws:
NoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be found
-
fetchByF_V
Returns the ddm form instance record version where formInstanceRecordId = ? and version = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
formInstanceRecordId
- the form instance record IDversion
- the version- Returns:
- the matching ddm form instance record version, or
null
if a matching ddm form instance record version could not be found
-
fetchByF_V
DDMFormInstanceRecordVersion fetchByF_V(long formInstanceRecordId, String version, boolean useFinderCache) Returns the ddm form instance record version where formInstanceRecordId = ? and version = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
formInstanceRecordId
- the form instance record IDversion
- the versionuseFinderCache
- whether to use the finder cache- Returns:
- the matching ddm form instance record version, or
null
if a matching ddm form instance record version could not be found
-
removeByF_V
DDMFormInstanceRecordVersion removeByF_V(long formInstanceRecordId, String version) throws NoSuchFormInstanceRecordVersionException Removes the ddm form instance record version where formInstanceRecordId = ? and version = ? from the database.- Parameters:
formInstanceRecordId
- the form instance record IDversion
- the version- Returns:
- the ddm form instance record version that was removed
- Throws:
NoSuchFormInstanceRecordVersionException
-
countByF_V
Returns the number of ddm form instance record versions where formInstanceRecordId = ? and version = ?.- Parameters:
formInstanceRecordId
- the form instance record IDversion
- the version- Returns:
- the number of matching ddm form instance record versions
-
findByF_S
Returns all the ddm form instance record versions where formInstanceRecordId = ? and status = ?.- Parameters:
formInstanceRecordId
- the form instance record IDstatus
- the status- Returns:
- the matching ddm form instance record versions
-
findByF_S
List<DDMFormInstanceRecordVersion> findByF_S(long formInstanceRecordId, int status, int start, int end) Returns a range of all the ddm form instance record versions where formInstanceRecordId = ? 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 fromDDMFormInstanceRecordVersionModelImpl
.- Parameters:
formInstanceRecordId
- the form instance record IDstatus
- the statusstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)- Returns:
- the range of matching ddm form instance record versions
-
findByF_S
List<DDMFormInstanceRecordVersion> findByF_S(long formInstanceRecordId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns an ordered range of all the ddm form instance record versions where formInstanceRecordId = ? 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 fromDDMFormInstanceRecordVersionModelImpl
.- Parameters:
formInstanceRecordId
- the form instance record IDstatus
- the statusstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm form instance record versions
-
findByF_S
List<DDMFormInstanceRecordVersion> findByF_S(long formInstanceRecordId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance record versions where formInstanceRecordId = ? 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 fromDDMFormInstanceRecordVersionModelImpl
.- Parameters:
formInstanceRecordId
- the form instance record IDstatus
- the statusstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record 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 record versions
-
findByF_S_First
DDMFormInstanceRecordVersion findByF_S_First(long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException Returns the first ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?.- Parameters:
formInstanceRecordId
- the form instance record IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm form instance record version
- Throws:
NoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be found
-
fetchByF_S_First
DDMFormInstanceRecordVersion fetchByF_S_First(long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the first ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?.- Parameters:
formInstanceRecordId
- the form instance record IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm form instance record version, or
null
if a matching ddm form instance record version could not be found
-
findByF_S_Last
DDMFormInstanceRecordVersion findByF_S_Last(long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException Returns the last ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?.- Parameters:
formInstanceRecordId
- the form instance record IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm form instance record version
- Throws:
NoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be found
-
fetchByF_S_Last
DDMFormInstanceRecordVersion fetchByF_S_Last(long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the last ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?.- Parameters:
formInstanceRecordId
- the form instance record IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm form instance record version, or
null
if a matching ddm form instance record version could not be found
-
findByF_S_PrevAndNext
DDMFormInstanceRecordVersion[] findByF_S_PrevAndNext(long formInstanceRecordVersionId, long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException Returns the ddm form instance record versions before and after the current ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?.- Parameters:
formInstanceRecordVersionId
- the primary key of the current ddm form instance record versionformInstanceRecordId
- the form instance record IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm form instance record version
- Throws:
NoSuchFormInstanceRecordVersionException
- if a ddm form instance record version with the primary key could not be found
-
removeByF_S
void removeByF_S(long formInstanceRecordId, int status) Removes all the ddm form instance record versions where formInstanceRecordId = ? and status = ? from the database.- Parameters:
formInstanceRecordId
- the form instance record IDstatus
- the status
-
countByF_S
int countByF_S(long formInstanceRecordId, int status) Returns the number of ddm form instance record versions where formInstanceRecordId = ? and status = ?.- Parameters:
formInstanceRecordId
- the form instance record IDstatus
- the status- Returns:
- the number of matching ddm form instance record versions
-
findByU_F_F_S
List<DDMFormInstanceRecordVersion> findByU_F_F_S(long userId, long formInstanceId, String formInstanceVersion, int status) Returns all the ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.- Parameters:
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the status- Returns:
- the matching ddm form instance record versions
-
findByU_F_F_S
List<DDMFormInstanceRecordVersion> findByU_F_F_S(long userId, long formInstanceId, String formInstanceVersion, int status, int start, int end) Returns a range of all the ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? 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 fromDDMFormInstanceRecordVersionModelImpl
.- Parameters:
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the statusstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)- Returns:
- the range of matching ddm form instance record versions
-
findByU_F_F_S
List<DDMFormInstanceRecordVersion> findByU_F_F_S(long userId, long formInstanceId, String formInstanceVersion, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns an ordered range of all the ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? 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 fromDDMFormInstanceRecordVersionModelImpl
.- Parameters:
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the statusstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm form instance record versions
-
findByU_F_F_S
List<DDMFormInstanceRecordVersion> findByU_F_F_S(long userId, long formInstanceId, String formInstanceVersion, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? 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 fromDDMFormInstanceRecordVersionModelImpl
.- Parameters:
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the statusstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record 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 record versions
-
findByU_F_F_S_First
DDMFormInstanceRecordVersion findByU_F_F_S_First(long userId, long formInstanceId, String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException Returns the first ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.- Parameters:
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm form instance record version
- Throws:
NoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be found
-
fetchByU_F_F_S_First
DDMFormInstanceRecordVersion fetchByU_F_F_S_First(long userId, long formInstanceId, String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the first ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.- Parameters:
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm form instance record version, or
null
if a matching ddm form instance record version could not be found
-
findByU_F_F_S_Last
DDMFormInstanceRecordVersion findByU_F_F_S_Last(long userId, long formInstanceId, String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException Returns the last ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.- Parameters:
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm form instance record version
- Throws:
NoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be found
-
fetchByU_F_F_S_Last
DDMFormInstanceRecordVersion fetchByU_F_F_S_Last(long userId, long formInstanceId, String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns the last ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.- Parameters:
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm form instance record version, or
null
if a matching ddm form instance record version could not be found
-
findByU_F_F_S_PrevAndNext
DDMFormInstanceRecordVersion[] findByU_F_F_S_PrevAndNext(long formInstanceRecordVersionId, long userId, long formInstanceId, String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException Returns the ddm form instance record versions before and after the current ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.- Parameters:
formInstanceRecordVersionId
- the primary key of the current ddm form instance record versionuserId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm form instance record version
- Throws:
NoSuchFormInstanceRecordVersionException
- if a ddm form instance record version with the primary key could not be found
-
removeByU_F_F_S
Removes all the ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ? from the database.- Parameters:
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the status
-
countByU_F_F_S
Returns the number of ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.- Parameters:
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the status- Returns:
- the number of matching ddm form instance record versions
-
cacheResult
Caches the ddm form instance record version in the entity cache if it is enabled.- Parameters:
ddmFormInstanceRecordVersion
- the ddm form instance record version
-
cacheResult
Caches the ddm form instance record versions in the entity cache if it is enabled.- Parameters:
ddmFormInstanceRecordVersions
- the ddm form instance record versions
-
create
Creates a new ddm form instance record version with the primary key. Does not add the ddm form instance record version to the database.- Parameters:
formInstanceRecordVersionId
- the primary key for the new ddm form instance record version- Returns:
- the new ddm form instance record version
-
remove
DDMFormInstanceRecordVersion remove(long formInstanceRecordVersionId) throws NoSuchFormInstanceRecordVersionException Removes the ddm form instance record version with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
formInstanceRecordVersionId
- the primary key of the ddm form instance record version- Returns:
- the ddm form instance record version that was removed
- Throws:
NoSuchFormInstanceRecordVersionException
- if a ddm form instance record version with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
DDMFormInstanceRecordVersion findByPrimaryKey(long formInstanceRecordVersionId) throws NoSuchFormInstanceRecordVersionException Returns the ddm form instance record version with the primary key or throws aNoSuchFormInstanceRecordVersionException
if it could not be found.- Parameters:
formInstanceRecordVersionId
- the primary key of the ddm form instance record version- Returns:
- the ddm form instance record version
- Throws:
NoSuchFormInstanceRecordVersionException
- if a ddm form instance record version with the primary key could not be found
-
fetchByPrimaryKey
Returns the ddm form instance record version with the primary key or returnsnull
if it could not be found.- Parameters:
formInstanceRecordVersionId
- the primary key of the ddm form instance record version- Returns:
- the ddm form instance record version, or
null
if a ddm form instance record version with the primary key could not be found
-
findAll
List<DDMFormInstanceRecordVersion> findAll()Returns all the ddm form instance record versions.- Returns:
- the ddm form instance record versions
-
findAll
Returns a range of all the ddm form instance record 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 fromDDMFormInstanceRecordVersionModelImpl
.- Parameters:
start
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)- Returns:
- the range of ddm form instance record versions
-
findAll
List<DDMFormInstanceRecordVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) Returns an ordered range of all the ddm form instance record 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 fromDDMFormInstanceRecordVersionModelImpl
.- Parameters:
start
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of ddm form instance record versions
-
findAll
List<DDMFormInstanceRecordVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance record 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 fromDDMFormInstanceRecordVersionModelImpl
.- Parameters:
start
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record 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 record versions
-
removeAll
void removeAll()Removes all the ddm form instance record versions from the database. -
countAll
int countAll()Returns the number of ddm form instance record versions.- Returns:
- the number of ddm form instance record versions
-