Class CommerceTaxFixedRateAddressRelUtil
com.liferay.commerce.tax.engine.fixed.service.persistence.impl.CommerceTaxFixedRateAddressRelPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel) Caches the commerce tax fixed rate address rel in the entity cache if it is enabled.static void
cacheResult
(List<CommerceTaxFixedRateAddressRel> commerceTaxFixedRateAddressRels) Caches the commerce tax fixed rate address rels in the entity cache if it is enabled.static void
static void
clearCache
(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel) static int
countAll()
Returns the number of commerce tax fixed rate address rels.static int
countByCommerceTaxMethodId
(long commerceTaxMethodId) Returns the number of commerce tax fixed rate address rels where commerceTaxMethodId = ?.static int
countByCountryId
(long countryId) Returns the number of commerce tax fixed rate address rels where countryId = ?.static int
countByCPTaxCategoryId
(long CPTaxCategoryId) Returns the number of commerce tax fixed rate address rels where CPTaxCategoryId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) create
(long commerceTaxFixedRateAddressRelId) Creates a new commerce tax fixed rate address rel with the primary key.fetchByCommerceTaxMethodId_First
(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the first commerce tax fixed rate address rel in the ordered set where commerceTaxMethodId = ?.fetchByCommerceTaxMethodId_Last
(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the last commerce tax fixed rate address rel in the ordered set where commerceTaxMethodId = ?.fetchByCountryId_First
(long countryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the first commerce tax fixed rate address rel in the ordered set where countryId = ?.fetchByCountryId_Last
(long countryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the last commerce tax fixed rate address rel in the ordered set where countryId = ?.fetchByCPTaxCategoryId_First
(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the first commerce tax fixed rate address rel in the ordered set where CPTaxCategoryId = ?.fetchByCPTaxCategoryId_Last
(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the last commerce tax fixed rate address rel in the ordered set where CPTaxCategoryId = ?.fetchByPrimaryKey
(long commerceTaxFixedRateAddressRelId) Returns the commerce tax fixed rate address rel with the primary key or returnsnull
if it could not be found.fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static List<CommerceTaxFixedRateAddressRel>
findAll()
Returns all the commerce tax fixed rate address rels.static List<CommerceTaxFixedRateAddressRel>
findAll
(int start, int end) Returns a range of all the commerce tax fixed rate address rels.static List<CommerceTaxFixedRateAddressRel>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns an ordered range of all the commerce tax fixed rate address rels.static List<CommerceTaxFixedRateAddressRel>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce tax fixed rate address rels.static List<CommerceTaxFixedRateAddressRel>
findByCommerceTaxMethodId
(long commerceTaxMethodId) Returns all the commerce tax fixed rate address rels where commerceTaxMethodId = ?.static List<CommerceTaxFixedRateAddressRel>
findByCommerceTaxMethodId
(long commerceTaxMethodId, int start, int end) Returns a range of all the commerce tax fixed rate address rels where commerceTaxMethodId = ?.static List<CommerceTaxFixedRateAddressRel>
findByCommerceTaxMethodId
(long commerceTaxMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns an ordered range of all the commerce tax fixed rate address rels where commerceTaxMethodId = ?.static List<CommerceTaxFixedRateAddressRel>
findByCommerceTaxMethodId
(long commerceTaxMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce tax fixed rate address rels where commerceTaxMethodId = ?.findByCommerceTaxMethodId_First
(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the first commerce tax fixed rate address rel in the ordered set where commerceTaxMethodId = ?.findByCommerceTaxMethodId_Last
(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the last commerce tax fixed rate address rel in the ordered set where commerceTaxMethodId = ?.static CommerceTaxFixedRateAddressRel[]
findByCommerceTaxMethodId_PrevAndNext
(long commerceTaxFixedRateAddressRelId, long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the commerce tax fixed rate address rels before and after the current commerce tax fixed rate address rel in the ordered set where commerceTaxMethodId = ?.static List<CommerceTaxFixedRateAddressRel>
findByCountryId
(long countryId) Returns all the commerce tax fixed rate address rels where countryId = ?.static List<CommerceTaxFixedRateAddressRel>
findByCountryId
(long countryId, int start, int end) Returns a range of all the commerce tax fixed rate address rels where countryId = ?.static List<CommerceTaxFixedRateAddressRel>
findByCountryId
(long countryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns an ordered range of all the commerce tax fixed rate address rels where countryId = ?.static List<CommerceTaxFixedRateAddressRel>
findByCountryId
(long countryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce tax fixed rate address rels where countryId = ?.findByCountryId_First
(long countryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the first commerce tax fixed rate address rel in the ordered set where countryId = ?.findByCountryId_Last
(long countryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the last commerce tax fixed rate address rel in the ordered set where countryId = ?.static CommerceTaxFixedRateAddressRel[]
findByCountryId_PrevAndNext
(long commerceTaxFixedRateAddressRelId, long countryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the commerce tax fixed rate address rels before and after the current commerce tax fixed rate address rel in the ordered set where countryId = ?.static List<CommerceTaxFixedRateAddressRel>
findByCPTaxCategoryId
(long CPTaxCategoryId) Returns all the commerce tax fixed rate address rels where CPTaxCategoryId = ?.static List<CommerceTaxFixedRateAddressRel>
findByCPTaxCategoryId
(long CPTaxCategoryId, int start, int end) Returns a range of all the commerce tax fixed rate address rels where CPTaxCategoryId = ?.static List<CommerceTaxFixedRateAddressRel>
findByCPTaxCategoryId
(long CPTaxCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns an ordered range of all the commerce tax fixed rate address rels where CPTaxCategoryId = ?.static List<CommerceTaxFixedRateAddressRel>
findByCPTaxCategoryId
(long CPTaxCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce tax fixed rate address rels where CPTaxCategoryId = ?.findByCPTaxCategoryId_First
(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the first commerce tax fixed rate address rel in the ordered set where CPTaxCategoryId = ?.findByCPTaxCategoryId_Last
(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the last commerce tax fixed rate address rel in the ordered set where CPTaxCategoryId = ?.static CommerceTaxFixedRateAddressRel[]
findByCPTaxCategoryId_PrevAndNext
(long commerceTaxFixedRateAddressRelId, long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the commerce tax fixed rate address rels before and after the current commerce tax fixed rate address rel in the ordered set where CPTaxCategoryId = ?.findByPrimaryKey
(long commerceTaxFixedRateAddressRelId) Returns the commerce tax fixed rate address rel with the primary key or throws aNoSuchTaxFixedRateAddressRelException
if it could not be found.static List<CommerceTaxFixedRateAddressRel>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CommerceTaxFixedRateAddressRel>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CommerceTaxFixedRateAddressRel>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) remove
(long commerceTaxFixedRateAddressRelId) Removes the commerce tax fixed rate address rel with the primary key from the database.static void
Removes all the commerce tax fixed rate address rels from the database.static void
removeByCommerceTaxMethodId
(long commerceTaxMethodId) Removes all the commerce tax fixed rate address rels where commerceTaxMethodId = ? from the database.static void
removeByCountryId
(long countryId) Removes all the commerce tax fixed rate address rels where countryId = ? from the database.static void
removeByCPTaxCategoryId
(long CPTaxCategoryId) Removes all the commerce tax fixed rate address rels where CPTaxCategoryId = ? from the database.static void
setPersistence
(CommerceTaxFixedRateAddressRelPersistence persistence) update
(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel) update
(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateImpl
(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel)
-
Constructor Details
-
CommerceTaxFixedRateAddressRelUtil
public CommerceTaxFixedRateAddressRelUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,CommerceTaxFixedRateAddressRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CommerceTaxFixedRateAddressRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CommerceTaxFixedRateAddressRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CommerceTaxFixedRateAddressRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static CommerceTaxFixedRateAddressRel update(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CommerceTaxFixedRateAddressRel update(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByCommerceTaxMethodId
public static List<CommerceTaxFixedRateAddressRel> findByCommerceTaxMethodId(long commerceTaxMethodId) Returns all the commerce tax fixed rate address rels where commerceTaxMethodId = ?.- Parameters:
commerceTaxMethodId
- the commerce tax method ID- Returns:
- the matching commerce tax fixed rate address rels
-
findByCommerceTaxMethodId
public static List<CommerceTaxFixedRateAddressRel> findByCommerceTaxMethodId(long commerceTaxMethodId, int start, int end) Returns a range of all the commerce tax fixed rate address rels where commerceTaxMethodId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceTaxFixedRateAddressRelModelImpl
.- Parameters:
commerceTaxMethodId
- the commerce tax method IDstart
- the lower bound of the range of commerce tax fixed rate address relsend
- the upper bound of the range of commerce tax fixed rate address rels (not inclusive)- Returns:
- the range of matching commerce tax fixed rate address rels
-
findByCommerceTaxMethodId
public static List<CommerceTaxFixedRateAddressRel> findByCommerceTaxMethodId(long commerceTaxMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns an ordered range of all the commerce tax fixed rate address rels where commerceTaxMethodId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceTaxFixedRateAddressRelModelImpl
.- Parameters:
commerceTaxMethodId
- the commerce tax method IDstart
- the lower bound of the range of commerce tax fixed rate address relsend
- the upper bound of the range of commerce tax fixed rate address rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce tax fixed rate address rels
-
findByCommerceTaxMethodId
public static List<CommerceTaxFixedRateAddressRel> findByCommerceTaxMethodId(long commerceTaxMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce tax fixed rate address rels where commerceTaxMethodId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceTaxFixedRateAddressRelModelImpl
.- Parameters:
commerceTaxMethodId
- the commerce tax method IDstart
- the lower bound of the range of commerce tax fixed rate address relsend
- the upper bound of the range of commerce tax fixed rate address rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce tax fixed rate address rels
-
findByCommerceTaxMethodId_First
public static CommerceTaxFixedRateAddressRel findByCommerceTaxMethodId_First(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) throws NoSuchTaxFixedRateAddressRelException Returns the first commerce tax fixed rate address rel in the ordered set where commerceTaxMethodId = ?.- Parameters:
commerceTaxMethodId
- the commerce tax method IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce tax fixed rate address rel
- Throws:
NoSuchTaxFixedRateAddressRelException
- if a matching commerce tax fixed rate address rel could not be foundNoSuchTaxFixedRateAddressRelException
-
fetchByCommerceTaxMethodId_First
public static CommerceTaxFixedRateAddressRel fetchByCommerceTaxMethodId_First(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the first commerce tax fixed rate address rel in the ordered set where commerceTaxMethodId = ?.- Parameters:
commerceTaxMethodId
- the commerce tax method IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce tax fixed rate address rel, or
null
if a matching commerce tax fixed rate address rel could not be found
-
findByCommerceTaxMethodId_Last
public static CommerceTaxFixedRateAddressRel findByCommerceTaxMethodId_Last(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) throws NoSuchTaxFixedRateAddressRelException Returns the last commerce tax fixed rate address rel in the ordered set where commerceTaxMethodId = ?.- Parameters:
commerceTaxMethodId
- the commerce tax method IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce tax fixed rate address rel
- Throws:
NoSuchTaxFixedRateAddressRelException
- if a matching commerce tax fixed rate address rel could not be foundNoSuchTaxFixedRateAddressRelException
-
fetchByCommerceTaxMethodId_Last
public static CommerceTaxFixedRateAddressRel fetchByCommerceTaxMethodId_Last(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the last commerce tax fixed rate address rel in the ordered set where commerceTaxMethodId = ?.- Parameters:
commerceTaxMethodId
- the commerce tax method IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce tax fixed rate address rel, or
null
if a matching commerce tax fixed rate address rel could not be found
-
findByCommerceTaxMethodId_PrevAndNext
public static CommerceTaxFixedRateAddressRel[] findByCommerceTaxMethodId_PrevAndNext(long commerceTaxFixedRateAddressRelId, long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) throws NoSuchTaxFixedRateAddressRelException Returns the commerce tax fixed rate address rels before and after the current commerce tax fixed rate address rel in the ordered set where commerceTaxMethodId = ?.- Parameters:
commerceTaxFixedRateAddressRelId
- the primary key of the current commerce tax fixed rate address relcommerceTaxMethodId
- the commerce tax method IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce tax fixed rate address rel
- Throws:
NoSuchTaxFixedRateAddressRelException
- if a commerce tax fixed rate address rel with the primary key could not be foundNoSuchTaxFixedRateAddressRelException
-
removeByCommerceTaxMethodId
public static void removeByCommerceTaxMethodId(long commerceTaxMethodId) Removes all the commerce tax fixed rate address rels where commerceTaxMethodId = ? from the database.- Parameters:
commerceTaxMethodId
- the commerce tax method ID
-
countByCommerceTaxMethodId
public static int countByCommerceTaxMethodId(long commerceTaxMethodId) Returns the number of commerce tax fixed rate address rels where commerceTaxMethodId = ?.- Parameters:
commerceTaxMethodId
- the commerce tax method ID- Returns:
- the number of matching commerce tax fixed rate address rels
-
findByCPTaxCategoryId
Returns all the commerce tax fixed rate address rels where CPTaxCategoryId = ?.- Parameters:
CPTaxCategoryId
- the cp tax category ID- Returns:
- the matching commerce tax fixed rate address rels
-
findByCPTaxCategoryId
public static List<CommerceTaxFixedRateAddressRel> findByCPTaxCategoryId(long CPTaxCategoryId, int start, int end) Returns a range of all the commerce tax fixed rate address rels where CPTaxCategoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceTaxFixedRateAddressRelModelImpl
.- Parameters:
CPTaxCategoryId
- the cp tax category IDstart
- the lower bound of the range of commerce tax fixed rate address relsend
- the upper bound of the range of commerce tax fixed rate address rels (not inclusive)- Returns:
- the range of matching commerce tax fixed rate address rels
-
findByCPTaxCategoryId
public static List<CommerceTaxFixedRateAddressRel> findByCPTaxCategoryId(long CPTaxCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns an ordered range of all the commerce tax fixed rate address rels where CPTaxCategoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceTaxFixedRateAddressRelModelImpl
.- Parameters:
CPTaxCategoryId
- the cp tax category IDstart
- the lower bound of the range of commerce tax fixed rate address relsend
- the upper bound of the range of commerce tax fixed rate address rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce tax fixed rate address rels
-
findByCPTaxCategoryId
public static List<CommerceTaxFixedRateAddressRel> findByCPTaxCategoryId(long CPTaxCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce tax fixed rate address rels where CPTaxCategoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceTaxFixedRateAddressRelModelImpl
.- Parameters:
CPTaxCategoryId
- the cp tax category IDstart
- the lower bound of the range of commerce tax fixed rate address relsend
- the upper bound of the range of commerce tax fixed rate address rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce tax fixed rate address rels
-
findByCPTaxCategoryId_First
public static CommerceTaxFixedRateAddressRel findByCPTaxCategoryId_First(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) throws NoSuchTaxFixedRateAddressRelException Returns the first commerce tax fixed rate address rel in the ordered set where CPTaxCategoryId = ?.- Parameters:
CPTaxCategoryId
- the cp tax category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce tax fixed rate address rel
- Throws:
NoSuchTaxFixedRateAddressRelException
- if a matching commerce tax fixed rate address rel could not be foundNoSuchTaxFixedRateAddressRelException
-
fetchByCPTaxCategoryId_First
public static CommerceTaxFixedRateAddressRel fetchByCPTaxCategoryId_First(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the first commerce tax fixed rate address rel in the ordered set where CPTaxCategoryId = ?.- Parameters:
CPTaxCategoryId
- the cp tax category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce tax fixed rate address rel, or
null
if a matching commerce tax fixed rate address rel could not be found
-
findByCPTaxCategoryId_Last
public static CommerceTaxFixedRateAddressRel findByCPTaxCategoryId_Last(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) throws NoSuchTaxFixedRateAddressRelException Returns the last commerce tax fixed rate address rel in the ordered set where CPTaxCategoryId = ?.- Parameters:
CPTaxCategoryId
- the cp tax category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce tax fixed rate address rel
- Throws:
NoSuchTaxFixedRateAddressRelException
- if a matching commerce tax fixed rate address rel could not be foundNoSuchTaxFixedRateAddressRelException
-
fetchByCPTaxCategoryId_Last
public static CommerceTaxFixedRateAddressRel fetchByCPTaxCategoryId_Last(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the last commerce tax fixed rate address rel in the ordered set where CPTaxCategoryId = ?.- Parameters:
CPTaxCategoryId
- the cp tax category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce tax fixed rate address rel, or
null
if a matching commerce tax fixed rate address rel could not be found
-
findByCPTaxCategoryId_PrevAndNext
public static CommerceTaxFixedRateAddressRel[] findByCPTaxCategoryId_PrevAndNext(long commerceTaxFixedRateAddressRelId, long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) throws NoSuchTaxFixedRateAddressRelException Returns the commerce tax fixed rate address rels before and after the current commerce tax fixed rate address rel in the ordered set where CPTaxCategoryId = ?.- Parameters:
commerceTaxFixedRateAddressRelId
- the primary key of the current commerce tax fixed rate address relCPTaxCategoryId
- the cp tax category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce tax fixed rate address rel
- Throws:
NoSuchTaxFixedRateAddressRelException
- if a commerce tax fixed rate address rel with the primary key could not be foundNoSuchTaxFixedRateAddressRelException
-
removeByCPTaxCategoryId
public static void removeByCPTaxCategoryId(long CPTaxCategoryId) Removes all the commerce tax fixed rate address rels where CPTaxCategoryId = ? from the database.- Parameters:
CPTaxCategoryId
- the cp tax category ID
-
countByCPTaxCategoryId
public static int countByCPTaxCategoryId(long CPTaxCategoryId) Returns the number of commerce tax fixed rate address rels where CPTaxCategoryId = ?.- Parameters:
CPTaxCategoryId
- the cp tax category ID- Returns:
- the number of matching commerce tax fixed rate address rels
-
findByCountryId
Returns all the commerce tax fixed rate address rels where countryId = ?.- Parameters:
countryId
- the country ID- Returns:
- the matching commerce tax fixed rate address rels
-
findByCountryId
public static List<CommerceTaxFixedRateAddressRel> findByCountryId(long countryId, int start, int end) Returns a range of all the commerce tax fixed rate address rels where countryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceTaxFixedRateAddressRelModelImpl
.- Parameters:
countryId
- the country IDstart
- the lower bound of the range of commerce tax fixed rate address relsend
- the upper bound of the range of commerce tax fixed rate address rels (not inclusive)- Returns:
- the range of matching commerce tax fixed rate address rels
-
findByCountryId
public static List<CommerceTaxFixedRateAddressRel> findByCountryId(long countryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns an ordered range of all the commerce tax fixed rate address rels where countryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceTaxFixedRateAddressRelModelImpl
.- Parameters:
countryId
- the country IDstart
- the lower bound of the range of commerce tax fixed rate address relsend
- the upper bound of the range of commerce tax fixed rate address rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce tax fixed rate address rels
-
findByCountryId
public static List<CommerceTaxFixedRateAddressRel> findByCountryId(long countryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce tax fixed rate address rels where countryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceTaxFixedRateAddressRelModelImpl
.- Parameters:
countryId
- the country IDstart
- the lower bound of the range of commerce tax fixed rate address relsend
- the upper bound of the range of commerce tax fixed rate address rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce tax fixed rate address rels
-
findByCountryId_First
public static CommerceTaxFixedRateAddressRel findByCountryId_First(long countryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) throws NoSuchTaxFixedRateAddressRelException Returns the first commerce tax fixed rate address rel in the ordered set where countryId = ?.- Parameters:
countryId
- the country IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce tax fixed rate address rel
- Throws:
NoSuchTaxFixedRateAddressRelException
- if a matching commerce tax fixed rate address rel could not be foundNoSuchTaxFixedRateAddressRelException
-
fetchByCountryId_First
public static CommerceTaxFixedRateAddressRel fetchByCountryId_First(long countryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the first commerce tax fixed rate address rel in the ordered set where countryId = ?.- Parameters:
countryId
- the country IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce tax fixed rate address rel, or
null
if a matching commerce tax fixed rate address rel could not be found
-
findByCountryId_Last
public static CommerceTaxFixedRateAddressRel findByCountryId_Last(long countryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) throws NoSuchTaxFixedRateAddressRelException Returns the last commerce tax fixed rate address rel in the ordered set where countryId = ?.- Parameters:
countryId
- the country IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce tax fixed rate address rel
- Throws:
NoSuchTaxFixedRateAddressRelException
- if a matching commerce tax fixed rate address rel could not be foundNoSuchTaxFixedRateAddressRelException
-
fetchByCountryId_Last
public static CommerceTaxFixedRateAddressRel fetchByCountryId_Last(long countryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns the last commerce tax fixed rate address rel in the ordered set where countryId = ?.- Parameters:
countryId
- the country IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce tax fixed rate address rel, or
null
if a matching commerce tax fixed rate address rel could not be found
-
findByCountryId_PrevAndNext
public static CommerceTaxFixedRateAddressRel[] findByCountryId_PrevAndNext(long commerceTaxFixedRateAddressRelId, long countryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) throws NoSuchTaxFixedRateAddressRelException Returns the commerce tax fixed rate address rels before and after the current commerce tax fixed rate address rel in the ordered set where countryId = ?.- Parameters:
commerceTaxFixedRateAddressRelId
- the primary key of the current commerce tax fixed rate address relcountryId
- the country IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce tax fixed rate address rel
- Throws:
NoSuchTaxFixedRateAddressRelException
- if a commerce tax fixed rate address rel with the primary key could not be foundNoSuchTaxFixedRateAddressRelException
-
removeByCountryId
public static void removeByCountryId(long countryId) Removes all the commerce tax fixed rate address rels where countryId = ? from the database.- Parameters:
countryId
- the country ID
-
countByCountryId
public static int countByCountryId(long countryId) Returns the number of commerce tax fixed rate address rels where countryId = ?.- Parameters:
countryId
- the country ID- Returns:
- the number of matching commerce tax fixed rate address rels
-
cacheResult
Caches the commerce tax fixed rate address rel in the entity cache if it is enabled.- Parameters:
commerceTaxFixedRateAddressRel
- the commerce tax fixed rate address rel
-
cacheResult
public static void cacheResult(List<CommerceTaxFixedRateAddressRel> commerceTaxFixedRateAddressRels) Caches the commerce tax fixed rate address rels in the entity cache if it is enabled.- Parameters:
commerceTaxFixedRateAddressRels
- the commerce tax fixed rate address rels
-
create
Creates a new commerce tax fixed rate address rel with the primary key. Does not add the commerce tax fixed rate address rel to the database.- Parameters:
commerceTaxFixedRateAddressRelId
- the primary key for the new commerce tax fixed rate address rel- Returns:
- the new commerce tax fixed rate address rel
-
remove
public static CommerceTaxFixedRateAddressRel remove(long commerceTaxFixedRateAddressRelId) throws NoSuchTaxFixedRateAddressRelException Removes the commerce tax fixed rate address rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceTaxFixedRateAddressRelId
- the primary key of the commerce tax fixed rate address rel- Returns:
- the commerce tax fixed rate address rel that was removed
- Throws:
NoSuchTaxFixedRateAddressRelException
- if a commerce tax fixed rate address rel with the primary key could not be foundNoSuchTaxFixedRateAddressRelException
-
updateImpl
public static CommerceTaxFixedRateAddressRel updateImpl(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel) -
findByPrimaryKey
public static CommerceTaxFixedRateAddressRel findByPrimaryKey(long commerceTaxFixedRateAddressRelId) throws NoSuchTaxFixedRateAddressRelException Returns the commerce tax fixed rate address rel with the primary key or throws aNoSuchTaxFixedRateAddressRelException
if it could not be found.- Parameters:
commerceTaxFixedRateAddressRelId
- the primary key of the commerce tax fixed rate address rel- Returns:
- the commerce tax fixed rate address rel
- Throws:
NoSuchTaxFixedRateAddressRelException
- if a commerce tax fixed rate address rel with the primary key could not be foundNoSuchTaxFixedRateAddressRelException
-
fetchByPrimaryKey
public static CommerceTaxFixedRateAddressRel fetchByPrimaryKey(long commerceTaxFixedRateAddressRelId) Returns the commerce tax fixed rate address rel with the primary key or returnsnull
if it could not be found.- Parameters:
commerceTaxFixedRateAddressRelId
- the primary key of the commerce tax fixed rate address rel- Returns:
- the commerce tax fixed rate address rel, or
null
if a commerce tax fixed rate address rel with the primary key could not be found
-
findAll
Returns all the commerce tax fixed rate address rels.- Returns:
- the commerce tax fixed rate address rels
-
findAll
Returns a range of all the commerce tax fixed rate address rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceTaxFixedRateAddressRelModelImpl
.- Parameters:
start
- the lower bound of the range of commerce tax fixed rate address relsend
- the upper bound of the range of commerce tax fixed rate address rels (not inclusive)- Returns:
- the range of commerce tax fixed rate address rels
-
findAll
public static List<CommerceTaxFixedRateAddressRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) Returns an ordered range of all the commerce tax fixed rate address rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceTaxFixedRateAddressRelModelImpl
.- Parameters:
start
- the lower bound of the range of commerce tax fixed rate address relsend
- the upper bound of the range of commerce tax fixed rate address rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of commerce tax fixed rate address rels
-
findAll
public static List<CommerceTaxFixedRateAddressRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce tax fixed rate address rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceTaxFixedRateAddressRelModelImpl
.- Parameters:
start
- the lower bound of the range of commerce tax fixed rate address relsend
- the upper bound of the range of commerce tax fixed rate address rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of commerce tax fixed rate address rels
-
removeAll
public static void removeAll()Removes all the commerce tax fixed rate address rels from the database. -
countAll
public static int countAll()Returns the number of commerce tax fixed rate address rels.- Returns:
- the number of commerce tax fixed rate address rels
-
getPersistence
-
setPersistence
-