@ProviderType public interface DDLRecordVersionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DDLRecordVersion>
Caching information and settings can be found in portal.properties
com.liferay.dynamic.data.lists.service.persistence.impl.DDLRecordVersionPersistenceImpl,
DDLRecordVersionUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(DDLRecordVersion ddlRecordVersion)
Caches the d d l record version in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<DDLRecordVersion> ddlRecordVersions)
Caches the d d l record versions in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of d d l record versions.
|
int |
countByR_S(long recordId,
int status)
Returns the number of d d l record versions where recordId = ? and status = ?.
|
int |
countByR_V(long recordId,
java.lang.String version)
Returns the number of d d l record versions where recordId = ? and version = ?.
|
int |
countByRecordId(long recordId)
Returns the number of d d l record versions where recordId = ?.
|
DDLRecordVersion |
create(long recordVersionId)
Creates a new d d l record version with the primary key.
|
DDLRecordVersion |
fetchByPrimaryKey(long recordVersionId)
Returns the d d l record version with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,DDLRecordVersion> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
DDLRecordVersion |
fetchByR_S_First(long recordId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the first d d l record version in the ordered set where recordId = ? and status = ?.
|
DDLRecordVersion |
fetchByR_S_Last(long recordId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the last d d l record version in the ordered set where recordId = ? and status = ?.
|
DDLRecordVersion |
fetchByR_V(long recordId,
java.lang.String version)
Returns the d d l record version where recordId = ? and version = ? or returns
null if it could not be found. |
DDLRecordVersion |
fetchByR_V(long recordId,
java.lang.String version,
boolean retrieveFromCache)
Returns the d d l record version where recordId = ? and version = ? or returns
null if it could not be found, optionally using the finder cache. |
DDLRecordVersion |
fetchByRecordId_First(long recordId,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the first d d l record version in the ordered set where recordId = ?.
|
DDLRecordVersion |
fetchByRecordId_Last(long recordId,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the last d d l record version in the ordered set where recordId = ?.
|
java.util.List<DDLRecordVersion> |
findAll()
Returns all the d d l record versions.
|
java.util.List<DDLRecordVersion> |
findAll(int start,
int end)
Returns a range of all the d d l record versions.
|
java.util.List<DDLRecordVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns an ordered range of all the d d l record versions.
|
java.util.List<DDLRecordVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the d d l record versions.
|
DDLRecordVersion |
findByPrimaryKey(long recordVersionId)
Returns the d d l record version with the primary key or throws a
NoSuchRecordVersionException if it could not be found. |
DDLRecordVersion |
findByR_S_First(long recordId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the first d d l record version in the ordered set where recordId = ? and status = ?.
|
DDLRecordVersion |
findByR_S_Last(long recordId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the last d d l record version in the ordered set where recordId = ? and status = ?.
|
DDLRecordVersion[] |
findByR_S_PrevAndNext(long recordVersionId,
long recordId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the d d l record versions before and after the current d d l record version in the ordered set where recordId = ? and status = ?.
|
java.util.List<DDLRecordVersion> |
findByR_S(long recordId,
int status)
Returns all the d d l record versions where recordId = ? and status = ?.
|
java.util.List<DDLRecordVersion> |
findByR_S(long recordId,
int status,
int start,
int end)
Returns a range of all the d d l record versions where recordId = ? and status = ?.
|
java.util.List<DDLRecordVersion> |
findByR_S(long recordId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns an ordered range of all the d d l record versions where recordId = ? and status = ?.
|
java.util.List<DDLRecordVersion> |
findByR_S(long recordId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the d d l record versions where recordId = ? and status = ?.
|
DDLRecordVersion |
findByR_V(long recordId,
java.lang.String version)
Returns the d d l record version where recordId = ? and version = ? or throws a
NoSuchRecordVersionException if it could not be found. |
DDLRecordVersion |
findByRecordId_First(long recordId,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the first d d l record version in the ordered set where recordId = ?.
|
DDLRecordVersion |
findByRecordId_Last(long recordId,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the last d d l record version in the ordered set where recordId = ?.
|
DDLRecordVersion[] |
findByRecordId_PrevAndNext(long recordVersionId,
long recordId,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the d d l record versions before and after the current d d l record version in the ordered set where recordId = ?.
|
java.util.List<DDLRecordVersion> |
findByRecordId(long recordId)
Returns all the d d l record versions where recordId = ?.
|
java.util.List<DDLRecordVersion> |
findByRecordId(long recordId,
int start,
int end)
Returns a range of all the d d l record versions where recordId = ?.
|
java.util.List<DDLRecordVersion> |
findByRecordId(long recordId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns an ordered range of all the d d l record versions where recordId = ?.
|
java.util.List<DDLRecordVersion> |
findByRecordId(long recordId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the d d l record versions where recordId = ?.
|
DDLRecordVersion |
remove(long recordVersionId)
Removes the d d l record version with the primary key from the database.
|
void |
removeAll()
Removes all the d d l record versions from the database.
|
void |
removeByR_S(long recordId,
int status)
Removes all the d d l record versions where recordId = ? and status = ? from the database.
|
DDLRecordVersion |
removeByR_V(long recordId,
java.lang.String version)
Removes the d d l record version where recordId = ? and version = ? from the database.
|
void |
removeByRecordId(long recordId)
Removes all the d d l record versions where recordId = ? from the database.
|
DDLRecordVersion |
updateImpl(DDLRecordVersion ddlRecordVersion) |
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, updatejava.util.List<DDLRecordVersion> findByRecordId(long recordId)
recordId - the record IDjava.util.List<DDLRecordVersion> findByRecordId(long recordId, 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 DDLRecordVersionModelImpl. 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.
recordId - the record IDstart - the lower bound of the range of d d l record versionsend - the upper bound of the range of d d l record versions (not inclusive)java.util.List<DDLRecordVersion> findByRecordId(long recordId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> 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 DDLRecordVersionModelImpl. 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.
recordId - the record IDstart - the lower bound of the range of d d l record versionsend - the upper bound of the range of d d l record versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<DDLRecordVersion> findByRecordId(long recordId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> 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 DDLRecordVersionModelImpl. 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.
recordId - the record IDstart - the lower bound of the range of d d l record versionsend - the upper bound of the range of d d l record versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheDDLRecordVersion findByRecordId_First(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
recordId - the record IDorderByComparator - the comparator to order the set by (optionally null)NoSuchRecordVersionException - if a matching d d l record version could not be foundDDLRecordVersion fetchByRecordId_First(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
recordId - the record IDorderByComparator - the comparator to order the set by (optionally null)null if a matching d d l record version could not be foundDDLRecordVersion findByRecordId_Last(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
recordId - the record IDorderByComparator - the comparator to order the set by (optionally null)NoSuchRecordVersionException - if a matching d d l record version could not be foundDDLRecordVersion fetchByRecordId_Last(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
recordId - the record IDorderByComparator - the comparator to order the set by (optionally null)null if a matching d d l record version could not be foundDDLRecordVersion[] findByRecordId_PrevAndNext(long recordVersionId, long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
recordVersionId - the primary key of the current d d l record versionrecordId - the record IDorderByComparator - the comparator to order the set by (optionally null)NoSuchRecordVersionException - if a d d l record version with the primary key could not be foundvoid removeByRecordId(long recordId)
recordId - the record IDint countByRecordId(long recordId)
recordId - the record IDDDLRecordVersion findByR_V(long recordId, java.lang.String version) throws NoSuchRecordVersionException
NoSuchRecordVersionException if it could not be found.recordId - the record IDversion - the versionNoSuchRecordVersionException - if a matching d d l record version could not be foundDDLRecordVersion fetchByR_V(long recordId, java.lang.String version)
null if it could not be found. Uses the finder cache.recordId - the record IDversion - the versionnull if a matching d d l record version could not be foundDDLRecordVersion fetchByR_V(long recordId, java.lang.String version, boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.recordId - the record IDversion - the versionretrieveFromCache - whether to retrieve from the finder cachenull if a matching d d l record version could not be foundDDLRecordVersion removeByR_V(long recordId, java.lang.String version) throws NoSuchRecordVersionException
recordId - the record IDversion - the versionNoSuchRecordVersionExceptionint countByR_V(long recordId,
java.lang.String version)
recordId - the record IDversion - the versionjava.util.List<DDLRecordVersion> findByR_S(long recordId, int status)
recordId - the record IDstatus - the statusjava.util.List<DDLRecordVersion> findByR_S(long recordId, 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 DDLRecordVersionModelImpl. 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.
recordId - the record IDstatus - the statusstart - the lower bound of the range of d d l record versionsend - the upper bound of the range of d d l record versions (not inclusive)java.util.List<DDLRecordVersion> findByR_S(long recordId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> 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 DDLRecordVersionModelImpl. 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.
recordId - the record IDstatus - the statusstart - the lower bound of the range of d d l record versionsend - the upper bound of the range of d d l record versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<DDLRecordVersion> findByR_S(long recordId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> 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 DDLRecordVersionModelImpl. 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.
recordId - the record IDstatus - the statusstart - the lower bound of the range of d d l record versionsend - the upper bound of the range of d d l record versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheDDLRecordVersion findByR_S_First(long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
recordId - the record IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)NoSuchRecordVersionException - if a matching d d l record version could not be foundDDLRecordVersion fetchByR_S_First(long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
recordId - the record IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching d d l record version could not be foundDDLRecordVersion findByR_S_Last(long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
recordId - the record IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)NoSuchRecordVersionException - if a matching d d l record version could not be foundDDLRecordVersion fetchByR_S_Last(long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
recordId - the record IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching d d l record version could not be foundDDLRecordVersion[] findByR_S_PrevAndNext(long recordVersionId, long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
recordVersionId - the primary key of the current d d l record versionrecordId - the record IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)NoSuchRecordVersionException - if a d d l record version with the primary key could not be foundvoid removeByR_S(long recordId,
int status)
recordId - the record IDstatus - the statusint countByR_S(long recordId,
int status)
recordId - the record IDstatus - the statusvoid cacheResult(DDLRecordVersion ddlRecordVersion)
ddlRecordVersion - the d d l record versionvoid cacheResult(java.util.List<DDLRecordVersion> ddlRecordVersions)
ddlRecordVersions - the d d l record versionsDDLRecordVersion create(long recordVersionId)
recordVersionId - the primary key for the new d d l record versionDDLRecordVersion remove(long recordVersionId) throws NoSuchRecordVersionException
recordVersionId - the primary key of the d d l record versionNoSuchRecordVersionException - if a d d l record version with the primary key could not be foundDDLRecordVersion updateImpl(DDLRecordVersion ddlRecordVersion)
DDLRecordVersion findByPrimaryKey(long recordVersionId) throws NoSuchRecordVersionException
NoSuchRecordVersionException if it could not be found.recordVersionId - the primary key of the d d l record versionNoSuchRecordVersionException - if a d d l record version with the primary key could not be foundDDLRecordVersion fetchByPrimaryKey(long recordVersionId)
null if it could not be found.recordVersionId - the primary key of the d d l record versionnull if a d d l record version with the primary key could not be foundjava.util.Map<java.io.Serializable,DDLRecordVersion> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<DDLRecordVersion>java.util.List<DDLRecordVersion> findAll()
java.util.List<DDLRecordVersion> 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 DDLRecordVersionModelImpl. 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 d d l record versionsend - the upper bound of the range of d d l record versions (not inclusive)java.util.List<DDLRecordVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> 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 DDLRecordVersionModelImpl. 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 d d l record versionsend - the upper bound of the range of d d l record versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<DDLRecordVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> 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 DDLRecordVersionModelImpl. 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 d d l record versionsend - the upper bound of the range of d d l 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()