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 void
cacheResult
(DDMFormInstanceRecord ddmFormInstanceRecord) Caches the ddm form instance record in the entity cache if it is enabled.static void
cacheResult
(List<DDMFormInstanceRecord> ddmFormInstanceRecords) Caches the ddm form instance records in the entity cache if it is enabled.static void
static void
clearCache
(DDMFormInstanceRecord ddmFormInstanceRecord) static int
countAll()
Returns the number of ddm form instance records.static int
countByCompanyId
(long companyId) Returns the number of ddm form instance records where companyId = ?.static int
countByF_F
(long formInstanceId, String formInstanceVersion) Returns the number of ddm form instance records where formInstanceId = ? and formInstanceVersion = ?.static int
countByFormInstanceId
(long formInstanceId) Returns the number of ddm form instance records where formInstanceId = ?.static int
countByU_F
(long userId, long formInstanceId) Returns the number of ddm form instance records where userId = ? and formInstanceId = ?.static int
countByUuid
(String uuid) Returns the number of ddm form instance records where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of ddm form instance records where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of ddm form instance records where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static DDMFormInstanceRecord
create
(long formInstanceRecordId) Creates a new ddm form instance record with the primary key.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 = ?.static DDMFormInstanceRecord
fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the last ddm form instance record in the ordered set where companyId = ?.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 = ?.static DDMFormInstanceRecord
fetchByF_F_Last
(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the last ddm form instance record in the ordered set where formInstanceId = ? and formInstanceVersion = ?.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 = ?.static DDMFormInstanceRecord
fetchByFormInstanceId_Last
(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the last ddm form instance record in the ordered set where formInstanceId = ?.static DDMFormInstanceRecord
fetchByPrimaryKey
(long formInstanceRecordId) Returns the ddm form instance record with the primary key or returnsnull
if it could not be found.static Map<Serializable,
DDMFormInstanceRecord> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 = ?.static DDMFormInstanceRecord
fetchByU_F_Last
(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the last ddm form instance record in the ordered set where userId = ? and formInstanceId = ?.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 = ?.static DDMFormInstanceRecord
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the last ddm form instance record in the ordered set where uuid = ? and companyId = ?.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 = ?.static DDMFormInstanceRecord
fetchByUUID_G
(String uuid, long groupId) Returns the ddm form instance record where uuid = ? and groupId = ? or returnsnull
if it could not be found.static DDMFormInstanceRecord
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the ddm form instance record where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static DDMFormInstanceRecord
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the last ddm form instance record in the ordered set where uuid = ?.static List<DDMFormInstanceRecord>
findAll()
Returns all the ddm form instance records.static List<DDMFormInstanceRecord>
findAll
(int start, int end) Returns a range of all the ddm form instance records.static List<DDMFormInstanceRecord>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns an ordered range of all the ddm form instance records.static List<DDMFormInstanceRecord>
findAll
(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.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 DDMFormInstanceRecord
findByCompanyId_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 DDMFormInstanceRecord
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the last ddm form instance record in the ordered set where companyId = ?.static DDMFormInstanceRecord[]
findByCompanyId_PrevAndNext
(long formInstanceRecordId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the ddm form instance records before and after the current 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 DDMFormInstanceRecord
findByF_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 DDMFormInstanceRecord
findByF_F_Last
(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the last ddm form instance record in the ordered set where formInstanceId = ? and formInstanceVersion = ?.static DDMFormInstanceRecord[]
findByF_F_PrevAndNext
(long formInstanceRecordId, long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the ddm form instance records before and after the current ddm form instance record in the ordered set where formInstanceId = ? and formInstanceVersion = ?.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 DDMFormInstanceRecord
findByFormInstanceId_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 DDMFormInstanceRecord
findByFormInstanceId_Last
(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the last ddm form instance record in the ordered set where formInstanceId = ?.static DDMFormInstanceRecord[]
findByFormInstanceId_PrevAndNext
(long formInstanceRecordId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the ddm form instance records before and after the current ddm form instance record in the ordered set where formInstanceId = ?.static DDMFormInstanceRecord
findByPrimaryKey
(long formInstanceRecordId) Returns the ddm form instance record with the primary key or throws aNoSuchFormInstanceRecordException
if 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 DDMFormInstanceRecord
findByU_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 DDMFormInstanceRecord
findByU_F_Last
(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the last ddm form instance record in the ordered set where userId = ? and formInstanceId = ?.static DDMFormInstanceRecord[]
findByU_F_PrevAndNext
(long formInstanceRecordId, long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the ddm form instance records before and after the current 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 DDMFormInstanceRecord
findByUuid_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 DDMFormInstanceRecord
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the last ddm form instance record in the ordered set where uuid = ? and companyId = ?.static DDMFormInstanceRecord[]
findByUuid_C_PrevAndNext
(long formInstanceRecordId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the ddm form instance records before and after the current ddm form instance record in the ordered set where uuid = ? and companyId = ?.static DDMFormInstanceRecord
findByUuid_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 DDMFormInstanceRecord
findByUUID_G
(String uuid, long groupId) Returns the ddm form instance record where uuid = ? and groupId = ? or throws aNoSuchFormInstanceRecordException
if it could not be found.static DDMFormInstanceRecord
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the last ddm form instance record in the ordered set where uuid = ?.static DDMFormInstanceRecord[]
findByUuid_PrevAndNext
(long formInstanceRecordId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the ddm form instance records before and after the current ddm form instance record in the ordered set where uuid = ?.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 DDMFormInstanceRecord
remove
(long formInstanceRecordId) Removes the ddm form instance record with the primary key from the database.static void
Removes all the ddm form instance records from the database.static void
removeByCompanyId
(long companyId) Removes all the ddm form instance records where companyId = ? from the database.static void
removeByF_F
(long formInstanceId, String formInstanceVersion) Removes all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ? from the database.static void
removeByFormInstanceId
(long formInstanceId) Removes all the ddm form instance records where formInstanceId = ? from the database.static void
removeByU_F
(long userId, long formInstanceId) Removes all the ddm form instance records where userId = ? and formInstanceId = ? from the database.static void
removeByUuid
(String uuid) Removes all the ddm form instance records where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the ddm form instance records where uuid = ? and companyId = ? from the database.static DDMFormInstanceRecord
removeByUUID_G
(String uuid, long groupId) Removes the ddm form instance record where uuid = ? and groupId = ? from the database.static void
setPersistence
(DDMFormInstanceRecordPersistence persistence) static DDMFormInstanceRecord
update
(DDMFormInstanceRecord ddmFormInstanceRecord) static DDMFormInstanceRecord
update
(DDMFormInstanceRecord ddmFormInstanceRecord, com.liferay.portal.kernel.service.ServiceContext serviceContext) static DDMFormInstanceRecord
updateImpl
(DDMFormInstanceRecord ddmFormInstanceRecord)
-
Constructor Details
-
DDMFormInstanceRecordUtil
public DDMFormInstanceRecordUtil()
-
-
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,DDMFormInstanceRecord> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<DDMFormInstanceRecord> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<DDMFormInstanceRecord> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
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:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static DDMFormInstanceRecord update(DDMFormInstanceRecord ddmFormInstanceRecord, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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 - 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 fromDDMFormInstanceRecordModelImpl
.- 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 - 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 fromDDMFormInstanceRecordModelImpl
.- 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
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 - 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 fromDDMFormInstanceRecordModelImpl
.- 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
- Throws:
NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundNoSuchFormInstanceRecordException
-
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
null
if a matching ddm form instance record could not be found
-
findByUuid_Last
public static DDMFormInstanceRecord findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException Returns the last ddm form instance record in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm form instance record
- Throws:
NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundNoSuchFormInstanceRecordException
-
fetchByUuid_Last
public static DDMFormInstanceRecord fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the last ddm form instance record in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm form instance record, or
null
if a matching ddm form instance record could not be found
-
findByUuid_PrevAndNext
public static DDMFormInstanceRecord[] findByUuid_PrevAndNext(long formInstanceRecordId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException Returns the ddm form instance records before and after the current ddm form instance record in the ordered set where uuid = ?.- Parameters:
formInstanceRecordId
- the primary key of the current ddm form instance recorduuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm form instance record
- Throws:
NoSuchFormInstanceRecordException
- if a ddm form instance record with the primary key could not be foundNoSuchFormInstanceRecordException
-
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 aNoSuchFormInstanceRecordException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching ddm form instance record
- Throws:
NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundNoSuchFormInstanceRecordException
-
fetchByUUID_G
Returns the ddm form instance record where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching ddm form instance record, or
null
if a matching ddm form instance record could not be found
-
fetchByUUID_G
public static DDMFormInstanceRecord fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the ddm form instance record where uuid = ? and groupId = ? or returnsnull
if 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
null
if 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
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 - 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 fromDDMFormInstanceRecordModelImpl
.- 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 - 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 fromDDMFormInstanceRecordModelImpl
.- 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
-
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 - 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 fromDDMFormInstanceRecordModelImpl
.- 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
- Throws:
NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundNoSuchFormInstanceRecordException
-
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
null
if a matching ddm form instance record could not be found
-
findByUuid_C_Last
public static DDMFormInstanceRecord findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException Returns the last 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 last matching ddm form instance record
- Throws:
NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundNoSuchFormInstanceRecordException
-
fetchByUuid_C_Last
public static DDMFormInstanceRecord fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the last 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 last matching ddm form instance record, or
null
if a matching ddm form instance record could not be found
-
findByUuid_C_PrevAndNext
public static DDMFormInstanceRecord[] findByUuid_C_PrevAndNext(long formInstanceRecordId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException Returns the ddm form instance records before and after the current ddm form instance record in the ordered set where uuid = ? and companyId = ?.- Parameters:
formInstanceRecordId
- the primary key of the current ddm form instance recorduuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm form instance record
- Throws:
NoSuchFormInstanceRecordException
- if a ddm form instance record with the primary key could not be foundNoSuchFormInstanceRecordException
-
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
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 - 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 fromDDMFormInstanceRecordModelImpl
.- 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 - 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 fromDDMFormInstanceRecordModelImpl
.- 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
-
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 - 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 fromDDMFormInstanceRecordModelImpl
.- 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
- Throws:
NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundNoSuchFormInstanceRecordException
-
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
null
if a matching ddm form instance record could not be found
-
findByCompanyId_Last
public static DDMFormInstanceRecord findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException Returns the last 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 last matching ddm form instance record
- Throws:
NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundNoSuchFormInstanceRecordException
-
fetchByCompanyId_Last
public static DDMFormInstanceRecord fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the last 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 last matching ddm form instance record, or
null
if a matching ddm form instance record could not be found
-
findByCompanyId_PrevAndNext
public static DDMFormInstanceRecord[] findByCompanyId_PrevAndNext(long formInstanceRecordId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException Returns the ddm form instance records before and after the current ddm form instance record in the ordered set where companyId = ?.- Parameters:
formInstanceRecordId
- the primary key of the current ddm form instance recordcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm form instance record
- Throws:
NoSuchFormInstanceRecordException
- if a ddm form instance record with the primary key could not be foundNoSuchFormInstanceRecordException
-
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
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 - 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 fromDDMFormInstanceRecordModelImpl
.- 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 - 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 fromDDMFormInstanceRecordModelImpl
.- 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
-
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 - 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 fromDDMFormInstanceRecordModelImpl
.- 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
- Throws:
NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundNoSuchFormInstanceRecordException
-
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
null
if a matching ddm form instance record could not be found
-
findByFormInstanceId_Last
public static DDMFormInstanceRecord findByFormInstanceId_Last(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException Returns the last 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 last matching ddm form instance record
- Throws:
NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundNoSuchFormInstanceRecordException
-
fetchByFormInstanceId_Last
public static DDMFormInstanceRecord fetchByFormInstanceId_Last(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the last 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 last matching ddm form instance record, or
null
if a matching ddm form instance record could not be found
-
findByFormInstanceId_PrevAndNext
public static DDMFormInstanceRecord[] findByFormInstanceId_PrevAndNext(long formInstanceRecordId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException Returns the ddm form instance records before and after the current ddm form instance record in the ordered set where formInstanceId = ?.- Parameters:
formInstanceRecordId
- the primary key of the current ddm form instance recordformInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm form instance record
- Throws:
NoSuchFormInstanceRecordException
- if a ddm form instance record with the primary key could not be foundNoSuchFormInstanceRecordException
-
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
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 - 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 fromDDMFormInstanceRecordModelImpl
.- 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 - 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 fromDDMFormInstanceRecordModelImpl
.- 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
-
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 - 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 fromDDMFormInstanceRecordModelImpl
.- 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
- Throws:
NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundNoSuchFormInstanceRecordException
-
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
null
if a matching ddm form instance record could not be found
-
findByU_F_Last
public static DDMFormInstanceRecord findByU_F_Last(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException Returns the last 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 last matching ddm form instance record
- Throws:
NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundNoSuchFormInstanceRecordException
-
fetchByU_F_Last
public static DDMFormInstanceRecord fetchByU_F_Last(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the last 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 last matching ddm form instance record, or
null
if a matching ddm form instance record could not be found
-
findByU_F_PrevAndNext
public static DDMFormInstanceRecord[] findByU_F_PrevAndNext(long formInstanceRecordId, long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException Returns the ddm form instance records before and after the current ddm form instance record in the ordered set where userId = ? and formInstanceId = ?.- Parameters:
formInstanceRecordId
- the primary key of the current ddm form instance recorduserId
- 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
- Throws:
NoSuchFormInstanceRecordException
- if a ddm form instance record with the primary key could not be foundNoSuchFormInstanceRecordException
-
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) 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 - 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 fromDDMFormInstanceRecordModelImpl
.- 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 - 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 fromDDMFormInstanceRecordModelImpl
.- 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_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 - 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 fromDDMFormInstanceRecordModelImpl
.- 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
- Throws:
NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundNoSuchFormInstanceRecordException
-
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
null
if a matching ddm form instance record could not be found
-
findByF_F_Last
public static DDMFormInstanceRecord findByF_F_Last(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException Returns the last 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 last matching ddm form instance record
- Throws:
NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundNoSuchFormInstanceRecordException
-
fetchByF_F_Last
public static DDMFormInstanceRecord fetchByF_F_Last(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns the last 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 last matching ddm form instance record, or
null
if a matching ddm form instance record could not be found
-
findByF_F_PrevAndNext
public static DDMFormInstanceRecord[] findByF_F_PrevAndNext(long formInstanceRecordId, long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException Returns the ddm form instance records before and after the current ddm form instance record in the ordered set where formInstanceId = ? and formInstanceVersion = ?.- Parameters:
formInstanceRecordId
- the primary key of the current ddm form instance recordformInstanceId
- 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
- Throws:
NoSuchFormInstanceRecordException
- if a ddm form instance record with the primary key could not be foundNoSuchFormInstanceRecordException
-
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
-
cacheResult
Caches the ddm form instance record in the entity cache if it is enabled.- Parameters:
ddmFormInstanceRecord
- the ddm form instance record
-
cacheResult
Caches the ddm form instance records in the entity cache if it is enabled.- Parameters:
ddmFormInstanceRecords
- the 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
- Throws:
NoSuchFormInstanceRecordException
- if a ddm form instance record with the primary key could not be foundNoSuchFormInstanceRecordException
-
updateImpl
-
findByPrimaryKey
public static DDMFormInstanceRecord findByPrimaryKey(long formInstanceRecordId) throws NoSuchFormInstanceRecordException Returns the ddm form instance record with the primary key or throws aNoSuchFormInstanceRecordException
if it could not be found.- Parameters:
formInstanceRecordId
- the primary key of the ddm form instance record- Returns:
- the ddm form instance record
- Throws:
NoSuchFormInstanceRecordException
- if a ddm form instance record with the primary key could not be foundNoSuchFormInstanceRecordException
-
fetchByPrimaryKey
Returns the ddm form instance record with the primary key or returnsnull
if it could not be found.- Parameters:
formInstanceRecordId
- the primary key of the ddm form instance record- Returns:
- the ddm form instance record, or
null
if a ddm form instance record with the primary key could not be found
-
findAll
Returns all the ddm form instance records.- Returns:
- the ddm form instance records
-
findAll
Returns a range of all the ddm form instance records.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 fromDDMFormInstanceRecordModelImpl
.- Parameters:
start
- 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 ddm form instance records
-
findAll
public static List<DDMFormInstanceRecord> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns an ordered range of all the ddm form instance records.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 fromDDMFormInstanceRecordModelImpl
.- Parameters:
start
- 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 ddm form instance records
-
findAll
public static List<DDMFormInstanceRecord> findAll(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.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 fromDDMFormInstanceRecordModelImpl
.- Parameters:
start
- 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 ddm form instance records
-
removeAll
public static void removeAll()Removes all the ddm form instance records from the database. -
countAll
public static int countAll()Returns the number of ddm form instance records.- Returns:
- the number of ddm form instance records
-
getPersistence
-
setPersistence
-