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_LikeType(long companyId,
java.lang.String type)
Returns the number of cor entries where companyId = ? and type LIKE ?.
|
static int |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of cor entries where externalReferenceCode = ? and companyId = ?.
|
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 int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cor entries where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of cor entries where uuid = ?.
|
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_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 |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the cor entry where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
static COREntry |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the cor entry where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 COREntry |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the first cor entry in the ordered set where uuid = ? and companyId = ?.
|
static COREntry |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the last cor entry in the ordered set where uuid = ? and companyId = ?.
|
static COREntry |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the first cor entry in the ordered set where uuid = ?.
|
static COREntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the last cor entry in the ordered set where uuid = ?.
|
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 int |
filterCountByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cor entries that the user has permission to view where uuid = ? and companyId = ?.
|
static int |
filterCountByUuid(java.lang.String uuid)
Returns the number of cor entries that the user has permission to view where uuid = ?.
|
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 COREntry[] |
filterFindByUuid_C_PrevAndNext(long COREntryId,
java.lang.String uuid,
long companyId,
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 uuid = ? and companyId = ?.
|
static java.util.List<COREntry> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cor entries that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<COREntry> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cor entries that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<COREntry> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
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 uuid = ? and companyId = ?.
|
static COREntry[] |
filterFindByUuid_PrevAndNext(long COREntryId,
java.lang.String uuid,
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 uuid = ?.
|
static java.util.List<COREntry> |
filterFindByUuid(java.lang.String uuid)
Returns all the cor entries that the user has permission to view where uuid = ?.
|
static java.util.List<COREntry> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cor entries that the user has permission to view where uuid = ?.
|
static java.util.List<COREntry> |
filterFindByUuid(java.lang.String uuid,
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 uuid = ?.
|
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_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 |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the cor entry where externalReferenceCode = ? and companyId = ? or throws a
NoSuchCOREntryException if it could not be found. |
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 COREntry |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the first cor entry in the ordered set where uuid = ? and companyId = ?.
|
static COREntry |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the last cor entry in the ordered set where uuid = ? and companyId = ?.
|
static COREntry[] |
findByUuid_C_PrevAndNext(long COREntryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the cor entries before and after the current cor entry in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<COREntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cor entries where uuid = ? and companyId = ?.
|
static java.util.List<COREntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cor entries where uuid = ? and companyId = ?.
|
static java.util.List<COREntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns an ordered range of all the cor entries where uuid = ? and companyId = ?.
|
static java.util.List<COREntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cor entries where uuid = ? and companyId = ?.
|
static COREntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the first cor entry in the ordered set where uuid = ?.
|
static COREntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the last cor entry in the ordered set where uuid = ?.
|
static COREntry[] |
findByUuid_PrevAndNext(long COREntryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns the cor entries before and after the current cor entry in the ordered set where uuid = ?.
|
static java.util.List<COREntry> |
findByUuid(java.lang.String uuid)
Returns all the cor entries where uuid = ?.
|
static java.util.List<COREntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cor entries where uuid = ?.
|
static java.util.List<COREntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
Returns an ordered range of all the cor entries where uuid = ?.
|
static java.util.List<COREntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cor entries where uuid = ?.
|
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 void |
removeByC_LikeType(long companyId,
java.lang.String type)
Removes all the cor entries where companyId = ? and type LIKE ? from the database.
|
static COREntry |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the cor entry where externalReferenceCode = ? and companyId = ? 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 void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the cor entries where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the cor entries where uuid = ? from the database.
|
static void |
setPersistence(COREntryPersistence persistence) |
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> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<COREntry> findByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- 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> findByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- 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> findByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- 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 findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a matching cor entry could not be foundpublic static COREntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cor entry could not be foundpublic static COREntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a matching cor entry could not be foundpublic static COREntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cor entry could not be foundpublic static COREntry[] findByUuid_PrevAndNext(long COREntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
COREntryId
- the primary key of the current cor entryuuid
- the uuidorderByComparator
- 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> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<COREntry> filterFindByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- 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> filterFindByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- 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[] filterFindByUuid_PrevAndNext(long COREntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
COREntryId
- the primary key of the current cor entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a cor entry with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int filterCountByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<COREntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<COREntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from COREntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- 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> findByUuid_C(java.lang.String uuid, long companyId, 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
.
uuid
- the uuidcompanyId
- the company IDstart
- 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> findByUuid_C(java.lang.String uuid, long companyId, 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
.
uuid
- the uuidcompanyId
- the company IDstart
- 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 findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a matching cor entry could not be foundpublic static COREntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cor entry could not be foundpublic static COREntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a matching cor entry could not be foundpublic static COREntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cor entry could not be foundpublic static COREntry[] findByUuid_C_PrevAndNext(long COREntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
COREntryId
- the primary key of the current cor entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- 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> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<COREntry> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from COREntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- 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> filterFindByUuid_C(java.lang.String uuid, long companyId, 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
.
uuid
- the uuidcompanyId
- the company IDstart
- 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[] filterFindByUuid_C_PrevAndNext(long COREntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException
COREntryId
- the primary key of the current cor entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryException
- if a cor entry with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic 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 findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchCOREntryException
NoSuchCOREntryException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchCOREntryException
- if a matching cor entry could not be foundpublic static COREntry fetchByERC_C(java.lang.String externalReferenceCode, long companyId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDnull
if a matching cor entry could not be foundpublic static COREntry fetchByERC_C(java.lang.String externalReferenceCode, long companyId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cachenull
if a matching cor entry could not be foundpublic static COREntry removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchCOREntryException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchCOREntryException
public static int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDpublic 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()
public static void setPersistence(COREntryPersistence persistence)