public class CommerceShippingOptionAccountEntryRelUtil
extends java.lang.Object
com.liferay.commerce.service.persistence.impl.CommerceShippingOptionAccountEntryRelPersistenceImpl
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
CommerceShippingOptionAccountEntryRelPersistence
Constructor and Description |
---|
CommerceShippingOptionAccountEntryRelUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel)
Caches the commerce shipping option account entry rel in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommerceShippingOptionAccountEntryRel> commerceShippingOptionAccountEntryRels)
Caches the commerce shipping option account entry rels in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel) |
static int |
countAll()
Returns the number of commerce shipping option account entry rels.
|
static int |
countByA_C(long accountEntryId,
long commerceChannelId)
Returns the number of commerce shipping option account entry rels where accountEntryId = ? and commerceChannelId = ?.
|
static int |
countByAccountEntryId(long accountEntryId)
Returns the number of commerce shipping option account entry rels where accountEntryId = ?.
|
static int |
countByCommerceChannelId(long commerceChannelId)
Returns the number of commerce shipping option account entry rels where commerceChannelId = ?.
|
static int |
countByCommerceShippingOptionKey(java.lang.String commerceShippingOptionKey)
Returns the number of commerce shipping option account entry rels where commerceShippingOptionKey = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CommerceShippingOptionAccountEntryRel |
create(long CommerceShippingOptionAccountEntryRelId)
Creates a new commerce shipping option account entry rel with the primary key.
|
static CommerceShippingOptionAccountEntryRel |
fetchByA_C(long accountEntryId,
long commerceChannelId)
Returns the commerce shipping option account entry rel where accountEntryId = ? and commerceChannelId = ? or returns
null if it could not be found. |
static CommerceShippingOptionAccountEntryRel |
fetchByA_C(long accountEntryId,
long commerceChannelId,
boolean useFinderCache)
Returns the commerce shipping option account entry rel where accountEntryId = ? and commerceChannelId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommerceShippingOptionAccountEntryRel |
fetchByAccountEntryId_First(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
Returns the first commerce shipping option account entry rel in the ordered set where accountEntryId = ?.
|
static CommerceShippingOptionAccountEntryRel |
fetchByAccountEntryId_Last(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
Returns the last commerce shipping option account entry rel in the ordered set where accountEntryId = ?.
|
static CommerceShippingOptionAccountEntryRel |
fetchByCommerceChannelId_First(long commerceChannelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
Returns the first commerce shipping option account entry rel in the ordered set where commerceChannelId = ?.
|
static CommerceShippingOptionAccountEntryRel |
fetchByCommerceChannelId_Last(long commerceChannelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
Returns the last commerce shipping option account entry rel in the ordered set where commerceChannelId = ?.
|
static CommerceShippingOptionAccountEntryRel |
fetchByCommerceShippingOptionKey_First(java.lang.String commerceShippingOptionKey,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
Returns the first commerce shipping option account entry rel in the ordered set where commerceShippingOptionKey = ?.
|
static CommerceShippingOptionAccountEntryRel |
fetchByCommerceShippingOptionKey_Last(java.lang.String commerceShippingOptionKey,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
Returns the last commerce shipping option account entry rel in the ordered set where commerceShippingOptionKey = ?.
|
static CommerceShippingOptionAccountEntryRel |
fetchByPrimaryKey(long CommerceShippingOptionAccountEntryRelId)
Returns the commerce shipping option account entry rel with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CommerceShippingOptionAccountEntryRel> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<CommerceShippingOptionAccountEntryRel> |
findAll()
Returns all the commerce shipping option account entry rels.
|
static java.util.List<CommerceShippingOptionAccountEntryRel> |
findAll(int start,
int end)
Returns a range of all the commerce shipping option account entry rels.
|
static java.util.List<CommerceShippingOptionAccountEntryRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
Returns an ordered range of all the commerce shipping option account entry rels.
|
static java.util.List<CommerceShippingOptionAccountEntryRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce shipping option account entry rels.
|
static CommerceShippingOptionAccountEntryRel |
findByA_C(long accountEntryId,
long commerceChannelId)
Returns the commerce shipping option account entry rel where accountEntryId = ? and commerceChannelId = ? or throws a
NoSuchShippingOptionAccountEntryRelException if it could not be found. |
static CommerceShippingOptionAccountEntryRel |
findByAccountEntryId_First(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
Returns the first commerce shipping option account entry rel in the ordered set where accountEntryId = ?.
|
static CommerceShippingOptionAccountEntryRel |
findByAccountEntryId_Last(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
Returns the last commerce shipping option account entry rel in the ordered set where accountEntryId = ?.
|
static CommerceShippingOptionAccountEntryRel[] |
findByAccountEntryId_PrevAndNext(long CommerceShippingOptionAccountEntryRelId,
long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
Returns the commerce shipping option account entry rels before and after the current commerce shipping option account entry rel in the ordered set where accountEntryId = ?.
|
static java.util.List<CommerceShippingOptionAccountEntryRel> |
findByAccountEntryId(long accountEntryId)
Returns all the commerce shipping option account entry rels where accountEntryId = ?.
|
static java.util.List<CommerceShippingOptionAccountEntryRel> |
findByAccountEntryId(long accountEntryId,
int start,
int end)
Returns a range of all the commerce shipping option account entry rels where accountEntryId = ?.
|
static java.util.List<CommerceShippingOptionAccountEntryRel> |
findByAccountEntryId(long accountEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
Returns an ordered range of all the commerce shipping option account entry rels where accountEntryId = ?.
|
static java.util.List<CommerceShippingOptionAccountEntryRel> |
findByAccountEntryId(long accountEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce shipping option account entry rels where accountEntryId = ?.
|
static CommerceShippingOptionAccountEntryRel |
findByCommerceChannelId_First(long commerceChannelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
Returns the first commerce shipping option account entry rel in the ordered set where commerceChannelId = ?.
|
static CommerceShippingOptionAccountEntryRel |
findByCommerceChannelId_Last(long commerceChannelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
Returns the last commerce shipping option account entry rel in the ordered set where commerceChannelId = ?.
|
static CommerceShippingOptionAccountEntryRel[] |
findByCommerceChannelId_PrevAndNext(long CommerceShippingOptionAccountEntryRelId,
long commerceChannelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
Returns the commerce shipping option account entry rels before and after the current commerce shipping option account entry rel in the ordered set where commerceChannelId = ?.
|
static java.util.List<CommerceShippingOptionAccountEntryRel> |
findByCommerceChannelId(long commerceChannelId)
Returns all the commerce shipping option account entry rels where commerceChannelId = ?.
|
static java.util.List<CommerceShippingOptionAccountEntryRel> |
findByCommerceChannelId(long commerceChannelId,
int start,
int end)
Returns a range of all the commerce shipping option account entry rels where commerceChannelId = ?.
|
static java.util.List<CommerceShippingOptionAccountEntryRel> |
findByCommerceChannelId(long commerceChannelId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
Returns an ordered range of all the commerce shipping option account entry rels where commerceChannelId = ?.
|
static java.util.List<CommerceShippingOptionAccountEntryRel> |
findByCommerceChannelId(long commerceChannelId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce shipping option account entry rels where commerceChannelId = ?.
|
static CommerceShippingOptionAccountEntryRel |
findByCommerceShippingOptionKey_First(java.lang.String commerceShippingOptionKey,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
Returns the first commerce shipping option account entry rel in the ordered set where commerceShippingOptionKey = ?.
|
static CommerceShippingOptionAccountEntryRel |
findByCommerceShippingOptionKey_Last(java.lang.String commerceShippingOptionKey,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
Returns the last commerce shipping option account entry rel in the ordered set where commerceShippingOptionKey = ?.
|
static CommerceShippingOptionAccountEntryRel[] |
findByCommerceShippingOptionKey_PrevAndNext(long CommerceShippingOptionAccountEntryRelId,
java.lang.String commerceShippingOptionKey,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
Returns the commerce shipping option account entry rels before and after the current commerce shipping option account entry rel in the ordered set where commerceShippingOptionKey = ?.
|
static java.util.List<CommerceShippingOptionAccountEntryRel> |
findByCommerceShippingOptionKey(java.lang.String commerceShippingOptionKey)
Returns all the commerce shipping option account entry rels where commerceShippingOptionKey = ?.
|
static java.util.List<CommerceShippingOptionAccountEntryRel> |
findByCommerceShippingOptionKey(java.lang.String commerceShippingOptionKey,
int start,
int end)
Returns a range of all the commerce shipping option account entry rels where commerceShippingOptionKey = ?.
|
static java.util.List<CommerceShippingOptionAccountEntryRel> |
findByCommerceShippingOptionKey(java.lang.String commerceShippingOptionKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
Returns an ordered range of all the commerce shipping option account entry rels where commerceShippingOptionKey = ?.
|
static java.util.List<CommerceShippingOptionAccountEntryRel> |
findByCommerceShippingOptionKey(java.lang.String commerceShippingOptionKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce shipping option account entry rels where commerceShippingOptionKey = ?.
|
static CommerceShippingOptionAccountEntryRel |
findByPrimaryKey(long CommerceShippingOptionAccountEntryRelId)
Returns the commerce shipping option account entry rel with the primary key or throws a
NoSuchShippingOptionAccountEntryRelException if it could not be found. |
static java.util.List<CommerceShippingOptionAccountEntryRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommerceShippingOptionAccountEntryRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommerceShippingOptionAccountEntryRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) |
static CommerceShippingOptionAccountEntryRelPersistence |
getPersistence() |
static CommerceShippingOptionAccountEntryRel |
remove(long CommerceShippingOptionAccountEntryRelId)
Removes the commerce shipping option account entry rel with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce shipping option account entry rels from the database.
|
static CommerceShippingOptionAccountEntryRel |
removeByA_C(long accountEntryId,
long commerceChannelId)
Removes the commerce shipping option account entry rel where accountEntryId = ? and commerceChannelId = ? from the database.
|
static void |
removeByAccountEntryId(long accountEntryId)
Removes all the commerce shipping option account entry rels where accountEntryId = ? from the database.
|
static void |
removeByCommerceChannelId(long commerceChannelId)
Removes all the commerce shipping option account entry rels where commerceChannelId = ? from the database.
|
static void |
removeByCommerceShippingOptionKey(java.lang.String commerceShippingOptionKey)
Removes all the commerce shipping option account entry rels where commerceShippingOptionKey = ? from the database.
|
static void |
setPersistence(CommerceShippingOptionAccountEntryRelPersistence persistence) |
static CommerceShippingOptionAccountEntryRel |
update(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel) |
static CommerceShippingOptionAccountEntryRel |
update(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceShippingOptionAccountEntryRel |
updateImpl(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel) |
public CommerceShippingOptionAccountEntryRelUtil()
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel)
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,CommerceShippingOptionAccountEntryRel> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CommerceShippingOptionAccountEntryRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CommerceShippingOptionAccountEntryRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CommerceShippingOptionAccountEntryRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CommerceShippingOptionAccountEntryRel update(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CommerceShippingOptionAccountEntryRel update(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CommerceShippingOptionAccountEntryRel> findByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDpublic static java.util.List<CommerceShippingOptionAccountEntryRel> findByAccountEntryId(long accountEntryId, 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 CommerceShippingOptionAccountEntryRelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of commerce shipping option account entry relsend
- the upper bound of the range of commerce shipping option account entry rels (not inclusive)public static java.util.List<CommerceShippingOptionAccountEntryRel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> 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 CommerceShippingOptionAccountEntryRelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of commerce shipping option account entry relsend
- the upper bound of the range of commerce shipping option account entry rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceShippingOptionAccountEntryRel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> 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 CommerceShippingOptionAccountEntryRelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of commerce shipping option account entry relsend
- the upper bound of the range of commerce shipping option account entry rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceShippingOptionAccountEntryRel findByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShippingOptionAccountEntryRelException
- if a matching commerce shipping option account entry rel could not be foundpublic static CommerceShippingOptionAccountEntryRel fetchByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipping option account entry rel could not be foundpublic static CommerceShippingOptionAccountEntryRel findByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShippingOptionAccountEntryRelException
- if a matching commerce shipping option account entry rel could not be foundpublic static CommerceShippingOptionAccountEntryRel fetchByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipping option account entry rel could not be foundpublic static CommerceShippingOptionAccountEntryRel[] findByAccountEntryId_PrevAndNext(long CommerceShippingOptionAccountEntryRelId, long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException
CommerceShippingOptionAccountEntryRelId
- the primary key of the current commerce shipping option account entry relaccountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShippingOptionAccountEntryRelException
- if a commerce shipping option account entry rel with the primary key could not be foundpublic static void removeByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDpublic static int countByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDpublic static java.util.List<CommerceShippingOptionAccountEntryRel> findByCommerceChannelId(long commerceChannelId)
commerceChannelId
- the commerce channel IDpublic static java.util.List<CommerceShippingOptionAccountEntryRel> findByCommerceChannelId(long commerceChannelId, 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 CommerceShippingOptionAccountEntryRelModelImpl
.
commerceChannelId
- the commerce channel IDstart
- the lower bound of the range of commerce shipping option account entry relsend
- the upper bound of the range of commerce shipping option account entry rels (not inclusive)public static java.util.List<CommerceShippingOptionAccountEntryRel> findByCommerceChannelId(long commerceChannelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> 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 CommerceShippingOptionAccountEntryRelModelImpl
.
commerceChannelId
- the commerce channel IDstart
- the lower bound of the range of commerce shipping option account entry relsend
- the upper bound of the range of commerce shipping option account entry rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceShippingOptionAccountEntryRel> findByCommerceChannelId(long commerceChannelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> 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 CommerceShippingOptionAccountEntryRelModelImpl
.
commerceChannelId
- the commerce channel IDstart
- the lower bound of the range of commerce shipping option account entry relsend
- the upper bound of the range of commerce shipping option account entry rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceShippingOptionAccountEntryRel findByCommerceChannelId_First(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException
commerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShippingOptionAccountEntryRelException
- if a matching commerce shipping option account entry rel could not be foundpublic static CommerceShippingOptionAccountEntryRel fetchByCommerceChannelId_First(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
commerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipping option account entry rel could not be foundpublic static CommerceShippingOptionAccountEntryRel findByCommerceChannelId_Last(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException
commerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShippingOptionAccountEntryRelException
- if a matching commerce shipping option account entry rel could not be foundpublic static CommerceShippingOptionAccountEntryRel fetchByCommerceChannelId_Last(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
commerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipping option account entry rel could not be foundpublic static CommerceShippingOptionAccountEntryRel[] findByCommerceChannelId_PrevAndNext(long CommerceShippingOptionAccountEntryRelId, long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException
CommerceShippingOptionAccountEntryRelId
- the primary key of the current commerce shipping option account entry relcommerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShippingOptionAccountEntryRelException
- if a commerce shipping option account entry rel with the primary key could not be foundpublic static void removeByCommerceChannelId(long commerceChannelId)
commerceChannelId
- the commerce channel IDpublic static int countByCommerceChannelId(long commerceChannelId)
commerceChannelId
- the commerce channel IDpublic static java.util.List<CommerceShippingOptionAccountEntryRel> findByCommerceShippingOptionKey(java.lang.String commerceShippingOptionKey)
commerceShippingOptionKey
- the commerce shipping option keypublic static java.util.List<CommerceShippingOptionAccountEntryRel> findByCommerceShippingOptionKey(java.lang.String commerceShippingOptionKey, 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 CommerceShippingOptionAccountEntryRelModelImpl
.
commerceShippingOptionKey
- the commerce shipping option keystart
- the lower bound of the range of commerce shipping option account entry relsend
- the upper bound of the range of commerce shipping option account entry rels (not inclusive)public static java.util.List<CommerceShippingOptionAccountEntryRel> findByCommerceShippingOptionKey(java.lang.String commerceShippingOptionKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> 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 CommerceShippingOptionAccountEntryRelModelImpl
.
commerceShippingOptionKey
- the commerce shipping option keystart
- the lower bound of the range of commerce shipping option account entry relsend
- the upper bound of the range of commerce shipping option account entry rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceShippingOptionAccountEntryRel> findByCommerceShippingOptionKey(java.lang.String commerceShippingOptionKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> 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 CommerceShippingOptionAccountEntryRelModelImpl
.
commerceShippingOptionKey
- the commerce shipping option keystart
- the lower bound of the range of commerce shipping option account entry relsend
- the upper bound of the range of commerce shipping option account entry rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceShippingOptionAccountEntryRel findByCommerceShippingOptionKey_First(java.lang.String commerceShippingOptionKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException
commerceShippingOptionKey
- the commerce shipping option keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShippingOptionAccountEntryRelException
- if a matching commerce shipping option account entry rel could not be foundpublic static CommerceShippingOptionAccountEntryRel fetchByCommerceShippingOptionKey_First(java.lang.String commerceShippingOptionKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
commerceShippingOptionKey
- the commerce shipping option keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipping option account entry rel could not be foundpublic static CommerceShippingOptionAccountEntryRel findByCommerceShippingOptionKey_Last(java.lang.String commerceShippingOptionKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException
commerceShippingOptionKey
- the commerce shipping option keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShippingOptionAccountEntryRelException
- if a matching commerce shipping option account entry rel could not be foundpublic static CommerceShippingOptionAccountEntryRel fetchByCommerceShippingOptionKey_Last(java.lang.String commerceShippingOptionKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
commerceShippingOptionKey
- the commerce shipping option keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipping option account entry rel could not be foundpublic static CommerceShippingOptionAccountEntryRel[] findByCommerceShippingOptionKey_PrevAndNext(long CommerceShippingOptionAccountEntryRelId, java.lang.String commerceShippingOptionKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException
CommerceShippingOptionAccountEntryRelId
- the primary key of the current commerce shipping option account entry relcommerceShippingOptionKey
- the commerce shipping option keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShippingOptionAccountEntryRelException
- if a commerce shipping option account entry rel with the primary key could not be foundpublic static void removeByCommerceShippingOptionKey(java.lang.String commerceShippingOptionKey)
commerceShippingOptionKey
- the commerce shipping option keypublic static int countByCommerceShippingOptionKey(java.lang.String commerceShippingOptionKey)
commerceShippingOptionKey
- the commerce shipping option keypublic static CommerceShippingOptionAccountEntryRel findByA_C(long accountEntryId, long commerceChannelId) throws NoSuchShippingOptionAccountEntryRelException
NoSuchShippingOptionAccountEntryRelException
if it could not be found.accountEntryId
- the account entry IDcommerceChannelId
- the commerce channel IDNoSuchShippingOptionAccountEntryRelException
- if a matching commerce shipping option account entry rel could not be foundpublic static CommerceShippingOptionAccountEntryRel fetchByA_C(long accountEntryId, long commerceChannelId)
null
if it could not be found. Uses the finder cache.accountEntryId
- the account entry IDcommerceChannelId
- the commerce channel IDnull
if a matching commerce shipping option account entry rel could not be foundpublic static CommerceShippingOptionAccountEntryRel fetchByA_C(long accountEntryId, long commerceChannelId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.accountEntryId
- the account entry IDcommerceChannelId
- the commerce channel IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce shipping option account entry rel could not be foundpublic static CommerceShippingOptionAccountEntryRel removeByA_C(long accountEntryId, long commerceChannelId) throws NoSuchShippingOptionAccountEntryRelException
accountEntryId
- the account entry IDcommerceChannelId
- the commerce channel IDNoSuchShippingOptionAccountEntryRelException
public static int countByA_C(long accountEntryId, long commerceChannelId)
accountEntryId
- the account entry IDcommerceChannelId
- the commerce channel IDpublic static void cacheResult(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel)
commerceShippingOptionAccountEntryRel
- the commerce shipping option account entry relpublic static void cacheResult(java.util.List<CommerceShippingOptionAccountEntryRel> commerceShippingOptionAccountEntryRels)
commerceShippingOptionAccountEntryRels
- the commerce shipping option account entry relspublic static CommerceShippingOptionAccountEntryRel create(long CommerceShippingOptionAccountEntryRelId)
CommerceShippingOptionAccountEntryRelId
- the primary key for the new commerce shipping option account entry relpublic static CommerceShippingOptionAccountEntryRel remove(long CommerceShippingOptionAccountEntryRelId) throws NoSuchShippingOptionAccountEntryRelException
CommerceShippingOptionAccountEntryRelId
- the primary key of the commerce shipping option account entry relNoSuchShippingOptionAccountEntryRelException
- if a commerce shipping option account entry rel with the primary key could not be foundpublic static CommerceShippingOptionAccountEntryRel updateImpl(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel)
public static CommerceShippingOptionAccountEntryRel findByPrimaryKey(long CommerceShippingOptionAccountEntryRelId) throws NoSuchShippingOptionAccountEntryRelException
NoSuchShippingOptionAccountEntryRelException
if it could not be found.CommerceShippingOptionAccountEntryRelId
- the primary key of the commerce shipping option account entry relNoSuchShippingOptionAccountEntryRelException
- if a commerce shipping option account entry rel with the primary key could not be foundpublic static CommerceShippingOptionAccountEntryRel fetchByPrimaryKey(long CommerceShippingOptionAccountEntryRelId)
null
if it could not be found.CommerceShippingOptionAccountEntryRelId
- the primary key of the commerce shipping option account entry relnull
if a commerce shipping option account entry rel with the primary key could not be foundpublic static java.util.List<CommerceShippingOptionAccountEntryRel> findAll()
public static java.util.List<CommerceShippingOptionAccountEntryRel> 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 CommerceShippingOptionAccountEntryRelModelImpl
.
start
- the lower bound of the range of commerce shipping option account entry relsend
- the upper bound of the range of commerce shipping option account entry rels (not inclusive)public static java.util.List<CommerceShippingOptionAccountEntryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> 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 CommerceShippingOptionAccountEntryRelModelImpl
.
start
- the lower bound of the range of commerce shipping option account entry relsend
- the upper bound of the range of commerce shipping option account entry rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceShippingOptionAccountEntryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> 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 CommerceShippingOptionAccountEntryRelModelImpl
.
start
- the lower bound of the range of commerce shipping option account entry relsend
- the upper bound of the range of commerce shipping option account entry 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 CommerceShippingOptionAccountEntryRelPersistence getPersistence()
public static void setPersistence(CommerceShippingOptionAccountEntryRelPersistence persistence)