@ProviderType public interface DDMFormInstanceRecordVersionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DDMFormInstanceRecordVersion>
Caching information and settings can be found in portal.properties
com.liferay.dynamic.data.mapping.service.persistence.impl.DDMFormInstanceRecordVersionPersistenceImpl
,
DDMFormInstanceRecordVersionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion)
Caches the ddm form instance record version in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<DDMFormInstanceRecordVersion> ddmFormInstanceRecordVersions)
Caches the ddm form instance record versions in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of ddm form instance record versions.
|
int |
countByF_F(long formInstanceId,
java.lang.String formInstanceVersion)
Returns the number of ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.
|
int |
countByF_S(long formInstanceRecordId,
int status)
Returns the number of ddm form instance record versions where formInstanceRecordId = ? and status = ?.
|
int |
countByF_V(long formInstanceRecordId,
java.lang.String version)
Returns the number of ddm form instance record versions where formInstanceRecordId = ? and version = ?.
|
int |
countByFormInstanceRecordId(long formInstanceRecordId)
Returns the number of ddm form instance record versions where formInstanceRecordId = ?.
|
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 = ?.
|
DDMFormInstanceRecordVersion |
create(long formInstanceRecordVersionId)
Creates a new ddm form instance record version with the primary key.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
DDMFormInstanceRecordVersion |
fetchByF_V(long formInstanceRecordId,
java.lang.String version,
boolean retrieveFromCache)
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. |
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 = ?.
|
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 = ?.
|
DDMFormInstanceRecordVersion |
fetchByPrimaryKey(long formInstanceRecordVersionId)
Returns the ddm form instance record version with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,DDMFormInstanceRecordVersion> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
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 = ?.
|
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 = ?.
|
java.util.List<DDMFormInstanceRecordVersion> |
findAll()
Returns all the ddm form instance record versions.
|
java.util.List<DDMFormInstanceRecordVersion> |
findAll(int start,
int end)
Returns a range of all the ddm form instance record versions.
|
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.
|
java.util.List<DDMFormInstanceRecordVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm form instance record versions.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<DDMFormInstanceRecordVersion> |
findByF_F(long formInstanceId,
java.lang.String formInstanceVersion)
Returns all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.
|
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 = ?.
|
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 = ?.
|
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 retrieveFromCache)
Returns an ordered range of all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<DDMFormInstanceRecordVersion> |
findByF_S(long formInstanceRecordId,
int status)
Returns all the ddm form instance record versions where formInstanceRecordId = ? and status = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<DDMFormInstanceRecordVersion> |
findByF_S(long formInstanceRecordId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm form instance record versions where formInstanceRecordId = ? and status = ?.
|
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. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<DDMFormInstanceRecordVersion> |
findByFormInstanceRecordId(long formInstanceRecordId)
Returns all the ddm form instance record versions where formInstanceRecordId = ?.
|
java.util.List<DDMFormInstanceRecordVersion> |
findByFormInstanceRecordId(long formInstanceRecordId,
int start,
int end)
Returns a range of all the ddm form instance record versions where formInstanceRecordId = ?.
|
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 = ?.
|
java.util.List<DDMFormInstanceRecordVersion> |
findByFormInstanceRecordId(long formInstanceRecordId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm form instance record versions where formInstanceRecordId = ?.
|
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. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 retrieveFromCache)
Returns an ordered range of all the ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?.
|
DDMFormInstanceRecordVersion |
remove(long formInstanceRecordVersionId)
Removes the ddm form instance record version with the primary key from the database.
|
void |
removeAll()
Removes all the ddm form instance record versions from the database.
|
void |
removeByF_F(long formInstanceId,
java.lang.String formInstanceVersion)
Removes all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ? from the database.
|
void |
removeByF_S(long formInstanceRecordId,
int status)
Removes all the ddm form instance record versions where formInstanceRecordId = ? and status = ? from the database.
|
DDMFormInstanceRecordVersion |
removeByF_V(long formInstanceRecordId,
java.lang.String version)
Removes the ddm form instance record version where formInstanceRecordId = ? and version = ? from the database.
|
void |
removeByFormInstanceRecordId(long formInstanceRecordId)
Removes all the ddm form instance record versions where formInstanceRecordId = ? from the database.
|
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.
|
DDMFormInstanceRecordVersion |
updateImpl(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<DDMFormInstanceRecordVersion> findByFormInstanceRecordId(long formInstanceRecordId)
formInstanceRecordId
- the form instance record IDjava.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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceRecordVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceRecordVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)java.util.List<DDMFormInstanceRecordVersion> findByFormInstanceRecordId(long formInstanceRecordId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceRecordVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)retrieveFromCache
- whether to retrieve from the finder cacheDDMFormInstanceRecordVersion 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 foundDDMFormInstanceRecordVersion 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 foundDDMFormInstanceRecordVersion 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 foundDDMFormInstanceRecordVersion 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 foundDDMFormInstanceRecordVersion[] 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 foundvoid removeByFormInstanceRecordId(long formInstanceRecordId)
formInstanceRecordId
- the form instance record IDint countByFormInstanceRecordId(long formInstanceRecordId)
formInstanceRecordId
- the form instance record IDjava.util.List<DDMFormInstanceRecordVersion> findByF_F(long formInstanceId, java.lang.String formInstanceVersion)
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionjava.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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceRecordVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceRecordVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)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 retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceRecordVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)retrieveFromCache
- whether to retrieve from the finder cacheDDMFormInstanceRecordVersion 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 foundDDMFormInstanceRecordVersion 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 foundDDMFormInstanceRecordVersion 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 foundDDMFormInstanceRecordVersion 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 foundDDMFormInstanceRecordVersion[] 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 foundvoid removeByF_F(long formInstanceId, java.lang.String formInstanceVersion)
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionint countByF_F(long formInstanceId, java.lang.String formInstanceVersion)
formInstanceId
- the form instance IDformInstanceVersion
- the form instance versionDDMFormInstanceRecordVersion 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 foundDDMFormInstanceRecordVersion 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 foundDDMFormInstanceRecordVersion fetchByF_V(long formInstanceRecordId, java.lang.String version, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.formInstanceRecordId
- the form instance record IDversion
- the versionretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching ddm form instance record version could not be foundDDMFormInstanceRecordVersion removeByF_V(long formInstanceRecordId, java.lang.String version) throws NoSuchFormInstanceRecordVersionException
formInstanceRecordId
- the form instance record IDversion
- the versionNoSuchFormInstanceRecordVersionException
int countByF_V(long formInstanceRecordId, java.lang.String version)
formInstanceRecordId
- the form instance record IDversion
- the versionjava.util.List<DDMFormInstanceRecordVersion> findByF_S(long formInstanceRecordId, int status)
formInstanceRecordId
- the form instance record IDstatus
- the statusjava.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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceRecordVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceRecordVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)java.util.List<DDMFormInstanceRecordVersion> findByF_S(long formInstanceRecordId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceRecordVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)retrieveFromCache
- whether to retrieve from the finder cacheDDMFormInstanceRecordVersion 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 foundDDMFormInstanceRecordVersion 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 foundDDMFormInstanceRecordVersion 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 foundDDMFormInstanceRecordVersion 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 foundDDMFormInstanceRecordVersion[] 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 foundvoid removeByF_S(long formInstanceRecordId, int status)
formInstanceRecordId
- the form instance record IDstatus
- the statusint countByF_S(long formInstanceRecordId, int status)
formInstanceRecordId
- the form instance record IDstatus
- the statusjava.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 statusjava.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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceRecordVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceRecordVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)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 retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceRecordVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)retrieveFromCache
- whether to retrieve from the finder cacheDDMFormInstanceRecordVersion 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 foundDDMFormInstanceRecordVersion 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 foundDDMFormInstanceRecordVersion 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 foundDDMFormInstanceRecordVersion 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 foundDDMFormInstanceRecordVersion[] 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 foundvoid 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 statusint 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 statusvoid cacheResult(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion)
ddmFormInstanceRecordVersion
- the ddm form instance record versionvoid cacheResult(java.util.List<DDMFormInstanceRecordVersion> ddmFormInstanceRecordVersions)
ddmFormInstanceRecordVersions
- the ddm form instance record versionsDDMFormInstanceRecordVersion create(long formInstanceRecordVersionId)
formInstanceRecordVersionId
- the primary key for the new ddm form instance record versionDDMFormInstanceRecordVersion 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 foundDDMFormInstanceRecordVersion updateImpl(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion)
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 foundDDMFormInstanceRecordVersion 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 foundjava.util.Map<java.io.Serializable,DDMFormInstanceRecordVersion> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<DDMFormInstanceRecordVersion>
java.util.List<DDMFormInstanceRecordVersion> findAll()
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceRecordVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceRecordVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)java.util.List<DDMFormInstanceRecordVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceRecordVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()