Interface CommerceTaxCategoryMappingPersistence

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

@ProviderType public interface CommerceTaxCategoryMappingPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceTaxCategoryMapping>
The persistence interface for the commerce tax category mapping service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      Returns all the commerce tax category mappings where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce tax category mappings
    • findByUuid

      List<CommerceTaxCategoryMapping> findByUuid(String uuid, int start, int end)
      Returns a range of all the commerce tax category mappings 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 CommerceTaxCategoryMappingModelImpl.

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

      List<CommerceTaxCategoryMapping> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator)
      Returns an ordered range of all the commerce tax category mappings 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 CommerceTaxCategoryMappingModelImpl.

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

      List<CommerceTaxCategoryMapping> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce tax category mappings 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 CommerceTaxCategoryMappingModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce tax category mappings
      end - the upper bound of the range of commerce tax category mappings (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 tax category mappings
    • findByUuid_First

      CommerceTaxCategoryMapping findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) throws NoSuchTaxCategoryMappingException
      Returns the first commerce tax category mapping 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 tax category mapping
      Throws:
      NoSuchTaxCategoryMappingException - if a matching commerce tax category mapping could not be found
    • fetchByUuid_First

      CommerceTaxCategoryMapping fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator)
      Returns the first commerce tax category mapping 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 tax category mapping, or null if a matching commerce tax category mapping could not be found
    • findByUuid_Last

      CommerceTaxCategoryMapping findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) throws NoSuchTaxCategoryMappingException
      Returns the last commerce tax category mapping 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 tax category mapping
      Throws:
      NoSuchTaxCategoryMappingException - if a matching commerce tax category mapping could not be found
    • fetchByUuid_Last

      CommerceTaxCategoryMapping fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator)
      Returns the last commerce tax category mapping 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 tax category mapping, or null if a matching commerce tax category mapping could not be found
    • findByUuid_PrevAndNext

      CommerceTaxCategoryMapping[] findByUuid_PrevAndNext(long commerceTaxCategoryMappingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) throws NoSuchTaxCategoryMappingException
      Returns the commerce tax category mappings before and after the current commerce tax category mapping in the ordered set where uuid = ?.
      Parameters:
      commerceTaxCategoryMappingId - the primary key of the current commerce tax category mapping
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce tax category mapping
      Throws:
      NoSuchTaxCategoryMappingException - if a commerce tax category mapping with the primary key could not be found
    • removeByUuid

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

      int countByUuid(String uuid)
      Returns the number of commerce tax category mappings where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching commerce tax category mappings
    • findByUUID_G

      CommerceTaxCategoryMapping findByUUID_G(String uuid, long groupId) throws NoSuchTaxCategoryMappingException
      Returns the commerce tax category mapping where uuid = ? and groupId = ? or throws a NoSuchTaxCategoryMappingException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching commerce tax category mapping
      Throws:
      NoSuchTaxCategoryMappingException - if a matching commerce tax category mapping could not be found
    • fetchByUUID_G

      CommerceTaxCategoryMapping fetchByUUID_G(String uuid, long groupId)
      Returns the commerce tax category mapping where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching commerce tax category mapping, or null if a matching commerce tax category mapping could not be found
    • fetchByUUID_G

      CommerceTaxCategoryMapping fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the commerce tax category mapping where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce tax category mapping, or null if a matching commerce tax category mapping could not be found
    • removeByUUID_G

      CommerceTaxCategoryMapping removeByUUID_G(String uuid, long groupId) throws NoSuchTaxCategoryMappingException
      Removes the commerce tax category mapping where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the commerce tax category mapping that was removed
      Throws:
      NoSuchTaxCategoryMappingException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Returns the number of commerce tax category mappings where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching commerce tax category mappings
    • findByUuid_C

      List<CommerceTaxCategoryMapping> findByUuid_C(String uuid, long companyId)
      Returns all the commerce tax category mappings where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching commerce tax category mappings
    • findByUuid_C

      List<CommerceTaxCategoryMapping> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the commerce tax category mappings 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 CommerceTaxCategoryMappingModelImpl.

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

      List<CommerceTaxCategoryMapping> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator)
      Returns an ordered range of all the commerce tax category mappings 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 CommerceTaxCategoryMappingModelImpl.

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

      List<CommerceTaxCategoryMapping> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce tax category mappings 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 CommerceTaxCategoryMappingModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce tax category mappings
      end - the upper bound of the range of commerce tax category mappings (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 tax category mappings
    • findByUuid_C_First

      CommerceTaxCategoryMapping findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) throws NoSuchTaxCategoryMappingException
      Returns the first commerce tax category mapping 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 tax category mapping
      Throws:
      NoSuchTaxCategoryMappingException - if a matching commerce tax category mapping could not be found
    • fetchByUuid_C_First

      CommerceTaxCategoryMapping fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator)
      Returns the first commerce tax category mapping 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 tax category mapping, or null if a matching commerce tax category mapping could not be found
    • findByUuid_C_Last

      CommerceTaxCategoryMapping findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) throws NoSuchTaxCategoryMappingException
      Returns the last commerce tax category mapping 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 tax category mapping
      Throws:
      NoSuchTaxCategoryMappingException - if a matching commerce tax category mapping could not be found
    • fetchByUuid_C_Last

      CommerceTaxCategoryMapping fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator)
      Returns the last commerce tax category mapping 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 tax category mapping, or null if a matching commerce tax category mapping could not be found
    • findByUuid_C_PrevAndNext

      CommerceTaxCategoryMapping[] findByUuid_C_PrevAndNext(long commerceTaxCategoryMappingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) throws NoSuchTaxCategoryMappingException
      Returns the commerce tax category mappings before and after the current commerce tax category mapping in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      commerceTaxCategoryMappingId - the primary key of the current commerce tax category mapping
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce tax category mapping
      Throws:
      NoSuchTaxCategoryMappingException - if a commerce tax category mapping with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the commerce tax category mappings 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 tax category mappings where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce tax category mappings
    • findByCommerceTaxMethodId

      List<CommerceTaxCategoryMapping> findByCommerceTaxMethodId(long commerceTaxMethodId)
      Returns all the commerce tax category mappings where commerceTaxMethodId = ?.
      Parameters:
      commerceTaxMethodId - the commerce tax method ID
      Returns:
      the matching commerce tax category mappings
    • findByCommerceTaxMethodId

      List<CommerceTaxCategoryMapping> findByCommerceTaxMethodId(long commerceTaxMethodId, int start, int end)
      Returns a range of all the commerce tax category mappings where commerceTaxMethodId = ?.

      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 CommerceTaxCategoryMappingModelImpl.

      Parameters:
      commerceTaxMethodId - the commerce tax method ID
      start - the lower bound of the range of commerce tax category mappings
      end - the upper bound of the range of commerce tax category mappings (not inclusive)
      Returns:
      the range of matching commerce tax category mappings
    • findByCommerceTaxMethodId

      List<CommerceTaxCategoryMapping> findByCommerceTaxMethodId(long commerceTaxMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator)
      Returns an ordered range of all the commerce tax category mappings where commerceTaxMethodId = ?.

      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 CommerceTaxCategoryMappingModelImpl.

      Parameters:
      commerceTaxMethodId - the commerce tax method ID
      start - the lower bound of the range of commerce tax category mappings
      end - the upper bound of the range of commerce tax category mappings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce tax category mappings
    • findByCommerceTaxMethodId

      List<CommerceTaxCategoryMapping> findByCommerceTaxMethodId(long commerceTaxMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce tax category mappings where commerceTaxMethodId = ?.

      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 CommerceTaxCategoryMappingModelImpl.

      Parameters:
      commerceTaxMethodId - the commerce tax method ID
      start - the lower bound of the range of commerce tax category mappings
      end - the upper bound of the range of commerce tax category mappings (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 tax category mappings
    • findByCommerceTaxMethodId_First

      CommerceTaxCategoryMapping findByCommerceTaxMethodId_First(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) throws NoSuchTaxCategoryMappingException
      Returns the first commerce tax category mapping in the ordered set where commerceTaxMethodId = ?.
      Parameters:
      commerceTaxMethodId - the commerce tax method ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce tax category mapping
      Throws:
      NoSuchTaxCategoryMappingException - if a matching commerce tax category mapping could not be found
    • fetchByCommerceTaxMethodId_First

      CommerceTaxCategoryMapping fetchByCommerceTaxMethodId_First(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator)
      Returns the first commerce tax category mapping in the ordered set where commerceTaxMethodId = ?.
      Parameters:
      commerceTaxMethodId - the commerce tax method ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce tax category mapping, or null if a matching commerce tax category mapping could not be found
    • findByCommerceTaxMethodId_Last

      CommerceTaxCategoryMapping findByCommerceTaxMethodId_Last(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) throws NoSuchTaxCategoryMappingException
      Returns the last commerce tax category mapping in the ordered set where commerceTaxMethodId = ?.
      Parameters:
      commerceTaxMethodId - the commerce tax method ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce tax category mapping
      Throws:
      NoSuchTaxCategoryMappingException - if a matching commerce tax category mapping could not be found
    • fetchByCommerceTaxMethodId_Last

      CommerceTaxCategoryMapping fetchByCommerceTaxMethodId_Last(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator)
      Returns the last commerce tax category mapping in the ordered set where commerceTaxMethodId = ?.
      Parameters:
      commerceTaxMethodId - the commerce tax method ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce tax category mapping, or null if a matching commerce tax category mapping could not be found
    • findByCommerceTaxMethodId_PrevAndNext

      CommerceTaxCategoryMapping[] findByCommerceTaxMethodId_PrevAndNext(long commerceTaxCategoryMappingId, long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) throws NoSuchTaxCategoryMappingException
      Returns the commerce tax category mappings before and after the current commerce tax category mapping in the ordered set where commerceTaxMethodId = ?.
      Parameters:
      commerceTaxCategoryMappingId - the primary key of the current commerce tax category mapping
      commerceTaxMethodId - the commerce tax method ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce tax category mapping
      Throws:
      NoSuchTaxCategoryMappingException - if a commerce tax category mapping with the primary key could not be found
    • removeByCommerceTaxMethodId

      void removeByCommerceTaxMethodId(long commerceTaxMethodId)
      Removes all the commerce tax category mappings where commerceTaxMethodId = ? from the database.
      Parameters:
      commerceTaxMethodId - the commerce tax method ID
    • countByCommerceTaxMethodId

      int countByCommerceTaxMethodId(long commerceTaxMethodId)
      Returns the number of commerce tax category mappings where commerceTaxMethodId = ?.
      Parameters:
      commerceTaxMethodId - the commerce tax method ID
      Returns:
      the number of matching commerce tax category mappings
    • findByC_C

      CommerceTaxCategoryMapping findByC_C(long commerceTaxMethodId, long CPTaxCategoryId) throws NoSuchTaxCategoryMappingException
      Returns the commerce tax category mapping where commerceTaxMethodId = ? and CPTaxCategoryId = ? or throws a NoSuchTaxCategoryMappingException if it could not be found.
      Parameters:
      commerceTaxMethodId - the commerce tax method ID
      CPTaxCategoryId - the cp tax category ID
      Returns:
      the matching commerce tax category mapping
      Throws:
      NoSuchTaxCategoryMappingException - if a matching commerce tax category mapping could not be found
    • fetchByC_C

      CommerceTaxCategoryMapping fetchByC_C(long commerceTaxMethodId, long CPTaxCategoryId)
      Returns the commerce tax category mapping where commerceTaxMethodId = ? and CPTaxCategoryId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      commerceTaxMethodId - the commerce tax method ID
      CPTaxCategoryId - the cp tax category ID
      Returns:
      the matching commerce tax category mapping, or null if a matching commerce tax category mapping could not be found
    • fetchByC_C

      CommerceTaxCategoryMapping fetchByC_C(long commerceTaxMethodId, long CPTaxCategoryId, boolean useFinderCache)
      Returns the commerce tax category mapping where commerceTaxMethodId = ? and CPTaxCategoryId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      commerceTaxMethodId - the commerce tax method ID
      CPTaxCategoryId - the cp tax category ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce tax category mapping, or null if a matching commerce tax category mapping could not be found
    • removeByC_C

      CommerceTaxCategoryMapping removeByC_C(long commerceTaxMethodId, long CPTaxCategoryId) throws NoSuchTaxCategoryMappingException
      Removes the commerce tax category mapping where commerceTaxMethodId = ? and CPTaxCategoryId = ? from the database.
      Parameters:
      commerceTaxMethodId - the commerce tax method ID
      CPTaxCategoryId - the cp tax category ID
      Returns:
      the commerce tax category mapping that was removed
      Throws:
      NoSuchTaxCategoryMappingException
    • countByC_C

      int countByC_C(long commerceTaxMethodId, long CPTaxCategoryId)
      Returns the number of commerce tax category mappings where commerceTaxMethodId = ? and CPTaxCategoryId = ?.
      Parameters:
      commerceTaxMethodId - the commerce tax method ID
      CPTaxCategoryId - the cp tax category ID
      Returns:
      the number of matching commerce tax category mappings
    • findByERC_C

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

      CommerceTaxCategoryMapping fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the commerce tax category mapping 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 tax category mapping, or null if a matching commerce tax category mapping could not be found
    • fetchByERC_C

      CommerceTaxCategoryMapping fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the commerce tax category mapping 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 tax category mapping, or null if a matching commerce tax category mapping could not be found
    • removeByERC_C

      CommerceTaxCategoryMapping removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchTaxCategoryMappingException
      Removes the commerce tax category mapping where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the commerce tax category mapping that was removed
      Throws:
      NoSuchTaxCategoryMappingException
    • countByERC_C

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

      void cacheResult(CommerceTaxCategoryMapping commerceTaxCategoryMapping)
      Caches the commerce tax category mapping in the entity cache if it is enabled.
      Parameters:
      commerceTaxCategoryMapping - the commerce tax category mapping
    • cacheResult

      void cacheResult(List<CommerceTaxCategoryMapping> commerceTaxCategoryMappings)
      Caches the commerce tax category mappings in the entity cache if it is enabled.
      Parameters:
      commerceTaxCategoryMappings - the commerce tax category mappings
    • create

      CommerceTaxCategoryMapping create(long commerceTaxCategoryMappingId)
      Creates a new commerce tax category mapping with the primary key. Does not add the commerce tax category mapping to the database.
      Parameters:
      commerceTaxCategoryMappingId - the primary key for the new commerce tax category mapping
      Returns:
      the new commerce tax category mapping
    • remove

      CommerceTaxCategoryMapping remove(long commerceTaxCategoryMappingId) throws NoSuchTaxCategoryMappingException
      Removes the commerce tax category mapping with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commerceTaxCategoryMappingId - the primary key of the commerce tax category mapping
      Returns:
      the commerce tax category mapping that was removed
      Throws:
      NoSuchTaxCategoryMappingException - if a commerce tax category mapping with the primary key could not be found
    • updateImpl

      CommerceTaxCategoryMapping updateImpl(CommerceTaxCategoryMapping commerceTaxCategoryMapping)
    • findByPrimaryKey

      CommerceTaxCategoryMapping findByPrimaryKey(long commerceTaxCategoryMappingId) throws NoSuchTaxCategoryMappingException
      Returns the commerce tax category mapping with the primary key or throws a NoSuchTaxCategoryMappingException if it could not be found.
      Parameters:
      commerceTaxCategoryMappingId - the primary key of the commerce tax category mapping
      Returns:
      the commerce tax category mapping
      Throws:
      NoSuchTaxCategoryMappingException - if a commerce tax category mapping with the primary key could not be found
    • fetchByPrimaryKey

      CommerceTaxCategoryMapping fetchByPrimaryKey(long commerceTaxCategoryMappingId)
      Returns the commerce tax category mapping with the primary key or returns null if it could not be found.
      Parameters:
      commerceTaxCategoryMappingId - the primary key of the commerce tax category mapping
      Returns:
      the commerce tax category mapping, or null if a commerce tax category mapping with the primary key could not be found
    • findAll

      Returns all the commerce tax category mappings.
      Returns:
      the commerce tax category mappings
    • findAll

      List<CommerceTaxCategoryMapping> findAll(int start, int end)
      Returns a range of all the commerce tax category mappings.

      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 CommerceTaxCategoryMappingModelImpl.

      Parameters:
      start - the lower bound of the range of commerce tax category mappings
      end - the upper bound of the range of commerce tax category mappings (not inclusive)
      Returns:
      the range of commerce tax category mappings
    • findAll

      List<CommerceTaxCategoryMapping> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator)
      Returns an ordered range of all the commerce tax category mappings.

      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 CommerceTaxCategoryMappingModelImpl.

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

      List<CommerceTaxCategoryMapping> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce tax category mappings.

      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 CommerceTaxCategoryMappingModelImpl.

      Parameters:
      start - the lower bound of the range of commerce tax category mappings
      end - the upper bound of the range of commerce tax category mappings (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 tax category mappings
    • removeAll

      void removeAll()
      Removes all the commerce tax category mappings from the database.
    • countAll

      int countAll()
      Returns the number of commerce tax category mappings.
      Returns:
      the number of commerce tax category mappings