public class KaleoDefinitionVersionUtil
extends java.lang.Object
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoDefinitionVersionPersistenceImpl
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
KaleoDefinitionVersionPersistence
Constructor and Description |
---|
KaleoDefinitionVersionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(KaleoDefinitionVersion kaleoDefinitionVersion)
Caches the kaleo definition version in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<KaleoDefinitionVersion> kaleoDefinitionVersions)
Caches the kaleo definition versions in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(KaleoDefinitionVersion kaleoDefinitionVersion) |
static int |
countAll()
Returns the number of kaleo definition versions.
|
static int |
countByC_N_V(long companyId,
java.lang.String name,
java.lang.String version)
Returns the number of kaleo definition versions where companyId = ? and name = ? and version = ?.
|
static int |
countByC_N(long companyId,
java.lang.String name)
Returns the number of kaleo definition versions where companyId = ? and name = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of kaleo definition versions where companyId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static KaleoDefinitionVersion |
create(long kaleoDefinitionVersionId)
Creates a new kaleo definition version with the primary key.
|
static KaleoDefinitionVersion |
fetchByC_N_First(long companyId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator)
Returns the first kaleo definition version in the ordered set where companyId = ? and name = ?.
|
static KaleoDefinitionVersion |
fetchByC_N_Last(long companyId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator)
Returns the last kaleo definition version in the ordered set where companyId = ? and name = ?.
|
static KaleoDefinitionVersion |
fetchByC_N_V(long companyId,
java.lang.String name,
java.lang.String version)
Returns the kaleo definition version where companyId = ? and name = ? and version = ? or returns
null if it could not be found. |
static KaleoDefinitionVersion |
fetchByC_N_V(long companyId,
java.lang.String name,
java.lang.String version,
boolean useFinderCache)
Returns the kaleo definition version where companyId = ? and name = ? and version = ? or returns
null if it could not be found, optionally using the finder cache. |
static KaleoDefinitionVersion |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator)
Returns the first kaleo definition version in the ordered set where companyId = ?.
|
static KaleoDefinitionVersion |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator)
Returns the last kaleo definition version in the ordered set where companyId = ?.
|
static KaleoDefinitionVersion |
fetchByPrimaryKey(long kaleoDefinitionVersionId)
Returns the kaleo definition version with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,KaleoDefinitionVersion> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<KaleoDefinitionVersion> |
findAll()
Returns all the kaleo definition versions.
|
static java.util.List<KaleoDefinitionVersion> |
findAll(int start,
int end)
Returns a range of all the kaleo definition versions.
|
static java.util.List<KaleoDefinitionVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator)
Returns an ordered range of all the kaleo definition versions.
|
static java.util.List<KaleoDefinitionVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo definition versions.
|
static KaleoDefinitionVersion |
findByC_N_First(long companyId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator)
Returns the first kaleo definition version in the ordered set where companyId = ? and name = ?.
|
static KaleoDefinitionVersion |
findByC_N_Last(long companyId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator)
Returns the last kaleo definition version in the ordered set where companyId = ? and name = ?.
|
static KaleoDefinitionVersion[] |
findByC_N_PrevAndNext(long kaleoDefinitionVersionId,
long companyId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator)
Returns the kaleo definition versions before and after the current kaleo definition version in the ordered set where companyId = ? and name = ?.
|
static KaleoDefinitionVersion |
findByC_N_V(long companyId,
java.lang.String name,
java.lang.String version)
Returns the kaleo definition version where companyId = ? and name = ? and version = ? or throws a
NoSuchDefinitionVersionException if it could not be found. |
static java.util.List<KaleoDefinitionVersion> |
findByC_N(long companyId,
java.lang.String name)
Returns all the kaleo definition versions where companyId = ? and name = ?.
|
static java.util.List<KaleoDefinitionVersion> |
findByC_N(long companyId,
java.lang.String name,
int start,
int end)
Returns a range of all the kaleo definition versions where companyId = ? and name = ?.
|
static java.util.List<KaleoDefinitionVersion> |
findByC_N(long companyId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator)
Returns an ordered range of all the kaleo definition versions where companyId = ? and name = ?.
|
static java.util.List<KaleoDefinitionVersion> |
findByC_N(long companyId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo definition versions where companyId = ? and name = ?.
|
static KaleoDefinitionVersion |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator)
Returns the first kaleo definition version in the ordered set where companyId = ?.
|
static KaleoDefinitionVersion |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator)
Returns the last kaleo definition version in the ordered set where companyId = ?.
|
static KaleoDefinitionVersion[] |
findByCompanyId_PrevAndNext(long kaleoDefinitionVersionId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator)
Returns the kaleo definition versions before and after the current kaleo definition version in the ordered set where companyId = ?.
|
static java.util.List<KaleoDefinitionVersion> |
findByCompanyId(long companyId)
Returns all the kaleo definition versions where companyId = ?.
|
static java.util.List<KaleoDefinitionVersion> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo definition versions where companyId = ?.
|
static java.util.List<KaleoDefinitionVersion> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator)
Returns an ordered range of all the kaleo definition versions where companyId = ?.
|
static java.util.List<KaleoDefinitionVersion> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo definition versions where companyId = ?.
|
static KaleoDefinitionVersion |
findByPrimaryKey(long kaleoDefinitionVersionId)
Returns the kaleo definition version with the primary key or throws a
NoSuchDefinitionVersionException if it could not be found. |
static java.util.List<KaleoDefinitionVersion> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<KaleoDefinitionVersion> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<KaleoDefinitionVersion> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) |
static KaleoDefinitionVersionPersistence |
getPersistence() |
static KaleoDefinitionVersion |
remove(long kaleoDefinitionVersionId)
Removes the kaleo definition version with the primary key from the database.
|
static void |
removeAll()
Removes all the kaleo definition versions from the database.
|
static KaleoDefinitionVersion |
removeByC_N_V(long companyId,
java.lang.String name,
java.lang.String version)
Removes the kaleo definition version where companyId = ? and name = ? and version = ? from the database.
|
static void |
removeByC_N(long companyId,
java.lang.String name)
Removes all the kaleo definition versions where companyId = ? and name = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the kaleo definition versions where companyId = ? from the database.
|
static KaleoDefinitionVersion |
update(KaleoDefinitionVersion kaleoDefinitionVersion) |
static KaleoDefinitionVersion |
update(KaleoDefinitionVersion kaleoDefinitionVersion,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static KaleoDefinitionVersion |
updateImpl(KaleoDefinitionVersion kaleoDefinitionVersion) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(KaleoDefinitionVersion kaleoDefinitionVersion)
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.Map<java.io.Serializable,KaleoDefinitionVersion> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<KaleoDefinitionVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<KaleoDefinitionVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<KaleoDefinitionVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static KaleoDefinitionVersion update(KaleoDefinitionVersion kaleoDefinitionVersion)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static KaleoDefinitionVersion update(KaleoDefinitionVersion kaleoDefinitionVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<KaleoDefinitionVersion> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<KaleoDefinitionVersion> findByCompanyId(long companyId, 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 KaleoDefinitionVersionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kaleo definition versionsend
- the upper bound of the range of kaleo definition versions (not inclusive)public static java.util.List<KaleoDefinitionVersion> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> 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 KaleoDefinitionVersionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kaleo definition versionsend
- the upper bound of the range of kaleo definition versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoDefinitionVersion> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> 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 KaleoDefinitionVersionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kaleo definition versionsend
- the upper bound of the range of kaleo definition versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoDefinitionVersion findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) throws NoSuchDefinitionVersionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDefinitionVersionException
- if a matching kaleo definition version could not be foundpublic static KaleoDefinitionVersion fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo definition version could not be foundpublic static KaleoDefinitionVersion findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) throws NoSuchDefinitionVersionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDefinitionVersionException
- if a matching kaleo definition version could not be foundpublic static KaleoDefinitionVersion fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo definition version could not be foundpublic static KaleoDefinitionVersion[] findByCompanyId_PrevAndNext(long kaleoDefinitionVersionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) throws NoSuchDefinitionVersionException
kaleoDefinitionVersionId
- the primary key of the current kaleo definition versioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDefinitionVersionException
- if a kaleo definition version with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<KaleoDefinitionVersion> findByC_N(long companyId, java.lang.String name)
companyId
- the company IDname
- the namepublic static java.util.List<KaleoDefinitionVersion> findByC_N(long companyId, java.lang.String name, 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 KaleoDefinitionVersionModelImpl
.
companyId
- the company IDname
- the namestart
- the lower bound of the range of kaleo definition versionsend
- the upper bound of the range of kaleo definition versions (not inclusive)public static java.util.List<KaleoDefinitionVersion> findByC_N(long companyId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> 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 KaleoDefinitionVersionModelImpl
.
companyId
- the company IDname
- the namestart
- the lower bound of the range of kaleo definition versionsend
- the upper bound of the range of kaleo definition versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoDefinitionVersion> findByC_N(long companyId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> 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 KaleoDefinitionVersionModelImpl
.
companyId
- the company IDname
- the namestart
- the lower bound of the range of kaleo definition versionsend
- the upper bound of the range of kaleo definition versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoDefinitionVersion findByC_N_First(long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) throws NoSuchDefinitionVersionException
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDefinitionVersionException
- if a matching kaleo definition version could not be foundpublic static KaleoDefinitionVersion fetchByC_N_First(long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator)
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo definition version could not be foundpublic static KaleoDefinitionVersion findByC_N_Last(long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) throws NoSuchDefinitionVersionException
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDefinitionVersionException
- if a matching kaleo definition version could not be foundpublic static KaleoDefinitionVersion fetchByC_N_Last(long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator)
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo definition version could not be foundpublic static KaleoDefinitionVersion[] findByC_N_PrevAndNext(long kaleoDefinitionVersionId, long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) throws NoSuchDefinitionVersionException
kaleoDefinitionVersionId
- the primary key of the current kaleo definition versioncompanyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDefinitionVersionException
- if a kaleo definition version with the primary key could not be foundpublic static void removeByC_N(long companyId, java.lang.String name)
companyId
- the company IDname
- the namepublic static int countByC_N(long companyId, java.lang.String name)
companyId
- the company IDname
- the namepublic static KaleoDefinitionVersion findByC_N_V(long companyId, java.lang.String name, java.lang.String version) throws NoSuchDefinitionVersionException
NoSuchDefinitionVersionException
if it could not be found.companyId
- the company IDname
- the nameversion
- the versionNoSuchDefinitionVersionException
- if a matching kaleo definition version could not be foundpublic static KaleoDefinitionVersion fetchByC_N_V(long companyId, java.lang.String name, java.lang.String version)
null
if it could not be found. Uses the finder cache.companyId
- the company IDname
- the nameversion
- the versionnull
if a matching kaleo definition version could not be foundpublic static KaleoDefinitionVersion fetchByC_N_V(long companyId, java.lang.String name, java.lang.String version, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDname
- the nameversion
- the versionuseFinderCache
- whether to use the finder cachenull
if a matching kaleo definition version could not be foundpublic static KaleoDefinitionVersion removeByC_N_V(long companyId, java.lang.String name, java.lang.String version) throws NoSuchDefinitionVersionException
companyId
- the company IDname
- the nameversion
- the versionNoSuchDefinitionVersionException
public static int countByC_N_V(long companyId, java.lang.String name, java.lang.String version)
companyId
- the company IDname
- the nameversion
- the versionpublic static void cacheResult(KaleoDefinitionVersion kaleoDefinitionVersion)
kaleoDefinitionVersion
- the kaleo definition versionpublic static void cacheResult(java.util.List<KaleoDefinitionVersion> kaleoDefinitionVersions)
kaleoDefinitionVersions
- the kaleo definition versionspublic static KaleoDefinitionVersion create(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the primary key for the new kaleo definition versionpublic static KaleoDefinitionVersion remove(long kaleoDefinitionVersionId) throws NoSuchDefinitionVersionException
kaleoDefinitionVersionId
- the primary key of the kaleo definition versionNoSuchDefinitionVersionException
- if a kaleo definition version with the primary key could not be foundpublic static KaleoDefinitionVersion updateImpl(KaleoDefinitionVersion kaleoDefinitionVersion)
public static KaleoDefinitionVersion findByPrimaryKey(long kaleoDefinitionVersionId) throws NoSuchDefinitionVersionException
NoSuchDefinitionVersionException
if it could not be found.kaleoDefinitionVersionId
- the primary key of the kaleo definition versionNoSuchDefinitionVersionException
- if a kaleo definition version with the primary key could not be foundpublic static KaleoDefinitionVersion fetchByPrimaryKey(long kaleoDefinitionVersionId)
null
if it could not be found.kaleoDefinitionVersionId
- the primary key of the kaleo definition versionnull
if a kaleo definition version with the primary key could not be foundpublic static java.util.List<KaleoDefinitionVersion> findAll()
public static java.util.List<KaleoDefinitionVersion> 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 KaleoDefinitionVersionModelImpl
.
start
- the lower bound of the range of kaleo definition versionsend
- the upper bound of the range of kaleo definition versions (not inclusive)public static java.util.List<KaleoDefinitionVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> 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 KaleoDefinitionVersionModelImpl
.
start
- the lower bound of the range of kaleo definition versionsend
- the upper bound of the range of kaleo definition versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoDefinitionVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> 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 KaleoDefinitionVersionModelImpl
.
start
- the lower bound of the range of kaleo definition versionsend
- the upper bound of the range of kaleo definition versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static KaleoDefinitionVersionPersistence getPersistence()