@ProviderType public interface KaleoConditionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoCondition>
Caching information and settings can be found in portal.properties
KaleoConditionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(KaleoCondition kaleoCondition)
Caches the kaleo condition in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<KaleoCondition> kaleoConditions)
Caches the kaleo conditions in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of kaleo conditions.
|
int |
countByCompanyId(long companyId)
Returns the number of kaleo conditions where companyId = ?.
|
int |
countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns the number of kaleo conditions where kaleoDefinitionVersionId = ?.
|
int |
countByKaleoNodeId(long kaleoNodeId)
Returns the number of kaleo conditions where kaleoNodeId = ?.
|
KaleoCondition |
create(long kaleoConditionId)
Creates a new kaleo condition with the primary key.
|
KaleoCondition |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns the first kaleo condition in the ordered set where companyId = ?.
|
KaleoCondition |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns the last kaleo condition in the ordered set where companyId = ?.
|
KaleoCondition |
fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns the first kaleo condition in the ordered set where kaleoDefinitionVersionId = ?.
|
KaleoCondition |
fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns the last kaleo condition in the ordered set where kaleoDefinitionVersionId = ?.
|
KaleoCondition |
fetchByKaleoNodeId(long kaleoNodeId)
Returns the kaleo condition where kaleoNodeId = ? or returns
null if it could not be found. |
KaleoCondition |
fetchByKaleoNodeId(long kaleoNodeId,
boolean useFinderCache)
Returns the kaleo condition where kaleoNodeId = ? or returns
null if it could not be found, optionally using the finder cache. |
KaleoCondition |
fetchByPrimaryKey(long kaleoConditionId)
Returns the kaleo condition with the primary key or returns
null if it could not be found. |
java.util.List<KaleoCondition> |
findAll()
Returns all the kaleo conditions.
|
java.util.List<KaleoCondition> |
findAll(int start,
int end)
Returns a range of all the kaleo conditions.
|
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.
|
java.util.List<KaleoCondition> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo conditions.
|
KaleoCondition |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns the first kaleo condition in the ordered set where companyId = ?.
|
KaleoCondition |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns the last kaleo condition in the ordered set where companyId = ?.
|
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 = ?.
|
java.util.List<KaleoCondition> |
findByCompanyId(long companyId)
Returns all the kaleo conditions where companyId = ?.
|
java.util.List<KaleoCondition> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo conditions where companyId = ?.
|
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 = ?.
|
java.util.List<KaleoCondition> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo conditions where companyId = ?.
|
KaleoCondition |
findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns the first kaleo condition in the ordered set where kaleoDefinitionVersionId = ?.
|
KaleoCondition |
findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
Returns the last kaleo condition in the ordered set where kaleoDefinitionVersionId = ?.
|
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 = ?.
|
java.util.List<KaleoCondition> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns all the kaleo conditions where kaleoDefinitionVersionId = ?.
|
java.util.List<KaleoCondition> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end)
Returns a range of all the kaleo conditions where kaleoDefinitionVersionId = ?.
|
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 = ?.
|
java.util.List<KaleoCondition> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo conditions where kaleoDefinitionVersionId = ?.
|
KaleoCondition |
findByKaleoNodeId(long kaleoNodeId)
Returns the kaleo condition where kaleoNodeId = ? or throws a
NoSuchConditionException if it could not be found. |
KaleoCondition |
findByPrimaryKey(long kaleoConditionId)
Returns the kaleo condition with the primary key or throws a
NoSuchConditionException if it could not be found. |
KaleoCondition |
remove(long kaleoConditionId)
Removes the kaleo condition with the primary key from the database.
|
void |
removeAll()
Removes all the kaleo conditions from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the kaleo conditions where companyId = ? from the database.
|
void |
removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Removes all the kaleo conditions where kaleoDefinitionVersionId = ? from the database.
|
KaleoCondition |
removeByKaleoNodeId(long kaleoNodeId)
Removes the kaleo condition where kaleoNodeId = ? from the database.
|
KaleoCondition |
updateImpl(KaleoCondition kaleoCondition) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<KaleoCondition> findByCompanyId(long companyId)
companyId
- the company IDjava.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, then the query will include the default ORDER BY logic from KaleoConditionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kaleo conditionsend
- the upper bound of the range of kaleo conditions (not inclusive)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, then the query will include the default ORDER BY logic from KaleoConditionModelImpl
.
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
)java.util.List<KaleoCondition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> 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 KaleoConditionModelImpl
.
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
)useFinderCache
- whether to use the finder cacheKaleoCondition 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 foundKaleoCondition 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 foundKaleoCondition 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 foundKaleoCondition 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 foundKaleoCondition[] 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 foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDjava.util.List<KaleoCondition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDjava.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, then the query will include the default ORDER BY logic from KaleoConditionModelImpl
.
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)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, then the query will include the default ORDER BY logic from KaleoConditionModelImpl
.
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
)java.util.List<KaleoCondition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> 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 KaleoConditionModelImpl
.
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
)useFinderCache
- whether to use the finder cacheKaleoCondition 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 foundKaleoCondition 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 foundKaleoCondition 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 foundKaleoCondition 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 foundKaleoCondition[] 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 foundvoid removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDint countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDKaleoCondition 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 foundKaleoCondition 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 foundKaleoCondition fetchByKaleoNodeId(long kaleoNodeId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.kaleoNodeId
- the kaleo node IDuseFinderCache
- whether to use the finder cachenull
if a matching kaleo condition could not be foundKaleoCondition removeByKaleoNodeId(long kaleoNodeId) throws NoSuchConditionException
kaleoNodeId
- the kaleo node IDNoSuchConditionException
int countByKaleoNodeId(long kaleoNodeId)
kaleoNodeId
- the kaleo node IDvoid cacheResult(KaleoCondition kaleoCondition)
kaleoCondition
- the kaleo conditionvoid cacheResult(java.util.List<KaleoCondition> kaleoConditions)
kaleoConditions
- the kaleo conditionsKaleoCondition create(long kaleoConditionId)
kaleoConditionId
- the primary key for the new kaleo conditionKaleoCondition remove(long kaleoConditionId) throws NoSuchConditionException
kaleoConditionId
- the primary key of the kaleo conditionNoSuchConditionException
- if a kaleo condition with the primary key could not be foundKaleoCondition updateImpl(KaleoCondition kaleoCondition)
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 foundKaleoCondition 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 foundjava.util.List<KaleoCondition> findAll()
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, then the query will include the default ORDER BY logic from KaleoConditionModelImpl
.
start
- the lower bound of the range of kaleo conditionsend
- the upper bound of the range of kaleo conditions (not inclusive)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, then the query will include the default ORDER BY logic from KaleoConditionModelImpl
.
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
)java.util.List<KaleoCondition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> 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 KaleoConditionModelImpl
.
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
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()