@ProviderType
public class KaleoConditionUtil
extends java.lang.Object
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoConditionPersistenceImpl
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
KaleoConditionPersistence
Constructor and Description |
---|
KaleoConditionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(KaleoCondition kaleoCondition)
Caches the kaleo condition in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<KaleoCondition> kaleoConditions)
Caches the kaleo conditions in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(KaleoCondition kaleoCondition) |
static int |
countAll()
Returns the number of kaleo conditions.
|
static int |
countByCompanyId(long companyId)
Returns the number of kaleo conditions where companyId = ?.
|
static int |
countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns the number of kaleo conditions where kaleoDefinitionVersionId = ?.
|
static int |
countByKaleoNodeId(long kaleoNodeId)
Returns the number of kaleo conditions where kaleoNodeId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static KaleoCondition |
create(long kaleoConditionId)
Creates a new kaleo condition with the primary key.
|
static KaleoCondition |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns the first kaleo condition in the ordered set where companyId = ?.
|
static KaleoCondition |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns the last kaleo condition in the ordered set where companyId = ?.
|
static KaleoCondition |
fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns the first kaleo condition in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoCondition |
fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns the last kaleo condition in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoCondition |
fetchByKaleoNodeId(long kaleoNodeId)
Returns the kaleo condition where kaleoNodeId = ? or returns
null if it could not be found. |
static KaleoCondition |
fetchByKaleoNodeId(long kaleoNodeId,
boolean retrieveFromCache)
Returns the kaleo condition where kaleoNodeId = ? or returns
null if it could not be found, optionally using the finder cache. |
static KaleoCondition |
fetchByPrimaryKey(long kaleoConditionId)
Returns the kaleo condition with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,KaleoCondition> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<KaleoCondition> |
findAll()
Returns all the kaleo conditions.
|
static java.util.List<KaleoCondition> |
findAll(int start,
int end)
Returns a range of all the kaleo conditions.
|
static java.util.List<KaleoCondition> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns an ordered range of all the kaleo conditions.
|
static java.util.List<KaleoCondition> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo conditions.
|
static KaleoCondition |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns the first kaleo condition in the ordered set where companyId = ?.
|
static KaleoCondition |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns the last kaleo condition in the ordered set where companyId = ?.
|
static KaleoCondition[] |
findByCompanyId_PrevAndNext(long kaleoConditionId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns the kaleo conditions before and after the current kaleo condition in the ordered set where companyId = ?.
|
static java.util.List<KaleoCondition> |
findByCompanyId(long companyId)
Returns all the kaleo conditions where companyId = ?.
|
static java.util.List<KaleoCondition> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo conditions where companyId = ?.
|
static java.util.List<KaleoCondition> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns an ordered range of all the kaleo conditions where companyId = ?.
|
static java.util.List<KaleoCondition> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo conditions where companyId = ?.
|
static KaleoCondition |
findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns the first kaleo condition in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoCondition |
findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns the last kaleo condition in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoCondition[] |
findByKaleoDefinitionVersionId_PrevAndNext(long kaleoConditionId,
long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns the kaleo conditions before and after the current kaleo condition in the ordered set where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoCondition> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns all the kaleo conditions where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoCondition> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end)
Returns a range of all the kaleo conditions where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoCondition> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns an ordered range of all the kaleo conditions where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoCondition> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo conditions where kaleoDefinitionVersionId = ?.
|
static KaleoCondition |
findByKaleoNodeId(long kaleoNodeId)
Returns the kaleo condition where kaleoNodeId = ? or throws a
NoSuchConditionException if it could not be found. |
static KaleoCondition |
findByPrimaryKey(long kaleoConditionId)
Returns the kaleo condition with the primary key or throws a
NoSuchConditionException if it could not be found. |
static java.util.List<KaleoCondition> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<KaleoCondition> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<KaleoCondition> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator) |
static KaleoConditionPersistence |
getPersistence() |
static KaleoCondition |
remove(long kaleoConditionId)
Removes the kaleo condition with the primary key from the database.
|
static void |
removeAll()
Removes all the kaleo conditions from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the kaleo conditions where companyId = ? from the database.
|
static void |
removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Removes all the kaleo conditions where kaleoDefinitionVersionId = ? from the database.
|
static KaleoCondition |
removeByKaleoNodeId(long kaleoNodeId)
Removes the kaleo condition where kaleoNodeId = ? from the database.
|
static KaleoCondition |
update(KaleoCondition kaleoCondition) |
static KaleoCondition |
update(KaleoCondition kaleoCondition,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static KaleoCondition |
updateImpl(KaleoCondition kaleoCondition) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(KaleoCondition kaleoCondition)
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,KaleoCondition> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<KaleoCondition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<KaleoCondition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<KaleoCondition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static KaleoCondition update(KaleoCondition kaleoCondition)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static KaleoCondition update(KaleoCondition kaleoCondition, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<KaleoCondition> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<KaleoCondition> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoConditionModelImpl
. 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.
companyId
- the company IDstart
- the lower bound of the range of kaleo conditionsend
- the upper bound of the range of kaleo conditions (not inclusive)public static java.util.List<KaleoCondition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> 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 KaleoConditionModelImpl
. 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.
companyId
- the company IDstart
- the lower bound of the range of kaleo conditionsend
- the upper bound of the range of kaleo conditions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoCondition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> 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 KaleoConditionModelImpl
. 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.
companyId
- the company IDstart
- the lower bound of the range of kaleo conditionsend
- the upper bound of the range of kaleo conditions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoCondition findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator) throws NoSuchConditionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConditionException
- if a matching kaleo condition could not be foundpublic static KaleoCondition fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo condition could not be foundpublic static KaleoCondition findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator) throws NoSuchConditionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConditionException
- if a matching kaleo condition could not be foundpublic static KaleoCondition fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo condition could not be foundpublic static KaleoCondition[] findByCompanyId_PrevAndNext(long kaleoConditionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator) throws NoSuchConditionException
kaleoConditionId
- the primary key of the current kaleo conditioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConditionException
- if a kaleo condition 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<KaleoCondition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDpublic static java.util.List<KaleoCondition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, 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 KaleoConditionModelImpl
. 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.
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo conditionsend
- the upper bound of the range of kaleo conditions (not inclusive)public static java.util.List<KaleoCondition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> 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 KaleoConditionModelImpl
. 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.
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo conditionsend
- the upper bound of the range of kaleo conditions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoCondition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> 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 KaleoConditionModelImpl
. 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.
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo conditionsend
- the upper bound of the range of kaleo conditions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoCondition findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator) throws NoSuchConditionException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConditionException
- if a matching kaleo condition could not be foundpublic static KaleoCondition fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo condition could not be foundpublic static KaleoCondition findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator) throws NoSuchConditionException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConditionException
- if a matching kaleo condition could not be foundpublic static KaleoCondition fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo condition could not be foundpublic static KaleoCondition[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoConditionId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator) throws NoSuchConditionException
kaleoConditionId
- the primary key of the current kaleo conditionkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConditionException
- if a kaleo condition with the primary key could not be foundpublic static void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDpublic static int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDpublic static KaleoCondition findByKaleoNodeId(long kaleoNodeId) throws NoSuchConditionException
NoSuchConditionException
if it could not be found.kaleoNodeId
- the kaleo node IDNoSuchConditionException
- if a matching kaleo condition could not be foundpublic static KaleoCondition fetchByKaleoNodeId(long kaleoNodeId)
null
if it could not be found. Uses the finder cache.kaleoNodeId
- the kaleo node IDnull
if a matching kaleo condition could not be foundpublic static KaleoCondition fetchByKaleoNodeId(long kaleoNodeId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.kaleoNodeId
- the kaleo node IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching kaleo condition could not be foundpublic static KaleoCondition removeByKaleoNodeId(long kaleoNodeId) throws NoSuchConditionException
kaleoNodeId
- the kaleo node IDNoSuchConditionException
public static int countByKaleoNodeId(long kaleoNodeId)
kaleoNodeId
- the kaleo node IDpublic static void cacheResult(KaleoCondition kaleoCondition)
kaleoCondition
- the kaleo conditionpublic static void cacheResult(java.util.List<KaleoCondition> kaleoConditions)
kaleoConditions
- the kaleo conditionspublic static KaleoCondition create(long kaleoConditionId)
kaleoConditionId
- the primary key for the new kaleo conditionpublic static KaleoCondition remove(long kaleoConditionId) throws NoSuchConditionException
kaleoConditionId
- the primary key of the kaleo conditionNoSuchConditionException
- if a kaleo condition with the primary key could not be foundpublic static KaleoCondition updateImpl(KaleoCondition kaleoCondition)
public static KaleoCondition findByPrimaryKey(long kaleoConditionId) throws NoSuchConditionException
NoSuchConditionException
if it could not be found.kaleoConditionId
- the primary key of the kaleo conditionNoSuchConditionException
- if a kaleo condition with the primary key could not be foundpublic static KaleoCondition fetchByPrimaryKey(long kaleoConditionId)
null
if it could not be found.kaleoConditionId
- the primary key of the kaleo conditionnull
if a kaleo condition with the primary key could not be foundpublic static java.util.List<KaleoCondition> findAll()
public static java.util.List<KaleoCondition> 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 KaleoConditionModelImpl
. 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 kaleo conditionsend
- the upper bound of the range of kaleo conditions (not inclusive)public static java.util.List<KaleoCondition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> 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 KaleoConditionModelImpl
. 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 kaleo conditionsend
- the upper bound of the range of kaleo conditions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoCondition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> 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 KaleoConditionModelImpl
. 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 kaleo conditionsend
- the upper bound of the range of kaleo conditions (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 KaleoConditionPersistence getPersistence()