Class CommerceTermEntryUtil
com.liferay.commerce.term.service.persistence.impl.CommerceTermEntryPersistenceImpl 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(CommerceTermEntry commerceTermEntry) Caches the commerce term entry in the entity cache if it is enabled.static voidcacheResult(List<CommerceTermEntry> commerceTermEntries) Caches the commerce term entries in the entity cache if it is enabled.static voidstatic voidclearCache(CommerceTermEntry commerceTermEntry) static intcountAll()Returns the number of commerce term entries.static intcountByC_A(long companyId, boolean active) Returns the number of commerce term entries where companyId = ? and active = ?.static intcountByC_A_LikeType(long companyId, boolean active, String type) Returns the number of commerce term entries where companyId = ? and active = ? and type LIKE ?.static intcountByC_LikeType(long companyId, String type) Returns the number of commerce term entries where companyId = ? and type LIKE ?.static intcountByC_N(long companyId, String name) Returns the number of commerce term entries where companyId = ? and name = ?.static intcountByC_P_T(long companyId, double priority, String type) Returns the number of commerce term entries where companyId = ? and priority = ? and type = ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of commerce term entries where externalReferenceCode = ? and companyId = ?.static intcountByLtD_S(Date displayDate, int status) Returns the number of commerce term entries where displayDate < ? and status = ?.static intcountByLtE_S(Date expirationDate, int status) Returns the number of commerce term entries where expirationDate < ? and status = ?.static intcountByUuid(String uuid) Returns the number of commerce term entries where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of commerce term entries where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CommerceTermEntrycreate(long commerceTermEntryId) Creates a new commerce term entry with the primary key.static CommerceTermEntryfetchByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term entry in the ordered set where companyId = ? and active = ?.static CommerceTermEntryfetchByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term entry in the ordered set where companyId = ? and active = ?.static CommerceTermEntryfetchByC_A_LikeType_First(long companyId, boolean active, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term entry in the ordered set where companyId = ? and active = ? and type LIKE ?.static CommerceTermEntryfetchByC_A_LikeType_Last(long companyId, boolean active, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term entry in the ordered set where companyId = ? and active = ? and type LIKE ?.static CommerceTermEntryfetchByC_LikeType_First(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term entry in the ordered set where companyId = ? and type LIKE ?.static CommerceTermEntryfetchByC_LikeType_Last(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term entry in the ordered set where companyId = ? and type LIKE ?.static CommerceTermEntryfetchByC_N(long companyId, String name) Returns the commerce term entry where companyId = ? and name = ? or returnsnullif it could not be found.static CommerceTermEntryfetchByC_N(long companyId, String name, boolean useFinderCache) Returns the commerce term entry where companyId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.static CommerceTermEntryfetchByC_P_T(long companyId, double priority, String type) Returns the commerce term entry where companyId = ? and priority = ? and type = ? or returnsnullif it could not be found.static CommerceTermEntryfetchByC_P_T(long companyId, double priority, String type, boolean useFinderCache) Returns the commerce term entry where companyId = ? and priority = ? and type = ? or returnsnullif it could not be found, optionally using the finder cache.static CommerceTermEntryfetchByERC_C(String externalReferenceCode, long companyId) Returns the commerce term entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static CommerceTermEntryfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce term entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static CommerceTermEntryfetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term entry in the ordered set where displayDate < ? and status = ?.static CommerceTermEntryfetchByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term entry in the ordered set where displayDate < ? and status = ?.static CommerceTermEntryfetchByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term entry in the ordered set where expirationDate < ? and status = ?.static CommerceTermEntryfetchByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term entry in the ordered set where expirationDate < ? and status = ?.static CommerceTermEntryfetchByPrimaryKey(long commerceTermEntryId) Returns the commerce term entry with the primary key or returnsnullif it could not be found.static Map<Serializable,CommerceTermEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CommerceTermEntryfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term entry in the ordered set where uuid = ? and companyId = ?.static CommerceTermEntryfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term entry in the ordered set where uuid = ? and companyId = ?.static CommerceTermEntryfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term entry in the ordered set where uuid = ?.static CommerceTermEntryfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term entry in the ordered set where uuid = ?.static intfilterCountByC_A(long companyId, boolean active) Returns the number of commerce term 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 commerce term 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 commerce term entries that the user has permission to view where companyId = ? and type LIKE ?.static intfilterCountByLtD_S(Date displayDate, int status) Returns the number of commerce term entries that the user has permission to view where displayDate < ? and status = ?.static intfilterCountByLtE_S(Date expirationDate, int status) Returns the number of commerce term entries that the user has permission to view where expirationDate < ? and status = ?.static intfilterCountByUuid(String uuid) Returns the number of commerce term entries that the user has permission to view where uuid = ?.static intfilterCountByUuid_C(String uuid, long companyId) Returns the number of commerce term entries that the user has permission to view where uuid = ? and companyId = ?.static List<CommerceTermEntry>filterFindByC_A(long companyId, boolean active) Returns all the commerce term entries that the user has permission to view where companyId = ? and active = ?.static List<CommerceTermEntry>filterFindByC_A(long companyId, boolean active, int start, int end) Returns a range of all the commerce term entries that the user has permission to view where companyId = ? and active = ?.static List<CommerceTermEntry>filterFindByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term entries that the user has permissions to view where companyId = ? and active = ?.static List<CommerceTermEntry>filterFindByC_A_LikeType(long companyId, boolean active, String type) Returns all the commerce term entries that the user has permission to view where companyId = ? and active = ? and type LIKE ?.static List<CommerceTermEntry>filterFindByC_A_LikeType(long companyId, boolean active, String type, int start, int end) Returns a range of all the commerce term entries that the user has permission to view where companyId = ? and active = ? and type LIKE ?.static List<CommerceTermEntry>filterFindByC_A_LikeType(long companyId, boolean active, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term entries that the user has permissions to view where companyId = ? and active = ? and type LIKE ?.static CommerceTermEntry[]filterFindByC_A_LikeType_PrevAndNext(long commerceTermEntryId, long companyId, boolean active, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where companyId = ? and active = ? and type LIKE ?.static CommerceTermEntry[]filterFindByC_A_PrevAndNext(long commerceTermEntryId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where companyId = ? and active = ?.static List<CommerceTermEntry>filterFindByC_LikeType(long companyId, String type) Returns all the commerce term entries that the user has permission to view where companyId = ? and type LIKE ?.static List<CommerceTermEntry>filterFindByC_LikeType(long companyId, String type, int start, int end) Returns a range of all the commerce term entries that the user has permission to view where companyId = ? and type LIKE ?.static List<CommerceTermEntry>filterFindByC_LikeType(long companyId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term entries that the user has permissions to view where companyId = ? and type LIKE ?.static CommerceTermEntry[]filterFindByC_LikeType_PrevAndNext(long commerceTermEntryId, long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where companyId = ? and type LIKE ?.static List<CommerceTermEntry>filterFindByLtD_S(Date displayDate, int status) Returns all the commerce term entries that the user has permission to view where displayDate < ? and status = ?.static List<CommerceTermEntry>filterFindByLtD_S(Date displayDate, int status, int start, int end) Returns a range of all the commerce term entries that the user has permission to view where displayDate < ? and status = ?.static List<CommerceTermEntry>filterFindByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term entries that the user has permissions to view where displayDate < ? and status = ?.static CommerceTermEntry[]filterFindByLtD_S_PrevAndNext(long commerceTermEntryId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where displayDate < ? and status = ?.static List<CommerceTermEntry>filterFindByLtE_S(Date expirationDate, int status) Returns all the commerce term entries that the user has permission to view where expirationDate < ? and status = ?.static List<CommerceTermEntry>filterFindByLtE_S(Date expirationDate, int status, int start, int end) Returns a range of all the commerce term entries that the user has permission to view where expirationDate < ? and status = ?.static List<CommerceTermEntry>filterFindByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term entries that the user has permissions to view where expirationDate < ? and status = ?.static CommerceTermEntry[]filterFindByLtE_S_PrevAndNext(long commerceTermEntryId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where expirationDate < ? and status = ?.static List<CommerceTermEntry>filterFindByUuid(String uuid) Returns all the commerce term entries that the user has permission to view where uuid = ?.static List<CommerceTermEntry>filterFindByUuid(String uuid, int start, int end) Returns a range of all the commerce term entries that the user has permission to view where uuid = ?.static List<CommerceTermEntry>filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term entries that the user has permissions to view where uuid = ?.static List<CommerceTermEntry>filterFindByUuid_C(String uuid, long companyId) Returns all the commerce term entries that the user has permission to view where uuid = ? and companyId = ?.static List<CommerceTermEntry>filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce term entries that the user has permission to view where uuid = ? and companyId = ?.static List<CommerceTermEntry>filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term entries that the user has permissions to view where uuid = ? and companyId = ?.static CommerceTermEntry[]filterFindByUuid_C_PrevAndNext(long commerceTermEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where uuid = ? and companyId = ?.static CommerceTermEntry[]filterFindByUuid_PrevAndNext(long commerceTermEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where uuid = ?.static List<CommerceTermEntry>findAll()Returns all the commerce term entries.static List<CommerceTermEntry>findAll(int start, int end) Returns a range of all the commerce term entries.static List<CommerceTermEntry>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term entries.static List<CommerceTermEntry>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce term entries.static List<CommerceTermEntry>findByC_A(long companyId, boolean active) Returns all the commerce term entries where companyId = ? and active = ?.static List<CommerceTermEntry>findByC_A(long companyId, boolean active, int start, int end) Returns a range of all the commerce term entries where companyId = ? and active = ?.static List<CommerceTermEntry>findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term entries where companyId = ? and active = ?.static List<CommerceTermEntry>findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce term entries where companyId = ? and active = ?.static CommerceTermEntryfindByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term entry in the ordered set where companyId = ? and active = ?.static CommerceTermEntryfindByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term entry in the ordered set where companyId = ? and active = ?.static List<CommerceTermEntry>findByC_A_LikeType(long companyId, boolean active, String type) Returns all the commerce term entries where companyId = ? and active = ? and type LIKE ?.static List<CommerceTermEntry>findByC_A_LikeType(long companyId, boolean active, String type, int start, int end) Returns a range of all the commerce term entries where companyId = ? and active = ? and type LIKE ?.static List<CommerceTermEntry>findByC_A_LikeType(long companyId, boolean active, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term entries where companyId = ? and active = ? and type LIKE ?.static List<CommerceTermEntry>findByC_A_LikeType(long companyId, boolean active, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce term entries where companyId = ? and active = ? and type LIKE ?.static CommerceTermEntryfindByC_A_LikeType_First(long companyId, boolean active, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term entry in the ordered set where companyId = ? and active = ? and type LIKE ?.static CommerceTermEntryfindByC_A_LikeType_Last(long companyId, boolean active, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term entry in the ordered set where companyId = ? and active = ? and type LIKE ?.static CommerceTermEntry[]findByC_A_LikeType_PrevAndNext(long commerceTermEntryId, long companyId, boolean active, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the commerce term entries before and after the current commerce term entry in the ordered set where companyId = ? and active = ? and type LIKE ?.static CommerceTermEntry[]findByC_A_PrevAndNext(long commerceTermEntryId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the commerce term entries before and after the current commerce term entry in the ordered set where companyId = ? and active = ?.static List<CommerceTermEntry>findByC_LikeType(long companyId, String type) Returns all the commerce term entries where companyId = ? and type LIKE ?.static List<CommerceTermEntry>findByC_LikeType(long companyId, String type, int start, int end) Returns a range of all the commerce term entries where companyId = ? and type LIKE ?.static List<CommerceTermEntry>findByC_LikeType(long companyId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term entries where companyId = ? and type LIKE ?.static List<CommerceTermEntry>findByC_LikeType(long companyId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce term entries where companyId = ? and type LIKE ?.static CommerceTermEntryfindByC_LikeType_First(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term entry in the ordered set where companyId = ? and type LIKE ?.static CommerceTermEntryfindByC_LikeType_Last(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term entry in the ordered set where companyId = ? and type LIKE ?.static CommerceTermEntry[]findByC_LikeType_PrevAndNext(long commerceTermEntryId, long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the commerce term entries before and after the current commerce term entry in the ordered set where companyId = ? and type LIKE ?.static CommerceTermEntryReturns the commerce term entry where companyId = ? and name = ? or throws aNoSuchTermEntryExceptionif it could not be found.static CommerceTermEntryfindByC_P_T(long companyId, double priority, String type) Returns the commerce term entry where companyId = ? and priority = ? and type = ? or throws aNoSuchTermEntryExceptionif it could not be found.static CommerceTermEntryfindByERC_C(String externalReferenceCode, long companyId) Returns the commerce term entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchTermEntryExceptionif it could not be found.static List<CommerceTermEntry>findByLtD_S(Date displayDate, int status) Returns all the commerce term entries where displayDate < ? and status = ?.static List<CommerceTermEntry>findByLtD_S(Date displayDate, int status, int start, int end) Returns a range of all the commerce term entries where displayDate < ? and status = ?.static List<CommerceTermEntry>findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term entries where displayDate < ? and status = ?.static List<CommerceTermEntry>findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce term entries where displayDate < ? and status = ?.static CommerceTermEntryfindByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term entry in the ordered set where displayDate < ? and status = ?.static CommerceTermEntryfindByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term entry in the ordered set where displayDate < ? and status = ?.static CommerceTermEntry[]findByLtD_S_PrevAndNext(long commerceTermEntryId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the commerce term entries before and after the current commerce term entry in the ordered set where displayDate < ? and status = ?.static List<CommerceTermEntry>findByLtE_S(Date expirationDate, int status) Returns all the commerce term entries where expirationDate < ? and status = ?.static List<CommerceTermEntry>findByLtE_S(Date expirationDate, int status, int start, int end) Returns a range of all the commerce term entries where expirationDate < ? and status = ?.static List<CommerceTermEntry>findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term entries where expirationDate < ? and status = ?.static List<CommerceTermEntry>findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce term entries where expirationDate < ? and status = ?.static CommerceTermEntryfindByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term entry in the ordered set where expirationDate < ? and status = ?.static CommerceTermEntryfindByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term entry in the ordered set where expirationDate < ? and status = ?.static CommerceTermEntry[]findByLtE_S_PrevAndNext(long commerceTermEntryId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the commerce term entries before and after the current commerce term entry in the ordered set where expirationDate < ? and status = ?.static CommerceTermEntryfindByPrimaryKey(long commerceTermEntryId) Returns the commerce term entry with the primary key or throws aNoSuchTermEntryExceptionif it could not be found.static List<CommerceTermEntry>findByUuid(String uuid) Returns all the commerce term entries where uuid = ?.static List<CommerceTermEntry>findByUuid(String uuid, int start, int end) Returns a range of all the commerce term entries where uuid = ?.static List<CommerceTermEntry>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term entries where uuid = ?.static List<CommerceTermEntry>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce term entries where uuid = ?.static List<CommerceTermEntry>findByUuid_C(String uuid, long companyId) Returns all the commerce term entries where uuid = ? and companyId = ?.static List<CommerceTermEntry>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce term entries where uuid = ? and companyId = ?.static List<CommerceTermEntry>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term entries where uuid = ? and companyId = ?.static List<CommerceTermEntry>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce term entries where uuid = ? and companyId = ?.static CommerceTermEntryfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term entry in the ordered set where uuid = ? and companyId = ?.static CommerceTermEntryfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term entry in the ordered set where uuid = ? and companyId = ?.static CommerceTermEntry[]findByUuid_C_PrevAndNext(long commerceTermEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the commerce term entries before and after the current commerce term entry in the ordered set where uuid = ? and companyId = ?.static CommerceTermEntryfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term entry in the ordered set where uuid = ?.static CommerceTermEntryfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term entry in the ordered set where uuid = ?.static CommerceTermEntry[]findByUuid_PrevAndNext(long commerceTermEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the commerce term entries before and after the current commerce term entry in the ordered set where uuid = ?.static List<CommerceTermEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CommerceTermEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CommerceTermEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) static CommerceTermEntryPersistencestatic CommerceTermEntryremove(long commerceTermEntryId) Removes the commerce term entry with the primary key from the database.static voidRemoves all the commerce term entries from the database.static voidremoveByC_A(long companyId, boolean active) Removes all the commerce term entries where companyId = ? and active = ? from the database.static voidremoveByC_A_LikeType(long companyId, boolean active, String type) Removes all the commerce term entries where companyId = ? and active = ? and type LIKE ? from the database.static voidremoveByC_LikeType(long companyId, String type) Removes all the commerce term entries where companyId = ? and type LIKE ? from the database.static CommerceTermEntryremoveByC_N(long companyId, String name) Removes the commerce term entry where companyId = ? and name = ? from the database.static CommerceTermEntryremoveByC_P_T(long companyId, double priority, String type) Removes the commerce term entry where companyId = ? and priority = ? and type = ? from the database.static CommerceTermEntryremoveByERC_C(String externalReferenceCode, long companyId) Removes the commerce term entry where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByLtD_S(Date displayDate, int status) Removes all the commerce term entries where displayDate < ? and status = ? from the database.static voidremoveByLtE_S(Date expirationDate, int status) Removes all the commerce term entries where expirationDate < ? and status = ? from the database.static voidremoveByUuid(String uuid) Removes all the commerce term entries where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the commerce term entries where uuid = ? and companyId = ? from the database.static voidsetPersistence(CommerceTermEntryPersistence persistence) static CommerceTermEntryupdate(CommerceTermEntry commerceTermEntry) static CommerceTermEntryupdate(CommerceTermEntry commerceTermEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommerceTermEntryupdateImpl(CommerceTermEntry commerceTermEntry)
-
Constructor Details
-
CommerceTermEntryUtil
public CommerceTermEntryUtil()
-
-
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<CommerceTermEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CommerceTermEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CommerceTermEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CommerceTermEntry update(CommerceTermEntry commerceTermEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the commerce term entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce term entries
-
findByUuid
Returns a range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)- Returns:
- the range of matching commerce term entries
-
findByUuid
public static List<CommerceTermEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce term entries
-
findByUuid
public static List<CommerceTermEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term 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 commerce term entries
-
findByUuid_First
public static CommerceTermEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the first commerce term entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce term entry
- Throws:
NoSuchTermEntryException- if a matching commerce term entry could not be foundNoSuchTermEntryException
-
fetchByUuid_First
public static CommerceTermEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce term entry, or
nullif a matching commerce term entry could not be found
-
findByUuid_Last
public static CommerceTermEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the last commerce term entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce term entry
- Throws:
NoSuchTermEntryException- if a matching commerce term entry could not be foundNoSuchTermEntryException
-
fetchByUuid_Last
public static CommerceTermEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce term entry, or
nullif a matching commerce term entry could not be found
-
findByUuid_PrevAndNext
public static CommerceTermEntry[] findByUuid_PrevAndNext(long commerceTermEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the commerce term entries before and after the current commerce term entry in the ordered set where uuid = ?.- Parameters:
commerceTermEntryId- the primary key of the current commerce term entryuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce term entry
- Throws:
NoSuchTermEntryException- if a commerce term entry with the primary key could not be foundNoSuchTermEntryException
-
filterFindByUuid
Returns all the commerce term entries that the user has permission to view where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce term entries that the user has permission to view
-
filterFindByUuid
Returns a range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)- Returns:
- the range of matching commerce term entries that the user has permission to view
-
filterFindByUuid
public static List<CommerceTermEntry> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce term entries that the user has permission to view
-
filterFindByUuid_PrevAndNext
public static CommerceTermEntry[] filterFindByUuid_PrevAndNext(long commerceTermEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where uuid = ?.- Parameters:
commerceTermEntryId- the primary key of the current commerce term entryuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce term entry
- Throws:
NoSuchTermEntryException- if a commerce term entry with the primary key could not be foundNoSuchTermEntryException
-
removeByUuid
Removes all the commerce term entries where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of commerce term entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching commerce term entries
-
filterCountByUuid
Returns the number of commerce term entries that the user has permission to view where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching commerce term entries that the user has permission to view
-
findByUuid_C
Returns all the commerce term entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching commerce term entries
-
findByUuid_C
Returns a range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)- Returns:
- the range of matching commerce term entries
-
findByUuid_C
public static List<CommerceTermEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce term entries
-
findByUuid_C
public static List<CommerceTermEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term 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 commerce term entries
-
findByUuid_C_First
public static CommerceTermEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the first commerce term 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 commerce term entry
- Throws:
NoSuchTermEntryException- if a matching commerce term entry could not be foundNoSuchTermEntryException
-
fetchByUuid_C_First
public static CommerceTermEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term 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 commerce term entry, or
nullif a matching commerce term entry could not be found
-
findByUuid_C_Last
public static CommerceTermEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the last commerce term 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 commerce term entry
- Throws:
NoSuchTermEntryException- if a matching commerce term entry could not be foundNoSuchTermEntryException
-
fetchByUuid_C_Last
public static CommerceTermEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term 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 commerce term entry, or
nullif a matching commerce term entry could not be found
-
findByUuid_C_PrevAndNext
public static CommerceTermEntry[] findByUuid_C_PrevAndNext(long commerceTermEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the commerce term entries before and after the current commerce term entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
commerceTermEntryId- the primary key of the current commerce term entryuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce term entry
- Throws:
NoSuchTermEntryException- if a commerce term entry with the primary key could not be foundNoSuchTermEntryException
-
filterFindByUuid_C
Returns all the commerce term entries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching commerce term entries that the user has permission to view
-
filterFindByUuid_C
public static List<CommerceTermEntry> filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)- Returns:
- the range of matching commerce term entries that the user has permission to view
-
filterFindByUuid_C
public static List<CommerceTermEntry> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce term entries that the user has permission to view
-
filterFindByUuid_C_PrevAndNext
public static CommerceTermEntry[] filterFindByUuid_C_PrevAndNext(long commerceTermEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
commerceTermEntryId- the primary key of the current commerce term entryuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce term entry
- Throws:
NoSuchTermEntryException- if a commerce term entry with the primary key could not be foundNoSuchTermEntryException
-
removeByUuid_C
Removes all the commerce term entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of commerce term entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching commerce term entries
-
filterCountByUuid_C
Returns the number of commerce term entries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching commerce term entries that the user has permission to view
-
findByC_A
Returns all the commerce term entries where companyId = ? and active = ?.- Parameters:
companyId- the company IDactive- the active- Returns:
- the matching commerce term entries
-
findByC_A
Returns a range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)- Returns:
- the range of matching commerce term entries
-
findByC_A
public static List<CommerceTermEntry> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce term entries
-
findByC_A
public static List<CommerceTermEntry> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term 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 commerce term entries
-
findByC_A_First
public static CommerceTermEntry findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the first commerce term 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 commerce term entry
- Throws:
NoSuchTermEntryException- if a matching commerce term entry could not be foundNoSuchTermEntryException
-
fetchByC_A_First
public static CommerceTermEntry fetchByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term 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 commerce term entry, or
nullif a matching commerce term entry could not be found
-
findByC_A_Last
public static CommerceTermEntry findByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the last commerce term 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 commerce term entry
- Throws:
NoSuchTermEntryException- if a matching commerce term entry could not be foundNoSuchTermEntryException
-
fetchByC_A_Last
public static CommerceTermEntry fetchByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term 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 commerce term entry, or
nullif a matching commerce term entry could not be found
-
findByC_A_PrevAndNext
public static CommerceTermEntry[] findByC_A_PrevAndNext(long commerceTermEntryId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the commerce term entries before and after the current commerce term entry in the ordered set where companyId = ? and active = ?.- Parameters:
commerceTermEntryId- the primary key of the current commerce term entrycompanyId- the company IDactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce term entry
- Throws:
NoSuchTermEntryException- if a commerce term entry with the primary key could not be foundNoSuchTermEntryException
-
filterFindByC_A
Returns all the commerce term entries that the user has permission to view where companyId = ? and active = ?.- Parameters:
companyId- the company IDactive- the active- Returns:
- the matching commerce term entries that the user has permission to view
-
filterFindByC_A
public static List<CommerceTermEntry> filterFindByC_A(long companyId, boolean active, int start, int end) Returns a range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)- Returns:
- the range of matching commerce term entries that the user has permission to view
-
filterFindByC_A
public static List<CommerceTermEntry> filterFindByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce term entries that the user has permission to view
-
filterFindByC_A_PrevAndNext
public static CommerceTermEntry[] filterFindByC_A_PrevAndNext(long commerceTermEntryId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where companyId = ? and active = ?.- Parameters:
commerceTermEntryId- the primary key of the current commerce term entrycompanyId- the company IDactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce term entry
- Throws:
NoSuchTermEntryException- if a commerce term entry with the primary key could not be foundNoSuchTermEntryException
-
removeByC_A
public static void removeByC_A(long companyId, boolean active) Removes all the commerce term 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 commerce term entries where companyId = ? and active = ?.- Parameters:
companyId- the company IDactive- the active- Returns:
- the number of matching commerce term entries
-
filterCountByC_A
public static int filterCountByC_A(long companyId, boolean active) Returns the number of commerce term entries that the user has permission to view where companyId = ? and active = ?.- Parameters:
companyId- the company IDactive- the active- Returns:
- the number of matching commerce term entries that the user has permission to view
-
findByC_N
public static CommerceTermEntry findByC_N(long companyId, String name) throws NoSuchTermEntryException Returns the commerce term entry where companyId = ? and name = ? or throws aNoSuchTermEntryExceptionif it could not be found.- Parameters:
companyId- the company IDname- the name- Returns:
- the matching commerce term entry
- Throws:
NoSuchTermEntryException- if a matching commerce term entry could not be foundNoSuchTermEntryException
-
fetchByC_N
Returns the commerce term entry where companyId = ? and name = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDname- the name- Returns:
- the matching commerce term entry, or
nullif a matching commerce term entry could not be found
-
fetchByC_N
Returns the commerce term entry where companyId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDname- the nameuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce term entry, or
nullif a matching commerce term entry could not be found
-
removeByC_N
public static CommerceTermEntry removeByC_N(long companyId, String name) throws NoSuchTermEntryException Removes the commerce term entry where companyId = ? and name = ? from the database.- Parameters:
companyId- the company IDname- the name- Returns:
- the commerce term entry that was removed
- Throws:
NoSuchTermEntryException
-
countByC_N
Returns the number of commerce term entries where companyId = ? and name = ?.- Parameters:
companyId- the company IDname- the name- Returns:
- the number of matching commerce term entries
-
findByC_LikeType
Returns all the commerce term entries where companyId = ? and type LIKE ?.- Parameters:
companyId- the company IDtype- the type- Returns:
- the matching commerce term entries
-
findByC_LikeType
public static List<CommerceTermEntry> findByC_LikeType(long companyId, String type, int start, int end) Returns a range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
companyId- the company IDtype- the typestart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)- Returns:
- the range of matching commerce term entries
-
findByC_LikeType
public static List<CommerceTermEntry> findByC_LikeType(long companyId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
companyId- the company IDtype- the typestart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce term entries
-
findByC_LikeType
public static List<CommerceTermEntry> findByC_LikeType(long companyId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
companyId- the company IDtype- the typestart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term 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 commerce term entries
-
findByC_LikeType_First
public static CommerceTermEntry findByC_LikeType_First(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the first commerce term 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 commerce term entry
- Throws:
NoSuchTermEntryException- if a matching commerce term entry could not be foundNoSuchTermEntryException
-
fetchByC_LikeType_First
public static CommerceTermEntry fetchByC_LikeType_First(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term 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 commerce term entry, or
nullif a matching commerce term entry could not be found
-
findByC_LikeType_Last
public static CommerceTermEntry findByC_LikeType_Last(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the last commerce term 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 commerce term entry
- Throws:
NoSuchTermEntryException- if a matching commerce term entry could not be foundNoSuchTermEntryException
-
fetchByC_LikeType_Last
public static CommerceTermEntry fetchByC_LikeType_Last(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term 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 commerce term entry, or
nullif a matching commerce term entry could not be found
-
findByC_LikeType_PrevAndNext
public static CommerceTermEntry[] findByC_LikeType_PrevAndNext(long commerceTermEntryId, long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the commerce term entries before and after the current commerce term entry in the ordered set where companyId = ? and type LIKE ?.- Parameters:
commerceTermEntryId- the primary key of the current commerce term entrycompanyId- the company IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce term entry
- Throws:
NoSuchTermEntryException- if a commerce term entry with the primary key could not be foundNoSuchTermEntryException
-
filterFindByC_LikeType
Returns all the commerce term entries that the user has permission to view where companyId = ? and type LIKE ?.- Parameters:
companyId- the company IDtype- the type- Returns:
- the matching commerce term entries that the user has permission to view
-
filterFindByC_LikeType
public static List<CommerceTermEntry> filterFindByC_LikeType(long companyId, String type, int start, int end) Returns a range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
companyId- the company IDtype- the typestart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)- Returns:
- the range of matching commerce term entries that the user has permission to view
-
filterFindByC_LikeType
public static List<CommerceTermEntry> filterFindByC_LikeType(long companyId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
companyId- the company IDtype- the typestart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce term entries that the user has permission to view
-
filterFindByC_LikeType_PrevAndNext
public static CommerceTermEntry[] filterFindByC_LikeType_PrevAndNext(long commerceTermEntryId, long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where companyId = ? and type LIKE ?.- Parameters:
commerceTermEntryId- the primary key of the current commerce term entrycompanyId- the company IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce term entry
- Throws:
NoSuchTermEntryException- if a commerce term entry with the primary key could not be foundNoSuchTermEntryException
-
removeByC_LikeType
Removes all the commerce term entries where companyId = ? and type LIKE ? from the database.- Parameters:
companyId- the company IDtype- the type
-
countByC_LikeType
Returns the number of commerce term entries where companyId = ? and type LIKE ?.- Parameters:
companyId- the company IDtype- the type- Returns:
- the number of matching commerce term entries
-
filterCountByC_LikeType
Returns the number of commerce term 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 commerce term entries that the user has permission to view
-
findByLtD_S
Returns all the commerce term entries where displayDate < ? and status = ?.- Parameters:
displayDate- the display datestatus- the status- Returns:
- the matching commerce term entries
-
findByLtD_S
Returns a range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
displayDate- the display datestatus- the statusstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)- Returns:
- the range of matching commerce term entries
-
findByLtD_S
public static List<CommerceTermEntry> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
displayDate- the display datestatus- the statusstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce term entries
-
findByLtD_S
public static List<CommerceTermEntry> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
displayDate- the display datestatus- the statusstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term 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 commerce term entries
-
findByLtD_S_First
public static CommerceTermEntry findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the first commerce term 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 commerce term entry
- Throws:
NoSuchTermEntryException- if a matching commerce term entry could not be foundNoSuchTermEntryException
-
fetchByLtD_S_First
public static CommerceTermEntry fetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term 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 commerce term entry, or
nullif a matching commerce term entry could not be found
-
findByLtD_S_Last
public static CommerceTermEntry findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the last commerce term 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 commerce term entry
- Throws:
NoSuchTermEntryException- if a matching commerce term entry could not be foundNoSuchTermEntryException
-
fetchByLtD_S_Last
public static CommerceTermEntry fetchByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term 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 commerce term entry, or
nullif a matching commerce term entry could not be found
-
findByLtD_S_PrevAndNext
public static CommerceTermEntry[] findByLtD_S_PrevAndNext(long commerceTermEntryId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the commerce term entries before and after the current commerce term entry in the ordered set where displayDate < ? and status = ?.- Parameters:
commerceTermEntryId- the primary key of the current commerce term entrydisplayDate- the display datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce term entry
- Throws:
NoSuchTermEntryException- if a commerce term entry with the primary key could not be foundNoSuchTermEntryException
-
filterFindByLtD_S
Returns all the commerce term entries that the user has permission to view where displayDate < ? and status = ?.- Parameters:
displayDate- the display datestatus- the status- Returns:
- the matching commerce term entries that the user has permission to view
-
filterFindByLtD_S
public static List<CommerceTermEntry> filterFindByLtD_S(Date displayDate, int status, int start, int end) Returns a range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
displayDate- the display datestatus- the statusstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)- Returns:
- the range of matching commerce term entries that the user has permission to view
-
filterFindByLtD_S
public static List<CommerceTermEntry> filterFindByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
displayDate- the display datestatus- the statusstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce term entries that the user has permission to view
-
filterFindByLtD_S_PrevAndNext
public static CommerceTermEntry[] filterFindByLtD_S_PrevAndNext(long commerceTermEntryId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where displayDate < ? and status = ?.- Parameters:
commerceTermEntryId- the primary key of the current commerce term entrydisplayDate- the display datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce term entry
- Throws:
NoSuchTermEntryException- if a commerce term entry with the primary key could not be foundNoSuchTermEntryException
-
removeByLtD_S
Removes all the commerce term entries where displayDate < ? and status = ? from the database.- Parameters:
displayDate- the display datestatus- the status
-
countByLtD_S
Returns the number of commerce term entries where displayDate < ? and status = ?.- Parameters:
displayDate- the display datestatus- the status- Returns:
- the number of matching commerce term entries
-
filterCountByLtD_S
Returns the number of commerce term entries that the user has permission to view where displayDate < ? and status = ?.- Parameters:
displayDate- the display datestatus- the status- Returns:
- the number of matching commerce term entries that the user has permission to view
-
findByLtE_S
Returns all the commerce term entries where expirationDate < ? and status = ?.- Parameters:
expirationDate- the expiration datestatus- the status- Returns:
- the matching commerce term entries
-
findByLtE_S
public static List<CommerceTermEntry> findByLtE_S(Date expirationDate, int status, int start, int end) Returns a range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
expirationDate- the expiration datestatus- the statusstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)- Returns:
- the range of matching commerce term entries
-
findByLtE_S
public static List<CommerceTermEntry> findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
expirationDate- the expiration datestatus- the statusstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce term entries
-
findByLtE_S
public static List<CommerceTermEntry> findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
expirationDate- the expiration datestatus- the statusstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term 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 commerce term entries
-
findByLtE_S_First
public static CommerceTermEntry findByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the first commerce term 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 commerce term entry
- Throws:
NoSuchTermEntryException- if a matching commerce term entry could not be foundNoSuchTermEntryException
-
fetchByLtE_S_First
public static CommerceTermEntry fetchByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term 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 commerce term entry, or
nullif a matching commerce term entry could not be found
-
findByLtE_S_Last
public static CommerceTermEntry findByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the last commerce term 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 commerce term entry
- Throws:
NoSuchTermEntryException- if a matching commerce term entry could not be foundNoSuchTermEntryException
-
fetchByLtE_S_Last
public static CommerceTermEntry fetchByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term 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 commerce term entry, or
nullif a matching commerce term entry could not be found
-
findByLtE_S_PrevAndNext
public static CommerceTermEntry[] findByLtE_S_PrevAndNext(long commerceTermEntryId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the commerce term entries before and after the current commerce term entry in the ordered set where expirationDate < ? and status = ?.- Parameters:
commerceTermEntryId- the primary key of the current commerce term entryexpirationDate- the expiration datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce term entry
- Throws:
NoSuchTermEntryException- if a commerce term entry with the primary key could not be foundNoSuchTermEntryException
-
filterFindByLtE_S
Returns all the commerce term entries that the user has permission to view where expirationDate < ? and status = ?.- Parameters:
expirationDate- the expiration datestatus- the status- Returns:
- the matching commerce term entries that the user has permission to view
-
filterFindByLtE_S
public static List<CommerceTermEntry> filterFindByLtE_S(Date expirationDate, int status, int start, int end) Returns a range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
expirationDate- the expiration datestatus- the statusstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)- Returns:
- the range of matching commerce term entries that the user has permission to view
-
filterFindByLtE_S
public static List<CommerceTermEntry> filterFindByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
expirationDate- the expiration datestatus- the statusstart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce term entries that the user has permission to view
-
filterFindByLtE_S_PrevAndNext
public static CommerceTermEntry[] filterFindByLtE_S_PrevAndNext(long commerceTermEntryId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where expirationDate < ? and status = ?.- Parameters:
commerceTermEntryId- the primary key of the current commerce term entryexpirationDate- the expiration datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce term entry
- Throws:
NoSuchTermEntryException- if a commerce term entry with the primary key could not be foundNoSuchTermEntryException
-
removeByLtE_S
Removes all the commerce term entries where expirationDate < ? and status = ? from the database.- Parameters:
expirationDate- the expiration datestatus- the status
-
countByLtE_S
Returns the number of commerce term entries where expirationDate < ? and status = ?.- Parameters:
expirationDate- the expiration datestatus- the status- Returns:
- the number of matching commerce term entries
-
filterCountByLtE_S
Returns the number of commerce term entries that the user has permission to view where expirationDate < ? and status = ?.- Parameters:
expirationDate- the expiration datestatus- the status- Returns:
- the number of matching commerce term entries that the user has permission to view
-
findByC_A_LikeType
public static List<CommerceTermEntry> findByC_A_LikeType(long companyId, boolean active, String type) Returns all the commerce term entries where companyId = ? and active = ? and type LIKE ?.- Parameters:
companyId- the company IDactive- the activetype- the type- Returns:
- the matching commerce term entries
-
findByC_A_LikeType
public static List<CommerceTermEntry> findByC_A_LikeType(long companyId, boolean active, String type, int start, int end) Returns a range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
companyId- the company IDactive- the activetype- the typestart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)- Returns:
- the range of matching commerce term entries
-
findByC_A_LikeType
public static List<CommerceTermEntry> findByC_A_LikeType(long companyId, boolean active, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
companyId- the company IDactive- the activetype- the typestart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce term entries
-
findByC_A_LikeType
public static List<CommerceTermEntry> findByC_A_LikeType(long companyId, boolean active, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
companyId- the company IDactive- the activetype- the typestart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term 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 commerce term entries
-
findByC_A_LikeType_First
public static CommerceTermEntry findByC_A_LikeType_First(long companyId, boolean active, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the first commerce term 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 commerce term entry
- Throws:
NoSuchTermEntryException- if a matching commerce term entry could not be foundNoSuchTermEntryException
-
fetchByC_A_LikeType_First
public static CommerceTermEntry fetchByC_A_LikeType_First(long companyId, boolean active, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the first commerce term 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 commerce term entry, or
nullif a matching commerce term entry could not be found
-
findByC_A_LikeType_Last
public static CommerceTermEntry findByC_A_LikeType_Last(long companyId, boolean active, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the last commerce term 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 commerce term entry
- Throws:
NoSuchTermEntryException- if a matching commerce term entry could not be foundNoSuchTermEntryException
-
fetchByC_A_LikeType_Last
public static CommerceTermEntry fetchByC_A_LikeType_Last(long companyId, boolean active, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns the last commerce term 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 commerce term entry, or
nullif a matching commerce term entry could not be found
-
findByC_A_LikeType_PrevAndNext
public static CommerceTermEntry[] findByC_A_LikeType_PrevAndNext(long commerceTermEntryId, long companyId, boolean active, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the commerce term entries before and after the current commerce term entry in the ordered set where companyId = ? and active = ? and type LIKE ?.- Parameters:
commerceTermEntryId- the primary key of the current commerce term entrycompanyId- the company IDactive- the activetype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce term entry
- Throws:
NoSuchTermEntryException- if a commerce term entry with the primary key could not be foundNoSuchTermEntryException
-
filterFindByC_A_LikeType
public static List<CommerceTermEntry> filterFindByC_A_LikeType(long companyId, boolean active, String type) Returns all the commerce term 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 commerce term entries that the user has permission to view
-
filterFindByC_A_LikeType
public static List<CommerceTermEntry> filterFindByC_A_LikeType(long companyId, boolean active, String type, int start, int end) Returns a range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
companyId- the company IDactive- the activetype- the typestart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)- Returns:
- the range of matching commerce term entries that the user has permission to view
-
filterFindByC_A_LikeType
public static List<CommerceTermEntry> filterFindByC_A_LikeType(long companyId, boolean active, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
companyId- the company IDactive- the activetype- the typestart- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce term entries that the user has permission to view
-
filterFindByC_A_LikeType_PrevAndNext
public static CommerceTermEntry[] filterFindByC_A_LikeType_PrevAndNext(long commerceTermEntryId, long companyId, boolean active, String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where companyId = ? and active = ? and type LIKE ?.- Parameters:
commerceTermEntryId- the primary key of the current commerce term entrycompanyId- the company IDactive- the activetype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce term entry
- Throws:
NoSuchTermEntryException- if a commerce term entry with the primary key could not be foundNoSuchTermEntryException
-
removeByC_A_LikeType
Removes all the commerce term 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 commerce term entries where companyId = ? and active = ? and type LIKE ?.- Parameters:
companyId- the company IDactive- the activetype- the type- Returns:
- the number of matching commerce term entries
-
filterCountByC_A_LikeType
Returns the number of commerce term 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 commerce term entries that the user has permission to view
-
findByC_P_T
public static CommerceTermEntry findByC_P_T(long companyId, double priority, String type) throws NoSuchTermEntryException Returns the commerce term entry where companyId = ? and priority = ? and type = ? or throws aNoSuchTermEntryExceptionif it could not be found.- Parameters:
companyId- the company IDpriority- the prioritytype- the type- Returns:
- the matching commerce term entry
- Throws:
NoSuchTermEntryException- if a matching commerce term entry could not be foundNoSuchTermEntryException
-
fetchByC_P_T
Returns the commerce term entry where companyId = ? and priority = ? and type = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDpriority- the prioritytype- the type- Returns:
- the matching commerce term entry, or
nullif a matching commerce term entry could not be found
-
fetchByC_P_T
public static CommerceTermEntry fetchByC_P_T(long companyId, double priority, String type, boolean useFinderCache) Returns the commerce term entry where companyId = ? and priority = ? and type = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDpriority- the prioritytype- the typeuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce term entry, or
nullif a matching commerce term entry could not be found
-
removeByC_P_T
public static CommerceTermEntry removeByC_P_T(long companyId, double priority, String type) throws NoSuchTermEntryException Removes the commerce term entry where companyId = ? and priority = ? and type = ? from the database.- Parameters:
companyId- the company IDpriority- the prioritytype- the type- Returns:
- the commerce term entry that was removed
- Throws:
NoSuchTermEntryException
-
countByC_P_T
Returns the number of commerce term entries where companyId = ? and priority = ? and type = ?.- Parameters:
companyId- the company IDpriority- the prioritytype- the type- Returns:
- the number of matching commerce term entries
-
findByERC_C
public static CommerceTermEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchTermEntryException Returns the commerce term entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchTermEntryExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching commerce term entry
- Throws:
NoSuchTermEntryException- if a matching commerce term entry could not be foundNoSuchTermEntryException
-
fetchByERC_C
Returns the commerce term 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 commerce term entry, or
nullif a matching commerce term entry could not be found
-
fetchByERC_C
public static CommerceTermEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce term 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 commerce term entry, or
nullif a matching commerce term entry could not be found
-
removeByERC_C
public static CommerceTermEntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchTermEntryException Removes the commerce term entry where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the commerce term entry that was removed
- Throws:
NoSuchTermEntryException
-
countByERC_C
Returns the number of commerce term entries where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching commerce term entries
-
cacheResult
Caches the commerce term entry in the entity cache if it is enabled.- Parameters:
commerceTermEntry- the commerce term entry
-
cacheResult
Caches the commerce term entries in the entity cache if it is enabled.- Parameters:
commerceTermEntries- the commerce term entries
-
create
Creates a new commerce term entry with the primary key. Does not add the commerce term entry to the database.- Parameters:
commerceTermEntryId- the primary key for the new commerce term entry- Returns:
- the new commerce term entry
-
remove
Removes the commerce term entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceTermEntryId- the primary key of the commerce term entry- Returns:
- the commerce term entry that was removed
- Throws:
NoSuchTermEntryException- if a commerce term entry with the primary key could not be foundNoSuchTermEntryException
-
updateImpl
-
findByPrimaryKey
public static CommerceTermEntry findByPrimaryKey(long commerceTermEntryId) throws NoSuchTermEntryException Returns the commerce term entry with the primary key or throws aNoSuchTermEntryExceptionif it could not be found.- Parameters:
commerceTermEntryId- the primary key of the commerce term entry- Returns:
- the commerce term entry
- Throws:
NoSuchTermEntryException- if a commerce term entry with the primary key could not be foundNoSuchTermEntryException
-
fetchByPrimaryKey
Returns the commerce term entry with the primary key or returnsnullif it could not be found.- Parameters:
commerceTermEntryId- the primary key of the commerce term entry- Returns:
- the commerce term entry, or
nullif a commerce term entry with the primary key could not be found
-
findAll
Returns all the commerce term entries.- Returns:
- the commerce term entries
-
findAll
Returns a range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
start- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)- Returns:
- the range of commerce term entries
-
findAll
public static List<CommerceTermEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
start- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of commerce term entries
-
findAll
public static List<CommerceTermEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce term 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 bothstartandendtoQueryUtil#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 fromCommerceTermEntryModelImpl.- Parameters:
start- the lower bound of the range of commerce term entriesend- the upper bound of the range of commerce term entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of commerce term entries
-
removeAll
public static void removeAll()Removes all the commerce term entries from the database. -
countAll
public static int countAll()Returns the number of commerce term entries.- Returns:
- the number of commerce term entries
-
getPersistence
-
setPersistence
-