@ProviderType public interface CommerceTaxFixedRateAddressRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceTaxFixedRateAddressRel>
Caching information and settings can be found in portal.properties
CommerceTaxFixedRateAddressRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel)
Caches the commerce tax fixed rate address rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.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 = ?.
|
CommerceTaxFixedRateAddressRel |
create(long commerceTaxFixedRateAddressRelId)
Creates a new commerce tax fixed rate address rel with the primary key.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
CommerceTaxFixedRateAddressRel |
fetchByPrimaryKey(long commerceTaxFixedRateAddressRelId)
Returns the commerce tax fixed rate address rel with the primary key or returns
null if it could not be found. |
java.util.List<CommerceTaxFixedRateAddressRel> |
findAll()
Returns all the commerce tax fixed rate address rels.
|
java.util.List<CommerceTaxFixedRateAddressRel> |
findAll(int start,
int end)
Returns a range of all the commerce tax fixed rate address rels.
|
java.util.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.
|
java.util.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.
|
CommerceTaxFixedRateAddressRel |
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 = ?.
|
CommerceTaxFixedRateAddressRel |
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 = ?.
|
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 = ?.
|
java.util.List<CommerceTaxFixedRateAddressRel> |
findByCommerceTaxMethodId(long commerceTaxMethodId)
Returns all the commerce tax fixed rate address rels where commerceTaxMethodId = ?.
|
java.util.List<CommerceTaxFixedRateAddressRel> |
findByCommerceTaxMethodId(long commerceTaxMethodId,
int start,
int end)
Returns a range of all the commerce tax fixed rate address rels where commerceTaxMethodId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceTaxFixedRateAddressRel |
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 = ?.
|
CommerceTaxFixedRateAddressRel |
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 = ?.
|
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 = ?.
|
java.util.List<CommerceTaxFixedRateAddressRel> |
findByCountryId(long countryId)
Returns all the commerce tax fixed rate address rels where countryId = ?.
|
java.util.List<CommerceTaxFixedRateAddressRel> |
findByCountryId(long countryId,
int start,
int end)
Returns a range of all the commerce tax fixed rate address rels where countryId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceTaxFixedRateAddressRel |
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 = ?.
|
CommerceTaxFixedRateAddressRel |
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 = ?.
|
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 = ?.
|
java.util.List<CommerceTaxFixedRateAddressRel> |
findByCPTaxCategoryId(long CPTaxCategoryId)
Returns all the commerce tax fixed rate address rels where CPTaxCategoryId = ?.
|
java.util.List<CommerceTaxFixedRateAddressRel> |
findByCPTaxCategoryId(long CPTaxCategoryId,
int start,
int end)
Returns a range of all the commerce tax fixed rate address rels where CPTaxCategoryId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceTaxFixedRateAddressRel |
findByPrimaryKey(long commerceTaxFixedRateAddressRelId)
Returns the commerce tax fixed rate address rel with the primary key or throws a
NoSuchTaxFixedRateAddressRelException if it could not be found. |
CommerceTaxFixedRateAddressRel |
remove(long commerceTaxFixedRateAddressRelId)
Removes the commerce tax fixed rate address rel with the primary key from the database.
|
void |
removeAll()
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.
|
CommerceTaxFixedRateAddressRel |
updateImpl(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel) |
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, setDataSource, unregisterListener, update, update
java.util.List<CommerceTaxFixedRateAddressRel> findByCommerceTaxMethodId(long commerceTaxMethodId)
commerceTaxMethodId
- the commerce tax method IDjava.util.List<CommerceTaxFixedRateAddressRel> findByCommerceTaxMethodId(long commerceTaxMethodId, int start, int end)
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 CommerceTaxFixedRateAddressRelModelImpl
.
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)java.util.List<CommerceTaxFixedRateAddressRel> findByCommerceTaxMethodId(long commerceTaxMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator)
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 CommerceTaxFixedRateAddressRelModelImpl
.
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 (optionally null
)java.util.List<CommerceTaxFixedRateAddressRel> findByCommerceTaxMethodId(long commerceTaxMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator, boolean useFinderCache)
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 CommerceTaxFixedRateAddressRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceTaxFixedRateAddressRel findByCommerceTaxMethodId_First(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) throws NoSuchTaxFixedRateAddressRelException
commerceTaxMethodId
- the commerce tax method IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaxFixedRateAddressRelException
- if a matching commerce tax fixed rate address rel could not be foundCommerceTaxFixedRateAddressRel fetchByCommerceTaxMethodId_First(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator)
commerceTaxMethodId
- the commerce tax method IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce tax fixed rate address rel could not be foundCommerceTaxFixedRateAddressRel findByCommerceTaxMethodId_Last(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) throws NoSuchTaxFixedRateAddressRelException
commerceTaxMethodId
- the commerce tax method IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaxFixedRateAddressRelException
- if a matching commerce tax fixed rate address rel could not be foundCommerceTaxFixedRateAddressRel fetchByCommerceTaxMethodId_Last(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator)
commerceTaxMethodId
- the commerce tax method IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce tax fixed rate address rel could not be foundCommerceTaxFixedRateAddressRel[] findByCommerceTaxMethodId_PrevAndNext(long commerceTaxFixedRateAddressRelId, long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) throws NoSuchTaxFixedRateAddressRelException
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 (optionally null
)NoSuchTaxFixedRateAddressRelException
- if a commerce tax fixed rate address rel with the primary key could not be foundvoid removeByCommerceTaxMethodId(long commerceTaxMethodId)
commerceTaxMethodId
- the commerce tax method IDint countByCommerceTaxMethodId(long commerceTaxMethodId)
commerceTaxMethodId
- the commerce tax method IDjava.util.List<CommerceTaxFixedRateAddressRel> findByCPTaxCategoryId(long CPTaxCategoryId)
CPTaxCategoryId
- the cp tax category IDjava.util.List<CommerceTaxFixedRateAddressRel> findByCPTaxCategoryId(long CPTaxCategoryId, int start, int end)
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 CommerceTaxFixedRateAddressRelModelImpl
.
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)java.util.List<CommerceTaxFixedRateAddressRel> findByCPTaxCategoryId(long CPTaxCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator)
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 CommerceTaxFixedRateAddressRelModelImpl
.
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 (optionally null
)java.util.List<CommerceTaxFixedRateAddressRel> findByCPTaxCategoryId(long CPTaxCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator, boolean useFinderCache)
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 CommerceTaxFixedRateAddressRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceTaxFixedRateAddressRel findByCPTaxCategoryId_First(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) throws NoSuchTaxFixedRateAddressRelException
CPTaxCategoryId
- the cp tax category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaxFixedRateAddressRelException
- if a matching commerce tax fixed rate address rel could not be foundCommerceTaxFixedRateAddressRel fetchByCPTaxCategoryId_First(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator)
CPTaxCategoryId
- the cp tax category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce tax fixed rate address rel could not be foundCommerceTaxFixedRateAddressRel findByCPTaxCategoryId_Last(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) throws NoSuchTaxFixedRateAddressRelException
CPTaxCategoryId
- the cp tax category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaxFixedRateAddressRelException
- if a matching commerce tax fixed rate address rel could not be foundCommerceTaxFixedRateAddressRel fetchByCPTaxCategoryId_Last(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator)
CPTaxCategoryId
- the cp tax category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce tax fixed rate address rel could not be foundCommerceTaxFixedRateAddressRel[] findByCPTaxCategoryId_PrevAndNext(long commerceTaxFixedRateAddressRelId, long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) throws NoSuchTaxFixedRateAddressRelException
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 (optionally null
)NoSuchTaxFixedRateAddressRelException
- if a commerce tax fixed rate address rel with the primary key could not be foundvoid removeByCPTaxCategoryId(long CPTaxCategoryId)
CPTaxCategoryId
- the cp tax category IDint countByCPTaxCategoryId(long CPTaxCategoryId)
CPTaxCategoryId
- the cp tax category IDjava.util.List<CommerceTaxFixedRateAddressRel> findByCountryId(long countryId)
countryId
- the country IDjava.util.List<CommerceTaxFixedRateAddressRel> findByCountryId(long countryId, int start, int end)
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 CommerceTaxFixedRateAddressRelModelImpl
.
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)java.util.List<CommerceTaxFixedRateAddressRel> findByCountryId(long countryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator)
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 CommerceTaxFixedRateAddressRelModelImpl
.
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 (optionally null
)java.util.List<CommerceTaxFixedRateAddressRel> findByCountryId(long countryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator, boolean useFinderCache)
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 CommerceTaxFixedRateAddressRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceTaxFixedRateAddressRel findByCountryId_First(long countryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) throws NoSuchTaxFixedRateAddressRelException
countryId
- the country IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaxFixedRateAddressRelException
- if a matching commerce tax fixed rate address rel could not be foundCommerceTaxFixedRateAddressRel fetchByCountryId_First(long countryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator)
countryId
- the country IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce tax fixed rate address rel could not be foundCommerceTaxFixedRateAddressRel findByCountryId_Last(long countryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) throws NoSuchTaxFixedRateAddressRelException
countryId
- the country IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaxFixedRateAddressRelException
- if a matching commerce tax fixed rate address rel could not be foundCommerceTaxFixedRateAddressRel fetchByCountryId_Last(long countryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator)
countryId
- the country IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce tax fixed rate address rel could not be foundCommerceTaxFixedRateAddressRel[] findByCountryId_PrevAndNext(long commerceTaxFixedRateAddressRelId, long countryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) throws NoSuchTaxFixedRateAddressRelException
commerceTaxFixedRateAddressRelId
- the primary key of the current commerce tax fixed rate address relcountryId
- the country IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaxFixedRateAddressRelException
- if a commerce tax fixed rate address rel with the primary key could not be foundvoid removeByCountryId(long countryId)
countryId
- the country IDint countByCountryId(long countryId)
countryId
- the country IDvoid cacheResult(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel)
commerceTaxFixedRateAddressRel
- the commerce tax fixed rate address relvoid cacheResult(java.util.List<CommerceTaxFixedRateAddressRel> commerceTaxFixedRateAddressRels)
commerceTaxFixedRateAddressRels
- the commerce tax fixed rate address relsCommerceTaxFixedRateAddressRel create(long commerceTaxFixedRateAddressRelId)
commerceTaxFixedRateAddressRelId
- the primary key for the new commerce tax fixed rate address relCommerceTaxFixedRateAddressRel remove(long commerceTaxFixedRateAddressRelId) throws NoSuchTaxFixedRateAddressRelException
commerceTaxFixedRateAddressRelId
- the primary key of the commerce tax fixed rate address relNoSuchTaxFixedRateAddressRelException
- if a commerce tax fixed rate address rel with the primary key could not be foundCommerceTaxFixedRateAddressRel updateImpl(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel)
CommerceTaxFixedRateAddressRel findByPrimaryKey(long commerceTaxFixedRateAddressRelId) throws NoSuchTaxFixedRateAddressRelException
NoSuchTaxFixedRateAddressRelException
if it could not be found.commerceTaxFixedRateAddressRelId
- the primary key of the commerce tax fixed rate address relNoSuchTaxFixedRateAddressRelException
- if a commerce tax fixed rate address rel with the primary key could not be foundCommerceTaxFixedRateAddressRel fetchByPrimaryKey(long commerceTaxFixedRateAddressRelId)
null
if it could not be found.commerceTaxFixedRateAddressRelId
- the primary key of the commerce tax fixed rate address relnull
if a commerce tax fixed rate address rel with the primary key could not be foundjava.util.List<CommerceTaxFixedRateAddressRel> findAll()
java.util.List<CommerceTaxFixedRateAddressRel> findAll(int start, int end)
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 CommerceTaxFixedRateAddressRelModelImpl
.
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)java.util.List<CommerceTaxFixedRateAddressRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator)
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 CommerceTaxFixedRateAddressRelModelImpl
.
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 (optionally null
)java.util.List<CommerceTaxFixedRateAddressRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator, boolean useFinderCache)
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 CommerceTaxFixedRateAddressRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()