@ProviderType public interface DDLRecordSetVersionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DDLRecordSetVersion>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDLRecordSetVersion>
Caching information and settings can be found in portal.properties
DDLRecordSetVersionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(DDLRecordSetVersion ddlRecordSetVersion)
Caches the ddl record set version in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<DDLRecordSetVersion> ddlRecordSetVersions)
Caches the ddl record set versions in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of ddl record set versions.
|
int |
countByRecordSetId(long recordSetId)
Returns the number of ddl record set versions where recordSetId = ?.
|
int |
countByRS_S(long recordSetId,
int status)
Returns the number of ddl record set versions where recordSetId = ? and status = ?.
|
int |
countByRS_V(long recordSetId,
java.lang.String version)
Returns the number of ddl record set versions where recordSetId = ? and version = ?.
|
DDLRecordSetVersion |
create(long recordSetVersionId)
Creates a new ddl record set version with the primary key.
|
DDLRecordSetVersion |
fetchByPrimaryKey(long recordSetVersionId)
Returns the ddl record set version with the primary key or returns
null if it could not be found. |
DDLRecordSetVersion |
fetchByRecordSetId_First(long recordSetId,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator)
Returns the first ddl record set version in the ordered set where recordSetId = ?.
|
DDLRecordSetVersion |
fetchByRecordSetId_Last(long recordSetId,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator)
Returns the last ddl record set version in the ordered set where recordSetId = ?.
|
DDLRecordSetVersion |
fetchByRS_S_First(long recordSetId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator)
Returns the first ddl record set version in the ordered set where recordSetId = ? and status = ?.
|
DDLRecordSetVersion |
fetchByRS_S_Last(long recordSetId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator)
Returns the last ddl record set version in the ordered set where recordSetId = ? and status = ?.
|
DDLRecordSetVersion |
fetchByRS_V(long recordSetId,
java.lang.String version)
Returns the ddl record set version where recordSetId = ? and version = ? or returns
null if it could not be found. |
DDLRecordSetVersion |
fetchByRS_V(long recordSetId,
java.lang.String version,
boolean useFinderCache)
Returns the ddl record set version where recordSetId = ? and version = ? or returns
null if it could not be found, optionally using the finder cache. |
java.util.List<DDLRecordSetVersion> |
findAll()
Returns all the ddl record set versions.
|
java.util.List<DDLRecordSetVersion> |
findAll(int start,
int end)
Returns a range of all the ddl record set versions.
|
java.util.List<DDLRecordSetVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator)
Returns an ordered range of all the ddl record set versions.
|
java.util.List<DDLRecordSetVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddl record set versions.
|
DDLRecordSetVersion |
findByPrimaryKey(long recordSetVersionId)
Returns the ddl record set version with the primary key or throws a
NoSuchRecordSetVersionException if it could not be found. |
DDLRecordSetVersion |
findByRecordSetId_First(long recordSetId,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator)
Returns the first ddl record set version in the ordered set where recordSetId = ?.
|
DDLRecordSetVersion |
findByRecordSetId_Last(long recordSetId,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator)
Returns the last ddl record set version in the ordered set where recordSetId = ?.
|
DDLRecordSetVersion[] |
findByRecordSetId_PrevAndNext(long recordSetVersionId,
long recordSetId,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator)
Returns the ddl record set versions before and after the current ddl record set version in the ordered set where recordSetId = ?.
|
java.util.List<DDLRecordSetVersion> |
findByRecordSetId(long recordSetId)
Returns all the ddl record set versions where recordSetId = ?.
|
java.util.List<DDLRecordSetVersion> |
findByRecordSetId(long recordSetId,
int start,
int end)
Returns a range of all the ddl record set versions where recordSetId = ?.
|
java.util.List<DDLRecordSetVersion> |
findByRecordSetId(long recordSetId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator)
Returns an ordered range of all the ddl record set versions where recordSetId = ?.
|
java.util.List<DDLRecordSetVersion> |
findByRecordSetId(long recordSetId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddl record set versions where recordSetId = ?.
|
DDLRecordSetVersion |
findByRS_S_First(long recordSetId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator)
Returns the first ddl record set version in the ordered set where recordSetId = ? and status = ?.
|
DDLRecordSetVersion |
findByRS_S_Last(long recordSetId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator)
Returns the last ddl record set version in the ordered set where recordSetId = ? and status = ?.
|
DDLRecordSetVersion[] |
findByRS_S_PrevAndNext(long recordSetVersionId,
long recordSetId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator)
Returns the ddl record set versions before and after the current ddl record set version in the ordered set where recordSetId = ? and status = ?.
|
java.util.List<DDLRecordSetVersion> |
findByRS_S(long recordSetId,
int status)
Returns all the ddl record set versions where recordSetId = ? and status = ?.
|
java.util.List<DDLRecordSetVersion> |
findByRS_S(long recordSetId,
int status,
int start,
int end)
Returns a range of all the ddl record set versions where recordSetId = ? and status = ?.
|
java.util.List<DDLRecordSetVersion> |
findByRS_S(long recordSetId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator)
Returns an ordered range of all the ddl record set versions where recordSetId = ? and status = ?.
|
java.util.List<DDLRecordSetVersion> |
findByRS_S(long recordSetId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddl record set versions where recordSetId = ? and status = ?.
|
DDLRecordSetVersion |
findByRS_V(long recordSetId,
java.lang.String version)
Returns the ddl record set version where recordSetId = ? and version = ? or throws a
NoSuchRecordSetVersionException if it could not be found. |
DDLRecordSetVersion |
remove(long recordSetVersionId)
Removes the ddl record set version with the primary key from the database.
|
void |
removeAll()
Removes all the ddl record set versions from the database.
|
void |
removeByRecordSetId(long recordSetId)
Removes all the ddl record set versions where recordSetId = ? from the database.
|
void |
removeByRS_S(long recordSetId,
int status)
Removes all the ddl record set versions where recordSetId = ? and status = ? from the database.
|
DDLRecordSetVersion |
removeByRS_V(long recordSetId,
java.lang.String version)
Removes the ddl record set version where recordSetId = ? and version = ? from the database.
|
DDLRecordSetVersion |
updateImpl(DDLRecordSetVersion ddlRecordSetVersion) |
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<DDLRecordSetVersion> findByRecordSetId(long recordSetId)
recordSetId
- the record set IDjava.util.List<DDLRecordSetVersion> findByRecordSetId(long recordSetId, 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 DDLRecordSetVersionModelImpl
.
recordSetId
- the record set IDstart
- the lower bound of the range of ddl record set versionsend
- the upper bound of the range of ddl record set versions (not inclusive)java.util.List<DDLRecordSetVersion> findByRecordSetId(long recordSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> 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 DDLRecordSetVersionModelImpl
.
recordSetId
- the record set IDstart
- the lower bound of the range of ddl record set versionsend
- the upper bound of the range of ddl record set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DDLRecordSetVersion> findByRecordSetId(long recordSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> 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 DDLRecordSetVersionModelImpl
.
recordSetId
- the record set IDstart
- the lower bound of the range of ddl record set versionsend
- the upper bound of the range of ddl record set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDDLRecordSetVersion findByRecordSetId_First(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) throws NoSuchRecordSetVersionException
recordSetId
- the record set IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecordSetVersionException
- if a matching ddl record set version could not be foundDDLRecordSetVersion fetchByRecordSetId_First(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator)
recordSetId
- the record set IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddl record set version could not be foundDDLRecordSetVersion findByRecordSetId_Last(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) throws NoSuchRecordSetVersionException
recordSetId
- the record set IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecordSetVersionException
- if a matching ddl record set version could not be foundDDLRecordSetVersion fetchByRecordSetId_Last(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator)
recordSetId
- the record set IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddl record set version could not be foundDDLRecordSetVersion[] findByRecordSetId_PrevAndNext(long recordSetVersionId, long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) throws NoSuchRecordSetVersionException
recordSetVersionId
- the primary key of the current ddl record set versionrecordSetId
- the record set IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecordSetVersionException
- if a ddl record set version with the primary key could not be foundvoid removeByRecordSetId(long recordSetId)
recordSetId
- the record set IDint countByRecordSetId(long recordSetId)
recordSetId
- the record set IDDDLRecordSetVersion findByRS_V(long recordSetId, java.lang.String version) throws NoSuchRecordSetVersionException
NoSuchRecordSetVersionException
if it could not be found.recordSetId
- the record set IDversion
- the versionNoSuchRecordSetVersionException
- if a matching ddl record set version could not be foundDDLRecordSetVersion fetchByRS_V(long recordSetId, java.lang.String version)
null
if it could not be found. Uses the finder cache.recordSetId
- the record set IDversion
- the versionnull
if a matching ddl record set version could not be foundDDLRecordSetVersion fetchByRS_V(long recordSetId, java.lang.String version, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.recordSetId
- the record set IDversion
- the versionuseFinderCache
- whether to use the finder cachenull
if a matching ddl record set version could not be foundDDLRecordSetVersion removeByRS_V(long recordSetId, java.lang.String version) throws NoSuchRecordSetVersionException
recordSetId
- the record set IDversion
- the versionNoSuchRecordSetVersionException
int countByRS_V(long recordSetId, java.lang.String version)
recordSetId
- the record set IDversion
- the versionjava.util.List<DDLRecordSetVersion> findByRS_S(long recordSetId, int status)
recordSetId
- the record set IDstatus
- the statusjava.util.List<DDLRecordSetVersion> findByRS_S(long recordSetId, 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 DDLRecordSetVersionModelImpl
.
recordSetId
- the record set IDstatus
- the statusstart
- the lower bound of the range of ddl record set versionsend
- the upper bound of the range of ddl record set versions (not inclusive)java.util.List<DDLRecordSetVersion> findByRS_S(long recordSetId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> 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 DDLRecordSetVersionModelImpl
.
recordSetId
- the record set IDstatus
- the statusstart
- the lower bound of the range of ddl record set versionsend
- the upper bound of the range of ddl record set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DDLRecordSetVersion> findByRS_S(long recordSetId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> 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 DDLRecordSetVersionModelImpl
.
recordSetId
- the record set IDstatus
- the statusstart
- the lower bound of the range of ddl record set versionsend
- the upper bound of the range of ddl record set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDDLRecordSetVersion findByRS_S_First(long recordSetId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) throws NoSuchRecordSetVersionException
recordSetId
- the record set IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecordSetVersionException
- if a matching ddl record set version could not be foundDDLRecordSetVersion fetchByRS_S_First(long recordSetId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator)
recordSetId
- the record set IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddl record set version could not be foundDDLRecordSetVersion findByRS_S_Last(long recordSetId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) throws NoSuchRecordSetVersionException
recordSetId
- the record set IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecordSetVersionException
- if a matching ddl record set version could not be foundDDLRecordSetVersion fetchByRS_S_Last(long recordSetId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator)
recordSetId
- the record set IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddl record set version could not be foundDDLRecordSetVersion[] findByRS_S_PrevAndNext(long recordSetVersionId, long recordSetId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) throws NoSuchRecordSetVersionException
recordSetVersionId
- the primary key of the current ddl record set versionrecordSetId
- the record set IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecordSetVersionException
- if a ddl record set version with the primary key could not be foundvoid removeByRS_S(long recordSetId, int status)
recordSetId
- the record set IDstatus
- the statusint countByRS_S(long recordSetId, int status)
recordSetId
- the record set IDstatus
- the statusvoid cacheResult(DDLRecordSetVersion ddlRecordSetVersion)
ddlRecordSetVersion
- the ddl record set versionvoid cacheResult(java.util.List<DDLRecordSetVersion> ddlRecordSetVersions)
ddlRecordSetVersions
- the ddl record set versionsDDLRecordSetVersion create(long recordSetVersionId)
recordSetVersionId
- the primary key for the new ddl record set versionDDLRecordSetVersion remove(long recordSetVersionId) throws NoSuchRecordSetVersionException
recordSetVersionId
- the primary key of the ddl record set versionNoSuchRecordSetVersionException
- if a ddl record set version with the primary key could not be foundDDLRecordSetVersion updateImpl(DDLRecordSetVersion ddlRecordSetVersion)
DDLRecordSetVersion findByPrimaryKey(long recordSetVersionId) throws NoSuchRecordSetVersionException
NoSuchRecordSetVersionException
if it could not be found.recordSetVersionId
- the primary key of the ddl record set versionNoSuchRecordSetVersionException
- if a ddl record set version with the primary key could not be foundDDLRecordSetVersion fetchByPrimaryKey(long recordSetVersionId)
null
if it could not be found.recordSetVersionId
- the primary key of the ddl record set versionnull
if a ddl record set version with the primary key could not be foundjava.util.List<DDLRecordSetVersion> findAll()
java.util.List<DDLRecordSetVersion> 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 DDLRecordSetVersionModelImpl
.
start
- the lower bound of the range of ddl record set versionsend
- the upper bound of the range of ddl record set versions (not inclusive)java.util.List<DDLRecordSetVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> 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 DDLRecordSetVersionModelImpl
.
start
- the lower bound of the range of ddl record set versionsend
- the upper bound of the range of ddl record set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DDLRecordSetVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> 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 DDLRecordSetVersionModelImpl
.
start
- the lower bound of the range of ddl record set versionsend
- the upper bound of the range of ddl record set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()