Interface CommerceTermEntryPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceTermEntry>

@ProviderType public interface CommerceTermEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceTermEntry>
The persistence interface for the commerce term entry service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(CommerceTermEntry commerceTermEntry)
    Caches the commerce term entry in the entity cache if it is enabled.
    void
    cacheResult(List<CommerceTermEntry> commerceTermEntries)
    Caches the commerce term entries in the entity cache if it is enabled.
    int
    Returns the number of commerce term entries.
    int
    countByC_A(long companyId, boolean active)
    Returns the number of commerce term entries where companyId = ? and active = ?.
    int
    countByC_A_LikeType(long companyId, boolean active, String type)
    Returns the number of commerce term entries where companyId = ? and active = ? and type LIKE ?.
    int
    countByC_LikeType(long companyId, String type)
    Returns the number of commerce term entries where companyId = ? and type LIKE ?.
    int
    countByC_N(long companyId, String name)
    Returns the number of commerce term entries where companyId = ? and name = ?.
    int
    countByC_P_T(long companyId, double priority, String type)
    Returns the number of commerce term entries where companyId = ? and priority = ? and type = ?.
    int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of commerce term entries where externalReferenceCode = ? and companyId = ?.
    int
    countByLtD_S(Date displayDate, int status)
    Returns the number of commerce term entries where displayDate < ? and status = ?.
    int
    countByLtE_S(Date expirationDate, int status)
    Returns the number of commerce term entries where expirationDate < ? and status = ?.
    int
    Returns the number of commerce term entries where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of commerce term entries where uuid = ? and companyId = ?.
    create(long commerceTermEntryId)
    Creates a new commerce term entry with the primary key.
    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 = ?.
    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 = ?.
    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 ?.
    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 ?.
    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 ?.
    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 ?.
    fetchByC_N(long companyId, String name)
    Returns the commerce term entry where companyId = ? and name = ? or returns null if it could not be found.
    fetchByC_N(long companyId, String name, boolean useFinderCache)
    Returns the commerce term entry where companyId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_P_T(long companyId, double priority, String type)
    Returns the commerce term entry where companyId = ? and priority = ? and type = ? or returns null if it could not be found.
    fetchByC_P_T(long companyId, double priority, String type, boolean useFinderCache)
    Returns the commerce term entry where companyId = ? and priority = ? and type = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the commerce term entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the commerce term entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    fetchByPrimaryKey(long commerceTermEntryId)
    Returns the commerce term entry with the primary key or returns null if it could not be found.
    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 = ?.
    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 = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
    Returns the first commerce term entry in the ordered set where uuid = ?.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
    Returns the last commerce term entry in the ordered set where uuid = ?.
    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 = ?.
    int
    filterCountByC_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 ?.
    int
    filterCountByC_LikeType(long companyId, String type)
    Returns the number of commerce term entries that the user has permission to view where companyId = ? and type LIKE ?.
    int
    filterCountByLtD_S(Date displayDate, int status)
    Returns the number of commerce term entries that the user has permission to view where displayDate < ? and status = ?.
    int
    filterCountByLtE_S(Date expirationDate, int status)
    Returns the number of commerce term entries that the user has permission to view where expirationDate < ? and status = ?.
    int
    Returns the number of commerce term entries that the user has permission to view where uuid = ?.
    int
    filterCountByUuid_C(String uuid, long companyId)
    Returns the number of commerce term entries that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByC_A(long companyId, boolean active)
    Returns all the commerce term entries that the user has permission to view where companyId = ? and active = ?.
    filterFindByC_A(long companyId, boolean active, int start, int end)
    Returns a range of all the commerce term entries that the user has permission to view where companyId = ? and active = ?.
    filterFindByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
    Returns an ordered range of all the commerce term entries that the user has permissions to view where companyId = ? and active = ?.
    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 ?.
    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 ?.
    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 ?.
    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 ?.
    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 = ?.
    filterFindByC_LikeType(long companyId, String type)
    Returns all the commerce term entries that the user has permission to view where companyId = ? and type LIKE ?.
    filterFindByC_LikeType(long companyId, String type, int start, int end)
    Returns a range of all the commerce term entries that the user has permission to view where companyId = ? and type LIKE ?.
    filterFindByC_LikeType(long companyId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
    Returns an ordered range of all the commerce term entries that the user has permissions to view where companyId = ? and type LIKE ?.
    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 ?.
    filterFindByLtD_S(Date displayDate, int status)
    Returns all the commerce term entries that the user has permission to view where displayDate < ? and status = ?.
    filterFindByLtD_S(Date displayDate, int status, int start, int end)
    Returns a range of all the commerce term entries that the user has permission to view where displayDate < ? and status = ?.
    filterFindByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
    Returns an ordered range of all the commerce term entries that the user has permissions to view where displayDate < ? and status = ?.
    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 = ?.
    filterFindByLtE_S(Date expirationDate, int status)
    Returns all the commerce term entries that the user has permission to view where expirationDate < ? and status = ?.
    filterFindByLtE_S(Date expirationDate, int status, int start, int end)
    Returns a range of all the commerce term entries that the user has permission to view where expirationDate < ? and status = ?.
    filterFindByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
    Returns an ordered range of all the commerce term entries that the user has permissions to view where expirationDate < ? and status = ?.
    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 = ?.
    Returns all the commerce term entries that the user has permission to view where uuid = ?.
    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 = ?.
    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 = ?.
    filterFindByUuid_C(String uuid, long companyId)
    Returns all the commerce term entries that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the commerce term entries that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
    Returns an ordered range of all the commerce term entries that the user has permissions to view where uuid = ? and companyId = ?.
    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 = ?.
    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 = ?.
    Returns all the commerce term entries.
    findAll(int start, int end)
    Returns a range of all the commerce term entries.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
    Returns an ordered range of all the commerce term entries.
    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.
    findByC_A(long companyId, boolean active)
    Returns all the commerce term entries where companyId = ? and active = ?.
    findByC_A(long companyId, boolean active, int start, int end)
    Returns a range of all the commerce term entries where companyId = ? and active = ?.
    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 = ?.
    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 = ?.
    findByC_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 = ?.
    findByC_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 = ?.
    findByC_A_LikeType(long companyId, boolean active, String type)
    Returns all the commerce term entries where companyId = ? and active = ? and type LIKE ?.
    findByC_A_LikeType(long companyId, boolean active, String type, int start, int end)
    Returns a range of all the commerce term entries where companyId = ? and active = ? and type LIKE ?.
    findByC_A_LikeType(long companyId, boolean active, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
    Returns an ordered range of all the commerce term entries where companyId = ? and active = ? and type LIKE ?.
    findByC_A_LikeType(long companyId, boolean active, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce term entries where companyId = ? and active = ? and type LIKE ?.
    findByC_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 ?.
    findByC_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 ?.
    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 ?.
    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 = ?.
    findByC_LikeType(long companyId, String type)
    Returns all the commerce term entries where companyId = ? and type LIKE ?.
    findByC_LikeType(long companyId, String type, int start, int end)
    Returns a range of all the commerce term entries where companyId = ? and type LIKE ?.
    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 ?.
    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 ?.
    findByC_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 ?.
    findByC_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 ?.
    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 ?.
    findByC_N(long companyId, String name)
    Returns the commerce term entry where companyId = ? and name = ? or throws a NoSuchTermEntryException if it could not be found.
    findByC_P_T(long companyId, double priority, String type)
    Returns the commerce term entry where companyId = ? and priority = ? and type = ? or throws a NoSuchTermEntryException if it could not be found.
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the commerce term entry where externalReferenceCode = ? and companyId = ? or throws a NoSuchTermEntryException if it could not be found.
    findByLtD_S(Date displayDate, int status)
    Returns all the commerce term entries where displayDate < ? and status = ?.
    findByLtD_S(Date displayDate, int status, int start, int end)
    Returns a range of all the commerce term entries where displayDate < ? and status = ?.
    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 = ?.
    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 = ?.
    findByLtD_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 = ?.
    findByLtD_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 = ?.
    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 = ?.
    findByLtE_S(Date expirationDate, int status)
    Returns all the commerce term entries where expirationDate < ? and status = ?.
    findByLtE_S(Date expirationDate, int status, int start, int end)
    Returns a range of all the commerce term entries where expirationDate < ? and status = ?.
    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 = ?.
    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 = ?.
    findByLtE_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 = ?.
    findByLtE_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 = ?.
    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 = ?.
    findByPrimaryKey(long commerceTermEntryId)
    Returns the commerce term entry with the primary key or throws a NoSuchTermEntryException if it could not be found.
    Returns all the commerce term entries where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the commerce term entries where uuid = ?.
    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 = ?.
    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 = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the commerce term entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the commerce term entries where uuid = ? and companyId = ?.
    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 = ?.
    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 = ?.
    findByUuid_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 = ?.
    findByUuid_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 = ?.
    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 = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
    Returns the first commerce term entry in the ordered set where uuid = ?.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
    Returns the last commerce term entry in the ordered set where uuid = ?.
    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 = ?.
    remove(long commerceTermEntryId)
    Removes the commerce term entry with the primary key from the database.
    void
    Removes all the commerce term entries from the database.
    void
    removeByC_A(long companyId, boolean active)
    Removes all the commerce term entries where companyId = ? and active = ? from the database.
    void
    removeByC_A_LikeType(long companyId, boolean active, String type)
    Removes all the commerce term entries where companyId = ? and active = ? and type LIKE ? from the database.
    void
    removeByC_LikeType(long companyId, String type)
    Removes all the commerce term entries where companyId = ? and type LIKE ? from the database.
    removeByC_N(long companyId, String name)
    Removes the commerce term entry where companyId = ? and name = ? from the database.
    removeByC_P_T(long companyId, double priority, String type)
    Removes the commerce term entry where companyId = ? and priority = ? and type = ? from the database.
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the commerce term entry where externalReferenceCode = ? and companyId = ? from the database.
    void
    removeByLtD_S(Date displayDate, int status)
    Removes all the commerce term entries where displayDate < ? and status = ? from the database.
    void
    removeByLtE_S(Date expirationDate, int status)
    Removes all the commerce term entries where expirationDate < ? and status = ? from the database.
    void
    Removes all the commerce term entries where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the commerce term entries where uuid = ? and companyId = ? from the database.
    updateImpl(CommerceTermEntry commerceTermEntry)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Method Details

    • findByUuid

      List<CommerceTermEntry> findByUuid(String uuid)
      Returns all the commerce term entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce term entries
    • findByUuid

      List<CommerceTermEntry> findByUuid(String uuid, int start, int end)
      Returns a range of all the commerce term entries where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      Returns:
      the range of matching commerce term entries
    • findByUuid

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce term entries
    • findByUuid

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching commerce term entries
    • findByUuid_First

      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce term entry
      Throws:
      NoSuchTermEntryException - if a matching commerce term entry could not be found
    • fetchByUuid_First

      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce term entry, or null if a matching commerce term entry could not be found
    • findByUuid_Last

      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce term entry
      Throws:
      NoSuchTermEntryException - if a matching commerce term entry could not be found
    • fetchByUuid_Last

      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce term entry, or null if a matching commerce term entry could not be found
    • findByUuid_PrevAndNext

      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 entry
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce term entry
      Throws:
      NoSuchTermEntryException - if a commerce term entry with the primary key could not be found
    • filterFindByUuid

      List<CommerceTermEntry> filterFindByUuid(String uuid)
      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

      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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce term entries
      end - 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

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce term entries that the user has permission to view
    • filterFindByUuid_PrevAndNext

      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 entry
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce term entry
      Throws:
      NoSuchTermEntryException - if a commerce term entry with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the commerce term entries where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of commerce term entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching commerce term entries
    • filterCountByUuid

      int filterCountByUuid(String uuid)
      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

      List<CommerceTermEntry> findByUuid_C(String uuid, long companyId)
      Returns all the commerce term entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching commerce term entries
    • findByUuid_C

      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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      Returns:
      the range of matching commerce term entries
    • findByUuid_C

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce term entries
    • findByUuid_C

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching commerce term entries
    • findByUuid_C_First

      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce term entry
      Throws:
      NoSuchTermEntryException - if a matching commerce term entry could not be found
    • fetchByUuid_C_First

      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce term entry, or null if a matching commerce term entry could not be found
    • findByUuid_C_Last

      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce term entry
      Throws:
      NoSuchTermEntryException - if a matching commerce term entry could not be found
    • fetchByUuid_C_Last

      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce term entry, or null if a matching commerce term entry could not be found
    • findByUuid_C_PrevAndNext

      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 entry
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce term entry
      Throws:
      NoSuchTermEntryException - if a commerce term entry with the primary key could not be found
    • filterFindByUuid_C

      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 = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching commerce term entries that the user has permission to view
    • filterFindByUuid_C

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce term entries
      end - 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

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce term entries that the user has permission to view
    • filterFindByUuid_C_PrevAndNext

      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 entry
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce term entry
      Throws:
      NoSuchTermEntryException - if a commerce term entry with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the commerce term entries where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of commerce term entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce term entries
    • filterCountByUuid_C

      int filterCountByUuid_C(String uuid, long companyId)
      Returns the number of commerce term entries that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce term entries that the user has permission to view
    • findByC_A

      List<CommerceTermEntry> findByC_A(long companyId, boolean active)
      Returns all the commerce term entries where companyId = ? and active = ?.
      Parameters:
      companyId - the company ID
      active - the active
      Returns:
      the matching commerce term entries
    • findByC_A

      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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      Returns:
      the range of matching commerce term entries
    • findByC_A

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce term entries
    • findByC_A

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching commerce term entries
    • findByC_A_First

      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 ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce term entry
      Throws:
      NoSuchTermEntryException - if a matching commerce term entry could not be found
    • fetchByC_A_First

      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 ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce term entry, or null if a matching commerce term entry could not be found
    • findByC_A_Last

      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 ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce term entry
      Throws:
      NoSuchTermEntryException - if a matching commerce term entry could not be found
    • fetchByC_A_Last

      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 ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce term entry, or null if a matching commerce term entry could not be found
    • findByC_A_PrevAndNext

      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 entry
      companyId - the company ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce term entry
      Throws:
      NoSuchTermEntryException - if a commerce term entry with the primary key could not be found
    • filterFindByC_A

      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 = ?.
      Parameters:
      companyId - the company ID
      active - the active
      Returns:
      the matching commerce term entries that the user has permission to view
    • filterFindByC_A

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      start - the lower bound of the range of commerce term entries
      end - 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

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce term entries that the user has permission to view
    • filterFindByC_A_PrevAndNext

      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 entry
      companyId - the company ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce term entry
      Throws:
      NoSuchTermEntryException - if a commerce term entry with the primary key could not be found
    • removeByC_A

      void removeByC_A(long companyId, boolean active)
      Removes all the commerce term entries where companyId = ? and active = ? from the database.
      Parameters:
      companyId - the company ID
      active - the active
    • countByC_A

      int countByC_A(long companyId, boolean active)
      Returns the number of commerce term entries where companyId = ? and active = ?.
      Parameters:
      companyId - the company ID
      active - the active
      Returns:
      the number of matching commerce term entries
    • filterCountByC_A

      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 ID
      active - the active
      Returns:
      the number of matching commerce term entries that the user has permission to view
    • findByC_N

      CommerceTermEntry findByC_N(long companyId, String name) throws NoSuchTermEntryException
      Returns the commerce term entry where companyId = ? and name = ? or throws a NoSuchTermEntryException if it could not be found.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the matching commerce term entry
      Throws:
      NoSuchTermEntryException - if a matching commerce term entry could not be found
    • fetchByC_N

      CommerceTermEntry fetchByC_N(long companyId, String name)
      Returns the commerce term entry where companyId = ? and name = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the matching commerce term entry, or null if a matching commerce term entry could not be found
    • fetchByC_N

      CommerceTermEntry fetchByC_N(long companyId, String name, boolean useFinderCache)
      Returns the commerce term entry where companyId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      name - the name
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce term entry, or null if a matching commerce term entry could not be found
    • removeByC_N

      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 ID
      name - the name
      Returns:
      the commerce term entry that was removed
      Throws:
      NoSuchTermEntryException
    • countByC_N

      int countByC_N(long companyId, String name)
      Returns the number of commerce term entries where companyId = ? and name = ?.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the number of matching commerce term entries
    • findByC_LikeType

      List<CommerceTermEntry> findByC_LikeType(long companyId, String type)
      Returns all the commerce term entries where companyId = ? and type LIKE ?.
      Parameters:
      companyId - the company ID
      type - the type
      Returns:
      the matching commerce term entries
    • findByC_LikeType

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      companyId - the company ID
      type - the type
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      Returns:
      the range of matching commerce term entries
    • findByC_LikeType

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      companyId - the company ID
      type - the type
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce term entries
    • findByC_LikeType

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      companyId - the company ID
      type - the type
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching commerce term entries
    • findByC_LikeType_First

      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 ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce term entry
      Throws:
      NoSuchTermEntryException - if a matching commerce term entry could not be found
    • fetchByC_LikeType_First

      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 ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce term entry, or null if a matching commerce term entry could not be found
    • findByC_LikeType_Last

      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 ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce term entry
      Throws:
      NoSuchTermEntryException - if a matching commerce term entry could not be found
    • fetchByC_LikeType_Last

      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 ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce term entry, or null if a matching commerce term entry could not be found
    • findByC_LikeType_PrevAndNext

      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 entry
      companyId - the company ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce term entry
      Throws:
      NoSuchTermEntryException - if a commerce term entry with the primary key could not be found
    • filterFindByC_LikeType

      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 ?.
      Parameters:
      companyId - the company ID
      type - the type
      Returns:
      the matching commerce term entries that the user has permission to view
    • filterFindByC_LikeType

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      companyId - the company ID
      type - the type
      start - the lower bound of the range of commerce term entries
      end - 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

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      companyId - the company ID
      type - the type
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce term entries that the user has permission to view
    • filterFindByC_LikeType_PrevAndNext

      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 entry
      companyId - the company ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce term entry
      Throws:
      NoSuchTermEntryException - if a commerce term entry with the primary key could not be found
    • removeByC_LikeType

      void removeByC_LikeType(long companyId, String type)
      Removes all the commerce term entries where companyId = ? and type LIKE ? from the database.
      Parameters:
      companyId - the company ID
      type - the type
    • countByC_LikeType

      int countByC_LikeType(long companyId, String type)
      Returns the number of commerce term entries where companyId = ? and type LIKE ?.
      Parameters:
      companyId - the company ID
      type - the type
      Returns:
      the number of matching commerce term entries
    • filterCountByC_LikeType

      int filterCountByC_LikeType(long companyId, String type)
      Returns the number of commerce term entries that the user has permission to view where companyId = ? and type LIKE ?.
      Parameters:
      companyId - the company ID
      type - the type
      Returns:
      the number of matching commerce term entries that the user has permission to view
    • findByLtD_S

      List<CommerceTermEntry> findByLtD_S(Date displayDate, int status)
      Returns all the commerce term entries where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the matching commerce term entries
    • findByLtD_S

      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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      Returns:
      the range of matching commerce term entries
    • findByLtD_S

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce term entries
    • findByLtD_S

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching commerce term entries
    • findByLtD_S_First

      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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce term entry
      Throws:
      NoSuchTermEntryException - if a matching commerce term entry could not be found
    • fetchByLtD_S_First

      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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce term entry, or null if a matching commerce term entry could not be found
    • findByLtD_S_Last

      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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce term entry
      Throws:
      NoSuchTermEntryException - if a matching commerce term entry could not be found
    • fetchByLtD_S_Last

      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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce term entry, or null if a matching commerce term entry could not be found
    • findByLtD_S_PrevAndNext

      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 entry
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce term entry
      Throws:
      NoSuchTermEntryException - if a commerce term entry with the primary key could not be found
    • filterFindByLtD_S

      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 = ?.
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the matching commerce term entries that the user has permission to view
    • filterFindByLtD_S

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of commerce term entries
      end - 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

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce term entries that the user has permission to view
    • filterFindByLtD_S_PrevAndNext

      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 entry
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce term entry
      Throws:
      NoSuchTermEntryException - if a commerce term entry with the primary key could not be found
    • removeByLtD_S

      void removeByLtD_S(Date displayDate, int status)
      Removes all the commerce term entries where displayDate < ? and status = ? from the database.
      Parameters:
      displayDate - the display date
      status - the status
    • countByLtD_S

      int countByLtD_S(Date displayDate, int status)
      Returns the number of commerce term entries where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the number of matching commerce term entries
    • filterCountByLtD_S

      int filterCountByLtD_S(Date displayDate, int status)
      Returns the number of commerce term entries that the user has permission to view where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the number of matching commerce term entries that the user has permission to view
    • findByLtE_S

      List<CommerceTermEntry> findByLtE_S(Date expirationDate, int status)
      Returns all the commerce term entries where expirationDate < ? and status = ?.
      Parameters:
      expirationDate - the expiration date
      status - the status
      Returns:
      the matching commerce term entries
    • findByLtE_S

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      expirationDate - the expiration date
      status - the status
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      Returns:
      the range of matching commerce term entries
    • findByLtE_S

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      expirationDate - the expiration date
      status - the status
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce term entries
    • findByLtE_S

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      expirationDate - the expiration date
      status - the status
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching commerce term entries
    • findByLtE_S_First

      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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce term entry
      Throws:
      NoSuchTermEntryException - if a matching commerce term entry could not be found
    • fetchByLtE_S_First

      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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce term entry, or null if a matching commerce term entry could not be found
    • findByLtE_S_Last

      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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce term entry
      Throws:
      NoSuchTermEntryException - if a matching commerce term entry could not be found
    • fetchByLtE_S_Last

      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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce term entry, or null if a matching commerce term entry could not be found
    • findByLtE_S_PrevAndNext

      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 entry
      expirationDate - the expiration date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce term entry
      Throws:
      NoSuchTermEntryException - if a commerce term entry with the primary key could not be found
    • filterFindByLtE_S

      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 = ?.
      Parameters:
      expirationDate - the expiration date
      status - the status
      Returns:
      the matching commerce term entries that the user has permission to view
    • filterFindByLtE_S

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      expirationDate - the expiration date
      status - the status
      start - the lower bound of the range of commerce term entries
      end - 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

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      expirationDate - the expiration date
      status - the status
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce term entries that the user has permission to view
    • filterFindByLtE_S_PrevAndNext

      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 entry
      expirationDate - the expiration date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce term entry
      Throws:
      NoSuchTermEntryException - if a commerce term entry with the primary key could not be found
    • removeByLtE_S

      void removeByLtE_S(Date expirationDate, int status)
      Removes all the commerce term entries where expirationDate < ? and status = ? from the database.
      Parameters:
      expirationDate - the expiration date
      status - the status
    • countByLtE_S

      int countByLtE_S(Date expirationDate, int status)
      Returns the number of commerce term entries where expirationDate < ? and status = ?.
      Parameters:
      expirationDate - the expiration date
      status - the status
      Returns:
      the number of matching commerce term entries
    • filterCountByLtE_S

      int filterCountByLtE_S(Date expirationDate, int status)
      Returns the number of commerce term entries that the user has permission to view where expirationDate < ? and status = ?.
      Parameters:
      expirationDate - the expiration date
      status - the status
      Returns:
      the number of matching commerce term entries that the user has permission to view
    • findByC_A_LikeType

      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 ID
      active - the active
      type - the type
      Returns:
      the matching commerce term entries
    • findByC_A_LikeType

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      type - the type
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      Returns:
      the range of matching commerce term entries
    • findByC_A_LikeType

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      type - the type
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce term entries
    • findByC_A_LikeType

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      type - the type
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching commerce term entries
    • findByC_A_LikeType_First

      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 ID
      active - the active
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce term entry
      Throws:
      NoSuchTermEntryException - if a matching commerce term entry could not be found
    • fetchByC_A_LikeType_First

      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 ID
      active - the active
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce term entry, or null if a matching commerce term entry could not be found
    • findByC_A_LikeType_Last

      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 ID
      active - the active
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce term entry
      Throws:
      NoSuchTermEntryException - if a matching commerce term entry could not be found
    • fetchByC_A_LikeType_Last

      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 ID
      active - the active
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce term entry, or null if a matching commerce term entry could not be found
    • findByC_A_LikeType_PrevAndNext

      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 entry
      companyId - the company ID
      active - the active
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce term entry
      Throws:
      NoSuchTermEntryException - if a commerce term entry with the primary key could not be found
    • filterFindByC_A_LikeType

      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 ID
      active - the active
      type - the type
      Returns:
      the matching commerce term entries that the user has permission to view
    • filterFindByC_A_LikeType

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      type - the type
      start - the lower bound of the range of commerce term entries
      end - 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

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      type - the type
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce term entries that the user has permission to view
    • filterFindByC_A_LikeType_PrevAndNext

      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 entry
      companyId - the company ID
      active - the active
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce term entry
      Throws:
      NoSuchTermEntryException - if a commerce term entry with the primary key could not be found
    • removeByC_A_LikeType

      void removeByC_A_LikeType(long companyId, boolean active, String type)
      Removes all the commerce term entries where companyId = ? and active = ? and type LIKE ? from the database.
      Parameters:
      companyId - the company ID
      active - the active
      type - the type
    • countByC_A_LikeType

      int countByC_A_LikeType(long companyId, boolean active, String type)
      Returns the number of commerce term entries where companyId = ? and active = ? and type LIKE ?.
      Parameters:
      companyId - the company ID
      active - the active
      type - the type
      Returns:
      the number of matching commerce term entries
    • filterCountByC_A_LikeType

      int filterCountByC_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 ?.
      Parameters:
      companyId - the company ID
      active - the active
      type - the type
      Returns:
      the number of matching commerce term entries that the user has permission to view
    • findByC_P_T

      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 a NoSuchTermEntryException if it could not be found.
      Parameters:
      companyId - the company ID
      priority - the priority
      type - the type
      Returns:
      the matching commerce term entry
      Throws:
      NoSuchTermEntryException - if a matching commerce term entry could not be found
    • fetchByC_P_T

      CommerceTermEntry fetchByC_P_T(long companyId, double priority, String type)
      Returns the commerce term entry where companyId = ? and priority = ? and type = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      priority - the priority
      type - the type
      Returns:
      the matching commerce term entry, or null if a matching commerce term entry could not be found
    • fetchByC_P_T

      CommerceTermEntry fetchByC_P_T(long companyId, double priority, String type, boolean useFinderCache)
      Returns the commerce term entry where companyId = ? and priority = ? and type = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      priority - the priority
      type - the type
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce term entry, or null if a matching commerce term entry could not be found
    • removeByC_P_T

      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 ID
      priority - the priority
      type - the type
      Returns:
      the commerce term entry that was removed
      Throws:
      NoSuchTermEntryException
    • countByC_P_T

      int countByC_P_T(long companyId, double priority, String type)
      Returns the number of commerce term entries where companyId = ? and priority = ? and type = ?.
      Parameters:
      companyId - the company ID
      priority - the priority
      type - the type
      Returns:
      the number of matching commerce term entries
    • findByERC_C

      CommerceTermEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchTermEntryException
      Returns the commerce term entry where externalReferenceCode = ? and companyId = ? or throws a NoSuchTermEntryException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching commerce term entry
      Throws:
      NoSuchTermEntryException - if a matching commerce term entry could not be found
    • fetchByERC_C

      CommerceTermEntry fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the commerce term entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching commerce term entry, or null if a matching commerce term entry could not be found
    • fetchByERC_C

      CommerceTermEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the commerce term entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce term entry, or null if a matching commerce term entry could not be found
    • removeByERC_C

      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 code
      companyId - the company ID
      Returns:
      the commerce term entry that was removed
      Throws:
      NoSuchTermEntryException
    • countByERC_C

      int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of commerce term entries where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching commerce term entries
    • cacheResult

      void cacheResult(CommerceTermEntry commerceTermEntry)
      Caches the commerce term entry in the entity cache if it is enabled.
      Parameters:
      commerceTermEntry - the commerce term entry
    • cacheResult

      void cacheResult(List<CommerceTermEntry> commerceTermEntries)
      Caches the commerce term entries in the entity cache if it is enabled.
      Parameters:
      commerceTermEntries - the commerce term entries
    • create

      CommerceTermEntry create(long commerceTermEntryId)
      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

      CommerceTermEntry remove(long commerceTermEntryId) throws NoSuchTermEntryException
      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 found
    • updateImpl

      CommerceTermEntry updateImpl(CommerceTermEntry commerceTermEntry)
    • findByPrimaryKey

      CommerceTermEntry findByPrimaryKey(long commerceTermEntryId) throws NoSuchTermEntryException
      Returns the commerce term entry with the primary key or throws a NoSuchTermEntryException if 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 found
    • fetchByPrimaryKey

      CommerceTermEntry fetchByPrimaryKey(long commerceTermEntryId)
      Returns the commerce term entry with the primary key or returns null if it could not be found.
      Parameters:
      commerceTermEntryId - the primary key of the commerce term entry
      Returns:
      the commerce term entry, or null if 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

      List<CommerceTermEntry> findAll(int start, int end)
      Returns a range of all the commerce term entries.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      Returns:
      the range of commerce term entries
    • findAll

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of commerce term entries
    • findAll

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceTermEntryModelImpl.

      Parameters:
      start - the lower bound of the range of commerce term entries
      end - the upper bound of the range of commerce term entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of commerce term entries
    • removeAll

      void removeAll()
      Removes all the commerce term entries from the database.
    • countAll

      int countAll()
      Returns the number of commerce term entries.
      Returns:
      the number of commerce term entries