Class DDMFormInstanceRecordUtil
com.liferay.dynamic.data.mapping.service.persistence.impl.DDMFormInstanceRecordPersistenceImpl 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 voidcacheResult(DDMFormInstanceRecord ddmFormInstanceRecord) static voidcacheResult(List<DDMFormInstanceRecord> ddmFormInstanceRecords) static voidstatic voidclearCache(DDMFormInstanceRecord ddmFormInstanceRecord) static intcountByCompanyId(long companyId) Returns the number of ddm form instance records where companyId = ?.static intcountByF_F(long formInstanceId, String formInstanceVersion) Returns the number of ddm form instance records where formInstanceId = ? and formInstanceVersion = ?.static intcountByF_I(long formInstanceId, String ipAddress) Returns the number of ddm form instance records where formInstanceId = ? and ipAddress = ?.static intcountByFormInstanceId(long formInstanceId) Returns the number of ddm form instance records where formInstanceId = ?.static intcountByU_F(long userId, long formInstanceId) Returns the number of ddm form instance records where userId = ? and formInstanceId = ?.static intcountByUuid(String uuid) Returns the number of ddm form instance records where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of ddm form instance records where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of ddm form instance records where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static DDMFormInstanceRecordcreate(long formInstanceRecordId) Creates a new ddm form instance record with the primary key.static DDMFormInstanceRecordfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record in the ordered set where companyId = ?.static DDMFormInstanceRecordfetchByF_F_First(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record in the ordered set where formInstanceId = ? and formInstanceVersion = ?.static DDMFormInstanceRecordfetchByF_I_First(long formInstanceId, String ipAddress, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record in the ordered set where formInstanceId = ? and ipAddress = ?.static DDMFormInstanceRecordfetchByFormInstanceId_First(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record in the ordered set where formInstanceId = ?.static DDMFormInstanceRecordfetchByPrimaryKey(long formInstanceRecordId) Returns the ddm form instance record with the primary key or returnsnullif it could not be found.static Map<Serializable, DDMFormInstanceRecord> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static DDMFormInstanceRecordfetchByU_F_First(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record in the ordered set where userId = ? and formInstanceId = ?.static DDMFormInstanceRecordfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record in the ordered set where uuid = ? and companyId = ?.static DDMFormInstanceRecordfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record in the ordered set where uuid = ?.static DDMFormInstanceRecordfetchByUUID_G(String uuid, long groupId) Returns the ddm form instance record where uuid = ? and groupId = ? or returnsnullif it could not be found.static DDMFormInstanceRecordfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the ddm form instance record where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static List<DDMFormInstanceRecord> findByCompanyId(long companyId) Returns all the ddm form instance records where companyId = ?.static List<DDMFormInstanceRecord> findByCompanyId(long companyId, int start, int end) Returns a range of all the ddm form instance records where companyId = ?.static List<DDMFormInstanceRecord> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns an ordered range of all the ddm form instance records where companyId = ?.static List<DDMFormInstanceRecord> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance records where companyId = ?.static DDMFormInstanceRecordfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record in the ordered set where companyId = ?.static List<DDMFormInstanceRecord> Returns all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ?.static List<DDMFormInstanceRecord> Returns a range of all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ?.static List<DDMFormInstanceRecord> findByF_F(long formInstanceId, String formInstanceVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns an ordered range of all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ?.static List<DDMFormInstanceRecord> findByF_F(long formInstanceId, String formInstanceVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ?.static DDMFormInstanceRecordfindByF_F_First(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record in the ordered set where formInstanceId = ? and formInstanceVersion = ?.static List<DDMFormInstanceRecord> Returns all the ddm form instance records where formInstanceId = ? and ipAddress = ?.static List<DDMFormInstanceRecord> Returns a range of all the ddm form instance records where formInstanceId = ? and ipAddress = ?.static List<DDMFormInstanceRecord> findByF_I(long formInstanceId, String ipAddress, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns an ordered range of all the ddm form instance records where formInstanceId = ? and ipAddress = ?.static List<DDMFormInstanceRecord> findByF_I(long formInstanceId, String ipAddress, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance records where formInstanceId = ? and ipAddress = ?.static DDMFormInstanceRecordfindByF_I_First(long formInstanceId, String ipAddress, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record in the ordered set where formInstanceId = ? and ipAddress = ?.static List<DDMFormInstanceRecord> findByFormInstanceId(long formInstanceId) Returns all the ddm form instance records where formInstanceId = ?.static List<DDMFormInstanceRecord> findByFormInstanceId(long formInstanceId, int start, int end) Returns a range of all the ddm form instance records where formInstanceId = ?.static List<DDMFormInstanceRecord> findByFormInstanceId(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns an ordered range of all the ddm form instance records where formInstanceId = ?.static List<DDMFormInstanceRecord> findByFormInstanceId(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance records where formInstanceId = ?.static DDMFormInstanceRecordfindByFormInstanceId_First(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record in the ordered set where formInstanceId = ?.static DDMFormInstanceRecordfindByPrimaryKey(long formInstanceRecordId) Returns the ddm form instance record with the primary key or throws aNoSuchFormInstanceRecordExceptionif it could not be found.static List<DDMFormInstanceRecord> findByU_F(long userId, long formInstanceId) Returns all the ddm form instance records where userId = ? and formInstanceId = ?.static List<DDMFormInstanceRecord> findByU_F(long userId, long formInstanceId, int start, int end) Returns a range of all the ddm form instance records where userId = ? and formInstanceId = ?.static List<DDMFormInstanceRecord> findByU_F(long userId, long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns an ordered range of all the ddm form instance records where userId = ? and formInstanceId = ?.static List<DDMFormInstanceRecord> findByU_F(long userId, long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance records where userId = ? and formInstanceId = ?.static DDMFormInstanceRecordfindByU_F_First(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record in the ordered set where userId = ? and formInstanceId = ?.static List<DDMFormInstanceRecord> findByUuid(String uuid) Returns all the ddm form instance records where uuid = ?.static List<DDMFormInstanceRecord> findByUuid(String uuid, int start, int end) Returns a range of all the ddm form instance records where uuid = ?.static List<DDMFormInstanceRecord> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns an ordered range of all the ddm form instance records where uuid = ?.static List<DDMFormInstanceRecord> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance records where uuid = ?.static List<DDMFormInstanceRecord> findByUuid_C(String uuid, long companyId) Returns all the ddm form instance records where uuid = ? and companyId = ?.static List<DDMFormInstanceRecord> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the ddm form instance records where uuid = ? and companyId = ?.static List<DDMFormInstanceRecord> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns an ordered range of all the ddm form instance records where uuid = ? and companyId = ?.static List<DDMFormInstanceRecord> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance records where uuid = ? and companyId = ?.static DDMFormInstanceRecordfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record in the ordered set where uuid = ? and companyId = ?.static DDMFormInstanceRecordfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record in the ordered set where uuid = ?.static DDMFormInstanceRecordfindByUUID_G(String uuid, long groupId) Returns the ddm form instance record where uuid = ? and groupId = ? or throws aNoSuchFormInstanceRecordExceptionif it could not be found.static List<DDMFormInstanceRecord> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<DDMFormInstanceRecord> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<DDMFormInstanceRecord> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) static DDMFormInstanceRecordremove(long formInstanceRecordId) Removes the ddm form instance record with the primary key from the database.static voidremoveByCompanyId(long companyId) Removes all the ddm form instance records where companyId = ? from the database.static voidremoveByF_F(long formInstanceId, String formInstanceVersion) Removes all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ? from the database.static voidremoveByF_I(long formInstanceId, String ipAddress) Removes all the ddm form instance records where formInstanceId = ? and ipAddress = ? from the database.static voidremoveByFormInstanceId(long formInstanceId) Removes all the ddm form instance records where formInstanceId = ? from the database.static voidremoveByU_F(long userId, long formInstanceId) Removes all the ddm form instance records where userId = ? and formInstanceId = ? from the database.static voidremoveByUuid(String uuid) Removes all the ddm form instance records where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the ddm form instance records where uuid = ? and companyId = ? from the database.static DDMFormInstanceRecordremoveByUUID_G(String uuid, long groupId) Removes the ddm form instance record where uuid = ? and groupId = ? from the database.static voidsetPersistence(DDMFormInstanceRecordPersistence persistence) static DDMFormInstanceRecordupdate(DDMFormInstanceRecord ddmFormInstanceRecord) static DDMFormInstanceRecordupdate(DDMFormInstanceRecord ddmFormInstanceRecord, com.liferay.portal.kernel.service.ServiceContext serviceContext) static DDMFormInstanceRecordupdateImpl(DDMFormInstanceRecord ddmFormInstanceRecord)
-
Constructor Details
-
DDMFormInstanceRecordUtil
public DDMFormInstanceRecordUtil()
-
-
Method Details
-
cacheResult
- See Also:
-
cacheResult
- See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,DDMFormInstanceRecord> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<DDMFormInstanceRecord> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<DDMFormInstanceRecord> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<DDMFormInstanceRecord> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static DDMFormInstanceRecord update(DDMFormInstanceRecord ddmFormInstanceRecord, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
public static List<DDMFormInstanceRecord> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance records where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (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 records
-
findByUuid_First
public static DDMFormInstanceRecord findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException Returns the first ddm form instance record in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm form instance record
-
fetchByUuid_First
public static DDMFormInstanceRecord fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm form instance record, or
nullif a matching ddm form instance record could not be found
-
removeByUuid
Removes all the ddm form instance records where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of ddm form instance records where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching ddm form instance records
-
findByUUID_G
public static DDMFormInstanceRecord findByUUID_G(String uuid, long groupId) throws NoSuchFormInstanceRecordException Returns the ddm form instance record where uuid = ? and groupId = ? or throws aNoSuchFormInstanceRecordExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching ddm form instance record
-
fetchByUUID_G
public static DDMFormInstanceRecord fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the ddm form instance record where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching ddm form instance record, or
nullif a matching ddm form instance record could not be found
-
removeByUUID_G
public static DDMFormInstanceRecord removeByUUID_G(String uuid, long groupId) throws NoSuchFormInstanceRecordException Removes the ddm form instance record where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the ddm form instance record that was removed
- Throws:
NoSuchFormInstanceRecordException
-
countByUUID_G
Returns the number of ddm form instance records where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching ddm form instance records
-
findByUuid_C
public static List<DDMFormInstanceRecord> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance records where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (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 records
-
findByUuid_C_First
public static DDMFormInstanceRecord findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException Returns the first ddm form instance record in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm form instance record
-
fetchByUuid_C_First
public static DDMFormInstanceRecord fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm form instance record, or
nullif a matching ddm form instance record could not be found
-
removeByUuid_C
Removes all the ddm form instance records where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of ddm form instance records where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching ddm form instance records
-
findByCompanyId
public static List<DDMFormInstanceRecord> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance records where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (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 records
-
findByCompanyId_First
public static DDMFormInstanceRecord findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException Returns the first ddm form instance record in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm form instance record
-
fetchByCompanyId_First
public static DDMFormInstanceRecord fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm form instance record, or
nullif a matching ddm form instance record could not be found
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the ddm form instance records where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of ddm form instance records where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching ddm form instance records
-
findByFormInstanceId
public static List<DDMFormInstanceRecord> findByFormInstanceId(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance records where formInstanceId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
formInstanceId- the form instance IDstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (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 records
-
findByFormInstanceId_First
public static DDMFormInstanceRecord findByFormInstanceId_First(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException Returns the first ddm form instance record in the ordered set where formInstanceId = ?.- Parameters:
formInstanceId- the form instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm form instance record
-
fetchByFormInstanceId_First
public static DDMFormInstanceRecord fetchByFormInstanceId_First(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record in the ordered set where formInstanceId = ?.- Parameters:
formInstanceId- the form instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm form instance record, or
nullif a matching ddm form instance record could not be found
-
removeByFormInstanceId
public static void removeByFormInstanceId(long formInstanceId) Removes all the ddm form instance records where formInstanceId = ? from the database.- Parameters:
formInstanceId- the form instance ID
-
countByFormInstanceId
public static int countByFormInstanceId(long formInstanceId) Returns the number of ddm form instance records where formInstanceId = ?.- Parameters:
formInstanceId- the form instance ID- Returns:
- the number of matching ddm form instance records
-
findByU_F
public static List<DDMFormInstanceRecord> findByU_F(long userId, long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance records where userId = ? and formInstanceId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
userId- the user IDformInstanceId- the form instance IDstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (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 records
-
findByU_F_First
public static DDMFormInstanceRecord findByU_F_First(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException Returns the first ddm form instance record 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
-
fetchByU_F_First
public static DDMFormInstanceRecord fetchByU_F_First(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record 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, or
nullif a matching ddm form instance record could not be found
-
removeByU_F
public static void removeByU_F(long userId, long formInstanceId) Removes all the ddm form instance records 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 records where userId = ? and formInstanceId = ?.- Parameters:
userId- the user IDformInstanceId- the form instance ID- Returns:
- the number of matching ddm form instance records
-
findByF_F
public static List<DDMFormInstanceRecord> findByF_F(long formInstanceId, String formInstanceVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
formInstanceId- the form instance IDformInstanceVersion- the form instance versionstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (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 records
-
findByF_F_First
public static DDMFormInstanceRecord findByF_F_First(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException Returns the first ddm form instance record 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
-
fetchByF_F_First
public static DDMFormInstanceRecord fetchByF_F_First(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record 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, or
nullif a matching ddm form instance record could not be found
-
removeByF_F
Removes all the ddm form instance records 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 records where formInstanceId = ? and formInstanceVersion = ?.- Parameters:
formInstanceId- the form instance IDformInstanceVersion- the form instance version- Returns:
- the number of matching ddm form instance records
-
findByF_I
public static List<DDMFormInstanceRecord> findByF_I(long formInstanceId, String ipAddress, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm form instance records where formInstanceId = ? and ipAddress = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
formInstanceId- the form instance IDipAddress- the ip addressstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (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 records
-
findByF_I_First
public static DDMFormInstanceRecord findByF_I_First(long formInstanceId, String ipAddress, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException Returns the first ddm form instance record in the ordered set where formInstanceId = ? and ipAddress = ?.- Parameters:
formInstanceId- the form instance IDipAddress- the ip addressorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm form instance record
-
fetchByF_I_First
public static DDMFormInstanceRecord fetchByF_I_First(long formInstanceId, String ipAddress, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the first ddm form instance record in the ordered set where formInstanceId = ? and ipAddress = ?.- Parameters:
formInstanceId- the form instance IDipAddress- the ip addressorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm form instance record, or
nullif a matching ddm form instance record could not be found
-
removeByF_I
Removes all the ddm form instance records where formInstanceId = ? and ipAddress = ? from the database.- Parameters:
formInstanceId- the form instance IDipAddress- the ip address
-
countByF_I
Returns the number of ddm form instance records where formInstanceId = ? and ipAddress = ?.- Parameters:
formInstanceId- the form instance IDipAddress- the ip address- Returns:
- the number of matching ddm form instance records
-
create
Creates a new ddm form instance record with the primary key. Does not add the ddm form instance record to the database.- Parameters:
formInstanceRecordId- the primary key for the new ddm form instance record- Returns:
- the new ddm form instance record
-
remove
public static DDMFormInstanceRecord remove(long formInstanceRecordId) throws NoSuchFormInstanceRecordException Removes the ddm form instance record with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
formInstanceRecordId- the primary key of the ddm form instance record- Returns:
- the ddm form instance record that was removed
-
updateImpl
-
findByPrimaryKey
public static DDMFormInstanceRecord findByPrimaryKey(long formInstanceRecordId) throws NoSuchFormInstanceRecordException Returns the ddm form instance record with the primary key or throws aNoSuchFormInstanceRecordExceptionif it could not be found.- Parameters:
formInstanceRecordId- the primary key of the ddm form instance record- Returns:
- the ddm form instance record
-
fetchByPrimaryKey
Returns the ddm form instance record with the primary key or returnsnullif it could not be found.- Parameters:
formInstanceRecordId- the primary key of the ddm form instance record- Returns:
- the ddm form instance record, or
nullif a ddm form instance record with the primary key could not be found
-
fetchByUUID_G
Returns the ddm form instance record where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching ddm form instance record, or
nullif a matching ddm form instance record could not be found
-
findByUuid
Returns all the ddm form instance records where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching ddm form instance records
-
findByUuid
Returns a range of all the ddm form instance records where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (not inclusive)- Returns:
- the range of matching ddm form instance records
-
findByUuid
public static List<DDMFormInstanceRecord> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns an ordered range of all the ddm form instance records where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching ddm form instance records
-
findByUuid_C
Returns all the ddm form instance records where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching ddm form instance records
-
findByUuid_C
public static List<DDMFormInstanceRecord> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the ddm form instance records where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (not inclusive)- Returns:
- the range of matching ddm form instance records
-
findByUuid_C
public static List<DDMFormInstanceRecord> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns an ordered range of all the ddm form instance records where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching ddm form instance records
-
findByCompanyId
Returns all the ddm form instance records where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching ddm form instance records
-
findByCompanyId
Returns a range of all the ddm form instance records where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (not inclusive)- Returns:
- the range of matching ddm form instance records
-
findByCompanyId
public static List<DDMFormInstanceRecord> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns an ordered range of all the ddm form instance records where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching ddm form instance records
-
findByFormInstanceId
Returns all the ddm form instance records where formInstanceId = ?.- Parameters:
formInstanceId- the form instance ID- Returns:
- the matching ddm form instance records
-
findByFormInstanceId
public static List<DDMFormInstanceRecord> findByFormInstanceId(long formInstanceId, int start, int end) Returns a range of all the ddm form instance records where formInstanceId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
formInstanceId- the form instance IDstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (not inclusive)- Returns:
- the range of matching ddm form instance records
-
findByFormInstanceId
public static List<DDMFormInstanceRecord> findByFormInstanceId(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns an ordered range of all the ddm form instance records where formInstanceId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
formInstanceId- the form instance IDstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching ddm form instance records
-
findByU_F
Returns all the ddm form instance records where userId = ? and formInstanceId = ?.- Parameters:
userId- the user IDformInstanceId- the form instance ID- Returns:
- the matching ddm form instance records
-
findByU_F
public static List<DDMFormInstanceRecord> findByU_F(long userId, long formInstanceId, int start, int end) Returns a range of all the ddm form instance records where userId = ? and formInstanceId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
userId- the user IDformInstanceId- the form instance IDstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (not inclusive)- Returns:
- the range of matching ddm form instance records
-
findByU_F
public static List<DDMFormInstanceRecord> findByU_F(long userId, long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns an ordered range of all the ddm form instance records where userId = ? and formInstanceId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
userId- the user IDformInstanceId- the form instance IDstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching ddm form instance records
-
findByF_F
public static List<DDMFormInstanceRecord> findByF_F(long formInstanceId, String formInstanceVersion) Returns all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ?.- Parameters:
formInstanceId- the form instance IDformInstanceVersion- the form instance version- Returns:
- the matching ddm form instance records
-
findByF_F
public static List<DDMFormInstanceRecord> findByF_F(long formInstanceId, String formInstanceVersion, int start, int end) Returns a range of all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
formInstanceId- the form instance IDformInstanceVersion- the form instance versionstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (not inclusive)- Returns:
- the range of matching ddm form instance records
-
findByF_F
public static List<DDMFormInstanceRecord> findByF_F(long formInstanceId, String formInstanceVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns an ordered range of all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
formInstanceId- the form instance IDformInstanceVersion- the form instance versionstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching ddm form instance records
-
findByF_I
Returns all the ddm form instance records where formInstanceId = ? and ipAddress = ?.- Parameters:
formInstanceId- the form instance IDipAddress- the ip address- Returns:
- the matching ddm form instance records
-
findByF_I
public static List<DDMFormInstanceRecord> findByF_I(long formInstanceId, String ipAddress, int start, int end) Returns a range of all the ddm form instance records where formInstanceId = ? and ipAddress = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
formInstanceId- the form instance IDipAddress- the ip addressstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (not inclusive)- Returns:
- the range of matching ddm form instance records
-
findByF_I
public static List<DDMFormInstanceRecord> findByF_I(long formInstanceId, String ipAddress, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns an ordered range of all the ddm form instance records where formInstanceId = ? and ipAddress = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Parameters:
formInstanceId- the form instance IDipAddress- the ip addressstart- the lower bound of the range of ddm form instance recordsend- the upper bound of the range of ddm form instance records (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching ddm form instance records
-
getPersistence
-
setPersistence
-