public class COREntryUtil
extends java.lang.Object
com.liferay.commerce.order.rule.service.persistence.impl.COREntryPersistenceImpl
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
COREntryPersistence
Constructor and Description |
---|
COREntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(COREntry corEntry)
Caches the cor entry in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<COREntry> corEntries)
Caches the cor entries in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(COREntry corEntry) |
static int |
countAll()
Returns the number of cor entries.
|
static int |
countByC_A_LikeType(long companyId,
boolean active,
java.lang.String type)
Returns the number of cor entries where companyId = ? and active = ? and type LIKE ?.
|
static int |
countByC_A(long companyId,
boolean active)
Returns the number of cor entries where companyId = ? and active = ?.
|
static int |
countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the number of cor entries where companyId = ? and externalReferenceCode = ?.
|
static int |
countByC_LikeType(long companyId,
java.lang.String type)
Returns the number of cor entries where companyId = ? and type LIKE ?.
|
static int |
countByLtD_S(java.util.Date displayDate,
int status)
Returns the number of cor entries where displayDate < ? and status = ?.
|
static int |
countByLtE_S(java.util.Date expirationDate,
int status)
Returns the number of cor entries where expirationDate < ? and status = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static COREntry |
create(long COREntryId)
Creates a new cor entry with the primary key.
|
static COREntry |
fetchByC_A_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the first cor entry in the ordered set where companyId = ? and active = ?.
|
static COREntry |
fetchByC_A_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the last cor entry in the ordered set where companyId = ? and active = ?.
|
static COREntry |
fetchByC_A_LikeType_First(long companyId,
boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the first cor entry in the ordered set where companyId = ? and active = ? and type LIKE ?.
|
static COREntry |
fetchByC_A_LikeType_Last(long companyId,
boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the last cor entry in the ordered set where companyId = ? and active = ? and type LIKE ?.
|
static COREntry |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the cor entry where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
static COREntry |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode,
boolean useFinderCache)
Returns the cor entry where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
static COREntry |
fetchByC_LikeType_First(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the first cor entry in the ordered set where companyId = ? and type LIKE ?.
|
static COREntry |
fetchByC_LikeType_Last(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the last cor entry in the ordered set where companyId = ? and type LIKE ?.
|
static COREntry |
fetchByLtD_S_First(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the first cor entry in the ordered set where displayDate < ? and status = ?.
|
static COREntry |
fetchByLtD_S_Last(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the last cor entry in the ordered set where displayDate < ? and status = ?.
|
static COREntry |
fetchByLtE_S_First(java.util.Date expirationDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the first cor entry in the ordered set where expirationDate < ? and status = ?.
|
static COREntry |
fetchByLtE_S_Last(java.util.Date expirationDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the last cor entry in the ordered set where expirationDate < ? and status = ?.
|
static COREntry |
fetchByPrimaryKey(long COREntryId)
Returns the cor entry with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,COREntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static int |
filterCountByC_A_LikeType(long companyId,
boolean active,
java.lang.String type)
Returns the number of cor entries that the user has permission to view where companyId = ? and active = ? and type LIKE ?.
|
static int |
filterCountByC_A(long companyId,
boolean active)
Returns the number of cor entries that the user has permission to view where companyId = ? and active = ?.
|
static int |
filterCountByC_LikeType(long companyId,
java.lang.String type)
Returns the number of cor entries that the user has permission to view where companyId = ? and type LIKE ?.
|
static int |
filterCountByLtD_S(java.util.Date displayDate,
int status)
Returns the number of cor entries that the user has permission to view where displayDate < ? and status = ?.
|
static int |
filterCountByLtE_S(java.util.Date expirationDate,
int status)
Returns the number of cor entries that the user has permission to view where expirationDate < ? and status = ?.
|
static COREntry[] |
filterFindByC_A_LikeType_PrevAndNext(long COREntryId,
long companyId,
boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the cor entries before and after the current cor entry in the ordered set of cor entries that the user has permission to view where companyId = ? and active = ? and type LIKE ?.
|
static java.util.List<COREntry> |
filterFindByC_A_LikeType(long companyId,
boolean active,
java.lang.String type)
Returns all the cor entries that the user has permission to view where companyId = ? and active = ? and type LIKE ?.
|
static java.util.List<COREntry> |
filterFindByC_A_LikeType(long companyId,
boolean active,
java.lang.String type,
int start,
int end)
Returns a range of all the cor entries that the user has permission to view where companyId = ? and active = ? and type LIKE ?.
|
static java.util.List<COREntry> |
filterFindByC_A_LikeType(long companyId,
boolean active,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns an ordered range of all the cor entries that the user has permissions to view where companyId = ? and active = ? and type LIKE ?.
|
static COREntry[] |
filterFindByC_A_PrevAndNext(long COREntryId,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the cor entries before and after the current cor entry in the ordered set of cor entries that the user has permission to view where companyId = ? and active = ?.
|
static java.util.List<COREntry> |
filterFindByC_A(long companyId,
boolean active)
Returns all the cor entries that the user has permission to view where companyId = ? and active = ?.
|
static java.util.List<COREntry> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the cor entries that the user has permission to view where companyId = ? and active = ?.
|
static java.util.List<COREntry> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns an ordered range of all the cor entries that the user has permissions to view where companyId = ? and active = ?.
|
static COREntry[] |
filterFindByC_LikeType_PrevAndNext(long COREntryId,
long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the cor entries before and after the current cor entry in the ordered set of cor entries that the user has permission to view where companyId = ? and type LIKE ?.
|
static java.util.List<COREntry> |
filterFindByC_LikeType(long companyId,
java.lang.String type)
Returns all the cor entries that the user has permission to view where companyId = ? and type LIKE ?.
|
static java.util.List<COREntry> |
filterFindByC_LikeType(long companyId,
java.lang.String type,
int start,
int end)
Returns a range of all the cor entries that the user has permission to view where companyId = ? and type LIKE ?.
|
static java.util.List<COREntry> |
filterFindByC_LikeType(long companyId,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns an ordered range of all the cor entries that the user has permissions to view where companyId = ? and type LIKE ?.
|
static COREntry[] |
filterFindByLtD_S_PrevAndNext(long COREntryId,
java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the cor entries before and after the current cor entry in the ordered set of cor entries that the user has permission to view where displayDate < ? and status = ?.
|
static java.util.List<COREntry> |
filterFindByLtD_S(java.util.Date displayDate,
int status)
Returns all the cor entries that the user has permission to view where displayDate < ? and status = ?.
|
static java.util.List<COREntry> |
filterFindByLtD_S(java.util.Date displayDate,
int status,
int start,
int end)
Returns a range of all the cor entries that the user has permission to view where displayDate < ? and status = ?.
|
static java.util.List<COREntry> |
filterFindByLtD_S(java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns an ordered range of all the cor entries that the user has permissions to view where displayDate < ? and status = ?.
|
static COREntry[] |
filterFindByLtE_S_PrevAndNext(long COREntryId,
java.util.Date expirationDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the cor entries before and after the current cor entry in the ordered set of cor entries that the user has permission to view where expirationDate < ? and status = ?.
|
static java.util.List<COREntry> |
filterFindByLtE_S(java.util.Date expirationDate,
int status)
Returns all the cor entries that the user has permission to view where expirationDate < ? and status = ?.
|
static java.util.List<COREntry> |
filterFindByLtE_S(java.util.Date expirationDate,
int status,
int start,
int end)
Returns a range of all the cor entries that the user has permission to view where expirationDate < ? and status = ?.
|
static java.util.List<COREntry> |
filterFindByLtE_S(java.util.Date expirationDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns an ordered range of all the cor entries that the user has permissions to view where expirationDate < ? and status = ?.
|
static java.util.List<COREntry> |
findAll()
Returns all the cor entries.
|
static java.util.List<COREntry> |
findAll(int start,
int end)
Returns a range of all the cor entries.
|
static java.util.List<COREntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns an ordered range of all the cor entries.
|
static java.util.List<COREntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cor entries.
|
static COREntry |
findByC_A_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the first cor entry in the ordered set where companyId = ? and active = ?.
|
static COREntry |
findByC_A_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the last cor entry in the ordered set where companyId = ? and active = ?.
|
static COREntry |
findByC_A_LikeType_First(long companyId,
boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the first cor entry in the ordered set where companyId = ? and active = ? and type LIKE ?.
|
static COREntry |
findByC_A_LikeType_Last(long companyId,
boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the last cor entry in the ordered set where companyId = ? and active = ? and type LIKE ?.
|
static COREntry[] |
findByC_A_LikeType_PrevAndNext(long COREntryId,
long companyId,
boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the cor entries before and after the current cor entry in the ordered set where companyId = ? and active = ? and type LIKE ?.
|
static java.util.List<COREntry> |
findByC_A_LikeType(long companyId,
boolean active,
java.lang.String type)
Returns all the cor entries where companyId = ? and active = ? and type LIKE ?.
|
static java.util.List<COREntry> |
findByC_A_LikeType(long companyId,
boolean active,
java.lang.String type,
int start,
int end)
Returns a range of all the cor entries where companyId = ? and active = ? and type LIKE ?.
|
static java.util.List<COREntry> |
findByC_A_LikeType(long companyId,
boolean active,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns an ordered range of all the cor entries where companyId = ? and active = ? and type LIKE ?.
|
static java.util.List<COREntry> |
findByC_A_LikeType(long companyId,
boolean active,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cor entries where companyId = ? and active = ? and type LIKE ?.
|
static COREntry[] |
findByC_A_PrevAndNext(long COREntryId,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the cor entries before and after the current cor entry in the ordered set where companyId = ? and active = ?.
|
static java.util.List<COREntry> |
findByC_A(long companyId,
boolean active)
Returns all the cor entries where companyId = ? and active = ?.
|
static java.util.List<COREntry> |
findByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the cor entries where companyId = ? and active = ?.
|
static java.util.List<COREntry> |
findByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns an ordered range of all the cor entries where companyId = ? and active = ?.
|
static java.util.List<COREntry> |
findByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cor entries where companyId = ? and active = ?.
|
static COREntry |
findByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the cor entry where companyId = ? and externalReferenceCode = ? or throws a
NoSuchCOREntryException if it could not be found. |
static COREntry |
findByC_LikeType_First(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the first cor entry in the ordered set where companyId = ? and type LIKE ?.
|
static COREntry |
findByC_LikeType_Last(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the last cor entry in the ordered set where companyId = ? and type LIKE ?.
|
static COREntry[] |
findByC_LikeType_PrevAndNext(long COREntryId,
long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the cor entries before and after the current cor entry in the ordered set where companyId = ? and type LIKE ?.
|
static java.util.List<COREntry> |
findByC_LikeType(long companyId,
java.lang.String type)
Returns all the cor entries where companyId = ? and type LIKE ?.
|
static java.util.List<COREntry> |
findByC_LikeType(long companyId,
java.lang.String type,
int start,
int end)
Returns a range of all the cor entries where companyId = ? and type LIKE ?.
|
static java.util.List<COREntry> |
findByC_LikeType(long companyId,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns an ordered range of all the cor entries where companyId = ? and type LIKE ?.
|
static java.util.List<COREntry> |
findByC_LikeType(long companyId,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cor entries where companyId = ? and type LIKE ?.
|
static COREntry |
findByLtD_S_First(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the first cor entry in the ordered set where displayDate < ? and status = ?.
|
static COREntry |
findByLtD_S_Last(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the last cor entry in the ordered set where displayDate < ? and status = ?.
|
static COREntry[] |
findByLtD_S_PrevAndNext(long COREntryId,
java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the cor entries before and after the current cor entry in the ordered set where displayDate < ? and status = ?.
|
static java.util.List<COREntry> |
findByLtD_S(java.util.Date displayDate,
int status)
Returns all the cor entries where displayDate < ? and status = ?.
|
static java.util.List<COREntry> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end)
Returns a range of all the cor entries where displayDate < ? and status = ?.
|
static java.util.List<COREntry> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns an ordered range of all the cor entries where displayDate < ? and status = ?.
|
static java.util.List<COREntry> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cor entries where displayDate < ? and status = ?.
|
static COREntry |
findByLtE_S_First(java.util.Date expirationDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the first cor entry in the ordered set where expirationDate < ? and status = ?.
|
static COREntry |
findByLtE_S_Last(java.util.Date expirationDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the last cor entry in the ordered set where expirationDate < ? and status = ?.
|
static COREntry[] |
findByLtE_S_PrevAndNext(long COREntryId,
java.util.Date expirationDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the cor entries before and after the current cor entry in the ordered set where expirationDate < ? and status = ?.
|
static java.util.List<COREntry> |
findByLtE_S(java.util.Date expirationDate,
int status)
Returns all the cor entries where expirationDate < ? and status = ?.
|
static java.util.List<COREntry> |
findByLtE_S(java.util.Date expirationDate,
int status,
int start,
int end)
Returns a range of all the cor entries where expirationDate < ? and status = ?.
|
static java.util.List<COREntry> |
findByLtE_S(java.util.Date expirationDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns an ordered range of all the cor entries where expirationDate < ? and status = ?.
|
static java.util.List<COREntry> |
findByLtE_S(java.util.Date expirationDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cor entries where expirationDate < ? and status = ?.
|
static COREntry |
findByPrimaryKey(long COREntryId)
Returns the cor entry with the primary key or throws a
NoSuchCOREntryException if it could not be found. |
static java.util.List<COREntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<COREntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<COREntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) |
static COREntryPersistence |
getPersistence() |
static COREntry |
remove(long COREntryId)
Removes the cor entry with the primary key from the database.
|
static void |
removeAll()
Removes all the cor entries from the database.
|
static void |
removeByC_A_LikeType(long companyId,
boolean active,
java.lang.String type)
Removes all the cor entries where companyId = ? and active = ? and type LIKE ? from the database.
|
static void |
removeByC_A(long companyId,
boolean active)
Removes all the cor entries where companyId = ? and active = ? from the database.
|
static COREntry |
removeByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Removes the cor entry where companyId = ? and externalReferenceCode = ? from the database.
|
static void |
removeByC_LikeType(long companyId,
java.lang.String type)
Removes all the cor entries where companyId = ? and type LIKE ? from the database.
|
static void |
removeByLtD_S(java.util.Date displayDate,
int status)
Removes all the cor entries where displayDate < ? and status = ? from the database.
|
static void |
removeByLtE_S(java.util.Date expirationDate,
int status)
Removes all the cor entries where expirationDate < ? and status = ? from the database.
|
static COREntry |
update(COREntry corEntry) |
static COREntry |
update(COREntry corEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static COREntry |
updateImpl(COREntry corEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(COREntry corEntry)
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,COREntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<COREntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<COREntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<COREntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static COREntry update(COREntry corEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static COREntry update(COREntry corEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<COREntry> findByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static java.util.List<COREntry> findByC_A(long companyId, boolean active, 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 COREntryModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)public static java.util.List<COREntry> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> 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 COREntryModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<COREntry> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> 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 COREntryModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static COREntry findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a matching cor entry could not be foundpublic static COREntry fetchByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cor entry could not be foundpublic static COREntry findByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a matching cor entry could not be foundpublic static COREntry fetchByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cor entry could not be foundpublic static COREntry[] findByC_A_PrevAndNext(long COREntryId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
COREntryId
- the primary key of the current cor entrycompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a cor entry with the primary key could not be foundpublic static java.util.List<COREntry> filterFindByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static java.util.List<COREntry> filterFindByC_A(long companyId, boolean active, 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 COREntryModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)public static java.util.List<COREntry> filterFindByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> 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 COREntryModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static COREntry[] filterFindByC_A_PrevAndNext(long COREntryId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
COREntryId
- the primary key of the current cor entrycompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a cor entry with the primary key could not be foundpublic static void removeByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static int countByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static int filterCountByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static java.util.List<COREntry> findByC_LikeType(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typepublic static java.util.List<COREntry> findByC_LikeType(long companyId, java.lang.String type, 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 COREntryModelImpl
.
companyId
- the company IDtype
- the typestart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)public static java.util.List<COREntry> findByC_LikeType(long companyId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> 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 COREntryModelImpl
.
companyId
- the company IDtype
- the typestart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<COREntry> findByC_LikeType(long companyId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> 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 COREntryModelImpl
.
companyId
- the company IDtype
- the typestart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static COREntry findByC_LikeType_First(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a matching cor entry could not be foundpublic static COREntry fetchByC_LikeType_First(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cor entry could not be foundpublic static COREntry findByC_LikeType_Last(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a matching cor entry could not be foundpublic static COREntry fetchByC_LikeType_Last(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cor entry could not be foundpublic static COREntry[] findByC_LikeType_PrevAndNext(long COREntryId, long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
COREntryId
- the primary key of the current cor entrycompanyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a cor entry with the primary key could not be foundpublic static java.util.List<COREntry> filterFindByC_LikeType(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typepublic static java.util.List<COREntry> filterFindByC_LikeType(long companyId, java.lang.String type, 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 COREntryModelImpl
.
companyId
- the company IDtype
- the typestart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)public static java.util.List<COREntry> filterFindByC_LikeType(long companyId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> 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 COREntryModelImpl
.
companyId
- the company IDtype
- the typestart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static COREntry[] filterFindByC_LikeType_PrevAndNext(long COREntryId, long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
COREntryId
- the primary key of the current cor entrycompanyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a cor entry with the primary key could not be foundpublic static void removeByC_LikeType(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typepublic static int countByC_LikeType(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typepublic static int filterCountByC_LikeType(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typepublic static java.util.List<COREntry> findByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statuspublic static java.util.List<COREntry> findByLtD_S(java.util.Date displayDate, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from COREntryModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)public static java.util.List<COREntry> findByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> 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 COREntryModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<COREntry> findByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> 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 COREntryModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static COREntry findByLtD_S_First(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a matching cor entry could not be foundpublic static COREntry fetchByLtD_S_First(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cor entry could not be foundpublic static COREntry findByLtD_S_Last(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a matching cor entry could not be foundpublic static COREntry fetchByLtD_S_Last(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cor entry could not be foundpublic static COREntry[] findByLtD_S_PrevAndNext(long COREntryId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
COREntryId
- the primary key of the current cor entrydisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a cor entry with the primary key could not be foundpublic static java.util.List<COREntry> filterFindByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statuspublic static java.util.List<COREntry> filterFindByLtD_S(java.util.Date displayDate, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from COREntryModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)public static java.util.List<COREntry> filterFindByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> 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 COREntryModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static COREntry[] filterFindByLtD_S_PrevAndNext(long COREntryId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
COREntryId
- the primary key of the current cor entrydisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a cor entry with the primary key could not be foundpublic static void removeByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statuspublic static int countByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statuspublic static int filterCountByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statuspublic static java.util.List<COREntry> findByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statuspublic static java.util.List<COREntry> findByLtE_S(java.util.Date expirationDate, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from COREntryModelImpl
.
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)public static java.util.List<COREntry> findByLtE_S(java.util.Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> 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 COREntryModelImpl
.
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<COREntry> findByLtE_S(java.util.Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> 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 COREntryModelImpl
.
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static COREntry findByLtE_S_First(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a matching cor entry could not be foundpublic static COREntry fetchByLtE_S_First(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cor entry could not be foundpublic static COREntry findByLtE_S_Last(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a matching cor entry could not be foundpublic static COREntry fetchByLtE_S_Last(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cor entry could not be foundpublic static COREntry[] findByLtE_S_PrevAndNext(long COREntryId, java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
COREntryId
- the primary key of the current cor entryexpirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a cor entry with the primary key could not be foundpublic static java.util.List<COREntry> filterFindByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statuspublic static java.util.List<COREntry> filterFindByLtE_S(java.util.Date expirationDate, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from COREntryModelImpl
.
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)public static java.util.List<COREntry> filterFindByLtE_S(java.util.Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> 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 COREntryModelImpl
.
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static COREntry[] filterFindByLtE_S_PrevAndNext(long COREntryId, java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
COREntryId
- the primary key of the current cor entryexpirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a cor entry with the primary key could not be foundpublic static void removeByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statuspublic static int countByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statuspublic static int filterCountByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statuspublic static java.util.List<COREntry> findByC_A_LikeType(long companyId, boolean active, java.lang.String type)
companyId
- the company IDactive
- the activetype
- the typepublic static java.util.List<COREntry> findByC_A_LikeType(long companyId, boolean active, java.lang.String type, 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 COREntryModelImpl
.
companyId
- the company IDactive
- the activetype
- the typestart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)public static java.util.List<COREntry> findByC_A_LikeType(long companyId, boolean active, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> 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 COREntryModelImpl
.
companyId
- the company IDactive
- the activetype
- the typestart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<COREntry> findByC_A_LikeType(long companyId, boolean active, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> 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 COREntryModelImpl
.
companyId
- the company IDactive
- the activetype
- the typestart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static COREntry findByC_A_LikeType_First(long companyId, boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
companyId
- the company IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a matching cor entry could not be foundpublic static COREntry fetchByC_A_LikeType_First(long companyId, boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
companyId
- the company IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cor entry could not be foundpublic static COREntry findByC_A_LikeType_Last(long companyId, boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
companyId
- the company IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a matching cor entry could not be foundpublic static COREntry fetchByC_A_LikeType_Last(long companyId, boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
companyId
- the company IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cor entry could not be foundpublic static COREntry[] findByC_A_LikeType_PrevAndNext(long COREntryId, long companyId, boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
COREntryId
- the primary key of the current cor entrycompanyId
- the company IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a cor entry with the primary key could not be foundpublic static java.util.List<COREntry> filterFindByC_A_LikeType(long companyId, boolean active, java.lang.String type)
companyId
- the company IDactive
- the activetype
- the typepublic static java.util.List<COREntry> filterFindByC_A_LikeType(long companyId, boolean active, java.lang.String type, 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 COREntryModelImpl
.
companyId
- the company IDactive
- the activetype
- the typestart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)public static java.util.List<COREntry> filterFindByC_A_LikeType(long companyId, boolean active, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> 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 COREntryModelImpl
.
companyId
- the company IDactive
- the activetype
- the typestart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static COREntry[] filterFindByC_A_LikeType_PrevAndNext(long COREntryId, long companyId, boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
COREntryId
- the primary key of the current cor entrycompanyId
- the company IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a cor entry with the primary key could not be foundpublic static void removeByC_A_LikeType(long companyId, boolean active, java.lang.String type)
companyId
- the company IDactive
- the activetype
- the typepublic static int countByC_A_LikeType(long companyId, boolean active, java.lang.String type)
companyId
- the company IDactive
- the activetype
- the typepublic static int filterCountByC_A_LikeType(long companyId, boolean active, java.lang.String type)
companyId
- the company IDactive
- the activetype
- the typepublic static COREntry findByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchCOREntryException
NoSuchCOREntryException
if it could not be found.companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchCOREntryException
- if a matching cor entry could not be foundpublic static COREntry fetchByC_ERC(long companyId, java.lang.String externalReferenceCode)
null
if it could not be found. Uses the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codenull
if a matching cor entry could not be foundpublic static COREntry fetchByC_ERC(long companyId, java.lang.String externalReferenceCode, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codeuseFinderCache
- whether to use the finder cachenull
if a matching cor entry could not be foundpublic static COREntry removeByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchCOREntryException
companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchCOREntryException
public static int countByC_ERC(long companyId, java.lang.String externalReferenceCode)
companyId
- the company IDexternalReferenceCode
- the external reference codepublic static void cacheResult(COREntry corEntry)
corEntry
- the cor entrypublic static void cacheResult(java.util.List<COREntry> corEntries)
corEntries
- the cor entriespublic static COREntry create(long COREntryId)
COREntryId
- the primary key for the new cor entrypublic static COREntry remove(long COREntryId) throws NoSuchCOREntryException
COREntryId
- the primary key of the cor entryNoSuchCOREntryException
- if a cor entry with the primary key could not be foundpublic static COREntry findByPrimaryKey(long COREntryId) throws NoSuchCOREntryException
NoSuchCOREntryException
if it could not be found.COREntryId
- the primary key of the cor entryNoSuchCOREntryException
- if a cor entry with the primary key could not be foundpublic static COREntry fetchByPrimaryKey(long COREntryId)
null
if it could not be found.COREntryId
- the primary key of the cor entrynull
if a cor entry with the primary key could not be foundpublic static java.util.List<COREntry> findAll()
public static java.util.List<COREntry> 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 COREntryModelImpl
.
start
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)public static java.util.List<COREntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> 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 COREntryModelImpl
.
start
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<COREntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> 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 COREntryModelImpl
.
start
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static COREntryPersistence getPersistence()