@ProviderType
public class DDLRecordSetVersionUtil
extends java.lang.Object
com.liferay.dynamic.data.lists.service.persistence.impl.DDLRecordSetVersionPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
DDLRecordSetVersionPersistence
,
com.liferay.dynamic.data.lists.service.persistence.impl.DDLRecordSetVersionPersistenceImpl
Constructor and Description |
---|
DDLRecordSetVersionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(DDLRecordSetVersion ddlRecordSetVersion)
Caches the ddl record set version in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<DDLRecordSetVersion> ddlRecordSetVersions)
Caches the ddl record set versions in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(DDLRecordSetVersion ddlRecordSetVersion) |
static int |
countAll()
Returns the number of ddl record set versions.
|
static int |
countByRecordSetId(long recordSetId)
Returns the number of ddl record set versions where recordSetId = ?.
|
static int |
countByRS_S(long recordSetId,
int status)
Returns the number of ddl record set versions where recordSetId = ? and status = ?.
|
static int |
countByRS_V(long recordSetId,
java.lang.String version)
Returns the number of ddl record set versions where recordSetId = ? and version = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static DDLRecordSetVersion |
create(long recordSetVersionId)
Creates a new ddl record set version with the primary key.
|
static DDLRecordSetVersion |
fetchByPrimaryKey(long recordSetVersionId)
Returns the ddl record set version with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,DDLRecordSetVersion> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static DDLRecordSetVersion |
fetchByRS_V(long recordSetId,
java.lang.String version,
boolean retrieveFromCache)
Returns the ddl record set version where recordSetId = ? and version = ? or returns
null if it could not be found, optionally using the finder cache. |
static java.util.List<DDLRecordSetVersion> |
findAll()
Returns all the ddl record set versions.
|
static java.util.List<DDLRecordSetVersion> |
findAll(int start,
int end)
Returns a range of all the ddl record set versions.
|
static 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.
|
static java.util.List<DDLRecordSetVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddl record set versions.
|
static DDLRecordSetVersion |
findByPrimaryKey(long recordSetVersionId)
Returns the ddl record set version with the primary key or throws a
NoSuchRecordSetVersionException if it could not be found. |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<DDLRecordSetVersion> |
findByRecordSetId(long recordSetId)
Returns all the ddl record set versions where recordSetId = ?.
|
static java.util.List<DDLRecordSetVersion> |
findByRecordSetId(long recordSetId,
int start,
int end)
Returns a range of all the ddl record set versions where recordSetId = ?.
|
static 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 = ?.
|
static java.util.List<DDLRecordSetVersion> |
findByRecordSetId(long recordSetId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddl record set versions where recordSetId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<DDLRecordSetVersion> |
findByRS_S(long recordSetId,
int status)
Returns all the ddl record set versions where recordSetId = ? and status = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<DDLRecordSetVersion> |
findByRS_S(long recordSetId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddl record set versions where recordSetId = ? and status = ?.
|
static 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. |
static java.util.List<DDLRecordSetVersion> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<DDLRecordSetVersion> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<DDLRecordSetVersion> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) |
static java.util.Set<java.lang.String> |
getBadColumnNames() |
static DDLRecordSetVersionPersistence |
getPersistence() |
static DDLRecordSetVersion |
remove(long recordSetVersionId)
Removes the ddl record set version with the primary key from the database.
|
static void |
removeAll()
Removes all the ddl record set versions from the database.
|
static void |
removeByRecordSetId(long recordSetId)
Removes all the ddl record set versions where recordSetId = ? from the database.
|
static void |
removeByRS_S(long recordSetId,
int status)
Removes all the ddl record set versions where recordSetId = ? and status = ? from the database.
|
static DDLRecordSetVersion |
removeByRS_V(long recordSetId,
java.lang.String version)
Removes the ddl record set version where recordSetId = ? and version = ? from the database.
|
static DDLRecordSetVersion |
update(DDLRecordSetVersion ddlRecordSetVersion) |
static DDLRecordSetVersion |
update(DDLRecordSetVersion ddlRecordSetVersion,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static DDLRecordSetVersion |
updateImpl(DDLRecordSetVersion ddlRecordSetVersion) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(DDLRecordSetVersion ddlRecordSetVersion)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.List<DDLRecordSetVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<DDLRecordSetVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<DDLRecordSetVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static DDLRecordSetVersion update(DDLRecordSetVersion ddlRecordSetVersion)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static DDLRecordSetVersion update(DDLRecordSetVersion ddlRecordSetVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<DDLRecordSetVersion> findByRecordSetId(long recordSetId)
recordSetId
- the record set IDpublic static java.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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDLRecordSetVersionModelImpl
. 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.
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)public static 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDLRecordSetVersionModelImpl
. 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.
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
)public static java.util.List<DDLRecordSetVersion> findByRecordSetId(long recordSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> 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 DDLRecordSetVersionModelImpl
. 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.
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic static DDLRecordSetVersion 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 foundpublic static DDLRecordSetVersion 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 foundpublic static DDLRecordSetVersion 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 foundpublic static DDLRecordSetVersion 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 foundpublic static DDLRecordSetVersion[] 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 foundpublic static void removeByRecordSetId(long recordSetId)
recordSetId
- the record set IDpublic static int countByRecordSetId(long recordSetId)
recordSetId
- the record set IDpublic static DDLRecordSetVersion 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 foundpublic static DDLRecordSetVersion 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 foundpublic static DDLRecordSetVersion fetchByRS_V(long recordSetId, java.lang.String version, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.recordSetId
- the record set IDversion
- the versionretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching ddl record set version could not be foundpublic static DDLRecordSetVersion removeByRS_V(long recordSetId, java.lang.String version) throws NoSuchRecordSetVersionException
recordSetId
- the record set IDversion
- the versionNoSuchRecordSetVersionException
public static int countByRS_V(long recordSetId, java.lang.String version)
recordSetId
- the record set IDversion
- the versionpublic static java.util.List<DDLRecordSetVersion> findByRS_S(long recordSetId, int status)
recordSetId
- the record set IDstatus
- the statuspublic static java.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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDLRecordSetVersionModelImpl
. 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.
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)public static 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDLRecordSetVersionModelImpl
. 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.
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
)public static java.util.List<DDLRecordSetVersion> findByRS_S(long recordSetId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> 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 DDLRecordSetVersionModelImpl
. 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.
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic static DDLRecordSetVersion 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 foundpublic static DDLRecordSetVersion 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 foundpublic static DDLRecordSetVersion 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 foundpublic static DDLRecordSetVersion 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 foundpublic static DDLRecordSetVersion[] 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 foundpublic static void removeByRS_S(long recordSetId, int status)
recordSetId
- the record set IDstatus
- the statuspublic static int countByRS_S(long recordSetId, int status)
recordSetId
- the record set IDstatus
- the statuspublic static void cacheResult(DDLRecordSetVersion ddlRecordSetVersion)
ddlRecordSetVersion
- the ddl record set versionpublic static void cacheResult(java.util.List<DDLRecordSetVersion> ddlRecordSetVersions)
ddlRecordSetVersions
- the ddl record set versionspublic static DDLRecordSetVersion create(long recordSetVersionId)
recordSetVersionId
- the primary key for the new ddl record set versionpublic static DDLRecordSetVersion 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 foundpublic static DDLRecordSetVersion updateImpl(DDLRecordSetVersion ddlRecordSetVersion)
public static 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 foundpublic static DDLRecordSetVersion 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 foundpublic static java.util.Map<java.io.Serializable,DDLRecordSetVersion> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public static java.util.List<DDLRecordSetVersion> findAll()
public static 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDLRecordSetVersionModelImpl
. 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 ddl record set versionsend
- the upper bound of the range of ddl record set versions (not inclusive)public static 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDLRecordSetVersionModelImpl
. 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 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
)public static java.util.List<DDLRecordSetVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> 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 DDLRecordSetVersionModelImpl
. 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 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
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static java.util.Set<java.lang.String> getBadColumnNames()
public static DDLRecordSetVersionPersistence getPersistence()