Interface CPTaxCategoryPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPTaxCategory>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPTaxCategory>

@ProviderType public interface CPTaxCategoryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CPTaxCategory>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPTaxCategory>
The persistence interface for the cp tax category service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByCompanyId(long companyId)
    Returns the number of cp tax categories where companyId = ?.
    int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of cp tax categories where externalReferenceCode = ? and companyId = ?.
    int
    Returns the number of cp tax categories where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of cp tax categories where uuid = ? and companyId = ?.
    create(long CPTaxCategoryId)
    Creates a new cp tax category with the primary key.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator)
    Returns the first cp tax category in the ordered set where companyId = ?.
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the cp tax category where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the cp tax category where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long CPTaxCategoryId)
    Returns the cp tax category 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<CPTaxCategory> orderByComparator)
    Returns the first cp tax category in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator)
    Returns the first cp tax category in the ordered set where uuid = ?.
    int
    filterCountByCompanyId(long companyId)
    Returns the number of cp tax categories that the user has permission to view where companyId = ?.
    int
    Returns the number of cp tax categories that the user has permission to view where uuid = ?.
    int
    filterCountByUuid_C(String uuid, long companyId)
    Returns the number of cp tax categories that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByCompanyId(long companyId)
    Returns all the cp tax categories that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end)
    Returns a range of all the cp tax categories that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator)
    Returns an ordered range of all the cp tax categories that the user has permissions to view where companyId = ?.
    Returns all the cp tax categories that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end)
    Returns a range of all the cp tax categories that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator)
    Returns an ordered range of all the cp tax categories that the user has permissions to view where uuid = ?.
    filterFindByUuid_C(String uuid, long companyId)
    Returns all the cp tax categories 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 cp tax categories 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<CPTaxCategory> orderByComparator)
    Returns an ordered range of all the cp tax categories that the user has permissions to view where uuid = ? and companyId = ?.
    findByCompanyId(long companyId)
    Returns all the cp tax categories where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the cp tax categories where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator)
    Returns an ordered range of all the cp tax categories where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp tax categories where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator)
    Returns the first cp tax category in the ordered set where companyId = ?.
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the cp tax category where externalReferenceCode = ? and companyId = ? or throws a NoSuchCPTaxCategoryException if it could not be found.
    findByPrimaryKey(long CPTaxCategoryId)
    Returns the cp tax category with the primary key or throws a NoSuchCPTaxCategoryException if it could not be found.
    Returns all the cp tax categories where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the cp tax categories where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator)
    Returns an ordered range of all the cp tax categories where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp tax categories where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the cp tax categories where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the cp tax categories where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator)
    Returns an ordered range of all the cp tax categories where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp tax categories where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator)
    Returns the first cp tax category in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator)
    Returns the first cp tax category in the ordered set where uuid = ?.
    remove(long CPTaxCategoryId)
    Removes the cp tax category with the primary key from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the cp tax categories where companyId = ? from the database.
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the cp tax category where externalReferenceCode = ? and companyId = ? from the database.
    void
    Removes all the cp tax categories where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the cp tax categories where uuid = ? and companyId = ? from the database.
    updateImpl(CPTaxCategory cpTaxCategory)
     

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

    cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence

    getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
  • Method Details

    • findByUuid

      List<CPTaxCategory> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp tax categories 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPTaxCategoryModelImpl.

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

      CPTaxCategory findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) throws NoSuchCPTaxCategoryException
      Returns the first cp tax category in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp tax category
      Throws:
      NoSuchCPTaxCategoryException - if a matching cp tax category could not be found
    • fetchByUuid_First

      CPTaxCategory fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator)
      Returns the first cp tax category in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp tax category, or null if a matching cp tax category could not be found
    • filterFindByUuid

      List<CPTaxCategory> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator)
      Returns an ordered range of all the cp tax categories 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPTaxCategoryModelImpl.

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

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

      int countByUuid(String uuid)
      Returns the number of cp tax categories where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching cp tax categories
    • filterCountByUuid

      int filterCountByUuid(String uuid)
      Returns the number of cp tax categories that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching cp tax categories that the user has permission to view
    • findByUuid_C

      List<CPTaxCategory> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp tax categories 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPTaxCategoryModelImpl.

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

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

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

      List<CPTaxCategory> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator)
      Returns an ordered range of all the cp tax categories 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPTaxCategoryModelImpl.

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

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

      int filterCountByUuid_C(String uuid, long companyId)
      Returns the number of cp tax categories that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching cp tax categories that the user has permission to view
    • findByCompanyId

      List<CPTaxCategory> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp tax categories where 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPTaxCategoryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of cp tax categories
      end - the upper bound of the range of cp tax categories (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 cp tax categories
    • findByCompanyId_First

      CPTaxCategory findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) throws NoSuchCPTaxCategoryException
      Returns the first cp tax category in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp tax category
      Throws:
      NoSuchCPTaxCategoryException - if a matching cp tax category could not be found
    • fetchByCompanyId_First

      CPTaxCategory fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator)
      Returns the first cp tax category in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp tax category, or null if a matching cp tax category could not be found
    • filterFindByCompanyId

      List<CPTaxCategory> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator)
      Returns an ordered range of all the cp tax categories that the user has permissions to view where 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPTaxCategoryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of cp tax categories
      end - the upper bound of the range of cp tax categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp tax categories that the user has permission to view
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the cp tax categories where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of cp tax categories where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching cp tax categories
    • filterCountByCompanyId

      int filterCountByCompanyId(long companyId)
      Returns the number of cp tax categories that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching cp tax categories that the user has permission to view
    • findByERC_C

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

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

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

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

      CPTaxCategory create(long CPTaxCategoryId)
      Creates a new cp tax category with the primary key. Does not add the cp tax category to the database.
      Parameters:
      CPTaxCategoryId - the primary key for the new cp tax category
      Returns:
      the new cp tax category
    • remove

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

      CPTaxCategory updateImpl(CPTaxCategory cpTaxCategory)
    • findByPrimaryKey

      CPTaxCategory findByPrimaryKey(long CPTaxCategoryId) throws NoSuchCPTaxCategoryException
      Returns the cp tax category with the primary key or throws a NoSuchCPTaxCategoryException if it could not be found.
      Parameters:
      CPTaxCategoryId - the primary key of the cp tax category
      Returns:
      the cp tax category
      Throws:
      NoSuchCPTaxCategoryException - if a cp tax category with the primary key could not be found
    • fetchByPrimaryKey

      CPTaxCategory fetchByPrimaryKey(long CPTaxCategoryId)
      Returns the cp tax category with the primary key or returns null if it could not be found.
      Parameters:
      CPTaxCategoryId - the primary key of the cp tax category
      Returns:
      the cp tax category, or null if a cp tax category with the primary key could not be found
    • fetchByERC_C

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

      default List<CPTaxCategory> findByUuid(String uuid)
      Returns all the cp tax categories where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching cp tax categories
    • findByUuid

      default List<CPTaxCategory> findByUuid(String uuid, int start, int end)
      Returns a range of all the cp tax categories 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPTaxCategoryModelImpl.

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

      default List<CPTaxCategory> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator)
      Returns an ordered range of all the cp tax categories 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPTaxCategoryModelImpl.

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

      default List<CPTaxCategory> filterFindByUuid(String uuid)
      Returns all the cp tax categories that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching cp tax categories that the user has permission to view
    • filterFindByUuid

      default List<CPTaxCategory> filterFindByUuid(String uuid, int start, int end)
      Returns a range of all the cp tax categories 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPTaxCategoryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp tax categories
      end - the upper bound of the range of cp tax categories (not inclusive)
      Returns:
      the range of matching cp tax categories that the user has permission to view
    • findByUuid_C

      default List<CPTaxCategory> findByUuid_C(String uuid, long companyId)
      Returns all the cp tax categories where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching cp tax categories
    • findByUuid_C

      default List<CPTaxCategory> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the cp tax categories 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPTaxCategoryModelImpl.

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

      default List<CPTaxCategory> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator)
      Returns an ordered range of all the cp tax categories 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPTaxCategoryModelImpl.

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

      default List<CPTaxCategory> filterFindByUuid_C(String uuid, long companyId)
      Returns all the cp tax categories that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching cp tax categories that the user has permission to view
    • filterFindByUuid_C

      default List<CPTaxCategory> filterFindByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the cp tax categories 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPTaxCategoryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp tax categories
      end - the upper bound of the range of cp tax categories (not inclusive)
      Returns:
      the range of matching cp tax categories that the user has permission to view
    • findByCompanyId

      default List<CPTaxCategory> findByCompanyId(long companyId)
      Returns all the cp tax categories where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching cp tax categories
    • findByCompanyId

      default List<CPTaxCategory> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the cp tax categories where 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPTaxCategoryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of cp tax categories
      end - the upper bound of the range of cp tax categories (not inclusive)
      Returns:
      the range of matching cp tax categories
    • findByCompanyId

      default List<CPTaxCategory> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator)
      Returns an ordered range of all the cp tax categories where 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPTaxCategoryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of cp tax categories
      end - the upper bound of the range of cp tax categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp tax categories
    • filterFindByCompanyId

      default List<CPTaxCategory> filterFindByCompanyId(long companyId)
      Returns all the cp tax categories that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching cp tax categories that the user has permission to view
    • filterFindByCompanyId

      default List<CPTaxCategory> filterFindByCompanyId(long companyId, int start, int end)
      Returns a range of all the cp tax categories that the user has permission to view where 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPTaxCategoryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of cp tax categories
      end - the upper bound of the range of cp tax categories (not inclusive)
      Returns:
      the range of matching cp tax categories that the user has permission to view