public class DDMFormInstanceRecordUtil
extends java.lang.Object
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
DDMFormInstanceRecordPersistence
Constructor and Description |
---|
DDMFormInstanceRecordUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(DDMFormInstanceRecord ddmFormInstanceRecord)
Caches the ddm form instance record in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<DDMFormInstanceRecord> ddmFormInstanceRecords)
Caches the ddm form instance records in the entity cache if it is enabled.
|
static void |
clearCache() |
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,
java.lang.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_C(java.lang.String uuid,
long companyId)
Returns the number of ddm form instance records where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of ddm form instance records where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of ddm form instance records where uuid = ?.
|
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,
java.lang.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,
java.lang.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 returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,DDMFormInstanceRecord> |
fetchByPrimaryKeys(java.util.Set<java.io.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(java.lang.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(java.lang.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(java.lang.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(java.lang.String uuid,
long groupId)
Returns the ddm form instance record where uuid = ? and groupId = ? or returns
null if it could not be found. |
static DDMFormInstanceRecord |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the ddm form instance record where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static DDMFormInstanceRecord |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
Returns the last ddm form instance record in the ordered set where uuid = ?.
|
static java.util.List<DDMFormInstanceRecord> |
findAll()
Returns all the ddm form instance records.
|
static java.util.List<DDMFormInstanceRecord> |
findAll(int start,
int end)
Returns a range of all the ddm form instance records.
|
static java.util.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 java.util.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 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 java.util.List<DDMFormInstanceRecord> |
findByCompanyId(long companyId)
Returns all the ddm form instance records where companyId = ?.
|
static java.util.List<DDMFormInstanceRecord> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the ddm form instance records where companyId = ?.
|
static java.util.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 java.util.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 |
findByF_F_First(long formInstanceId,
java.lang.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,
java.lang.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,
java.lang.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 java.util.List<DDMFormInstanceRecord> |
findByF_F(long formInstanceId,
java.lang.String formInstanceVersion)
Returns all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ?.
|
static java.util.List<DDMFormInstanceRecord> |
findByF_F(long formInstanceId,
java.lang.String formInstanceVersion,
int start,
int end)
Returns a range of all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ?.
|
static java.util.List<DDMFormInstanceRecord> |
findByF_F(long formInstanceId,
java.lang.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 java.util.List<DDMFormInstanceRecord> |
findByF_F(long formInstanceId,
java.lang.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 |
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 java.util.List<DDMFormInstanceRecord> |
findByFormInstanceId(long formInstanceId)
Returns all the ddm form instance records where formInstanceId = ?.
|
static java.util.List<DDMFormInstanceRecord> |
findByFormInstanceId(long formInstanceId,
int start,
int end)
Returns a range of all the ddm form instance records where formInstanceId = ?.
|
static java.util.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 java.util.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 |
findByPrimaryKey(long formInstanceRecordId)
Returns the ddm form instance record with the primary key or throws a
NoSuchFormInstanceRecordException if it could not be found. |
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 java.util.List<DDMFormInstanceRecord> |
findByU_F(long userId,
long formInstanceId)
Returns all the ddm form instance records where userId = ? and formInstanceId = ?.
|
static java.util.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 java.util.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 java.util.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 |
findByUuid_C_First(java.lang.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(java.lang.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,
java.lang.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 java.util.List<DDMFormInstanceRecord> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the ddm form instance records where uuid = ? and companyId = ?.
|
static java.util.List<DDMFormInstanceRecord> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the ddm form instance records where uuid = ? and companyId = ?.
|
static java.util.List<DDMFormInstanceRecord> |
findByUuid_C(java.lang.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 java.util.List<DDMFormInstanceRecord> |
findByUuid_C(java.lang.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_First(java.lang.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(java.lang.String uuid,
long groupId)
Returns the ddm form instance record where uuid = ? and groupId = ? or throws a
NoSuchFormInstanceRecordException if it could not be found. |
static DDMFormInstanceRecord |
findByUuid_Last(java.lang.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,
java.lang.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 java.util.List<DDMFormInstanceRecord> |
findByUuid(java.lang.String uuid)
Returns all the ddm form instance records where uuid = ?.
|
static java.util.List<DDMFormInstanceRecord> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the ddm form instance records where uuid = ?.
|
static java.util.List<DDMFormInstanceRecord> |
findByUuid(java.lang.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 java.util.List<DDMFormInstanceRecord> |
findByUuid(java.lang.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 java.util.List<DDMFormInstanceRecord> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<DDMFormInstanceRecord> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<DDMFormInstanceRecord> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) |
static DDMFormInstanceRecordPersistence |
getPersistence() |
static DDMFormInstanceRecord |
remove(long formInstanceRecordId)
Removes the ddm form instance record with the primary key from the database.
|
static void |
removeAll()
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,
java.lang.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_C(java.lang.String uuid,
long companyId)
Removes all the ddm form instance records where uuid = ? and companyId = ? from the database.
|
static DDMFormInstanceRecord |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the ddm form instance record where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the ddm form instance records where uuid = ? from the database.
|
static DDMFormInstanceRecord |
update(DDMFormInstanceRecord ddmFormInstanceRecord) |
static DDMFormInstanceRecord |
update(DDMFormInstanceRecord ddmFormInstanceRecord,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static DDMFormInstanceRecord |
updateImpl(DDMFormInstanceRecord ddmFormInstanceRecord) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(DDMFormInstanceRecord ddmFormInstanceRecord)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,DDMFormInstanceRecord> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<DDMFormInstanceRecord> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<DDMFormInstanceRecord> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<DDMFormInstanceRecord> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static DDMFormInstanceRecord update(DDMFormInstanceRecord ddmFormInstanceRecord)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static DDMFormInstanceRecord update(DDMFormInstanceRecord ddmFormInstanceRecord, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<DDMFormInstanceRecord> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<DDMFormInstanceRecord> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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)public static java.util.List<DDMFormInstanceRecord> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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 (optionally null
)public static java.util.List<DDMFormInstanceRecord> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMFormInstanceRecord findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord[] findByUuid_PrevAndNext(long formInstanceRecordId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
formInstanceRecordId
- the primary key of the current ddm form instance recorduuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordException
- if a ddm form instance record with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static DDMFormInstanceRecord findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchFormInstanceRecordException
NoSuchFormInstanceRecordException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchFormInstanceRecordException
uuid
- the uuidgroupId
- the group IDNoSuchFormInstanceRecordException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<DDMFormInstanceRecord> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<DDMFormInstanceRecord> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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)public static java.util.List<DDMFormInstanceRecord> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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 (optionally null
)public static java.util.List<DDMFormInstanceRecord> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMFormInstanceRecord findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord[] findByUuid_C_PrevAndNext(long formInstanceRecordId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
formInstanceRecordId
- the primary key of the current ddm form instance recorduuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordException
- if a ddm form instance record with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<DDMFormInstanceRecord> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<DDMFormInstanceRecord> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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)public static java.util.List<DDMFormInstanceRecord> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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 (optionally null
)public static java.util.List<DDMFormInstanceRecord> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMFormInstanceRecord findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord[] findByCompanyId_PrevAndNext(long formInstanceRecordId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
formInstanceRecordId
- the primary key of the current ddm form instance recordcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordException
- if a ddm form instance record with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<DDMFormInstanceRecord> findByFormInstanceId(long formInstanceId)
formInstanceId
- the form instance IDpublic static java.util.List<DDMFormInstanceRecord> findByFormInstanceId(long formInstanceId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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)public static java.util.List<DDMFormInstanceRecord> findByFormInstanceId(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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 (optionally null
)public static java.util.List<DDMFormInstanceRecord> findByFormInstanceId(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMFormInstanceRecord findByFormInstanceId_First(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
formInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord fetchByFormInstanceId_First(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
formInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord findByFormInstanceId_Last(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
formInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord fetchByFormInstanceId_Last(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
formInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord[] findByFormInstanceId_PrevAndNext(long formInstanceRecordId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
formInstanceRecordId
- the primary key of the current ddm form instance recordformInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordException
- if a ddm form instance record with the primary key could not be foundpublic static void removeByFormInstanceId(long formInstanceId)
formInstanceId
- the form instance IDpublic static int countByFormInstanceId(long formInstanceId)
formInstanceId
- the form instance IDpublic static java.util.List<DDMFormInstanceRecord> findByU_F(long userId, long formInstanceId)
userId
- the user IDformInstanceId
- the form instance IDpublic static java.util.List<DDMFormInstanceRecord> findByU_F(long userId, long formInstanceId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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)public static java.util.List<DDMFormInstanceRecord> findByU_F(long userId, long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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 (optionally null
)public static java.util.List<DDMFormInstanceRecord> findByU_F(long userId, long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMFormInstanceRecord findByU_F_First(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
userId
- the user IDformInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord fetchByU_F_First(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
userId
- the user IDformInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord findByU_F_Last(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
userId
- the user IDformInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord fetchByU_F_Last(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
userId
- the user IDformInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord[] findByU_F_PrevAndNext(long formInstanceRecordId, long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
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 (optionally null
)NoSuchFormInstanceRecordException
- if a ddm form instance record with the primary key could not be foundpublic static void removeByU_F(long userId, long formInstanceId)
userId
- the user IDformInstanceId
- the form instance IDpublic static int countByU_F(long userId, long formInstanceId)
userId
- the user IDformInstanceId
- the form instance IDpublic static java.util.List<DDMFormInstanceRecord> findByF_F(long formInstanceId, java.lang.String formInstanceVersion)
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionpublic static java.util.List<DDMFormInstanceRecord> findByF_F(long formInstanceId, java.lang.String formInstanceVersion, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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)public static java.util.List<DDMFormInstanceRecord> findByF_F(long formInstanceId, java.lang.String formInstanceVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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 (optionally null
)public static java.util.List<DDMFormInstanceRecord> findByF_F(long formInstanceId, java.lang.String formInstanceVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMFormInstanceRecord findByF_F_First(long formInstanceId, java.lang.String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord fetchByF_F_First(long formInstanceId, java.lang.String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord findByF_F_Last(long formInstanceId, java.lang.String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordException
- if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord fetchByF_F_Last(long formInstanceId, java.lang.String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance record could not be foundpublic static DDMFormInstanceRecord[] findByF_F_PrevAndNext(long formInstanceRecordId, long formInstanceId, java.lang.String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
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 (optionally null
)NoSuchFormInstanceRecordException
- if a ddm form instance record with the primary key could not be foundpublic static void removeByF_F(long formInstanceId, java.lang.String formInstanceVersion)
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionpublic static int countByF_F(long formInstanceId, java.lang.String formInstanceVersion)
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionpublic static void cacheResult(DDMFormInstanceRecord ddmFormInstanceRecord)
ddmFormInstanceRecord
- the ddm form instance recordpublic static void cacheResult(java.util.List<DDMFormInstanceRecord> ddmFormInstanceRecords)
ddmFormInstanceRecords
- the ddm form instance recordspublic static DDMFormInstanceRecord create(long formInstanceRecordId)
formInstanceRecordId
- the primary key for the new ddm form instance recordpublic static DDMFormInstanceRecord remove(long formInstanceRecordId) throws NoSuchFormInstanceRecordException
formInstanceRecordId
- the primary key of the ddm form instance recordNoSuchFormInstanceRecordException
- if a ddm form instance record with the primary key could not be foundpublic static DDMFormInstanceRecord updateImpl(DDMFormInstanceRecord ddmFormInstanceRecord)
public static DDMFormInstanceRecord findByPrimaryKey(long formInstanceRecordId) throws NoSuchFormInstanceRecordException
NoSuchFormInstanceRecordException
if it could not be found.formInstanceRecordId
- the primary key of the ddm form instance recordNoSuchFormInstanceRecordException
- if a ddm form instance record with the primary key could not be foundpublic static DDMFormInstanceRecord fetchByPrimaryKey(long formInstanceRecordId)
null
if it could not be found.formInstanceRecordId
- the primary key of the ddm form instance recordnull
if a ddm form instance record with the primary key could not be foundpublic static java.util.List<DDMFormInstanceRecord> findAll()
public static java.util.List<DDMFormInstanceRecord> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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)public static java.util.List<DDMFormInstanceRecord> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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 (optionally null
)public static java.util.List<DDMFormInstanceRecord> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceRecordModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static DDMFormInstanceRecordPersistence getPersistence()