Class COREntryUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(COREntry corEntry) Caches the cor entry in the entity cache if it is enabled.static void
cacheResult
(List<COREntry> corEntries) Caches the cor entries in the entity cache if it is enabled.static void
static void
clearCache
(COREntry corEntry) static int
countAll()
Returns the number of cor entries.static int
countByC_A
(long companyId, boolean active) Returns the number of cor entries where companyId = ? and active = ?.static int
countByC_A_LikeType
(long companyId, boolean active, String type) Returns the number of cor entries where companyId = ? and active = ? and type LIKE ?.static int
countByC_LikeType
(long companyId, String type) Returns the number of cor entries where companyId = ? and type LIKE ?.static int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of cor entries where externalReferenceCode = ? and companyId = ?.static int
countByLtD_S
(Date displayDate, int status) Returns the number of cor entries where displayDate < ? and status = ?.static int
countByLtE_S
(Date expirationDate, int status) Returns the number of cor entries where expirationDate < ? and status = ?.static int
countByUuid
(String uuid) Returns the number of cor entries where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of cor entries where uuid = ? and companyId = ?.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, 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, 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, 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, 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
(String externalReferenceCode, long companyId) Returns the cor entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.static COREntry
fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cor entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.static COREntry
fetchByLtD_S_First
(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
(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
(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
(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 returnsnull
if it could not be found.static Map<Serializable,
COREntry> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static COREntry
fetchByUuid_C_First
(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
(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
(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
(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
(long companyId, boolean active) Returns the number of cor entries that the user has permission to view where companyId = ? and active = ?.static int
filterCountByC_A_LikeType
(long companyId, boolean active, 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_LikeType
(long companyId, String type) Returns the number of cor entries that the user has permission to view where companyId = ? and type LIKE ?.static int
filterCountByLtD_S
(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
(Date expirationDate, int status) Returns the number of cor entries that the user has permission to view where expirationDate < ? and status = ?.static int
filterCountByUuid
(String uuid) Returns the number of cor entries that the user has permission to view where uuid = ?.static int
filterCountByUuid_C
(String uuid, long companyId) Returns the number of cor entries that the user has permission to view where uuid = ? and companyId = ?.filterFindByC_A
(long companyId, boolean active) Returns all the cor entries that the user has permission to view where companyId = ? and active = ?.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 = ?.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 = ?.filterFindByC_A_LikeType
(long companyId, boolean active, String type) Returns all the cor entries that the user has permission to view where companyId = ? and active = ? and type LIKE ?.filterFindByC_A_LikeType
(long companyId, boolean active, 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 ?.filterFindByC_A_LikeType
(long companyId, boolean active, 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_LikeType_PrevAndNext
(long COREntryId, long companyId, boolean active, 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 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 = ?.filterFindByC_LikeType
(long companyId, String type) Returns all the cor entries that the user has permission to view where companyId = ? and type LIKE ?.filterFindByC_LikeType
(long companyId, 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 ?.filterFindByC_LikeType
(long companyId, 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[]
filterFindByC_LikeType_PrevAndNext
(long COREntryId, long companyId, 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 ?.filterFindByLtD_S
(Date displayDate, int status) Returns all the cor entries that the user has permission to view where displayDate < ? and status = ?.filterFindByLtD_S
(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 = ?.filterFindByLtD_S
(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[]
filterFindByLtD_S_PrevAndNext
(long COREntryId, 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 = ?.filterFindByLtE_S
(Date expirationDate, int status) Returns all the cor entries that the user has permission to view where expirationDate < ? and status = ?.filterFindByLtE_S
(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 = ?.filterFindByLtE_S
(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[]
filterFindByLtE_S_PrevAndNext
(long COREntryId, 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 = ?.filterFindByUuid
(String uuid) Returns all the cor entries that the user has permission to view where uuid = ?.filterFindByUuid
(String uuid, int start, int end) Returns a range of all the cor entries that the user has permission to view where uuid = ?.filterFindByUuid
(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 = ?.filterFindByUuid_C
(String uuid, long companyId) Returns all the cor entries that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_C
(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 = ?.filterFindByUuid_C
(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_C_PrevAndNext
(long COREntryId, 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 COREntry[]
filterFindByUuid_PrevAndNext
(long COREntryId, 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 = ?.findAll()
Returns all the cor entries.findAll
(int start, int end) Returns a range of all the cor entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) Returns an ordered range of all the cor entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cor entries.findByC_A
(long companyId, boolean active) Returns all the cor entries where companyId = ? and active = ?.findByC_A
(long companyId, boolean active, int start, int end) Returns a range of all the cor entries where companyId = ? and active = ?.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 = ?.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_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 = ?.findByC_A_LikeType
(long companyId, boolean active, String type) Returns all the cor entries where companyId = ? and active = ? and type LIKE ?.findByC_A_LikeType
(long companyId, boolean active, String type, int start, int end) Returns a range of all the cor entries where companyId = ? and active = ? and type LIKE ?.findByC_A_LikeType
(long companyId, boolean active, 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 ?.findByC_A_LikeType
(long companyId, boolean active, 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_LikeType_First
(long companyId, boolean active, 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, 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, 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 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 = ?.findByC_LikeType
(long companyId, String type) Returns all the cor entries where companyId = ? and type LIKE ?.findByC_LikeType
(long companyId, String type, int start, int end) Returns a range of all the cor entries where companyId = ? and type LIKE ?.findByC_LikeType
(long companyId, 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 ?.findByC_LikeType
(long companyId, 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
findByC_LikeType_First
(long companyId, 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, 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, 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 COREntry
findByERC_C
(String externalReferenceCode, long companyId) Returns the cor entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchCOREntryException
if it could not be found.findByLtD_S
(Date displayDate, int status) Returns all the cor entries where displayDate < ? and status = ?.findByLtD_S
(Date displayDate, int status, int start, int end) Returns a range of all the cor entries where displayDate < ? and status = ?.findByLtD_S
(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 = ?.findByLtD_S
(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
findByLtD_S_First
(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
(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, 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 = ?.findByLtE_S
(Date expirationDate, int status) Returns all the cor entries where expirationDate < ? and status = ?.findByLtE_S
(Date expirationDate, int status, int start, int end) Returns a range of all the cor entries where expirationDate < ? and status = ?.findByLtE_S
(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 = ?.findByLtE_S
(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
findByLtE_S_First
(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
(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, 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 COREntry
findByPrimaryKey
(long COREntryId) Returns the cor entry with the primary key or throws aNoSuchCOREntryException
if it could not be found.findByUuid
(String uuid) Returns all the cor entries where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the cor entries where uuid = ?.findByUuid
(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 = ?.findByUuid
(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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the cor entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the cor entries where uuid = ? and companyId = ?.findByUuid_C
(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 = ?.findByUuid_C
(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_C_First
(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
(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, 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 COREntry
findByUuid_First
(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
(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, 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 = ?.findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) static COREntryPersistence
static COREntry
remove
(long COREntryId) Removes the cor entry with the primary key from the database.static void
Removes all the cor entries 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_A_LikeType
(long companyId, boolean active, String type) Removes all the cor entries where companyId = ? and active = ? and type LIKE ? from the database.static void
removeByC_LikeType
(long companyId, String type) Removes all the cor entries where companyId = ? and type LIKE ? from the database.static COREntry
removeByERC_C
(String externalReferenceCode, long companyId) Removes the cor entry where externalReferenceCode = ? and companyId = ? from the database.static void
removeByLtD_S
(Date displayDate, int status) Removes all the cor entries where displayDate < ? and status = ? from the database.static void
removeByLtE_S
(Date expirationDate, int status) Removes all the cor entries where expirationDate < ? and status = ? from the database.static void
removeByUuid
(String uuid) Removes all the cor entries where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the cor entries where uuid = ? and companyId = ? from the database.static void
setPersistence
(COREntryPersistence persistence) static COREntry
static COREntry
static COREntry
updateImpl
(COREntry corEntry)
-
Constructor Details
-
COREntryUtil
public COREntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<COREntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<COREntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<COREntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static COREntry update(COREntry corEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the cor entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching cor entries
-
findByUuid
Returns a range of all the cor entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)- Returns:
- the range of matching cor entries
-
findByUuid
public static List<COREntry> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cor entries
-
findByUuid
public static List<COREntry> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cor entries
-
findByUuid_First
public static COREntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the first cor entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cor entry
- Throws:
NoSuchCOREntryException
- if a matching cor entry could not be foundNoSuchCOREntryException
-
fetchByUuid_First
public static COREntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) Returns the first cor entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cor entry, or
null
if a matching cor entry could not be found
-
findByUuid_Last
public static COREntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the last cor entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cor entry
- Throws:
NoSuchCOREntryException
- if a matching cor entry could not be foundNoSuchCOREntryException
-
fetchByUuid_Last
public static COREntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) Returns the last cor entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cor entry, or
null
if a matching cor entry could not be found
-
findByUuid_PrevAndNext
public static COREntry[] findByUuid_PrevAndNext(long COREntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the cor entries before and after the current cor entry in the ordered set where uuid = ?.- Parameters:
COREntryId
- the primary key of the current cor entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cor entry
- Throws:
NoSuchCOREntryException
- if a cor entry with the primary key could not be foundNoSuchCOREntryException
-
filterFindByUuid
Returns all the cor entries that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching cor entries that the user has permission to view
-
filterFindByUuid
Returns a range of all the cor entries that the user has permission to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)- Returns:
- the range of matching cor entries that the user has permission to view
-
filterFindByUuid
public static List<COREntry> filterFindByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cor entries that the user has permission to view
-
filterFindByUuid_PrevAndNext
public static COREntry[] filterFindByUuid_PrevAndNext(long COREntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException 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 = ?.- Parameters:
COREntryId
- the primary key of the current cor entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cor entry
- Throws:
NoSuchCOREntryException
- if a cor entry with the primary key could not be foundNoSuchCOREntryException
-
removeByUuid
Removes all the cor entries where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of cor entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching cor entries
-
filterCountByUuid
Returns the number of cor entries that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching cor entries that the user has permission to view
-
findByUuid_C
Returns all the cor entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching cor entries
-
findByUuid_C
Returns a range of all the cor entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching cor entries
-
findByUuid_C
public static List<COREntry> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cor entries
-
findByUuid_C
public static List<COREntry> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cor entries
-
findByUuid_C_First
public static COREntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the first cor entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cor entry
- Throws:
NoSuchCOREntryException
- if a matching cor entry could not be foundNoSuchCOREntryException
-
fetchByUuid_C_First
public static COREntry fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cor entry, or
null
if a matching cor entry could not be found
-
findByUuid_C_Last
public static COREntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the last cor entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cor entry
- Throws:
NoSuchCOREntryException
- if a matching cor entry could not be foundNoSuchCOREntryException
-
fetchByUuid_C_Last
public static COREntry fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cor entry, or
null
if a matching cor entry could not be found
-
findByUuid_C_PrevAndNext
public static COREntry[] findByUuid_C_PrevAndNext(long COREntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the cor entries before and after the current cor entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
COREntryId
- the primary key of the current cor entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cor entry
- Throws:
NoSuchCOREntryException
- if a cor entry with the primary key could not be foundNoSuchCOREntryException
-
filterFindByUuid_C
Returns all the cor entries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching cor entries that the user has permission to view
-
filterFindByUuid_C
Returns a range of all the cor entries that the user has permission to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching cor entries that the user has permission to view
-
filterFindByUuid_C
public static List<COREntry> filterFindByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cor entries that the user has permission to view
-
filterFindByUuid_C_PrevAndNext
public static COREntry[] filterFindByUuid_C_PrevAndNext(long COREntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException 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 = ?.- Parameters:
COREntryId
- the primary key of the current cor entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cor entry
- Throws:
NoSuchCOREntryException
- if a cor entry with the primary key could not be foundNoSuchCOREntryException
-
removeByUuid_C
Removes all the cor entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of cor entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching cor entries
-
filterCountByUuid_C
Returns the number of cor entries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching cor entries that the user has permission to view
-
findByC_A
Returns all the cor entries where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the active- Returns:
- the matching cor entries
-
findByC_A
Returns a range of all the cor entries where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching cor entries
-
findByC_A
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cor entries
-
findByC_A
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cor entries
-
findByC_A_First
public static COREntry findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the first cor entry in the ordered set where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cor entry
- Throws:
NoSuchCOREntryException
- if a matching cor entry could not be foundNoSuchCOREntryException
-
fetchByC_A_First
public 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 = ?.- Parameters:
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cor entry, or
null
if a matching cor entry could not be found
-
findByC_A_Last
public static COREntry findByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the last cor entry in the ordered set where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cor entry
- Throws:
NoSuchCOREntryException
- if a matching cor entry could not be foundNoSuchCOREntryException
-
fetchByC_A_Last
public 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 = ?.- Parameters:
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cor entry, or
null
if a matching cor entry could not be found
-
findByC_A_PrevAndNext
public static COREntry[] findByC_A_PrevAndNext(long COREntryId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the cor entries before and after the current cor entry in the ordered set where companyId = ? and active = ?.- Parameters:
COREntryId
- the primary key of the current cor entrycompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cor entry
- Throws:
NoSuchCOREntryException
- if a cor entry with the primary key could not be foundNoSuchCOREntryException
-
filterFindByC_A
Returns all the cor entries that the user has permission to view where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the active- Returns:
- the matching cor entries that the user has permission to view
-
filterFindByC_A
Returns a range of all the cor entries that the user has permission to view where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching cor entries that the user has permission to view
-
filterFindByC_A
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cor entries that the user has permission to view
-
filterFindByC_A_PrevAndNext
public static COREntry[] filterFindByC_A_PrevAndNext(long COREntryId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException 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 = ?.- Parameters:
COREntryId
- the primary key of the current cor entrycompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cor entry
- Throws:
NoSuchCOREntryException
- if a cor entry with the primary key could not be foundNoSuchCOREntryException
-
removeByC_A
public static void removeByC_A(long companyId, boolean active) Removes all the cor entries where companyId = ? and active = ? from the database.- Parameters:
companyId
- the company IDactive
- the active
-
countByC_A
public static int countByC_A(long companyId, boolean active) Returns the number of cor entries where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the active- Returns:
- the number of matching cor entries
-
filterCountByC_A
public 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 = ?.- Parameters:
companyId
- the company IDactive
- the active- Returns:
- the number of matching cor entries that the user has permission to view
-
findByC_LikeType
Returns all the cor entries where companyId = ? and type LIKE ?.- Parameters:
companyId
- the company IDtype
- the type- Returns:
- the matching cor entries
-
findByC_LikeType
Returns a range of all the cor entries where companyId = ? and type LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching cor entries
-
findByC_LikeType
public static List<COREntry> findByC_LikeType(long companyId, 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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cor entries
-
findByC_LikeType
public static List<COREntry> findByC_LikeType(long companyId, 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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cor entries
-
findByC_LikeType_First
public static COREntry findByC_LikeType_First(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the first cor entry in the ordered set where companyId = ? and type LIKE ?.- Parameters:
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cor entry
- Throws:
NoSuchCOREntryException
- if a matching cor entry could not be foundNoSuchCOREntryException
-
fetchByC_LikeType_First
public static COREntry fetchByC_LikeType_First(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) Returns the first cor entry in the ordered set where companyId = ? and type LIKE ?.- Parameters:
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cor entry, or
null
if a matching cor entry could not be found
-
findByC_LikeType_Last
public static COREntry findByC_LikeType_Last(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the last cor entry in the ordered set where companyId = ? and type LIKE ?.- Parameters:
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cor entry
- Throws:
NoSuchCOREntryException
- if a matching cor entry could not be foundNoSuchCOREntryException
-
fetchByC_LikeType_Last
public static COREntry fetchByC_LikeType_Last(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) Returns the last cor entry in the ordered set where companyId = ? and type LIKE ?.- Parameters:
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cor entry, or
null
if a matching cor entry could not be found
-
findByC_LikeType_PrevAndNext
public static COREntry[] findByC_LikeType_PrevAndNext(long COREntryId, long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the cor entries before and after the current cor entry in the ordered set where companyId = ? and type LIKE ?.- Parameters:
COREntryId
- the primary key of the current cor entrycompanyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cor entry
- Throws:
NoSuchCOREntryException
- if a cor entry with the primary key could not be foundNoSuchCOREntryException
-
filterFindByC_LikeType
Returns all the cor entries that the user has permission to view where companyId = ? and type LIKE ?.- Parameters:
companyId
- the company IDtype
- the type- Returns:
- the matching cor entries that the user has permission to view
-
filterFindByC_LikeType
public static List<COREntry> filterFindByC_LikeType(long companyId, 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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching cor entries that the user has permission to view
-
filterFindByC_LikeType
public static List<COREntry> filterFindByC_LikeType(long companyId, 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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cor entries that the user has permission to view
-
filterFindByC_LikeType_PrevAndNext
public static COREntry[] filterFindByC_LikeType_PrevAndNext(long COREntryId, long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException 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 ?.- Parameters:
COREntryId
- the primary key of the current cor entrycompanyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cor entry
- Throws:
NoSuchCOREntryException
- if a cor entry with the primary key could not be foundNoSuchCOREntryException
-
removeByC_LikeType
Removes all the cor entries where companyId = ? and type LIKE ? from the database.- Parameters:
companyId
- the company IDtype
- the type
-
countByC_LikeType
Returns the number of cor entries where companyId = ? and type LIKE ?.- Parameters:
companyId
- the company IDtype
- the type- Returns:
- the number of matching cor entries
-
filterCountByC_LikeType
Returns the number of cor entries that the user has permission to view where companyId = ? and type LIKE ?.- Parameters:
companyId
- the company IDtype
- the type- Returns:
- the number of matching cor entries that the user has permission to view
-
findByLtD_S
Returns all the cor entries where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the matching cor entries
-
findByLtD_S
Returns a range of all the cor entries where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching cor entries
-
findByLtD_S
public static List<COREntry> findByLtD_S(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cor entries
-
findByLtD_S
public static List<COREntry> findByLtD_S(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cor entries
-
findByLtD_S_First
public static COREntry findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the first cor entry in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cor entry
- Throws:
NoSuchCOREntryException
- if a matching cor entry could not be foundNoSuchCOREntryException
-
fetchByLtD_S_First
public static COREntry fetchByLtD_S_First(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 = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cor entry, or
null
if a matching cor entry could not be found
-
findByLtD_S_Last
public static COREntry findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the last cor entry in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cor entry
- Throws:
NoSuchCOREntryException
- if a matching cor entry could not be foundNoSuchCOREntryException
-
fetchByLtD_S_Last
public static COREntry fetchByLtD_S_Last(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 = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cor entry, or
null
if a matching cor entry could not be found
-
findByLtD_S_PrevAndNext
public static COREntry[] findByLtD_S_PrevAndNext(long COREntryId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the cor entries before and after the current cor entry in the ordered set where displayDate < ? and status = ?.- Parameters:
COREntryId
- the primary key of the current cor entrydisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cor entry
- Throws:
NoSuchCOREntryException
- if a cor entry with the primary key could not be foundNoSuchCOREntryException
-
filterFindByLtD_S
Returns all the cor entries that the user has permission to view where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the matching cor entries that the user has permission to view
-
filterFindByLtD_S
Returns a range of all the cor entries that the user has permission to view where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching cor entries that the user has permission to view
-
filterFindByLtD_S
public static List<COREntry> filterFindByLtD_S(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cor entries that the user has permission to view
-
filterFindByLtD_S_PrevAndNext
public static COREntry[] filterFindByLtD_S_PrevAndNext(long COREntryId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException 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 = ?.- Parameters:
COREntryId
- the primary key of the current cor entrydisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cor entry
- Throws:
NoSuchCOREntryException
- if a cor entry with the primary key could not be foundNoSuchCOREntryException
-
removeByLtD_S
Removes all the cor entries where displayDate < ? and status = ? from the database.- Parameters:
displayDate
- the display datestatus
- the status
-
countByLtD_S
Returns the number of cor entries where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the number of matching cor entries
-
filterCountByLtD_S
Returns the number of cor entries that the user has permission to view where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the number of matching cor entries that the user has permission to view
-
findByLtE_S
Returns all the cor entries where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the status- Returns:
- the matching cor entries
-
findByLtE_S
Returns a range of all the cor entries where expirationDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching cor entries
-
findByLtE_S
public static List<COREntry> findByLtE_S(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cor entries
-
findByLtE_S
public static List<COREntry> findByLtE_S(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cor entries
-
findByLtE_S_First
public static COREntry findByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the first cor entry in the ordered set where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cor entry
- Throws:
NoSuchCOREntryException
- if a matching cor entry could not be foundNoSuchCOREntryException
-
fetchByLtE_S_First
public static COREntry fetchByLtE_S_First(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 = ?.- Parameters:
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cor entry, or
null
if a matching cor entry could not be found
-
findByLtE_S_Last
public static COREntry findByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the last cor entry in the ordered set where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cor entry
- Throws:
NoSuchCOREntryException
- if a matching cor entry could not be foundNoSuchCOREntryException
-
fetchByLtE_S_Last
public static COREntry fetchByLtE_S_Last(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 = ?.- Parameters:
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cor entry, or
null
if a matching cor entry could not be found
-
findByLtE_S_PrevAndNext
public static COREntry[] findByLtE_S_PrevAndNext(long COREntryId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the cor entries before and after the current cor entry in the ordered set where expirationDate < ? and status = ?.- Parameters:
COREntryId
- the primary key of the current cor entryexpirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cor entry
- Throws:
NoSuchCOREntryException
- if a cor entry with the primary key could not be foundNoSuchCOREntryException
-
filterFindByLtE_S
Returns all the cor entries that the user has permission to view where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the status- Returns:
- the matching cor entries that the user has permission to view
-
filterFindByLtE_S
Returns a range of all the cor entries that the user has permission to view where expirationDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching cor entries that the user has permission to view
-
filterFindByLtE_S
public static List<COREntry> filterFindByLtE_S(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cor entries that the user has permission to view
-
filterFindByLtE_S_PrevAndNext
public static COREntry[] filterFindByLtE_S_PrevAndNext(long COREntryId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException 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 = ?.- Parameters:
COREntryId
- the primary key of the current cor entryexpirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cor entry
- Throws:
NoSuchCOREntryException
- if a cor entry with the primary key could not be foundNoSuchCOREntryException
-
removeByLtE_S
Removes all the cor entries where expirationDate < ? and status = ? from the database.- Parameters:
expirationDate
- the expiration datestatus
- the status
-
countByLtE_S
Returns the number of cor entries where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the status- Returns:
- the number of matching cor entries
-
filterCountByLtE_S
Returns the number of cor entries that the user has permission to view where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the status- Returns:
- the number of matching cor entries that the user has permission to view
-
findByC_A_LikeType
Returns all the cor entries where companyId = ? and active = ? and type LIKE ?.- Parameters:
companyId
- the company IDactive
- the activetype
- the type- Returns:
- the matching cor entries
-
findByC_A_LikeType
public static List<COREntry> findByC_A_LikeType(long companyId, boolean active, String type, int start, int end) Returns a range of all the cor entries where companyId = ? and active = ? and type LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching cor entries
-
findByC_A_LikeType
public static List<COREntry> findByC_A_LikeType(long companyId, boolean active, 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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cor entries
-
findByC_A_LikeType
public static List<COREntry> findByC_A_LikeType(long companyId, boolean active, 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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cor entries
-
findByC_A_LikeType_First
public static COREntry findByC_A_LikeType_First(long companyId, boolean active, String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the first cor entry in the ordered set where companyId = ? and active = ? and type LIKE ?.- Parameters:
companyId
- the company IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cor entry
- Throws:
NoSuchCOREntryException
- if a matching cor entry could not be foundNoSuchCOREntryException
-
fetchByC_A_LikeType_First
public static COREntry fetchByC_A_LikeType_First(long companyId, boolean active, 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 ?.- Parameters:
companyId
- the company IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cor entry, or
null
if a matching cor entry could not be found
-
findByC_A_LikeType_Last
public static COREntry findByC_A_LikeType_Last(long companyId, boolean active, String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the last cor entry in the ordered set where companyId = ? and active = ? and type LIKE ?.- Parameters:
companyId
- the company IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cor entry
- Throws:
NoSuchCOREntryException
- if a matching cor entry could not be foundNoSuchCOREntryException
-
fetchByC_A_LikeType_Last
public static COREntry fetchByC_A_LikeType_Last(long companyId, boolean active, 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 ?.- Parameters:
companyId
- the company IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cor entry, or
null
if a matching cor entry could not be found
-
findByC_A_LikeType_PrevAndNext
public static COREntry[] findByC_A_LikeType_PrevAndNext(long COREntryId, long companyId, boolean active, String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException Returns the cor entries before and after the current cor entry in the ordered set where companyId = ? and active = ? and type LIKE ?.- Parameters:
COREntryId
- the primary key of the current cor entrycompanyId
- the company IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cor entry
- Throws:
NoSuchCOREntryException
- if a cor entry with the primary key could not be foundNoSuchCOREntryException
-
filterFindByC_A_LikeType
Returns all the cor entries that the user has permission to view where companyId = ? and active = ? and type LIKE ?.- Parameters:
companyId
- the company IDactive
- the activetype
- the type- Returns:
- the matching cor entries that the user has permission to view
-
filterFindByC_A_LikeType
public static List<COREntry> filterFindByC_A_LikeType(long companyId, boolean active, 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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching cor entries that the user has permission to view
-
filterFindByC_A_LikeType
public static List<COREntry> filterFindByC_A_LikeType(long companyId, boolean active, 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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cor entries that the user has permission to view
-
filterFindByC_A_LikeType_PrevAndNext
public static COREntry[] filterFindByC_A_LikeType_PrevAndNext(long COREntryId, long companyId, boolean active, String type, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) throws NoSuchCOREntryException 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 ?.- Parameters:
COREntryId
- the primary key of the current cor entrycompanyId
- the company IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cor entry
- Throws:
NoSuchCOREntryException
- if a cor entry with the primary key could not be foundNoSuchCOREntryException
-
removeByC_A_LikeType
Removes all the cor entries where companyId = ? and active = ? and type LIKE ? from the database.- Parameters:
companyId
- the company IDactive
- the activetype
- the type
-
countByC_A_LikeType
Returns the number of cor entries where companyId = ? and active = ? and type LIKE ?.- Parameters:
companyId
- the company IDactive
- the activetype
- the type- Returns:
- the number of matching cor entries
-
filterCountByC_A_LikeType
Returns the number of cor entries that the user has permission to view where companyId = ? and active = ? and type LIKE ?.- Parameters:
companyId
- the company IDactive
- the activetype
- the type- Returns:
- the number of matching cor entries that the user has permission to view
-
findByERC_C
public static COREntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchCOREntryException Returns the cor entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchCOREntryException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching cor entry
- Throws:
NoSuchCOREntryException
- if a matching cor entry could not be foundNoSuchCOREntryException
-
fetchByERC_C
Returns the cor entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching cor entry, or
null
if a matching cor entry could not be found
-
fetchByERC_C
public static COREntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cor entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cor entry, or
null
if a matching cor entry could not be found
-
removeByERC_C
public static COREntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchCOREntryException Removes the cor entry where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the cor entry that was removed
- Throws:
NoSuchCOREntryException
-
countByERC_C
Returns the number of cor entries where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching cor entries
-
cacheResult
Caches the cor entry in the entity cache if it is enabled.- Parameters:
corEntry
- the cor entry
-
cacheResult
Caches the cor entries in the entity cache if it is enabled.- Parameters:
corEntries
- the cor entries
-
create
Creates a new cor entry with the primary key. Does not add the cor entry to the database.- Parameters:
COREntryId
- the primary key for the new cor entry- Returns:
- the new cor entry
-
remove
Removes the cor entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
COREntryId
- the primary key of the cor entry- Returns:
- the cor entry that was removed
- Throws:
NoSuchCOREntryException
- if a cor entry with the primary key could not be foundNoSuchCOREntryException
-
updateImpl
-
findByPrimaryKey
Returns the cor entry with the primary key or throws aNoSuchCOREntryException
if it could not be found.- Parameters:
COREntryId
- the primary key of the cor entry- Returns:
- the cor entry
- Throws:
NoSuchCOREntryException
- if a cor entry with the primary key could not be foundNoSuchCOREntryException
-
fetchByPrimaryKey
Returns the cor entry with the primary key or returnsnull
if it could not be found.- Parameters:
COREntryId
- the primary key of the cor entry- Returns:
- the cor entry, or
null
if a cor entry with the primary key could not be found
-
findAll
Returns all the cor entries.- Returns:
- the cor entries
-
findAll
Returns a range of all the cor entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
start
- the lower bound of the range of cor entriesend
- the upper bound of the range of cor entries (not inclusive)- Returns:
- the range of cor entries
-
findAll
public static List<COREntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) Returns an ordered range of all the cor entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of cor entries
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCOREntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of cor entries
-
removeAll
public static void removeAll()Removes all the cor entries from the database. -
countAll
public static int countAll()Returns the number of cor entries.- Returns:
- the number of cor entries
-
getPersistence
-
setPersistence
-