public class DDMFormInstanceRecordVersionUtil
extends java.lang.Object
com.liferay.dynamic.data.mapping.service.persistence.impl.DDMFormInstanceRecordVersionPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
DDMFormInstanceRecordVersionPersistence
Constructor and Description |
---|
DDMFormInstanceRecordVersionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion)
Caches the ddm form instance record version in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<DDMFormInstanceRecordVersion> ddmFormInstanceRecordVersions)
Caches the ddm form instance record versions in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion) |
static int |
countAll()
Returns the number of ddm form instance record versions.
|
static int |
countByF_F(long formInstanceId,
java.lang.String formInstanceVersion)
Returns the number of ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.
|
static int |
countByF_S(long formInstanceRecordId,
int status)
Returns the number of ddm form instance record versions where formInstanceRecordId = ? and status = ?.
|
static int |
countByF_V(long formInstanceRecordId,
java.lang.String version)
Returns the number of ddm form instance record versions where formInstanceRecordId = ? and version = ?.
|
static int |
countByFormInstanceRecordId(long formInstanceRecordId)
Returns the number of ddm form instance record versions where formInstanceRecordId = ?.
|
static int |
countByU_F_F_S(long userId,
long formInstanceId,
java.lang.String formInstanceVersion,
int status)
Returns the number of ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static DDMFormInstanceRecordVersion |
create(long formInstanceRecordVersionId)
Creates a new ddm form instance record version with the primary key.
|
static DDMFormInstanceRecordVersion |
fetchByF_F_First(long formInstanceId,
java.lang.String formInstanceVersion,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the first ddm form instance record version in the ordered set where formInstanceId = ? and formInstanceVersion = ?.
|
static DDMFormInstanceRecordVersion |
fetchByF_F_Last(long formInstanceId,
java.lang.String formInstanceVersion,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the last ddm form instance record version in the ordered set where formInstanceId = ? and formInstanceVersion = ?.
|
static DDMFormInstanceRecordVersion |
fetchByF_S_First(long formInstanceRecordId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the first ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?.
|
static DDMFormInstanceRecordVersion |
fetchByF_S_Last(long formInstanceRecordId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the last ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?.
|
static DDMFormInstanceRecordVersion |
fetchByF_V(long formInstanceRecordId,
java.lang.String version)
Returns the ddm form instance record version where formInstanceRecordId = ? and version = ? or returns
null if it could not be found. |
static DDMFormInstanceRecordVersion |
fetchByF_V(long formInstanceRecordId,
java.lang.String version,
boolean useFinderCache)
Returns the ddm form instance record version where formInstanceRecordId = ? and version = ? or returns
null if it could not be found, optionally using the finder cache. |
static DDMFormInstanceRecordVersion |
fetchByFormInstanceRecordId_First(long formInstanceRecordId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the first ddm form instance record version in the ordered set where formInstanceRecordId = ?.
|
static DDMFormInstanceRecordVersion |
fetchByFormInstanceRecordId_Last(long formInstanceRecordId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the last ddm form instance record version in the ordered set where formInstanceRecordId = ?.
|
static DDMFormInstanceRecordVersion |
fetchByPrimaryKey(long formInstanceRecordVersionId)
Returns the ddm form instance record version with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,DDMFormInstanceRecordVersion> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static DDMFormInstanceRecordVersion |
fetchByU_F_F_S_First(long userId,
long formInstanceId,
java.lang.String formInstanceVersion,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the first ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.
|
static DDMFormInstanceRecordVersion |
fetchByU_F_F_S_Last(long userId,
long formInstanceId,
java.lang.String formInstanceVersion,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the last ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findAll()
Returns all the ddm form instance record versions.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findAll(int start,
int end)
Returns a range of all the ddm form instance record versions.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns an ordered range of all the ddm form instance record versions.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm form instance record versions.
|
static DDMFormInstanceRecordVersion |
findByF_F_First(long formInstanceId,
java.lang.String formInstanceVersion,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the first ddm form instance record version in the ordered set where formInstanceId = ? and formInstanceVersion = ?.
|
static DDMFormInstanceRecordVersion |
findByF_F_Last(long formInstanceId,
java.lang.String formInstanceVersion,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the last ddm form instance record version in the ordered set where formInstanceId = ? and formInstanceVersion = ?.
|
static DDMFormInstanceRecordVersion[] |
findByF_F_PrevAndNext(long formInstanceRecordVersionId,
long formInstanceId,
java.lang.String formInstanceVersion,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the ddm form instance record versions before and after the current ddm form instance record version in the ordered set where formInstanceId = ? and formInstanceVersion = ?.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findByF_F(long formInstanceId,
java.lang.String formInstanceVersion)
Returns all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findByF_F(long formInstanceId,
java.lang.String formInstanceVersion,
int start,
int end)
Returns a range of all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findByF_F(long formInstanceId,
java.lang.String formInstanceVersion,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns an ordered range of all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findByF_F(long formInstanceId,
java.lang.String formInstanceVersion,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.
|
static DDMFormInstanceRecordVersion |
findByF_S_First(long formInstanceRecordId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the first ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?.
|
static DDMFormInstanceRecordVersion |
findByF_S_Last(long formInstanceRecordId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the last ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?.
|
static DDMFormInstanceRecordVersion[] |
findByF_S_PrevAndNext(long formInstanceRecordVersionId,
long formInstanceRecordId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the ddm form instance record versions before and after the current ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findByF_S(long formInstanceRecordId,
int status)
Returns all the ddm form instance record versions where formInstanceRecordId = ? and status = ?.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findByF_S(long formInstanceRecordId,
int status,
int start,
int end)
Returns a range of all the ddm form instance record versions where formInstanceRecordId = ? and status = ?.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findByF_S(long formInstanceRecordId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns an ordered range of all the ddm form instance record versions where formInstanceRecordId = ? and status = ?.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findByF_S(long formInstanceRecordId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm form instance record versions where formInstanceRecordId = ? and status = ?.
|
static DDMFormInstanceRecordVersion |
findByF_V(long formInstanceRecordId,
java.lang.String version)
Returns the ddm form instance record version where formInstanceRecordId = ? and version = ? or throws a
NoSuchFormInstanceRecordVersionException if it could not be found. |
static DDMFormInstanceRecordVersion |
findByFormInstanceRecordId_First(long formInstanceRecordId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the first ddm form instance record version in the ordered set where formInstanceRecordId = ?.
|
static DDMFormInstanceRecordVersion |
findByFormInstanceRecordId_Last(long formInstanceRecordId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the last ddm form instance record version in the ordered set where formInstanceRecordId = ?.
|
static DDMFormInstanceRecordVersion[] |
findByFormInstanceRecordId_PrevAndNext(long formInstanceRecordVersionId,
long formInstanceRecordId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the ddm form instance record versions before and after the current ddm form instance record version in the ordered set where formInstanceRecordId = ?.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findByFormInstanceRecordId(long formInstanceRecordId)
Returns all the ddm form instance record versions where formInstanceRecordId = ?.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findByFormInstanceRecordId(long formInstanceRecordId,
int start,
int end)
Returns a range of all the ddm form instance record versions where formInstanceRecordId = ?.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findByFormInstanceRecordId(long formInstanceRecordId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns an ordered range of all the ddm form instance record versions where formInstanceRecordId = ?.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findByFormInstanceRecordId(long formInstanceRecordId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm form instance record versions where formInstanceRecordId = ?.
|
static DDMFormInstanceRecordVersion |
findByPrimaryKey(long formInstanceRecordVersionId)
Returns the ddm form instance record version with the primary key or throws a
NoSuchFormInstanceRecordVersionException if it could not be found. |
static DDMFormInstanceRecordVersion |
findByU_F_F_S_First(long userId,
long formInstanceId,
java.lang.String formInstanceVersion,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the first ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.
|
static DDMFormInstanceRecordVersion |
findByU_F_F_S_Last(long userId,
long formInstanceId,
java.lang.String formInstanceVersion,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the last ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.
|
static DDMFormInstanceRecordVersion[] |
findByU_F_F_S_PrevAndNext(long formInstanceRecordVersionId,
long userId,
long formInstanceId,
java.lang.String formInstanceVersion,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns the ddm form instance record versions before and after the current ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findByU_F_F_S(long userId,
long formInstanceId,
java.lang.String formInstanceVersion,
int status)
Returns all the ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findByU_F_F_S(long userId,
long formInstanceId,
java.lang.String formInstanceVersion,
int status,
int start,
int end)
Returns a range of all the ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findByU_F_F_S(long userId,
long formInstanceId,
java.lang.String formInstanceVersion,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
Returns an ordered range of all the ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findByU_F_F_S(long userId,
long formInstanceId,
java.lang.String formInstanceVersion,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.
|
static java.util.List<DDMFormInstanceRecordVersion> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<DDMFormInstanceRecordVersion> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<DDMFormInstanceRecordVersion> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) |
static DDMFormInstanceRecordVersionPersistence |
getPersistence() |
static DDMFormInstanceRecordVersion |
remove(long formInstanceRecordVersionId)
Removes the ddm form instance record version with the primary key from the database.
|
static void |
removeAll()
Removes all the ddm form instance record versions from the database.
|
static void |
removeByF_F(long formInstanceId,
java.lang.String formInstanceVersion)
Removes all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ? from the database.
|
static void |
removeByF_S(long formInstanceRecordId,
int status)
Removes all the ddm form instance record versions where formInstanceRecordId = ? and status = ? from the database.
|
static DDMFormInstanceRecordVersion |
removeByF_V(long formInstanceRecordId,
java.lang.String version)
Removes the ddm form instance record version where formInstanceRecordId = ? and version = ? from the database.
|
static void |
removeByFormInstanceRecordId(long formInstanceRecordId)
Removes all the ddm form instance record versions where formInstanceRecordId = ? from the database.
|
static void |
removeByU_F_F_S(long userId,
long formInstanceId,
java.lang.String formInstanceVersion,
int status)
Removes all the ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ? from the database.
|
static DDMFormInstanceRecordVersion |
update(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion) |
static DDMFormInstanceRecordVersion |
update(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static DDMFormInstanceRecordVersion |
updateImpl(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion)
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,DDMFormInstanceRecordVersion> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<DDMFormInstanceRecordVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<DDMFormInstanceRecordVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<DDMFormInstanceRecordVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static DDMFormInstanceRecordVersion update(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static DDMFormInstanceRecordVersion update(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<DDMFormInstanceRecordVersion> findByFormInstanceRecordId(long formInstanceRecordId)
formInstanceRecordId
- the form instance record IDpublic static java.util.List<DDMFormInstanceRecordVersion> findByFormInstanceRecordId(long formInstanceRecordId, 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 DDMFormInstanceRecordVersionModelImpl
.
formInstanceRecordId
- the form instance record IDstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)public static java.util.List<DDMFormInstanceRecordVersion> findByFormInstanceRecordId(long formInstanceRecordId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> 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 DDMFormInstanceRecordVersionModelImpl
.
formInstanceRecordId
- the form instance record IDstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMFormInstanceRecordVersion> findByFormInstanceRecordId(long formInstanceRecordId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> 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 DDMFormInstanceRecordVersionModelImpl
.
formInstanceRecordId
- the form instance record IDstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMFormInstanceRecordVersion findByFormInstanceRecordId_First(long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException
formInstanceRecordId
- the form instance record IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be foundpublic static DDMFormInstanceRecordVersion fetchByFormInstanceRecordId_First(long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
formInstanceRecordId
- the form instance record IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance record version could not be foundpublic static DDMFormInstanceRecordVersion findByFormInstanceRecordId_Last(long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException
formInstanceRecordId
- the form instance record IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be foundpublic static DDMFormInstanceRecordVersion fetchByFormInstanceRecordId_Last(long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
formInstanceRecordId
- the form instance record IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance record version could not be foundpublic static DDMFormInstanceRecordVersion[] findByFormInstanceRecordId_PrevAndNext(long formInstanceRecordVersionId, long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException
formInstanceRecordVersionId
- the primary key of the current ddm form instance record versionformInstanceRecordId
- the form instance record IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordVersionException
- if a ddm form instance record version with the primary key could not be foundpublic static void removeByFormInstanceRecordId(long formInstanceRecordId)
formInstanceRecordId
- the form instance record IDpublic static int countByFormInstanceRecordId(long formInstanceRecordId)
formInstanceRecordId
- the form instance record IDpublic static java.util.List<DDMFormInstanceRecordVersion> findByF_F(long formInstanceId, java.lang.String formInstanceVersion)
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionpublic static java.util.List<DDMFormInstanceRecordVersion> 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 DDMFormInstanceRecordVersionModelImpl
.
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)public static java.util.List<DDMFormInstanceRecordVersion> findByF_F(long formInstanceId, java.lang.String formInstanceVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> 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 DDMFormInstanceRecordVersionModelImpl
.
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMFormInstanceRecordVersion> findByF_F(long formInstanceId, java.lang.String formInstanceVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> 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 DDMFormInstanceRecordVersionModelImpl
.
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMFormInstanceRecordVersion findByF_F_First(long formInstanceId, java.lang.String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be foundpublic static DDMFormInstanceRecordVersion fetchByF_F_First(long formInstanceId, java.lang.String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> 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 version could not be foundpublic static DDMFormInstanceRecordVersion findByF_F_Last(long formInstanceId, java.lang.String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be foundpublic static DDMFormInstanceRecordVersion fetchByF_F_Last(long formInstanceId, java.lang.String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> 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 version could not be foundpublic static DDMFormInstanceRecordVersion[] findByF_F_PrevAndNext(long formInstanceRecordVersionId, long formInstanceId, java.lang.String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException
formInstanceRecordVersionId
- the primary key of the current ddm form instance record versionformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordVersionException
- if a ddm form instance record version 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 DDMFormInstanceRecordVersion findByF_V(long formInstanceRecordId, java.lang.String version) throws NoSuchFormInstanceRecordVersionException
NoSuchFormInstanceRecordVersionException
if it could not be found.formInstanceRecordId
- the form instance record IDversion
- the versionNoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be foundpublic static DDMFormInstanceRecordVersion fetchByF_V(long formInstanceRecordId, java.lang.String version)
null
if it could not be found. Uses the finder cache.formInstanceRecordId
- the form instance record IDversion
- the versionnull
if a matching ddm form instance record version could not be foundpublic static DDMFormInstanceRecordVersion fetchByF_V(long formInstanceRecordId, java.lang.String version, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.formInstanceRecordId
- the form instance record IDversion
- the versionuseFinderCache
- whether to use the finder cachenull
if a matching ddm form instance record version could not be foundpublic static DDMFormInstanceRecordVersion removeByF_V(long formInstanceRecordId, java.lang.String version) throws NoSuchFormInstanceRecordVersionException
formInstanceRecordId
- the form instance record IDversion
- the versionNoSuchFormInstanceRecordVersionException
public static int countByF_V(long formInstanceRecordId, java.lang.String version)
formInstanceRecordId
- the form instance record IDversion
- the versionpublic static java.util.List<DDMFormInstanceRecordVersion> findByF_S(long formInstanceRecordId, int status)
formInstanceRecordId
- the form instance record IDstatus
- the statuspublic static java.util.List<DDMFormInstanceRecordVersion> findByF_S(long formInstanceRecordId, int status, 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 DDMFormInstanceRecordVersionModelImpl
.
formInstanceRecordId
- the form instance record IDstatus
- the statusstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)public static java.util.List<DDMFormInstanceRecordVersion> findByF_S(long formInstanceRecordId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> 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 DDMFormInstanceRecordVersionModelImpl
.
formInstanceRecordId
- the form instance record IDstatus
- the statusstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMFormInstanceRecordVersion> findByF_S(long formInstanceRecordId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> 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 DDMFormInstanceRecordVersionModelImpl
.
formInstanceRecordId
- the form instance record IDstatus
- the statusstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMFormInstanceRecordVersion findByF_S_First(long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException
formInstanceRecordId
- the form instance record IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be foundpublic static DDMFormInstanceRecordVersion fetchByF_S_First(long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
formInstanceRecordId
- the form instance record IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance record version could not be foundpublic static DDMFormInstanceRecordVersion findByF_S_Last(long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException
formInstanceRecordId
- the form instance record IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be foundpublic static DDMFormInstanceRecordVersion fetchByF_S_Last(long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
formInstanceRecordId
- the form instance record IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance record version could not be foundpublic static DDMFormInstanceRecordVersion[] findByF_S_PrevAndNext(long formInstanceRecordVersionId, long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException
formInstanceRecordVersionId
- the primary key of the current ddm form instance record versionformInstanceRecordId
- the form instance record IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordVersionException
- if a ddm form instance record version with the primary key could not be foundpublic static void removeByF_S(long formInstanceRecordId, int status)
formInstanceRecordId
- the form instance record IDstatus
- the statuspublic static int countByF_S(long formInstanceRecordId, int status)
formInstanceRecordId
- the form instance record IDstatus
- the statuspublic static java.util.List<DDMFormInstanceRecordVersion> findByU_F_F_S(long userId, long formInstanceId, java.lang.String formInstanceVersion, int status)
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the statuspublic static java.util.List<DDMFormInstanceRecordVersion> findByU_F_F_S(long userId, long formInstanceId, java.lang.String formInstanceVersion, int status, 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 DDMFormInstanceRecordVersionModelImpl
.
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the statusstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)public static java.util.List<DDMFormInstanceRecordVersion> findByU_F_F_S(long userId, long formInstanceId, java.lang.String formInstanceVersion, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> 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 DDMFormInstanceRecordVersionModelImpl
.
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the statusstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMFormInstanceRecordVersion> findByU_F_F_S(long userId, long formInstanceId, java.lang.String formInstanceVersion, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> 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 DDMFormInstanceRecordVersionModelImpl
.
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the statusstart
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMFormInstanceRecordVersion findByU_F_F_S_First(long userId, long formInstanceId, java.lang.String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be foundpublic static DDMFormInstanceRecordVersion fetchByU_F_F_S_First(long userId, long formInstanceId, java.lang.String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance record version could not be foundpublic static DDMFormInstanceRecordVersion findByU_F_F_S_Last(long userId, long formInstanceId, java.lang.String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordVersionException
- if a matching ddm form instance record version could not be foundpublic static DDMFormInstanceRecordVersion fetchByU_F_F_S_Last(long userId, long formInstanceId, java.lang.String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance record version could not be foundpublic static DDMFormInstanceRecordVersion[] findByU_F_F_S_PrevAndNext(long formInstanceRecordVersionId, long userId, long formInstanceId, java.lang.String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) throws NoSuchFormInstanceRecordVersionException
formInstanceRecordVersionId
- the primary key of the current ddm form instance record versionuserId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceRecordVersionException
- if a ddm form instance record version with the primary key could not be foundpublic static void removeByU_F_F_S(long userId, long formInstanceId, java.lang.String formInstanceVersion, int status)
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the statuspublic static int countByU_F_F_S(long userId, long formInstanceId, java.lang.String formInstanceVersion, int status)
userId
- the user IDformInstanceId
- the form instance IDformInstanceVersion
- the form instance versionstatus
- the statuspublic static void cacheResult(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion)
ddmFormInstanceRecordVersion
- the ddm form instance record versionpublic static void cacheResult(java.util.List<DDMFormInstanceRecordVersion> ddmFormInstanceRecordVersions)
ddmFormInstanceRecordVersions
- the ddm form instance record versionspublic static DDMFormInstanceRecordVersion create(long formInstanceRecordVersionId)
formInstanceRecordVersionId
- the primary key for the new ddm form instance record versionpublic static DDMFormInstanceRecordVersion remove(long formInstanceRecordVersionId) throws NoSuchFormInstanceRecordVersionException
formInstanceRecordVersionId
- the primary key of the ddm form instance record versionNoSuchFormInstanceRecordVersionException
- if a ddm form instance record version with the primary key could not be foundpublic static DDMFormInstanceRecordVersion updateImpl(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion)
public static DDMFormInstanceRecordVersion findByPrimaryKey(long formInstanceRecordVersionId) throws NoSuchFormInstanceRecordVersionException
NoSuchFormInstanceRecordVersionException
if it could not be found.formInstanceRecordVersionId
- the primary key of the ddm form instance record versionNoSuchFormInstanceRecordVersionException
- if a ddm form instance record version with the primary key could not be foundpublic static DDMFormInstanceRecordVersion fetchByPrimaryKey(long formInstanceRecordVersionId)
null
if it could not be found.formInstanceRecordVersionId
- the primary key of the ddm form instance record versionnull
if a ddm form instance record version with the primary key could not be foundpublic static java.util.List<DDMFormInstanceRecordVersion> findAll()
public static java.util.List<DDMFormInstanceRecordVersion> 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 DDMFormInstanceRecordVersionModelImpl
.
start
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)public static java.util.List<DDMFormInstanceRecordVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> 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 DDMFormInstanceRecordVersionModelImpl
.
start
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMFormInstanceRecordVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> 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 DDMFormInstanceRecordVersionModelImpl
.
start
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static DDMFormInstanceRecordVersionPersistence getPersistence()