Interface CommerceTaxMethodPersistence

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

@ProviderType public interface CommerceTaxMethodPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceTaxMethod>
The persistence interface for the commerce tax method service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(CommerceTaxMethod commerceTaxMethod)
    Caches the commerce tax method in the entity cache if it is enabled.
    void
    cacheResult(List<CommerceTaxMethod> commerceTaxMethods)
    Caches the commerce tax methods in the entity cache if it is enabled.
    int
    Returns the number of commerce tax methods.
    int
    countByG_A(long groupId, boolean active)
    Returns the number of commerce tax methods where groupId = ? and active = ?.
    int
    countByG_E(long groupId, String engineKey)
    Returns the number of commerce tax methods where groupId = ? and engineKey = ?.
    int
    countByGroupId(long groupId)
    Returns the number of commerce tax methods where groupId = ?.
    create(long commerceTaxMethodId)
    Creates a new commerce tax method with the primary key.
    fetchByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator)
    Returns the first commerce tax method in the ordered set where groupId = ? and active = ?.
    fetchByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator)
    Returns the last commerce tax method in the ordered set where groupId = ? and active = ?.
    fetchByG_E(long groupId, String engineKey)
    Returns the commerce tax method where groupId = ? and engineKey = ? or returns null if it could not be found.
    fetchByG_E(long groupId, String engineKey, boolean useFinderCache)
    Returns the commerce tax method where groupId = ? and engineKey = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator)
    Returns the first commerce tax method in the ordered set where groupId = ?.
    fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator)
    Returns the last commerce tax method in the ordered set where groupId = ?.
    fetchByPrimaryKey(long commerceTaxMethodId)
    Returns the commerce tax method with the primary key or returns null if it could not be found.
    Returns all the commerce tax methods.
    findAll(int start, int end)
    Returns a range of all the commerce tax methods.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator)
    Returns an ordered range of all the commerce tax methods.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce tax methods.
    findByG_A(long groupId, boolean active)
    Returns all the commerce tax methods where groupId = ? and active = ?.
    findByG_A(long groupId, boolean active, int start, int end)
    Returns a range of all the commerce tax methods where groupId = ? and active = ?.
    findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator)
    Returns an ordered range of all the commerce tax methods where groupId = ? and active = ?.
    findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce tax methods where groupId = ? and active = ?.
    findByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator)
    Returns the first commerce tax method in the ordered set where groupId = ? and active = ?.
    findByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator)
    Returns the last commerce tax method in the ordered set where groupId = ? and active = ?.
    findByG_A_PrevAndNext(long commerceTaxMethodId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator)
    Returns the commerce tax methods before and after the current commerce tax method in the ordered set where groupId = ? and active = ?.
    findByG_E(long groupId, String engineKey)
    Returns the commerce tax method where groupId = ? and engineKey = ? or throws a NoSuchTaxMethodException if it could not be found.
    findByGroupId(long groupId)
    Returns all the commerce tax methods where groupId = ?.
    findByGroupId(long groupId, int start, int end)
    Returns a range of all the commerce tax methods where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator)
    Returns an ordered range of all the commerce tax methods where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce tax methods where groupId = ?.
    findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator)
    Returns the first commerce tax method in the ordered set where groupId = ?.
    findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator)
    Returns the last commerce tax method in the ordered set where groupId = ?.
    findByGroupId_PrevAndNext(long commerceTaxMethodId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator)
    Returns the commerce tax methods before and after the current commerce tax method in the ordered set where groupId = ?.
    findByPrimaryKey(long commerceTaxMethodId)
    Returns the commerce tax method with the primary key or throws a NoSuchTaxMethodException if it could not be found.
    remove(long commerceTaxMethodId)
    Removes the commerce tax method with the primary key from the database.
    void
    Removes all the commerce tax methods from the database.
    void
    removeByG_A(long groupId, boolean active)
    Removes all the commerce tax methods where groupId = ? and active = ? from the database.
    removeByG_E(long groupId, String engineKey)
    Removes the commerce tax method where groupId = ? and engineKey = ? from the database.
    void
    removeByGroupId(long groupId)
    Removes all the commerce tax methods where groupId = ? from the database.
    updateImpl(CommerceTaxMethod commerceTaxMethod)
     

    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

    • findByGroupId

      List<CommerceTaxMethod> findByGroupId(long groupId)
      Returns all the commerce tax methods where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching commerce tax methods
    • findByGroupId

      List<CommerceTaxMethod> findByGroupId(long groupId, int start, int end)
      Returns a range of all the commerce tax methods where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce tax methods
      end - the upper bound of the range of commerce tax methods (not inclusive)
      Returns:
      the range of matching commerce tax methods
    • findByGroupId

      List<CommerceTaxMethod> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator)
      Returns an ordered range of all the commerce tax methods where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce tax methods
      end - the upper bound of the range of commerce tax methods (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce tax methods
    • findByGroupId

      List<CommerceTaxMethod> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce tax methods where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce tax methods
      end - the upper bound of the range of commerce tax methods (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 methods
    • findByGroupId_First

      CommerceTaxMethod findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator) throws NoSuchTaxMethodException
      Returns the first commerce tax method in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce tax method
      Throws:
      NoSuchTaxMethodException - if a matching commerce tax method could not be found
    • fetchByGroupId_First

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

      CommerceTaxMethod findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator) throws NoSuchTaxMethodException
      Returns the last commerce tax method in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce tax method
      Throws:
      NoSuchTaxMethodException - if a matching commerce tax method could not be found
    • fetchByGroupId_Last

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

      CommerceTaxMethod[] findByGroupId_PrevAndNext(long commerceTaxMethodId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator) throws NoSuchTaxMethodException
      Returns the commerce tax methods before and after the current commerce tax method in the ordered set where groupId = ?.
      Parameters:
      commerceTaxMethodId - the primary key of the current commerce tax method
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce tax method
      Throws:
      NoSuchTaxMethodException - if a commerce tax method with the primary key could not be found
    • removeByGroupId

      void removeByGroupId(long groupId)
      Removes all the commerce tax methods where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      int countByGroupId(long groupId)
      Returns the number of commerce tax methods where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching commerce tax methods
    • findByG_E

      CommerceTaxMethod findByG_E(long groupId, String engineKey) throws NoSuchTaxMethodException
      Returns the commerce tax method where groupId = ? and engineKey = ? or throws a NoSuchTaxMethodException if it could not be found.
      Parameters:
      groupId - the group ID
      engineKey - the engine key
      Returns:
      the matching commerce tax method
      Throws:
      NoSuchTaxMethodException - if a matching commerce tax method could not be found
    • fetchByG_E

      CommerceTaxMethod fetchByG_E(long groupId, String engineKey)
      Returns the commerce tax method where groupId = ? and engineKey = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      engineKey - the engine key
      Returns:
      the matching commerce tax method, or null if a matching commerce tax method could not be found
    • fetchByG_E

      CommerceTaxMethod fetchByG_E(long groupId, String engineKey, boolean useFinderCache)
      Returns the commerce tax method where groupId = ? and engineKey = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      engineKey - the engine key
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce tax method, or null if a matching commerce tax method could not be found
    • removeByG_E

      CommerceTaxMethod removeByG_E(long groupId, String engineKey) throws NoSuchTaxMethodException
      Removes the commerce tax method where groupId = ? and engineKey = ? from the database.
      Parameters:
      groupId - the group ID
      engineKey - the engine key
      Returns:
      the commerce tax method that was removed
      Throws:
      NoSuchTaxMethodException
    • countByG_E

      int countByG_E(long groupId, String engineKey)
      Returns the number of commerce tax methods where groupId = ? and engineKey = ?.
      Parameters:
      groupId - the group ID
      engineKey - the engine key
      Returns:
      the number of matching commerce tax methods
    • findByG_A

      List<CommerceTaxMethod> findByG_A(long groupId, boolean active)
      Returns all the commerce tax methods where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      Returns:
      the matching commerce tax methods
    • findByG_A

      List<CommerceTaxMethod> findByG_A(long groupId, boolean active, int start, int end)
      Returns a range of all the commerce tax methods where groupId = ? 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 CommerceTaxMethodModelImpl.

      Parameters:
      groupId - the group ID
      active - the active
      start - the lower bound of the range of commerce tax methods
      end - the upper bound of the range of commerce tax methods (not inclusive)
      Returns:
      the range of matching commerce tax methods
    • findByG_A

      List<CommerceTaxMethod> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator)
      Returns an ordered range of all the commerce tax methods where groupId = ? 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 CommerceTaxMethodModelImpl.

      Parameters:
      groupId - the group ID
      active - the active
      start - the lower bound of the range of commerce tax methods
      end - the upper bound of the range of commerce tax methods (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce tax methods
    • findByG_A

      List<CommerceTaxMethod> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce tax methods where groupId = ? 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 CommerceTaxMethodModelImpl.

      Parameters:
      groupId - the group ID
      active - the active
      start - the lower bound of the range of commerce tax methods
      end - the upper bound of the range of commerce tax methods (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 methods
    • findByG_A_First

      CommerceTaxMethod findByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator) throws NoSuchTaxMethodException
      Returns the first commerce tax method in the ordered set where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce tax method
      Throws:
      NoSuchTaxMethodException - if a matching commerce tax method could not be found
    • fetchByG_A_First

      CommerceTaxMethod fetchByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator)
      Returns the first commerce tax method in the ordered set where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce tax method, or null if a matching commerce tax method could not be found
    • findByG_A_Last

      CommerceTaxMethod findByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator) throws NoSuchTaxMethodException
      Returns the last commerce tax method in the ordered set where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce tax method
      Throws:
      NoSuchTaxMethodException - if a matching commerce tax method could not be found
    • fetchByG_A_Last

      CommerceTaxMethod fetchByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator)
      Returns the last commerce tax method in the ordered set where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce tax method, or null if a matching commerce tax method could not be found
    • findByG_A_PrevAndNext

      CommerceTaxMethod[] findByG_A_PrevAndNext(long commerceTaxMethodId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxMethod> orderByComparator) throws NoSuchTaxMethodException
      Returns the commerce tax methods before and after the current commerce tax method in the ordered set where groupId = ? and active = ?.
      Parameters:
      commerceTaxMethodId - the primary key of the current commerce tax method
      groupId - the group ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce tax method
      Throws:
      NoSuchTaxMethodException - if a commerce tax method with the primary key could not be found
    • removeByG_A

      void removeByG_A(long groupId, boolean active)
      Removes all the commerce tax methods where groupId = ? and active = ? from the database.
      Parameters:
      groupId - the group ID
      active - the active
    • countByG_A

      int countByG_A(long groupId, boolean active)
      Returns the number of commerce tax methods where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      Returns:
      the number of matching commerce tax methods
    • cacheResult

      void cacheResult(CommerceTaxMethod commerceTaxMethod)
      Caches the commerce tax method in the entity cache if it is enabled.
      Parameters:
      commerceTaxMethod - the commerce tax method
    • cacheResult

      void cacheResult(List<CommerceTaxMethod> commerceTaxMethods)
      Caches the commerce tax methods in the entity cache if it is enabled.
      Parameters:
      commerceTaxMethods - the commerce tax methods
    • create

      CommerceTaxMethod create(long commerceTaxMethodId)
      Creates a new commerce tax method with the primary key. Does not add the commerce tax method to the database.
      Parameters:
      commerceTaxMethodId - the primary key for the new commerce tax method
      Returns:
      the new commerce tax method
    • remove

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

      CommerceTaxMethod updateImpl(CommerceTaxMethod commerceTaxMethod)
    • findByPrimaryKey

      CommerceTaxMethod findByPrimaryKey(long commerceTaxMethodId) throws NoSuchTaxMethodException
      Returns the commerce tax method with the primary key or throws a NoSuchTaxMethodException if it could not be found.
      Parameters:
      commerceTaxMethodId - the primary key of the commerce tax method
      Returns:
      the commerce tax method
      Throws:
      NoSuchTaxMethodException - if a commerce tax method with the primary key could not be found
    • fetchByPrimaryKey

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

      Returns all the commerce tax methods.
      Returns:
      the commerce tax methods
    • findAll

      List<CommerceTaxMethod> findAll(int start, int end)
      Returns a range of all the commerce tax methods.

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

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

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

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

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

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

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

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

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

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