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 voidcacheResult(COREntry corEntry) Caches the cor entry in the entity cache if it is enabled.static voidcacheResult(List<COREntry> corEntries) Caches the cor entries in the entity cache if it is enabled.static voidstatic voidclearCache(COREntry corEntry) static intcountAll()Returns the number of cor entries.static intcountByC_A(long companyId, boolean active) Returns the number of cor entries where companyId = ? and active = ?.static intcountByC_A_LikeType(long companyId, boolean active, String type) Returns the number of cor entries where companyId = ? and active = ? and type LIKE ?.static intcountByC_LikeType(long companyId, String type) Returns the number of cor entries where companyId = ? and type LIKE ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of cor entries where externalReferenceCode = ? and companyId = ?.static intcountByLtD_S(Date displayDate, int status) Returns the number of cor entries where displayDate < ? and status = ?.static intcountByLtE_S(Date expirationDate, int status) Returns the number of cor entries where expirationDate < ? and status = ?.static intcountByUuid(String uuid) Returns the number of cor entries where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of cor entries where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static COREntrycreate(long COREntryId) Creates a new cor entry with the primary key.static COREntryfetchByC_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 COREntryfetchByC_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 COREntryfetchByC_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 COREntryfetchByERC_C(String externalReferenceCode, long companyId) Returns the cor entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static COREntryfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cor entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static COREntryfetchByLtD_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 COREntryfetchByLtE_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 COREntryfetchByPrimaryKey(long COREntryId) Returns the cor entry with the primary key or returnsnullif it could not be found.static Map<Serializable, COREntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static COREntryfetchByUuid_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 COREntryfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) Returns the first cor entry in the ordered set where uuid = ?.static intfilterCountByC_A(long companyId, boolean active) Returns the number of cor entries that the user has permission to view where companyId = ? and active = ?.static intfilterCountByC_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 intfilterCountByC_LikeType(long companyId, String type) Returns the number of cor entries that the user has permission to view where companyId = ? and type LIKE ?.static intfilterCountByLtD_S(Date displayDate, int status) Returns the number of cor entries that the user has permission to view where displayDate < ? and status = ?.static intfilterCountByLtE_S(Date expirationDate, int status) Returns the number of cor entries that the user has permission to view where expirationDate < ? and status = ?.static intfilterCountByUuid(String uuid) Returns the number of cor entries that the user has permission to view where uuid = ?.static intfilterCountByUuid_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 ?.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 ?.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 = ?.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 = ?.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 = ?.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 COREntryfindByC_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 = ?.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 COREntryfindByC_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 ?.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 COREntryfindByC_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 COREntryfindByERC_C(String externalReferenceCode, long companyId) Returns the cor entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchCOREntryExceptionif 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 COREntryfindByLtD_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 = ?.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 COREntryfindByLtE_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 COREntryfindByPrimaryKey(long COREntryId) Returns the cor entry with the primary key or throws aNoSuchCOREntryExceptionif 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 COREntryfindByUuid_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 COREntryfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<COREntry> orderByComparator) Returns the first 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 COREntryPersistencestatic COREntryremove(long COREntryId) Removes the cor entry with the primary key from the database.static voidRemoves all the cor entries from the database.static voidremoveByC_A(long companyId, boolean active) Removes all the cor entries where companyId = ? and active = ? from the database.static voidremoveByC_A_LikeType(long companyId, boolean active, String type) Removes all the cor entries where companyId = ? and active = ? and type LIKE ? from the database.static voidremoveByC_LikeType(long companyId, String type) Removes all the cor entries where companyId = ? and type LIKE ? from the database.static COREntryremoveByERC_C(String externalReferenceCode, long companyId) Removes the cor entry where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByLtD_S(Date displayDate, int status) Removes all the cor entries where displayDate < ? and status = ? from the database.static voidremoveByLtE_S(Date expirationDate, int status) Removes all the cor entries where expirationDate < ? and status = ? from the database.static voidremoveByUuid(String uuid) Removes all the cor entries where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the cor entries where uuid = ? and companyId = ? from the database.static voidsetPersistence(COREntryPersistence persistence) static COREntrystatic COREntrystatic COREntryupdateImpl(COREntry corEntry)
-
Constructor Details
-
COREntryUtil
public COREntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<COREntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<COREntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
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:
-
update
- See Also:
-
update
public static COREntry update(COREntry corEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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
-
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
nullif a matching cor entry could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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
-
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
nullif a matching cor entry could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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
-
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
nullif a matching cor entry could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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
-
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
nullif a matching cor entry could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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
-
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
nullif a matching cor entry could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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
-
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
nullif a matching cor entry could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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
-
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
nullif a matching cor entry could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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
-
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 aNoSuchCOREntryExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching cor entry
-
fetchByERC_C
Returns the cor entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching cor entry, or
nullif 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 returnsnullif 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
nullif 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
-
updateImpl
-
findByPrimaryKey
Returns the cor entry with the primary key or throws aNoSuchCOREntryExceptionif it could not be found.- Parameters:
COREntryId- the primary key of the cor entry- Returns:
- the cor entry
-
fetchByPrimaryKey
Returns the cor entry with the primary key or returnsnullif it could not be found.- Parameters:
COREntryId- the primary key of the cor entry- Returns:
- the cor entry, or
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.order.rule.model.impl.COREntryModelImpl.- 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
-