@ProviderType
public class KaleoConditionPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoCondition>
implements com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistence
Caching information and settings can be found in portal.properties
KaleoConditionPersistence,
KaleoConditionUtil| Modifier and Type | Field and Description |
|---|---|
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
entityCache |
static java.lang.String |
FINDER_CLASS_NAME_ENTITY |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_KALEODEFINITIONID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_KALEONODEID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_KALEONODEID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_KALEODEFINITIONID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEODEFINITIONID |
protected com.liferay.portal.kernel.dao.orm.FinderCache |
finderCache |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
KaleoConditionPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the kaleo condition persistence.
|
void |
cacheResult(com.liferay.portal.workflow.kaleo.model.KaleoCondition kaleoCondition)
Caches the kaleo condition in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> kaleoConditions)
Caches the kaleo conditions in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(KaleoConditionModelImpl kaleoConditionModelImpl,
boolean isNew) |
void |
clearCache()
Clears the cache for all kaleo conditions.
|
void |
clearCache(com.liferay.portal.workflow.kaleo.model.KaleoCondition kaleoCondition)
Clears the cache for the kaleo condition.
|
void |
clearCache(java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> kaleoConditions) |
protected void |
clearUniqueFindersCache(KaleoConditionModelImpl kaleoConditionModelImpl) |
int |
countAll()
Returns the number of kaleo conditions.
|
int |
countByCompanyId(long companyId)
Returns the number of kaleo conditions where companyId = ?.
|
int |
countByKaleoDefinitionId(long kaleoDefinitionId)
Returns the number of kaleo conditions where kaleoDefinitionId = ?.
|
int |
countByKaleoNodeId(long kaleoNodeId)
Returns the number of kaleo conditions where kaleoNodeId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoCondition |
create(long kaleoConditionId)
Creates a new kaleo condition with the primary key.
|
void |
destroy() |
com.liferay.portal.workflow.kaleo.model.KaleoCondition |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
Returns the first kaleo condition in the ordered set where companyId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoCondition |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
Returns the last kaleo condition in the ordered set where companyId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoCondition |
fetchByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
Returns the first kaleo condition in the ordered set where kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoCondition |
fetchByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
Returns the last kaleo condition in the ordered set where kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoCondition |
fetchByKaleoNodeId(long kaleoNodeId)
Returns the kaleo condition where kaleoNodeId = ? or returns
null if it could not be found. |
com.liferay.portal.workflow.kaleo.model.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. |
com.liferay.portal.workflow.kaleo.model.KaleoCondition |
fetchByPrimaryKey(long kaleoConditionId)
Returns the kaleo condition with the primary key or returns
null if it could not be found. |
com.liferay.portal.workflow.kaleo.model.KaleoCondition |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the kaleo condition with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,com.liferay.portal.workflow.kaleo.model.KaleoCondition> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> |
findAll()
Returns all the kaleo conditions.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> |
findAll(int start,
int end)
Returns a range of all the kaleo conditions.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
Returns an ordered range of all the kaleo conditions.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo conditions.
|
com.liferay.portal.workflow.kaleo.model.KaleoCondition |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
Returns the first kaleo condition in the ordered set where companyId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoCondition |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
Returns the last kaleo condition in the ordered set where companyId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoCondition[] |
findByCompanyId_PrevAndNext(long kaleoConditionId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
Returns the kaleo conditions before and after the current kaleo condition in the ordered set where companyId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> |
findByCompanyId(long companyId)
Returns all the kaleo conditions where companyId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo conditions where companyId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
Returns an ordered range of all the kaleo conditions where companyId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo conditions where companyId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoCondition |
findByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
Returns the first kaleo condition in the ordered set where kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoCondition |
findByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
Returns the last kaleo condition in the ordered set where kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoCondition[] |
findByKaleoDefinitionId_PrevAndNext(long kaleoConditionId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
Returns the kaleo conditions before and after the current kaleo condition in the ordered set where kaleoDefinitionId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> |
findByKaleoDefinitionId(long kaleoDefinitionId)
Returns all the kaleo conditions where kaleoDefinitionId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end)
Returns a range of all the kaleo conditions where kaleoDefinitionId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
Returns an ordered range of all the kaleo conditions where kaleoDefinitionId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo conditions where kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoCondition |
findByKaleoNodeId(long kaleoNodeId)
Returns the kaleo condition where kaleoNodeId = ? or throws a
NoSuchConditionException if it could not be found. |
com.liferay.portal.workflow.kaleo.model.KaleoCondition |
findByPrimaryKey(long kaleoConditionId)
Returns the kaleo condition with the primary key or throws a
NoSuchConditionException if it could not be found. |
com.liferay.portal.workflow.kaleo.model.KaleoCondition |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the kaleo condition with the primary key or throws a
NoSuchModelException if it could not be found. |
protected com.liferay.portal.workflow.kaleo.model.KaleoCondition |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.workflow.kaleo.model.KaleoCondition kaleoCondition,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator,
boolean previous) |
protected com.liferay.portal.workflow.kaleo.model.KaleoCondition |
getByKaleoDefinitionId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.workflow.kaleo.model.KaleoCondition kaleoCondition,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator,
boolean previous) |
protected java.util.Map<java.lang.String,java.lang.Integer> |
getTableColumnsMap() |
com.liferay.portal.workflow.kaleo.model.KaleoCondition |
remove(long kaleoConditionId)
Removes the kaleo condition with the primary key from the database.
|
com.liferay.portal.workflow.kaleo.model.KaleoCondition |
remove(java.io.Serializable primaryKey)
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 |
removeByKaleoDefinitionId(long kaleoDefinitionId)
Removes all the kaleo conditions where kaleoDefinitionId = ? from the database.
|
com.liferay.portal.workflow.kaleo.model.KaleoCondition |
removeByKaleoNodeId(long kaleoNodeId)
Removes the kaleo condition where kaleoNodeId = ? from the database.
|
protected com.liferay.portal.workflow.kaleo.model.KaleoCondition |
removeImpl(com.liferay.portal.workflow.kaleo.model.KaleoCondition kaleoCondition) |
protected com.liferay.portal.workflow.kaleo.model.KaleoCondition |
toUnwrappedModel(com.liferay.portal.workflow.kaleo.model.KaleoCondition kaleoCondition) |
com.liferay.portal.workflow.kaleo.model.KaleoCondition |
updateImpl(com.liferay.portal.workflow.kaleo.model.KaleoCondition kaleoCondition) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_KALEODEFINITIONID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEODEFINITIONID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_KALEODEFINITIONID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_KALEONODEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_KALEONODEID
@ServiceReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
@ServiceReference(type=com.liferay.portal.kernel.dao.orm.EntityCache.class) protected com.liferay.portal.kernel.dao.orm.EntityCache entityCache
@ServiceReference(type=com.liferay.portal.kernel.dao.orm.FinderCache.class) protected com.liferay.portal.kernel.dao.orm.FinderCache finderCache
public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> findByCompanyId(long companyId)
findByCompanyId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencecompanyId - the company IDpublic java.util.List<com.liferay.portal.workflow.kaleo.model.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.
findByCompanyId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencecompanyId - the company IDstart - the lower bound of the range of kaleo conditionsend - the upper bound of the range of kaleo conditions (not inclusive)public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.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.
findByCompanyId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencecompanyId - 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 java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.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.
findByCompanyId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencecompanyId - 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 com.liferay.portal.workflow.kaleo.model.KaleoCondition findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchConditionException
findByCompanyId_First in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchConditionException - if a matching kaleo condition could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoCondition fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
fetchByCompanyId_First in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching kaleo condition could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoCondition findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchConditionException
findByCompanyId_Last in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchConditionException - if a matching kaleo condition could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoCondition fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
fetchByCompanyId_Last in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching kaleo condition could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoCondition[] findByCompanyId_PrevAndNext(long kaleoConditionId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchConditionException
findByCompanyId_PrevAndNext in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoConditionId - the primary key of the current kaleo conditioncompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchConditionException - if a kaleo condition with the primary key could not be foundprotected com.liferay.portal.workflow.kaleo.model.KaleoCondition getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.workflow.kaleo.model.KaleoCondition kaleoCondition,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencecompanyId - the company IDpublic java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> findByKaleoDefinitionId(long kaleoDefinitionId)
findByKaleoDefinitionId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoDefinitionId - the kaleo definition IDpublic java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> findByKaleoDefinitionId(long kaleoDefinitionId,
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.
findByKaleoDefinitionId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoDefinitionId - the kaleo definition IDstart - the lower bound of the range of kaleo conditionsend - the upper bound of the range of kaleo conditions (not inclusive)public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.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.
findByKaleoDefinitionId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoDefinitionId - the kaleo definition 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 java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.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.
findByKaleoDefinitionId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoDefinitionId - the kaleo definition 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 com.liferay.portal.workflow.kaleo.model.KaleoCondition findByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchConditionException
findByKaleoDefinitionId_First in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchConditionException - if a matching kaleo condition could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoCondition fetchByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
fetchByKaleoDefinitionId_First in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)null if a matching kaleo condition could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoCondition findByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchConditionException
findByKaleoDefinitionId_Last in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchConditionException - if a matching kaleo condition could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoCondition fetchByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
fetchByKaleoDefinitionId_Last in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)null if a matching kaleo condition could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoCondition[] findByKaleoDefinitionId_PrevAndNext(long kaleoConditionId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchConditionException
findByKaleoDefinitionId_PrevAndNext in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoConditionId - the primary key of the current kaleo conditionkaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchConditionException - if a kaleo condition with the primary key could not be foundprotected com.liferay.portal.workflow.kaleo.model.KaleoCondition getByKaleoDefinitionId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.workflow.kaleo.model.KaleoCondition kaleoCondition,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoCondition> orderByComparator,
boolean previous)
public void removeByKaleoDefinitionId(long kaleoDefinitionId)
removeByKaleoDefinitionId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoDefinitionId - the kaleo definition IDpublic int countByKaleoDefinitionId(long kaleoDefinitionId)
countByKaleoDefinitionId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoDefinitionId - the kaleo definition IDpublic com.liferay.portal.workflow.kaleo.model.KaleoCondition findByKaleoNodeId(long kaleoNodeId)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchConditionException
NoSuchConditionException if it could not be found.findByKaleoNodeId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoNodeId - the kaleo node IDcom.liferay.portal.workflow.kaleo.exception.NoSuchConditionException - if a matching kaleo condition could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoCondition fetchByKaleoNodeId(long kaleoNodeId)
null if it could not be found. Uses the finder cache.fetchByKaleoNodeId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoNodeId - the kaleo node IDnull if a matching kaleo condition could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoCondition fetchByKaleoNodeId(long kaleoNodeId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.fetchByKaleoNodeId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoNodeId - the kaleo node IDretrieveFromCache - whether to retrieve from the finder cachenull if a matching kaleo condition could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoCondition removeByKaleoNodeId(long kaleoNodeId)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchConditionException
removeByKaleoNodeId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoNodeId - the kaleo node IDcom.liferay.portal.workflow.kaleo.exception.NoSuchConditionExceptionpublic int countByKaleoNodeId(long kaleoNodeId)
countByKaleoNodeId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoNodeId - the kaleo node IDpublic void cacheResult(com.liferay.portal.workflow.kaleo.model.KaleoCondition kaleoCondition)
cacheResult in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoCondition - the kaleo conditionpublic void cacheResult(java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> kaleoConditions)
cacheResult in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoConditions - the kaleo conditionspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.workflow.kaleo.model.KaleoCondition>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoCondition>public void clearCache(com.liferay.portal.workflow.kaleo.model.KaleoCondition kaleoCondition)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.workflow.kaleo.model.KaleoCondition>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoCondition>public void clearCache(java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> kaleoConditions)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.workflow.kaleo.model.KaleoCondition>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoCondition>protected void cacheUniqueFindersCache(KaleoConditionModelImpl kaleoConditionModelImpl, boolean isNew)
protected void clearUniqueFindersCache(KaleoConditionModelImpl kaleoConditionModelImpl)
public com.liferay.portal.workflow.kaleo.model.KaleoCondition create(long kaleoConditionId)
create in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoConditionId - the primary key for the new kaleo conditionpublic com.liferay.portal.workflow.kaleo.model.KaleoCondition remove(long kaleoConditionId)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchConditionException
remove in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoConditionId - the primary key of the kaleo conditioncom.liferay.portal.workflow.kaleo.exception.NoSuchConditionException - if a kaleo condition with the primary key could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoCondition remove(java.io.Serializable primaryKey)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchConditionException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.workflow.kaleo.model.KaleoCondition>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoCondition>primaryKey - the primary key of the kaleo conditioncom.liferay.portal.workflow.kaleo.exception.NoSuchConditionException - if a kaleo condition with the primary key could not be foundprotected com.liferay.portal.workflow.kaleo.model.KaleoCondition removeImpl(com.liferay.portal.workflow.kaleo.model.KaleoCondition kaleoCondition)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoCondition>public com.liferay.portal.workflow.kaleo.model.KaleoCondition updateImpl(com.liferay.portal.workflow.kaleo.model.KaleoCondition kaleoCondition)
updateImpl in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoCondition>protected com.liferay.portal.workflow.kaleo.model.KaleoCondition toUnwrappedModel(com.liferay.portal.workflow.kaleo.model.KaleoCondition kaleoCondition)
public com.liferay.portal.workflow.kaleo.model.KaleoCondition findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchConditionException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.workflow.kaleo.model.KaleoCondition>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoCondition>primaryKey - the primary key of the kaleo conditioncom.liferay.portal.workflow.kaleo.exception.NoSuchConditionException - if a kaleo condition with the primary key could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoCondition findByPrimaryKey(long kaleoConditionId)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchConditionException
NoSuchConditionException if it could not be found.findByPrimaryKey in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoConditionId - the primary key of the kaleo conditioncom.liferay.portal.workflow.kaleo.exception.NoSuchConditionException - if a kaleo condition with the primary key could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoCondition fetchByPrimaryKey(java.io.Serializable primaryKey)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.workflow.kaleo.model.KaleoCondition>fetchByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoCondition>primaryKey - the primary key of the kaleo conditionnull if a kaleo condition with the primary key could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoCondition fetchByPrimaryKey(long kaleoConditionId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencekaleoConditionId - the primary key of the kaleo conditionnull if a kaleo condition with the primary key could not be foundpublic java.util.Map<java.io.Serializable,com.liferay.portal.workflow.kaleo.model.KaleoCondition> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.workflow.kaleo.model.KaleoCondition>fetchByPrimaryKeys in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencefetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoCondition>public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> findAll()
findAll in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencepublic java.util.List<com.liferay.portal.workflow.kaleo.model.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.
findAll in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencestart - the lower bound of the range of kaleo conditionsend - the upper bound of the range of kaleo conditions (not inclusive)public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.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.
findAll in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencestart - 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 java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoCondition> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.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.
findAll in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencestart - 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 void removeAll()
removeAll in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistencepublic int countAll()
countAll in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoConditionPersistenceprotected java.util.Map<java.lang.String,java.lang.Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoCondition>public void afterPropertiesSet()
public void destroy()