Interface CommerceShippingOptionAccountEntryRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceShippingOptionAccountEntryRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel) Caches the commerce shipping option account entry rel in the entity cache if it is enabled.void
cacheResult
(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
(String commerceShippingOptionKey) Returns the number of commerce shipping option account entry rels where commerceShippingOptionKey = ?.create
(long CommerceShippingOptionAccountEntryRelId) Creates a new commerce shipping option account entry rel with the primary key.fetchByA_C
(long accountEntryId, long commerceChannelId) Returns the commerce shipping option account entry rel where accountEntryId = ? and commerceChannelId = ? or returnsnull
if it could not be found.fetchByA_C
(long accountEntryId, long commerceChannelId, boolean useFinderCache) Returns the commerce shipping option account entry rel where accountEntryId = ? and commerceChannelId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.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 = ?.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 = ?.fetchByCommerceShippingOptionKey_First
(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 = ?.fetchByCommerceShippingOptionKey_Last
(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 = ?.fetchByPrimaryKey
(long CommerceShippingOptionAccountEntryRelId) Returns the commerce shipping option account entry rel with the primary key or returnsnull
if it could not be found.findAll()
Returns all the commerce shipping option account entry rels.findAll
(int start, int end) Returns a range of all the commerce shipping option account entry rels.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.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.findByA_C
(long accountEntryId, long commerceChannelId) Returns the commerce shipping option account entry rel where accountEntryId = ? and commerceChannelId = ? or throws aNoSuchShippingOptionAccountEntryRelException
if it could not be found.findByAccountEntryId
(long accountEntryId) Returns all the commerce shipping option account entry rels where accountEntryId = ?.findByAccountEntryId
(long accountEntryId, int start, int end) Returns a range of all the commerce shipping option account entry rels where accountEntryId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByCommerceChannelId
(long commerceChannelId) Returns all the commerce shipping option account entry rels where commerceChannelId = ?.findByCommerceChannelId
(long commerceChannelId, int start, int end) Returns a range of all the commerce shipping option account entry rels where commerceChannelId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByCommerceShippingOptionKey
(String commerceShippingOptionKey) Returns all the commerce shipping option account entry rels where commerceShippingOptionKey = ?.findByCommerceShippingOptionKey
(String commerceShippingOptionKey, int start, int end) Returns a range of all the commerce shipping option account entry rels where commerceShippingOptionKey = ?.findByCommerceShippingOptionKey
(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 = ?.findByCommerceShippingOptionKey
(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 = ?.findByCommerceShippingOptionKey_First
(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 = ?.findByCommerceShippingOptionKey_Last
(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 = ?.findByCommerceShippingOptionKey_PrevAndNext
(long CommerceShippingOptionAccountEntryRelId, 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 = ?.findByPrimaryKey
(long CommerceShippingOptionAccountEntryRelId) Returns the commerce shipping option account entry rel with the primary key or throws aNoSuchShippingOptionAccountEntryRelException
if it could not be found.remove
(long CommerceShippingOptionAccountEntryRelId) Removes the commerce shipping option account entry rel with the primary key from the database.void
Removes all the commerce shipping option account entry rels from the database.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
(String commerceShippingOptionKey) Removes all the commerce shipping option account entry rels where commerceShippingOptionKey = ? from the database.updateImpl
(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByAccountEntryId
Returns all the commerce shipping option account entry rels where accountEntryId = ?.- Parameters:
accountEntryId
- the account entry ID- Returns:
- the matching commerce shipping option account entry rels
-
findByAccountEntryId
List<CommerceShippingOptionAccountEntryRel> findByAccountEntryId(long accountEntryId, int start, int end) Returns a range of all the commerce shipping option account entry rels where accountEntryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingOptionAccountEntryRelModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce shipping option account entry rels
-
findByAccountEntryId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingOptionAccountEntryRelModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce shipping option account entry rels
-
findByAccountEntryId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingOptionAccountEntryRelModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce shipping option account entry rels
-
findByAccountEntryId_First
CommerceShippingOptionAccountEntryRel findByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException Returns the first commerce shipping option account entry rel in the ordered set where accountEntryId = ?.- Parameters:
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipping option account entry rel
- Throws:
NoSuchShippingOptionAccountEntryRelException
- if a matching commerce shipping option account entry rel could not be found
-
fetchByAccountEntryId_First
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 = ?.- Parameters:
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipping option account entry rel, or
null
if a matching commerce shipping option account entry rel could not be found
-
findByAccountEntryId_Last
CommerceShippingOptionAccountEntryRel findByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException Returns the last commerce shipping option account entry rel in the ordered set where accountEntryId = ?.- Parameters:
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipping option account entry rel
- Throws:
NoSuchShippingOptionAccountEntryRelException
- if a matching commerce shipping option account entry rel could not be found
-
fetchByAccountEntryId_Last
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 = ?.- Parameters:
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipping option account entry rel, or
null
if a matching commerce shipping option account entry rel could not be found
-
findByAccountEntryId_PrevAndNext
CommerceShippingOptionAccountEntryRel[] findByAccountEntryId_PrevAndNext(long CommerceShippingOptionAccountEntryRelId, long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException 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 = ?.- Parameters:
CommerceShippingOptionAccountEntryRelId
- the primary key of the current commerce shipping option account entry relaccountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce shipping option account entry rel
- Throws:
NoSuchShippingOptionAccountEntryRelException
- if a commerce shipping option account entry rel with the primary key could not be found
-
removeByAccountEntryId
void removeByAccountEntryId(long accountEntryId) Removes all the commerce shipping option account entry rels where accountEntryId = ? from the database.- Parameters:
accountEntryId
- the account entry ID
-
countByAccountEntryId
int countByAccountEntryId(long accountEntryId) Returns the number of commerce shipping option account entry rels where accountEntryId = ?.- Parameters:
accountEntryId
- the account entry ID- Returns:
- the number of matching commerce shipping option account entry rels
-
findByCommerceChannelId
Returns all the commerce shipping option account entry rels where commerceChannelId = ?.- Parameters:
commerceChannelId
- the commerce channel ID- Returns:
- the matching commerce shipping option account entry rels
-
findByCommerceChannelId
List<CommerceShippingOptionAccountEntryRel> findByCommerceChannelId(long commerceChannelId, int start, int end) Returns a range of all the commerce shipping option account entry rels where commerceChannelId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingOptionAccountEntryRelModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce shipping option account entry rels
-
findByCommerceChannelId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingOptionAccountEntryRelModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce shipping option account entry rels
-
findByCommerceChannelId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingOptionAccountEntryRelModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce shipping option account entry rels
-
findByCommerceChannelId_First
CommerceShippingOptionAccountEntryRel findByCommerceChannelId_First(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException Returns the first commerce shipping option account entry rel in the ordered set where commerceChannelId = ?.- Parameters:
commerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipping option account entry rel
- Throws:
NoSuchShippingOptionAccountEntryRelException
- if a matching commerce shipping option account entry rel could not be found
-
fetchByCommerceChannelId_First
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 = ?.- Parameters:
commerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipping option account entry rel, or
null
if a matching commerce shipping option account entry rel could not be found
-
findByCommerceChannelId_Last
CommerceShippingOptionAccountEntryRel findByCommerceChannelId_Last(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException Returns the last commerce shipping option account entry rel in the ordered set where commerceChannelId = ?.- Parameters:
commerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipping option account entry rel
- Throws:
NoSuchShippingOptionAccountEntryRelException
- if a matching commerce shipping option account entry rel could not be found
-
fetchByCommerceChannelId_Last
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 = ?.- Parameters:
commerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipping option account entry rel, or
null
if a matching commerce shipping option account entry rel could not be found
-
findByCommerceChannelId_PrevAndNext
CommerceShippingOptionAccountEntryRel[] findByCommerceChannelId_PrevAndNext(long CommerceShippingOptionAccountEntryRelId, long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException 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 = ?.- Parameters:
CommerceShippingOptionAccountEntryRelId
- the primary key of the current commerce shipping option account entry relcommerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce shipping option account entry rel
- Throws:
NoSuchShippingOptionAccountEntryRelException
- if a commerce shipping option account entry rel with the primary key could not be found
-
removeByCommerceChannelId
void removeByCommerceChannelId(long commerceChannelId) Removes all the commerce shipping option account entry rels where commerceChannelId = ? from the database.- Parameters:
commerceChannelId
- the commerce channel ID
-
countByCommerceChannelId
int countByCommerceChannelId(long commerceChannelId) Returns the number of commerce shipping option account entry rels where commerceChannelId = ?.- Parameters:
commerceChannelId
- the commerce channel ID- Returns:
- the number of matching commerce shipping option account entry rels
-
findByCommerceShippingOptionKey
List<CommerceShippingOptionAccountEntryRel> findByCommerceShippingOptionKey(String commerceShippingOptionKey) Returns all the commerce shipping option account entry rels where commerceShippingOptionKey = ?.- Parameters:
commerceShippingOptionKey
- the commerce shipping option key- Returns:
- the matching commerce shipping option account entry rels
-
findByCommerceShippingOptionKey
List<CommerceShippingOptionAccountEntryRel> findByCommerceShippingOptionKey(String commerceShippingOptionKey, int start, int end) Returns a range of all the commerce shipping option account entry rels where commerceShippingOptionKey = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingOptionAccountEntryRelModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce shipping option account entry rels
-
findByCommerceShippingOptionKey
List<CommerceShippingOptionAccountEntryRel> findByCommerceShippingOptionKey(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingOptionAccountEntryRelModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce shipping option account entry rels
-
findByCommerceShippingOptionKey
List<CommerceShippingOptionAccountEntryRel> findByCommerceShippingOptionKey(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingOptionAccountEntryRelModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce shipping option account entry rels
-
findByCommerceShippingOptionKey_First
CommerceShippingOptionAccountEntryRel findByCommerceShippingOptionKey_First(String commerceShippingOptionKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException Returns the first commerce shipping option account entry rel in the ordered set where commerceShippingOptionKey = ?.- Parameters:
commerceShippingOptionKey
- the commerce shipping option keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipping option account entry rel
- Throws:
NoSuchShippingOptionAccountEntryRelException
- if a matching commerce shipping option account entry rel could not be found
-
fetchByCommerceShippingOptionKey_First
CommerceShippingOptionAccountEntryRel fetchByCommerceShippingOptionKey_First(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 = ?.- Parameters:
commerceShippingOptionKey
- the commerce shipping option keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipping option account entry rel, or
null
if a matching commerce shipping option account entry rel could not be found
-
findByCommerceShippingOptionKey_Last
CommerceShippingOptionAccountEntryRel findByCommerceShippingOptionKey_Last(String commerceShippingOptionKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException Returns the last commerce shipping option account entry rel in the ordered set where commerceShippingOptionKey = ?.- Parameters:
commerceShippingOptionKey
- the commerce shipping option keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipping option account entry rel
- Throws:
NoSuchShippingOptionAccountEntryRelException
- if a matching commerce shipping option account entry rel could not be found
-
fetchByCommerceShippingOptionKey_Last
CommerceShippingOptionAccountEntryRel fetchByCommerceShippingOptionKey_Last(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 = ?.- Parameters:
commerceShippingOptionKey
- the commerce shipping option keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipping option account entry rel, or
null
if a matching commerce shipping option account entry rel could not be found
-
findByCommerceShippingOptionKey_PrevAndNext
CommerceShippingOptionAccountEntryRel[] findByCommerceShippingOptionKey_PrevAndNext(long CommerceShippingOptionAccountEntryRelId, String commerceShippingOptionKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next commerce shipping option account entry rel
- Throws:
NoSuchShippingOptionAccountEntryRelException
- if a commerce shipping option account entry rel with the primary key could not be found
-
removeByCommerceShippingOptionKey
Removes all the commerce shipping option account entry rels where commerceShippingOptionKey = ? from the database.- Parameters:
commerceShippingOptionKey
- the commerce shipping option key
-
countByCommerceShippingOptionKey
Returns the number of commerce shipping option account entry rels where commerceShippingOptionKey = ?.- Parameters:
commerceShippingOptionKey
- the commerce shipping option key- Returns:
- the number of matching commerce shipping option account entry rels
-
findByA_C
CommerceShippingOptionAccountEntryRel findByA_C(long accountEntryId, long commerceChannelId) throws NoSuchShippingOptionAccountEntryRelException Returns the commerce shipping option account entry rel where accountEntryId = ? and commerceChannelId = ? or throws aNoSuchShippingOptionAccountEntryRelException
if it could not be found.- Parameters:
accountEntryId
- the account entry IDcommerceChannelId
- the commerce channel ID- Returns:
- the matching commerce shipping option account entry rel
- Throws:
NoSuchShippingOptionAccountEntryRelException
- if a matching commerce shipping option account entry rel could not be found
-
fetchByA_C
Returns the commerce shipping option account entry rel where accountEntryId = ? and commerceChannelId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
accountEntryId
- the account entry IDcommerceChannelId
- the commerce channel ID- Returns:
- the matching commerce shipping option account entry rel, or
null
if a matching commerce shipping option account entry rel could not be found
-
fetchByA_C
CommerceShippingOptionAccountEntryRel fetchByA_C(long accountEntryId, long commerceChannelId, boolean useFinderCache) Returns the commerce shipping option account entry rel where accountEntryId = ? and commerceChannelId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
accountEntryId
- the account entry IDcommerceChannelId
- the commerce channel IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce shipping option account entry rel, or
null
if a matching commerce shipping option account entry rel could not be found
-
removeByA_C
CommerceShippingOptionAccountEntryRel removeByA_C(long accountEntryId, long commerceChannelId) throws NoSuchShippingOptionAccountEntryRelException Removes the commerce shipping option account entry rel where accountEntryId = ? and commerceChannelId = ? from the database.- Parameters:
accountEntryId
- the account entry IDcommerceChannelId
- the commerce channel ID- Returns:
- the commerce shipping option account entry rel that was removed
- Throws:
NoSuchShippingOptionAccountEntryRelException
-
countByA_C
int countByA_C(long accountEntryId, long commerceChannelId) Returns the number of commerce shipping option account entry rels where accountEntryId = ? and commerceChannelId = ?.- Parameters:
accountEntryId
- the account entry IDcommerceChannelId
- the commerce channel ID- Returns:
- the number of matching commerce shipping option account entry rels
-
cacheResult
Caches the commerce shipping option account entry rel in the entity cache if it is enabled.- Parameters:
commerceShippingOptionAccountEntryRel
- the commerce shipping option account entry rel
-
cacheResult
void cacheResult(List<CommerceShippingOptionAccountEntryRel> commerceShippingOptionAccountEntryRels) Caches the commerce shipping option account entry rels in the entity cache if it is enabled.- Parameters:
commerceShippingOptionAccountEntryRels
- the commerce shipping option account entry rels
-
create
Creates a new commerce shipping option account entry rel with the primary key. Does not add the commerce shipping option account entry rel to the database.- Parameters:
CommerceShippingOptionAccountEntryRelId
- the primary key for the new commerce shipping option account entry rel- Returns:
- the new commerce shipping option account entry rel
-
remove
CommerceShippingOptionAccountEntryRel remove(long CommerceShippingOptionAccountEntryRelId) throws NoSuchShippingOptionAccountEntryRelException Removes the commerce shipping option account entry rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CommerceShippingOptionAccountEntryRelId
- the primary key of the commerce shipping option account entry rel- Returns:
- the commerce shipping option account entry rel that was removed
- Throws:
NoSuchShippingOptionAccountEntryRelException
- if a commerce shipping option account entry rel with the primary key could not be found
-
updateImpl
CommerceShippingOptionAccountEntryRel updateImpl(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel) -
findByPrimaryKey
CommerceShippingOptionAccountEntryRel findByPrimaryKey(long CommerceShippingOptionAccountEntryRelId) throws NoSuchShippingOptionAccountEntryRelException Returns the commerce shipping option account entry rel with the primary key or throws aNoSuchShippingOptionAccountEntryRelException
if it could not be found.- Parameters:
CommerceShippingOptionAccountEntryRelId
- the primary key of the commerce shipping option account entry rel- Returns:
- the commerce shipping option account entry rel
- Throws:
NoSuchShippingOptionAccountEntryRelException
- if a commerce shipping option account entry rel with the primary key could not be found
-
fetchByPrimaryKey
CommerceShippingOptionAccountEntryRel fetchByPrimaryKey(long CommerceShippingOptionAccountEntryRelId) Returns the commerce shipping option account entry rel with the primary key or returnsnull
if it could not be found.- Parameters:
CommerceShippingOptionAccountEntryRelId
- the primary key of the commerce shipping option account entry rel- Returns:
- the commerce shipping option account entry rel, or
null
if a commerce shipping option account entry rel with the primary key could not be found
-
findAll
List<CommerceShippingOptionAccountEntryRel> findAll()Returns all the commerce shipping option account entry rels.- Returns:
- the commerce shipping option account entry rels
-
findAll
Returns a range of all the commerce shipping option account entry rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingOptionAccountEntryRelModelImpl
.- Parameters:
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)- Returns:
- the range of commerce shipping option account entry rels
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingOptionAccountEntryRelModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of commerce shipping option account entry rels
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingOptionAccountEntryRelModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of commerce shipping option account entry rels
-
removeAll
void removeAll()Removes all the commerce shipping option account entry rels from the database. -
countAll
int countAll()Returns the number of commerce shipping option account entry rels.- Returns:
- the number of commerce shipping option account entry rels
-