@ProviderType public interface DDMFormInstanceVersionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DDMFormInstanceVersion>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceVersion>
Caching information and settings can be found in portal.properties
DDMFormInstanceVersionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(DDMFormInstanceVersion ddmFormInstanceVersion)
Caches the ddm form instance version in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<DDMFormInstanceVersion> ddmFormInstanceVersions)
Caches the ddm form instance versions in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of ddm form instance versions.
|
int |
countByF_S(long formInstanceId,
int status)
Returns the number of ddm form instance versions where formInstanceId = ? and status = ?.
|
int |
countByF_V(long formInstanceId,
java.lang.String version)
Returns the number of ddm form instance versions where formInstanceId = ? and version = ?.
|
int |
countByFormInstanceId(long formInstanceId)
Returns the number of ddm form instance versions where formInstanceId = ?.
|
DDMFormInstanceVersion |
create(long formInstanceVersionId)
Creates a new ddm form instance version with the primary key.
|
DDMFormInstanceVersion |
fetchByF_S_First(long formInstanceId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the first ddm form instance version in the ordered set where formInstanceId = ? and status = ?.
|
DDMFormInstanceVersion |
fetchByF_S_Last(long formInstanceId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the last ddm form instance version in the ordered set where formInstanceId = ? and status = ?.
|
DDMFormInstanceVersion |
fetchByF_V(long formInstanceId,
java.lang.String version)
Returns the ddm form instance version where formInstanceId = ? and version = ? or returns
null if it could not be found. |
DDMFormInstanceVersion |
fetchByF_V(long formInstanceId,
java.lang.String version,
boolean useFinderCache)
Returns the ddm form instance version where formInstanceId = ? and version = ? or returns
null if it could not be found, optionally using the finder cache. |
DDMFormInstanceVersion |
fetchByFormInstanceId_First(long formInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the first ddm form instance version in the ordered set where formInstanceId = ?.
|
DDMFormInstanceVersion |
fetchByFormInstanceId_Last(long formInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the last ddm form instance version in the ordered set where formInstanceId = ?.
|
DDMFormInstanceVersion |
fetchByPrimaryKey(long formInstanceVersionId)
Returns the ddm form instance version with the primary key or returns
null if it could not be found. |
java.util.List<DDMFormInstanceVersion> |
findAll()
Returns all the ddm form instance versions.
|
java.util.List<DDMFormInstanceVersion> |
findAll(int start,
int end)
Returns a range of all the ddm form instance versions.
|
java.util.List<DDMFormInstanceVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns an ordered range of all the ddm form instance versions.
|
java.util.List<DDMFormInstanceVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm form instance versions.
|
DDMFormInstanceVersion |
findByF_S_First(long formInstanceId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the first ddm form instance version in the ordered set where formInstanceId = ? and status = ?.
|
DDMFormInstanceVersion |
findByF_S_Last(long formInstanceId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the last ddm form instance version in the ordered set where formInstanceId = ? and status = ?.
|
DDMFormInstanceVersion[] |
findByF_S_PrevAndNext(long formInstanceVersionId,
long formInstanceId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the ddm form instance versions before and after the current ddm form instance version in the ordered set where formInstanceId = ? and status = ?.
|
java.util.List<DDMFormInstanceVersion> |
findByF_S(long formInstanceId,
int status)
Returns all the ddm form instance versions where formInstanceId = ? and status = ?.
|
java.util.List<DDMFormInstanceVersion> |
findByF_S(long formInstanceId,
int status,
int start,
int end)
Returns a range of all the ddm form instance versions where formInstanceId = ? and status = ?.
|
java.util.List<DDMFormInstanceVersion> |
findByF_S(long formInstanceId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns an ordered range of all the ddm form instance versions where formInstanceId = ? and status = ?.
|
java.util.List<DDMFormInstanceVersion> |
findByF_S(long formInstanceId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm form instance versions where formInstanceId = ? and status = ?.
|
DDMFormInstanceVersion |
findByF_V(long formInstanceId,
java.lang.String version)
Returns the ddm form instance version where formInstanceId = ? and version = ? or throws a
NoSuchFormInstanceVersionException if it could not be found. |
DDMFormInstanceVersion |
findByFormInstanceId_First(long formInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the first ddm form instance version in the ordered set where formInstanceId = ?.
|
DDMFormInstanceVersion |
findByFormInstanceId_Last(long formInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the last ddm form instance version in the ordered set where formInstanceId = ?.
|
DDMFormInstanceVersion[] |
findByFormInstanceId_PrevAndNext(long formInstanceVersionId,
long formInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the ddm form instance versions before and after the current ddm form instance version in the ordered set where formInstanceId = ?.
|
java.util.List<DDMFormInstanceVersion> |
findByFormInstanceId(long formInstanceId)
Returns all the ddm form instance versions where formInstanceId = ?.
|
java.util.List<DDMFormInstanceVersion> |
findByFormInstanceId(long formInstanceId,
int start,
int end)
Returns a range of all the ddm form instance versions where formInstanceId = ?.
|
java.util.List<DDMFormInstanceVersion> |
findByFormInstanceId(long formInstanceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns an ordered range of all the ddm form instance versions where formInstanceId = ?.
|
java.util.List<DDMFormInstanceVersion> |
findByFormInstanceId(long formInstanceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm form instance versions where formInstanceId = ?.
|
DDMFormInstanceVersion |
findByPrimaryKey(long formInstanceVersionId)
Returns the ddm form instance version with the primary key or throws a
NoSuchFormInstanceVersionException if it could not be found. |
DDMFormInstanceVersion |
remove(long formInstanceVersionId)
Removes the ddm form instance version with the primary key from the database.
|
void |
removeAll()
Removes all the ddm form instance versions from the database.
|
void |
removeByF_S(long formInstanceId,
int status)
Removes all the ddm form instance versions where formInstanceId = ? and status = ? from the database.
|
DDMFormInstanceVersion |
removeByF_V(long formInstanceId,
java.lang.String version)
Removes the ddm form instance version where formInstanceId = ? and version = ? from the database.
|
void |
removeByFormInstanceId(long formInstanceId)
Removes all the ddm form instance versions where formInstanceId = ? from the database.
|
DDMFormInstanceVersion |
updateImpl(DDMFormInstanceVersion ddmFormInstanceVersion) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<DDMFormInstanceVersion> findByFormInstanceId(long formInstanceId)
formInstanceId
- the form instance IDjava.util.List<DDMFormInstanceVersion> findByFormInstanceId(long formInstanceId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFormInstanceVersionModelImpl
.
formInstanceId
- the form instance IDstart
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)java.util.List<DDMFormInstanceVersion> findByFormInstanceId(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> 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 DDMFormInstanceVersionModelImpl
.
formInstanceId
- the form instance IDstart
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DDMFormInstanceVersion> findByFormInstanceId(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> 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 DDMFormInstanceVersionModelImpl
.
formInstanceId
- the form instance IDstart
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDDMFormInstanceVersion findByFormInstanceId_First(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException
formInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceVersionException
- if a matching ddm form instance version could not be foundDDMFormInstanceVersion fetchByFormInstanceId_First(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
formInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance version could not be foundDDMFormInstanceVersion findByFormInstanceId_Last(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException
formInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceVersionException
- if a matching ddm form instance version could not be foundDDMFormInstanceVersion fetchByFormInstanceId_Last(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
formInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance version could not be foundDDMFormInstanceVersion[] findByFormInstanceId_PrevAndNext(long formInstanceVersionId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException
formInstanceVersionId
- the primary key of the current ddm form instance versionformInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceVersionException
- if a ddm form instance version with the primary key could not be foundvoid removeByFormInstanceId(long formInstanceId)
formInstanceId
- the form instance IDint countByFormInstanceId(long formInstanceId)
formInstanceId
- the form instance IDDDMFormInstanceVersion findByF_V(long formInstanceId, java.lang.String version) throws NoSuchFormInstanceVersionException
NoSuchFormInstanceVersionException
if it could not be found.formInstanceId
- the form instance IDversion
- the versionNoSuchFormInstanceVersionException
- if a matching ddm form instance version could not be foundDDMFormInstanceVersion fetchByF_V(long formInstanceId, java.lang.String version)
null
if it could not be found. Uses the finder cache.formInstanceId
- the form instance IDversion
- the versionnull
if a matching ddm form instance version could not be foundDDMFormInstanceVersion fetchByF_V(long formInstanceId, java.lang.String version, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.formInstanceId
- the form instance IDversion
- the versionuseFinderCache
- whether to use the finder cachenull
if a matching ddm form instance version could not be foundDDMFormInstanceVersion removeByF_V(long formInstanceId, java.lang.String version) throws NoSuchFormInstanceVersionException
formInstanceId
- the form instance IDversion
- the versionNoSuchFormInstanceVersionException
int countByF_V(long formInstanceId, java.lang.String version)
formInstanceId
- the form instance IDversion
- the versionjava.util.List<DDMFormInstanceVersion> findByF_S(long formInstanceId, int status)
formInstanceId
- the form instance IDstatus
- the statusjava.util.List<DDMFormInstanceVersion> findByF_S(long formInstanceId, 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 DDMFormInstanceVersionModelImpl
.
formInstanceId
- the form instance IDstatus
- the statusstart
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)java.util.List<DDMFormInstanceVersion> findByF_S(long formInstanceId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> 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 DDMFormInstanceVersionModelImpl
.
formInstanceId
- the form instance IDstatus
- the statusstart
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DDMFormInstanceVersion> findByF_S(long formInstanceId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> 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 DDMFormInstanceVersionModelImpl
.
formInstanceId
- the form instance IDstatus
- the statusstart
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDDMFormInstanceVersion findByF_S_First(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException
formInstanceId
- the form instance IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceVersionException
- if a matching ddm form instance version could not be foundDDMFormInstanceVersion fetchByF_S_First(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
formInstanceId
- the form instance IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance version could not be foundDDMFormInstanceVersion findByF_S_Last(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException
formInstanceId
- the form instance IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceVersionException
- if a matching ddm form instance version could not be foundDDMFormInstanceVersion fetchByF_S_Last(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
formInstanceId
- the form instance IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance version could not be foundDDMFormInstanceVersion[] findByF_S_PrevAndNext(long formInstanceVersionId, long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException
formInstanceVersionId
- the primary key of the current ddm form instance versionformInstanceId
- the form instance IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceVersionException
- if a ddm form instance version with the primary key could not be foundvoid removeByF_S(long formInstanceId, int status)
formInstanceId
- the form instance IDstatus
- the statusint countByF_S(long formInstanceId, int status)
formInstanceId
- the form instance IDstatus
- the statusvoid cacheResult(DDMFormInstanceVersion ddmFormInstanceVersion)
ddmFormInstanceVersion
- the ddm form instance versionvoid cacheResult(java.util.List<DDMFormInstanceVersion> ddmFormInstanceVersions)
ddmFormInstanceVersions
- the ddm form instance versionsDDMFormInstanceVersion create(long formInstanceVersionId)
formInstanceVersionId
- the primary key for the new ddm form instance versionDDMFormInstanceVersion remove(long formInstanceVersionId) throws NoSuchFormInstanceVersionException
formInstanceVersionId
- the primary key of the ddm form instance versionNoSuchFormInstanceVersionException
- if a ddm form instance version with the primary key could not be foundDDMFormInstanceVersion updateImpl(DDMFormInstanceVersion ddmFormInstanceVersion)
DDMFormInstanceVersion findByPrimaryKey(long formInstanceVersionId) throws NoSuchFormInstanceVersionException
NoSuchFormInstanceVersionException
if it could not be found.formInstanceVersionId
- the primary key of the ddm form instance versionNoSuchFormInstanceVersionException
- if a ddm form instance version with the primary key could not be foundDDMFormInstanceVersion fetchByPrimaryKey(long formInstanceVersionId)
null
if it could not be found.formInstanceVersionId
- the primary key of the ddm form instance versionnull
if a ddm form instance version with the primary key could not be foundjava.util.List<DDMFormInstanceVersion> findAll()
java.util.List<DDMFormInstanceVersion> 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 DDMFormInstanceVersionModelImpl
.
start
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)java.util.List<DDMFormInstanceVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> 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 DDMFormInstanceVersionModelImpl
.
start
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DDMFormInstanceVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> 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 DDMFormInstanceVersionModelImpl
.
start
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()