public class CommerceTaxFixedRateAddressRelUtil
extends java.lang.Object
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
CommerceTaxFixedRateAddressRelPersistence
Constructor and Description |
---|
CommerceTaxFixedRateAddressRelUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel)
Caches the commerce tax fixed rate address rel in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommerceTaxFixedRateAddressRel> commerceTaxFixedRateAddressRels)
Caches the commerce tax fixed rate address rels in the entity cache if it is enabled.
|
static void |
clearCache() |
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) |
static CommerceTaxFixedRateAddressRel |
create(long commerceTaxFixedRateAddressRelId)
Creates a new commerce tax fixed rate address rel with the primary key.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
static 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. |
static java.util.Map<java.io.Serializable,CommerceTaxFixedRateAddressRel> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<CommerceTaxFixedRateAddressRel> |
findAll()
Returns all the commerce tax fixed rate address rels.
|
static java.util.List<CommerceTaxFixedRateAddressRel> |
findAll(int start,
int end)
Returns a range of all the commerce tax fixed rate address rels.
|
static 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.
|
static 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.
|
static 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 = ?.
|
static 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 = ?.
|
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 java.util.List<CommerceTaxFixedRateAddressRel> |
findByCommerceTaxMethodId(long commerceTaxMethodId)
Returns all the commerce tax fixed rate address rels where commerceTaxMethodId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
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 java.util.List<CommerceTaxFixedRateAddressRel> |
findByCountryId(long countryId)
Returns all the commerce tax fixed rate address rels where countryId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
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 = ?.
|
static java.util.List<CommerceTaxFixedRateAddressRel> |
findByCPTaxCategoryId(long CPTaxCategoryId)
Returns all the commerce tax fixed rate address rels where CPTaxCategoryId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static java.util.List<CommerceTaxFixedRateAddressRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommerceTaxFixedRateAddressRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommerceTaxFixedRateAddressRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) |
static CommerceTaxFixedRateAddressRelPersistence |
getPersistence() |
static CommerceTaxFixedRateAddressRel |
remove(long commerceTaxFixedRateAddressRelId)
Removes the commerce tax fixed rate address rel with the primary key from the database.
|
static void |
removeAll()
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) |
static CommerceTaxFixedRateAddressRel |
update(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel) |
static CommerceTaxFixedRateAddressRel |
update(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceTaxFixedRateAddressRel |
updateImpl(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,CommerceTaxFixedRateAddressRel> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CommerceTaxFixedRateAddressRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CommerceTaxFixedRateAddressRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CommerceTaxFixedRateAddressRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CommerceTaxFixedRateAddressRel update(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CommerceTaxFixedRateAddressRel update(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CommerceTaxFixedRateAddressRel> findByCommerceTaxMethodId(long commerceTaxMethodId)
commerceTaxMethodId
- the commerce tax method IDpublic static java.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)public static 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
)public static 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 cachepublic static CommerceTaxFixedRateAddressRel 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 foundpublic static CommerceTaxFixedRateAddressRel 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 foundpublic static CommerceTaxFixedRateAddressRel 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 foundpublic static CommerceTaxFixedRateAddressRel 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 foundpublic static CommerceTaxFixedRateAddressRel[] 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 foundpublic static void removeByCommerceTaxMethodId(long commerceTaxMethodId)
commerceTaxMethodId
- the commerce tax method IDpublic static int countByCommerceTaxMethodId(long commerceTaxMethodId)
commerceTaxMethodId
- the commerce tax method IDpublic static java.util.List<CommerceTaxFixedRateAddressRel> findByCPTaxCategoryId(long CPTaxCategoryId)
CPTaxCategoryId
- the cp tax category IDpublic static java.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)public static 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
)public static 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 cachepublic static CommerceTaxFixedRateAddressRel 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 foundpublic static CommerceTaxFixedRateAddressRel 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 foundpublic static CommerceTaxFixedRateAddressRel 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 foundpublic static CommerceTaxFixedRateAddressRel 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 foundpublic static CommerceTaxFixedRateAddressRel[] 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 foundpublic static void removeByCPTaxCategoryId(long CPTaxCategoryId)
CPTaxCategoryId
- the cp tax category IDpublic static int countByCPTaxCategoryId(long CPTaxCategoryId)
CPTaxCategoryId
- the cp tax category IDpublic static java.util.List<CommerceTaxFixedRateAddressRel> findByCountryId(long countryId)
countryId
- the country IDpublic static java.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)public static 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
)public static 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 cachepublic static CommerceTaxFixedRateAddressRel 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 foundpublic static CommerceTaxFixedRateAddressRel 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 foundpublic static CommerceTaxFixedRateAddressRel 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 foundpublic static CommerceTaxFixedRateAddressRel 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 foundpublic static CommerceTaxFixedRateAddressRel[] 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 foundpublic static void removeByCountryId(long countryId)
countryId
- the country IDpublic static int countByCountryId(long countryId)
countryId
- the country IDpublic static void cacheResult(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel)
commerceTaxFixedRateAddressRel
- the commerce tax fixed rate address relpublic static void cacheResult(java.util.List<CommerceTaxFixedRateAddressRel> commerceTaxFixedRateAddressRels)
commerceTaxFixedRateAddressRels
- the commerce tax fixed rate address relspublic static CommerceTaxFixedRateAddressRel create(long commerceTaxFixedRateAddressRelId)
commerceTaxFixedRateAddressRelId
- the primary key for the new commerce tax fixed rate address relpublic static CommerceTaxFixedRateAddressRel 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 foundpublic static CommerceTaxFixedRateAddressRel updateImpl(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel)
public static 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 foundpublic static CommerceTaxFixedRateAddressRel 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 foundpublic static java.util.List<CommerceTaxFixedRateAddressRel> findAll()
public static 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)public static 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
)public static 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 cachepublic static void removeAll()
public static int countAll()
public static CommerceTaxFixedRateAddressRelPersistence getPersistence()
public static void setPersistence(CommerceTaxFixedRateAddressRelPersistence persistence)