Interface CommerceTaxFixedRateAddressRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceTaxFixedRateAddressRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel) Caches the commerce tax fixed rate address rel in the entity cache if it is enabled.void
cacheResult
(List<CommerceTaxFixedRateAddressRel> commerceTaxFixedRateAddressRels) Caches the commerce tax fixed rate address rels in the entity cache if it is enabled.int
countAll()
Returns the number of commerce tax fixed rate address rels.int
countByCommerceTaxMethodId
(long commerceTaxMethodId) Returns the number of commerce tax fixed rate address rels where commerceTaxMethodId = ?.int
countByCountryId
(long countryId) Returns the number of commerce tax fixed rate address rels where countryId = ?.int
countByCPTaxCategoryId
(long CPTaxCategoryId) Returns the number of commerce tax fixed rate address rels where CPTaxCategoryId = ?.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.findAll()
Returns all the commerce tax fixed rate address rels.findAll
(int start, int end) Returns a range of all the commerce tax fixed rate address rels.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.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.findByCommerceTaxMethodId
(long commerceTaxMethodId) Returns all the commerce tax fixed rate address rels where commerceTaxMethodId = ?.findByCommerceTaxMethodId
(long commerceTaxMethodId, int start, int end) Returns a range of all the commerce tax fixed rate address rels where commerceTaxMethodId = ?.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 = ?.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 = ?.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 = ?.findByCountryId
(long countryId) Returns all the commerce tax fixed rate address rels where countryId = ?.findByCountryId
(long countryId, int start, int end) Returns a range of all the commerce tax fixed rate address rels where countryId = ?.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 = ?.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 = ?.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 = ?.findByCPTaxCategoryId
(long CPTaxCategoryId) Returns all the commerce tax fixed rate address rels where CPTaxCategoryId = ?.findByCPTaxCategoryId
(long CPTaxCategoryId, int start, int end) Returns a range of all the commerce tax fixed rate address rels where CPTaxCategoryId = ?.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 = ?.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 = ?.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.remove
(long commerceTaxFixedRateAddressRelId) Removes the commerce tax fixed rate address rel with the primary key from the database.void
Removes all the commerce tax fixed rate address rels from the database.void
removeByCommerceTaxMethodId
(long commerceTaxMethodId) Removes all the commerce tax fixed rate address rels where commerceTaxMethodId = ? from the database.void
removeByCountryId
(long countryId) Removes all the commerce tax fixed rate address rels where countryId = ? from the database.void
removeByCPTaxCategoryId
(long CPTaxCategoryId) Removes all the commerce tax fixed rate address rels where CPTaxCategoryId = ? from the database.updateImpl
(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel) 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
-
findByCommerceTaxMethodId
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
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
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
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
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 found
-
fetchByCommerceTaxMethodId_First
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
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 found
-
fetchByCommerceTaxMethodId_Last
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
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 found
-
removeByCommerceTaxMethodId
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
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
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
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
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
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 found
-
fetchByCPTaxCategoryId_First
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
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 found
-
fetchByCPTaxCategoryId_Last
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
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 found
-
removeByCPTaxCategoryId
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
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
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
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
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
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 found
-
fetchByCountryId_First
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
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 found
-
fetchByCountryId_Last
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
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 found
-
removeByCountryId
void removeByCountryId(long countryId) Removes all the commerce tax fixed rate address rels where countryId = ? from the database.- Parameters:
countryId
- the country ID
-
countByCountryId
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
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
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 found
-
updateImpl
CommerceTaxFixedRateAddressRel updateImpl(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel) -
findByPrimaryKey
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 found
-
fetchByPrimaryKey
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
List<CommerceTaxFixedRateAddressRel> 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
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
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
void removeAll()Removes all the commerce tax fixed rate address rels from the database. -
countAll
int countAll()Returns the number of commerce tax fixed rate address rels.- Returns:
- the number of commerce tax fixed rate address rels
-