@ProviderType public interface CommerceShippingOptionAccountEntryRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceShippingOptionAccountEntryRel>
Caching information and settings can be found in portal.properties
CommerceShippingOptionAccountEntryRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel)
Caches the commerce shipping option account entry rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceShippingOptionAccountEntryRel> commerceShippingOptionAccountEntryRels)
Caches the commerce shipping option account entry rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce shipping option account entry rels.
|
int |
countByA_C(long accountEntryId,
long commerceChannelId)
Returns the number of commerce shipping option account entry rels where accountEntryId = ? and commerceChannelId = ?.
|
int |
countByAccountEntryId(long accountEntryId)
Returns the number of commerce shipping option account entry rels where accountEntryId = ?.
|
int |
countByCommerceChannelId(long commerceChannelId)
Returns the number of commerce shipping option account entry rels where commerceChannelId = ?.
|
int |
countByCommerceShippingOptionKey(java.lang.String commerceShippingOptionKey)
Returns the number of commerce shipping option account entry rels where commerceShippingOptionKey = ?.
|
CommerceShippingOptionAccountEntryRel |
create(long CommerceShippingOptionAccountEntryRelId)
Creates a new commerce shipping option account entry rel with the primary key.
|
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. |
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. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
java.util.List<CommerceShippingOptionAccountEntryRel> |
findAll()
Returns all the commerce shipping option account entry rels.
|
java.util.List<CommerceShippingOptionAccountEntryRel> |
findAll(int start,
int end)
Returns a range of all the commerce shipping option account entry rels.
|
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.
|
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.
|
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. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceShippingOptionAccountEntryRel> |
findByAccountEntryId(long accountEntryId)
Returns all the commerce shipping option account entry rels where accountEntryId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceShippingOptionAccountEntryRel> |
findByCommerceChannelId(long commerceChannelId)
Returns all the commerce shipping option account entry rels where commerceChannelId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceShippingOptionAccountEntryRel> |
findByCommerceShippingOptionKey(java.lang.String commerceShippingOptionKey)
Returns all the commerce shipping option account entry rels where commerceShippingOptionKey = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
CommerceShippingOptionAccountEntryRel |
remove(long CommerceShippingOptionAccountEntryRelId)
Removes the commerce shipping option account entry rel with the primary key from the database.
|
void |
removeAll()
Removes all the commerce shipping option account entry rels from the database.
|
CommerceShippingOptionAccountEntryRel |
removeByA_C(long accountEntryId,
long commerceChannelId)
Removes the commerce shipping option account entry rel where accountEntryId = ? and commerceChannelId = ? from the database.
|
void |
removeByAccountEntryId(long accountEntryId)
Removes all the commerce shipping option account entry rels where accountEntryId = ? from the database.
|
void |
removeByCommerceChannelId(long commerceChannelId)
Removes all the commerce shipping option account entry rels where commerceChannelId = ? from the database.
|
void |
removeByCommerceShippingOptionKey(java.lang.String commerceShippingOptionKey)
Removes all the commerce shipping option account entry rels where commerceShippingOptionKey = ? from the database.
|
CommerceShippingOptionAccountEntryRel |
updateImpl(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel) |
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<CommerceShippingOptionAccountEntryRel> findByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDjava.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)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
)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 cacheCommerceShippingOptionAccountEntryRel 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 foundCommerceShippingOptionAccountEntryRel 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 foundCommerceShippingOptionAccountEntryRel 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 foundCommerceShippingOptionAccountEntryRel 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 foundCommerceShippingOptionAccountEntryRel[] 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 foundvoid removeByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDint countByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDjava.util.List<CommerceShippingOptionAccountEntryRel> findByCommerceChannelId(long commerceChannelId)
commerceChannelId
- the commerce channel IDjava.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)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
)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 cacheCommerceShippingOptionAccountEntryRel 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 foundCommerceShippingOptionAccountEntryRel 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 foundCommerceShippingOptionAccountEntryRel 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 foundCommerceShippingOptionAccountEntryRel 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 foundCommerceShippingOptionAccountEntryRel[] 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 foundvoid removeByCommerceChannelId(long commerceChannelId)
commerceChannelId
- the commerce channel IDint countByCommerceChannelId(long commerceChannelId)
commerceChannelId
- the commerce channel IDjava.util.List<CommerceShippingOptionAccountEntryRel> findByCommerceShippingOptionKey(java.lang.String commerceShippingOptionKey)
commerceShippingOptionKey
- the commerce shipping option keyjava.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)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
)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 cacheCommerceShippingOptionAccountEntryRel 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 foundCommerceShippingOptionAccountEntryRel 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 foundCommerceShippingOptionAccountEntryRel 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 foundCommerceShippingOptionAccountEntryRel 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 foundCommerceShippingOptionAccountEntryRel[] 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 foundvoid removeByCommerceShippingOptionKey(java.lang.String commerceShippingOptionKey)
commerceShippingOptionKey
- the commerce shipping option keyint countByCommerceShippingOptionKey(java.lang.String commerceShippingOptionKey)
commerceShippingOptionKey
- the commerce shipping option keyCommerceShippingOptionAccountEntryRel 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 foundCommerceShippingOptionAccountEntryRel 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 foundCommerceShippingOptionAccountEntryRel 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 foundCommerceShippingOptionAccountEntryRel removeByA_C(long accountEntryId, long commerceChannelId) throws NoSuchShippingOptionAccountEntryRelException
accountEntryId
- the account entry IDcommerceChannelId
- the commerce channel IDNoSuchShippingOptionAccountEntryRelException
int countByA_C(long accountEntryId, long commerceChannelId)
accountEntryId
- the account entry IDcommerceChannelId
- the commerce channel IDvoid cacheResult(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel)
commerceShippingOptionAccountEntryRel
- the commerce shipping option account entry relvoid cacheResult(java.util.List<CommerceShippingOptionAccountEntryRel> commerceShippingOptionAccountEntryRels)
commerceShippingOptionAccountEntryRels
- the commerce shipping option account entry relsCommerceShippingOptionAccountEntryRel create(long CommerceShippingOptionAccountEntryRelId)
CommerceShippingOptionAccountEntryRelId
- the primary key for the new commerce shipping option account entry relCommerceShippingOptionAccountEntryRel 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 foundCommerceShippingOptionAccountEntryRel updateImpl(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel)
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 foundCommerceShippingOptionAccountEntryRel 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 foundjava.util.List<CommerceShippingOptionAccountEntryRel> findAll()
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)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
)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 cachevoid removeAll()
int countAll()