Class DDMFormInstanceRecordVersionUtil
com.liferay.dynamic.data.mapping.service.persistence.impl.DDMFormInstanceRecordVersionPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion) Caches the ddm form instance record version in the entity cache if it is enabled.static void
cacheResult
(List<DDMFormInstanceRecordVersion> ddmFormInstanceRecordVersions) Caches the ddm form instance record versions in the entity cache if it is enabled.static void
static void
clearCache
(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion) static int
countAll()
Returns the number of ddm form instance record versions.static int
countByF_F
(long formInstanceId, String formInstanceVersion) Returns the number of ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.static int
countByF_S
(long formInstanceRecordId, int status) Returns the number of ddm form instance record versions where formInstanceRecordId = ? and status = ?.static int
countByF_V
(long formInstanceRecordId, String version) Returns the number of ddm form instance record versions where formInstanceRecordId = ? and version = ?.static int
countByFormInstanceRecordId
(long formInstanceRecordId) Returns the number of ddm form instance record versions where formInstanceRecordId = ?.static int
countByU_F
(long userId, long formInstanceId) Returns the number of ddm form instance record versions where userId = ? and formInstanceId = ?.static 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 = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static DDMFormInstanceRecordVersion
create
(long formInstanceRecordVersionId) Creates a new ddm form instance record version with the primary key.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static DDMFormInstanceRecordVersion
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.static 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.static 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 = ?.static 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 = ?.static DDMFormInstanceRecordVersion
fetchByPrimaryKey
(long formInstanceRecordVersionId) Returns the ddm form instance record version with the primary key or returnsnull
if it could not be found.fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static List<DDMFormInstanceRecordVersion>
findAll()
Returns all the ddm form instance record versions.static List<DDMFormInstanceRecordVersion>
findAll
(int start, int end) Returns a range of all the ddm form instance record versions.static 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.static 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.static List<DDMFormInstanceRecordVersion>
Returns all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.static List<DDMFormInstanceRecordVersion>
Returns a range of all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.static 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 = ?.static 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 = ?.static DDMFormInstanceRecordVersion
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 = ?.static DDMFormInstanceRecordVersion
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 = ?.static DDMFormInstanceRecordVersion[]
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 = ?.static List<DDMFormInstanceRecordVersion>
findByF_S
(long formInstanceRecordId, int status) Returns all the ddm form instance record versions where formInstanceRecordId = ? and status = ?.static 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 = ?.static 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 = ?.static 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 = ?.static DDMFormInstanceRecordVersion
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 = ?.static DDMFormInstanceRecordVersion
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 = ?.static DDMFormInstanceRecordVersion[]
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 = ?.static DDMFormInstanceRecordVersion
Returns the ddm form instance record version where formInstanceRecordId = ? and version = ? or throws aNoSuchFormInstanceRecordVersionException
if it could not be found.static List<DDMFormInstanceRecordVersion>
findByFormInstanceRecordId
(long formInstanceRecordId) Returns all the ddm form instance record versions where formInstanceRecordId = ?.static List<DDMFormInstanceRecordVersion>
findByFormInstanceRecordId
(long formInstanceRecordId, int start, int end) Returns a range of all the ddm form instance record versions where formInstanceRecordId = ?.static 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 = ?.static 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 = ?.static DDMFormInstanceRecordVersion
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 = ?.static DDMFormInstanceRecordVersion
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 = ?.static DDMFormInstanceRecordVersion[]
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 = ?.static DDMFormInstanceRecordVersion
findByPrimaryKey
(long formInstanceRecordVersionId) Returns the ddm form instance record version with the primary key or throws aNoSuchFormInstanceRecordVersionException
if it could not be found.static List<DDMFormInstanceRecordVersion>
findByU_F
(long userId, long formInstanceId) Returns all the ddm form instance record versions where userId = ? and formInstanceId = ?.static List<DDMFormInstanceRecordVersion>
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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static DDMFormInstanceRecordVersion
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 = ?.static DDMFormInstanceRecordVersion
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 = ?.static DDMFormInstanceRecordVersion[]
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 = ?.static DDMFormInstanceRecordVersion
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 = ?.static DDMFormInstanceRecordVersion
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 = ?.static DDMFormInstanceRecordVersion[]
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 = ?.static List<DDMFormInstanceRecordVersion>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<DDMFormInstanceRecordVersion>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<DDMFormInstanceRecordVersion>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) static DDMFormInstanceRecordVersion
remove
(long formInstanceRecordVersionId) Removes the ddm form instance record version with the primary key from the database.static void
Removes all the ddm form instance record versions from the database.static void
removeByF_F
(long formInstanceId, String formInstanceVersion) Removes all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ? from the database.static void
removeByF_S
(long formInstanceRecordId, int status) Removes all the ddm form instance record versions where formInstanceRecordId = ? and status = ? from the database.static DDMFormInstanceRecordVersion
removeByF_V
(long formInstanceRecordId, String version) Removes the ddm form instance record version where formInstanceRecordId = ? and version = ? from the database.static void
removeByFormInstanceRecordId
(long formInstanceRecordId) Removes all the ddm form instance record versions where formInstanceRecordId = ? from the database.static void
removeByU_F
(long userId, long formInstanceId) Removes all the ddm form instance record versions where userId = ? and formInstanceId = ? from the database.static 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.static void
setPersistence
(DDMFormInstanceRecordVersionPersistence persistence) static DDMFormInstanceRecordVersion
update
(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion) static DDMFormInstanceRecordVersion
update
(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext) static DDMFormInstanceRecordVersion
updateImpl
(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion)
-
Constructor Details
-
DDMFormInstanceRecordVersionUtil
public DDMFormInstanceRecordVersionUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,DDMFormInstanceRecordVersion> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<DDMFormInstanceRecordVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<DDMFormInstanceRecordVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<DDMFormInstanceRecordVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static DDMFormInstanceRecordVersion update(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static DDMFormInstanceRecordVersion update(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByFormInstanceRecordId
public static List<DDMFormInstanceRecordVersion> findByFormInstanceRecordId(long formInstanceRecordId) 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchFormInstanceRecordVersionException
-
fetchByFormInstanceRecordId_First
public static 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
public static 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 foundNoSuchFormInstanceRecordVersionException
-
fetchByFormInstanceRecordId_Last
public static 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
public static 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 foundNoSuchFormInstanceRecordVersionException
-
removeByFormInstanceRecordId
public static 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
public static 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
public static List<DDMFormInstanceRecordVersion> 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 = ?.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
public static 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
public static 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
public static 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 foundNoSuchFormInstanceRecordVersionException
-
fetchByU_F_First
public static 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
public static 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 foundNoSuchFormInstanceRecordVersionException
-
fetchByU_F_Last
public static 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
public static 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 foundNoSuchFormInstanceRecordVersionException
-
removeByU_F
public static 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
public static 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
public static List<DDMFormInstanceRecordVersion> findByF_F(long formInstanceId, String formInstanceVersion) 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchFormInstanceRecordVersionException
-
fetchByF_F_First
public static 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
public static 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 foundNoSuchFormInstanceRecordVersionException
-
fetchByF_F_Last
public static 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
public static 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 foundNoSuchFormInstanceRecordVersionException
-
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
public static 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 foundNoSuchFormInstanceRecordVersionException
-
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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchFormInstanceRecordVersionException
-
fetchByF_S_First
public static 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
public static 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 foundNoSuchFormInstanceRecordVersionException
-
fetchByF_S_Last
public static 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
public static 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 foundNoSuchFormInstanceRecordVersionException
-
removeByF_S
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchFormInstanceRecordVersionException
-
fetchByU_F_F_S_First
public static 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
public static 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 foundNoSuchFormInstanceRecordVersionException
-
fetchByU_F_F_S_Last
public static 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
public static 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 foundNoSuchFormInstanceRecordVersionException
-
removeByU_F_F_S
public static 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.- Parameters:
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the status
-
countByU_F_F_S
public static 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 = ?.- 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
public static 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 foundNoSuchFormInstanceRecordVersionException
-
updateImpl
public static DDMFormInstanceRecordVersion updateImpl(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion) -
findByPrimaryKey
public static 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 foundNoSuchFormInstanceRecordVersionException
-
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
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
public static 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
public static 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
public static void removeAll()Removes all the ddm form instance record versions from the database. -
countAll
public static int countAll()Returns the number of ddm form instance record versions.- Returns:
- the number of ddm form instance record versions
-
getPersistence
-
setPersistence
-