@ProviderType public interface DDLRecordVersionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DDLRecordVersion>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDLRecordVersion>
Caching information and settings can be found in portal.properties
DDLRecordVersionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(DDLRecordVersion ddlRecordVersion)
Caches the ddl record version in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<DDLRecordVersion> ddlRecordVersions)
Caches the ddl record versions in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of ddl record versions.
|
int |
countByR_R(long recordSetId,
java.lang.String recordSetVersion)
Returns the number of ddl record versions where recordSetId = ? and recordSetVersion = ?.
|
int |
countByR_S(long recordId,
int status)
Returns the number of ddl record versions where recordId = ? and status = ?.
|
int |
countByR_V(long recordId,
java.lang.String version)
Returns the number of ddl record versions where recordId = ? and version = ?.
|
int |
countByRecordId(long recordId)
Returns the number of ddl record versions where recordId = ?.
|
int |
countByU_R_R_S(long userId,
long recordSetId,
java.lang.String recordSetVersion,
int status)
Returns the number of ddl record versions where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.
|
DDLRecordVersion |
create(long recordVersionId)
Creates a new ddl record version with the primary key.
|
DDLRecordVersion |
fetchByPrimaryKey(long recordVersionId)
Returns the ddl record version with the primary key or returns
null if it could not be found. |
DDLRecordVersion |
fetchByR_R_First(long recordSetId,
java.lang.String recordSetVersion,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the first ddl record version in the ordered set where recordSetId = ? and recordSetVersion = ?.
|
DDLRecordVersion |
fetchByR_R_Last(long recordSetId,
java.lang.String recordSetVersion,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the last ddl record version in the ordered set where recordSetId = ? and recordSetVersion = ?.
|
DDLRecordVersion |
fetchByR_S_First(long recordId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the first ddl 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 ddl record version in the ordered set where recordId = ? and status = ?.
|
DDLRecordVersion |
fetchByR_V(long recordId,
java.lang.String version)
Returns the ddl 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 useFinderCache)
Returns the ddl 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 ddl record version in the ordered set where recordId = ?.
|
DDLRecordVersion |
fetchByRecordId_Last(long recordId,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the last ddl record version in the ordered set where recordId = ?.
|
DDLRecordVersion |
fetchByU_R_R_S_First(long userId,
long recordSetId,
java.lang.String recordSetVersion,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the first ddl record version in the ordered set where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.
|
DDLRecordVersion |
fetchByU_R_R_S_Last(long userId,
long recordSetId,
java.lang.String recordSetVersion,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the last ddl record version in the ordered set where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.
|
java.util.List<DDLRecordVersion> |
findAll()
Returns all the ddl record versions.
|
java.util.List<DDLRecordVersion> |
findAll(int start,
int end)
Returns a range of all the ddl 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 ddl record versions.
|
java.util.List<DDLRecordVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddl record versions.
|
DDLRecordVersion |
findByPrimaryKey(long recordVersionId)
Returns the ddl record version with the primary key or throws a
NoSuchRecordVersionException if it could not be found. |
DDLRecordVersion |
findByR_R_First(long recordSetId,
java.lang.String recordSetVersion,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the first ddl record version in the ordered set where recordSetId = ? and recordSetVersion = ?.
|
DDLRecordVersion |
findByR_R_Last(long recordSetId,
java.lang.String recordSetVersion,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the last ddl record version in the ordered set where recordSetId = ? and recordSetVersion = ?.
|
DDLRecordVersion[] |
findByR_R_PrevAndNext(long recordVersionId,
long recordSetId,
java.lang.String recordSetVersion,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the ddl record versions before and after the current ddl record version in the ordered set where recordSetId = ? and recordSetVersion = ?.
|
java.util.List<DDLRecordVersion> |
findByR_R(long recordSetId,
java.lang.String recordSetVersion)
Returns all the ddl record versions where recordSetId = ? and recordSetVersion = ?.
|
java.util.List<DDLRecordVersion> |
findByR_R(long recordSetId,
java.lang.String recordSetVersion,
int start,
int end)
Returns a range of all the ddl record versions where recordSetId = ? and recordSetVersion = ?.
|
java.util.List<DDLRecordVersion> |
findByR_R(long recordSetId,
java.lang.String recordSetVersion,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns an ordered range of all the ddl record versions where recordSetId = ? and recordSetVersion = ?.
|
java.util.List<DDLRecordVersion> |
findByR_R(long recordSetId,
java.lang.String recordSetVersion,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddl record versions where recordSetId = ? and recordSetVersion = ?.
|
DDLRecordVersion |
findByR_S_First(long recordId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the first ddl 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 ddl 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 ddl record versions before and after the current ddl record version in the ordered set where recordId = ? and status = ?.
|
java.util.List<DDLRecordVersion> |
findByR_S(long recordId,
int status)
Returns all the ddl 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 ddl 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 ddl 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 useFinderCache)
Returns an ordered range of all the ddl record versions where recordId = ? and status = ?.
|
DDLRecordVersion |
findByR_V(long recordId,
java.lang.String version)
Returns the ddl 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 ddl record version in the ordered set where recordId = ?.
|
DDLRecordVersion |
findByRecordId_Last(long recordId,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the last ddl 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 ddl record versions before and after the current ddl record version in the ordered set where recordId = ?.
|
java.util.List<DDLRecordVersion> |
findByRecordId(long recordId)
Returns all the ddl record versions where recordId = ?.
|
java.util.List<DDLRecordVersion> |
findByRecordId(long recordId,
int start,
int end)
Returns a range of all the ddl 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 ddl record versions where recordId = ?.
|
java.util.List<DDLRecordVersion> |
findByRecordId(long recordId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddl record versions where recordId = ?.
|
DDLRecordVersion |
findByU_R_R_S_First(long userId,
long recordSetId,
java.lang.String recordSetVersion,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the first ddl record version in the ordered set where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.
|
DDLRecordVersion |
findByU_R_R_S_Last(long userId,
long recordSetId,
java.lang.String recordSetVersion,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the last ddl record version in the ordered set where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.
|
DDLRecordVersion[] |
findByU_R_R_S_PrevAndNext(long recordVersionId,
long userId,
long recordSetId,
java.lang.String recordSetVersion,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns the ddl record versions before and after the current ddl record version in the ordered set where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.
|
java.util.List<DDLRecordVersion> |
findByU_R_R_S(long userId,
long recordSetId,
java.lang.String recordSetVersion,
int status)
Returns all the ddl record versions where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.
|
java.util.List<DDLRecordVersion> |
findByU_R_R_S(long userId,
long recordSetId,
java.lang.String recordSetVersion,
int status,
int start,
int end)
Returns a range of all the ddl record versions where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.
|
java.util.List<DDLRecordVersion> |
findByU_R_R_S(long userId,
long recordSetId,
java.lang.String recordSetVersion,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
Returns an ordered range of all the ddl record versions where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.
|
java.util.List<DDLRecordVersion> |
findByU_R_R_S(long userId,
long recordSetId,
java.lang.String recordSetVersion,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddl record versions where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.
|
DDLRecordVersion |
remove(long recordVersionId)
Removes the ddl record version with the primary key from the database.
|
void |
removeAll()
Removes all the ddl record versions from the database.
|
void |
removeByR_R(long recordSetId,
java.lang.String recordSetVersion)
Removes all the ddl record versions where recordSetId = ? and recordSetVersion = ? from the database.
|
void |
removeByR_S(long recordId,
int status)
Removes all the ddl record versions where recordId = ? and status = ? from the database.
|
DDLRecordVersion |
removeByR_V(long recordId,
java.lang.String version)
Removes the ddl record version where recordId = ? and version = ? from the database.
|
void |
removeByRecordId(long recordId)
Removes all the ddl record versions where recordId = ? from the database.
|
void |
removeByU_R_R_S(long userId,
long recordSetId,
java.lang.String recordSetVersion,
int status)
Removes all the ddl record versions where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ? from the database.
|
DDLRecordVersion |
updateImpl(DDLRecordVersion ddlRecordVersion) |
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<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, then the query will include the default ORDER BY logic from DDLRecordVersionModelImpl
.
recordId
- the record IDstart
- the lower bound of the range of ddl record versionsend
- the upper bound of the range of ddl 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, then the query will include the default ORDER BY logic from DDLRecordVersionModelImpl
.
recordId
- the record IDstart
- the lower bound of the range of ddl record versionsend
- the upper bound of the range of ddl 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 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 DDLRecordVersionModelImpl
.
recordId
- the record IDstart
- the lower bound of the range of ddl record versionsend
- the upper bound of the range of ddl record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use 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 ddl 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 ddl 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 ddl 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 ddl 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 ddl record versionrecordId
- the record IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecordVersionException
- if a ddl record version with the primary key could not be foundvoid removeByRecordId(long recordId)
recordId
- the record IDint countByRecordId(long recordId)
recordId
- the record IDjava.util.List<DDLRecordVersion> findByR_R(long recordSetId, java.lang.String recordSetVersion)
recordSetId
- the record set IDrecordSetVersion
- the record set versionjava.util.List<DDLRecordVersion> findByR_R(long recordSetId, java.lang.String recordSetVersion, 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 DDLRecordVersionModelImpl
.
recordSetId
- the record set IDrecordSetVersion
- the record set versionstart
- the lower bound of the range of ddl record versionsend
- the upper bound of the range of ddl record versions (not inclusive)java.util.List<DDLRecordVersion> findByR_R(long recordSetId, java.lang.String recordSetVersion, 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, then the query will include the default ORDER BY logic from DDLRecordVersionModelImpl
.
recordSetId
- the record set IDrecordSetVersion
- the record set versionstart
- the lower bound of the range of ddl record versionsend
- the upper bound of the range of ddl record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DDLRecordVersion> findByR_R(long recordSetId, java.lang.String recordSetVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> 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 DDLRecordVersionModelImpl
.
recordSetId
- the record set IDrecordSetVersion
- the record set versionstart
- the lower bound of the range of ddl record versionsend
- the upper bound of the range of ddl record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDDLRecordVersion findByR_R_First(long recordSetId, java.lang.String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
recordSetId
- the record set IDrecordSetVersion
- the record set versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecordVersionException
- if a matching ddl record version could not be foundDDLRecordVersion fetchByR_R_First(long recordSetId, java.lang.String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
recordSetId
- the record set IDrecordSetVersion
- the record set versionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddl record version could not be foundDDLRecordVersion findByR_R_Last(long recordSetId, java.lang.String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
recordSetId
- the record set IDrecordSetVersion
- the record set versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecordVersionException
- if a matching ddl record version could not be foundDDLRecordVersion fetchByR_R_Last(long recordSetId, java.lang.String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
recordSetId
- the record set IDrecordSetVersion
- the record set versionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddl record version could not be foundDDLRecordVersion[] findByR_R_PrevAndNext(long recordVersionId, long recordSetId, java.lang.String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
recordVersionId
- the primary key of the current ddl record versionrecordSetId
- the record set IDrecordSetVersion
- the record set versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecordVersionException
- if a ddl record version with the primary key could not be foundvoid removeByR_R(long recordSetId, java.lang.String recordSetVersion)
recordSetId
- the record set IDrecordSetVersion
- the record set versionint countByR_R(long recordSetId, java.lang.String recordSetVersion)
recordSetId
- the record set IDrecordSetVersion
- the record set versionDDLRecordVersion 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 ddl 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 ddl record version could not be foundDDLRecordVersion fetchByR_V(long recordId, java.lang.String version, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.recordId
- the record IDversion
- the versionuseFinderCache
- whether to use the finder cachenull
if a matching ddl record version could not be foundDDLRecordVersion removeByR_V(long recordId, java.lang.String version) throws NoSuchRecordVersionException
recordId
- the record IDversion
- the versionNoSuchRecordVersionException
int 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, then the query will include the default ORDER BY logic from DDLRecordVersionModelImpl
.
recordId
- the record IDstatus
- the statusstart
- the lower bound of the range of ddl record versionsend
- the upper bound of the range of ddl 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, then the query will include the default ORDER BY logic from DDLRecordVersionModelImpl
.
recordId
- the record IDstatus
- the statusstart
- the lower bound of the range of ddl record versionsend
- the upper bound of the range of ddl 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 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 DDLRecordVersionModelImpl
.
recordId
- the record IDstatus
- the statusstart
- the lower bound of the range of ddl record versionsend
- the upper bound of the range of ddl record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use 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 ddl 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 ddl 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 ddl 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 ddl 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 ddl record versionrecordId
- the record IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecordVersionException
- if a ddl 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 statusjava.util.List<DDLRecordVersion> findByU_R_R_S(long userId, long recordSetId, java.lang.String recordSetVersion, int status)
userId
- the user IDrecordSetId
- the record set IDrecordSetVersion
- the record set versionstatus
- the statusjava.util.List<DDLRecordVersion> findByU_R_R_S(long userId, long recordSetId, java.lang.String recordSetVersion, 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 DDLRecordVersionModelImpl
.
userId
- the user IDrecordSetId
- the record set IDrecordSetVersion
- the record set versionstatus
- the statusstart
- the lower bound of the range of ddl record versionsend
- the upper bound of the range of ddl record versions (not inclusive)java.util.List<DDLRecordVersion> findByU_R_R_S(long userId, long recordSetId, java.lang.String recordSetVersion, 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, then the query will include the default ORDER BY logic from DDLRecordVersionModelImpl
.
userId
- the user IDrecordSetId
- the record set IDrecordSetVersion
- the record set versionstatus
- the statusstart
- the lower bound of the range of ddl record versionsend
- the upper bound of the range of ddl record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DDLRecordVersion> findByU_R_R_S(long userId, long recordSetId, java.lang.String recordSetVersion, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> 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 DDLRecordVersionModelImpl
.
userId
- the user IDrecordSetId
- the record set IDrecordSetVersion
- the record set versionstatus
- the statusstart
- the lower bound of the range of ddl record versionsend
- the upper bound of the range of ddl record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDDLRecordVersion findByU_R_R_S_First(long userId, long recordSetId, java.lang.String recordSetVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
userId
- the user IDrecordSetId
- the record set IDrecordSetVersion
- the record set versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecordVersionException
- if a matching ddl record version could not be foundDDLRecordVersion fetchByU_R_R_S_First(long userId, long recordSetId, java.lang.String recordSetVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
userId
- the user IDrecordSetId
- the record set IDrecordSetVersion
- the record set versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddl record version could not be foundDDLRecordVersion findByU_R_R_S_Last(long userId, long recordSetId, java.lang.String recordSetVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
userId
- the user IDrecordSetId
- the record set IDrecordSetVersion
- the record set versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecordVersionException
- if a matching ddl record version could not be foundDDLRecordVersion fetchByU_R_R_S_Last(long userId, long recordSetId, java.lang.String recordSetVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
userId
- the user IDrecordSetId
- the record set IDrecordSetVersion
- the record set versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddl record version could not be foundDDLRecordVersion[] findByU_R_R_S_PrevAndNext(long recordVersionId, long userId, long recordSetId, java.lang.String recordSetVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
recordVersionId
- the primary key of the current ddl record versionuserId
- the user IDrecordSetId
- the record set IDrecordSetVersion
- the record set versionstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecordVersionException
- if a ddl record version with the primary key could not be foundvoid removeByU_R_R_S(long userId, long recordSetId, java.lang.String recordSetVersion, int status)
userId
- the user IDrecordSetId
- the record set IDrecordSetVersion
- the record set versionstatus
- the statusint countByU_R_R_S(long userId, long recordSetId, java.lang.String recordSetVersion, int status)
userId
- the user IDrecordSetId
- the record set IDrecordSetVersion
- the record set versionstatus
- the statusvoid cacheResult(DDLRecordVersion ddlRecordVersion)
ddlRecordVersion
- the ddl record versionvoid cacheResult(java.util.List<DDLRecordVersion> ddlRecordVersions)
ddlRecordVersions
- the ddl record versionsDDLRecordVersion create(long recordVersionId)
recordVersionId
- the primary key for the new ddl record versionDDLRecordVersion remove(long recordVersionId) throws NoSuchRecordVersionException
recordVersionId
- the primary key of the ddl record versionNoSuchRecordVersionException
- if a ddl 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 ddl record versionNoSuchRecordVersionException
- if a ddl 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 ddl record versionnull
if a ddl record version with the primary key could not be foundjava.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, then the query will include the default ORDER BY logic from DDLRecordVersionModelImpl
.
start
- the lower bound of the range of ddl record versionsend
- the upper bound of the range of ddl 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, then the query will include the default ORDER BY logic from DDLRecordVersionModelImpl
.
start
- the lower bound of the range of ddl record versionsend
- the upper bound of the range of ddl 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 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 DDLRecordVersionModelImpl
.
start
- the lower bound of the range of ddl record versionsend
- the upper bound of the range of ddl record versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()