Class CommerceShippingOptionAccountEntryRelUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel) Caches the commerce shipping option account entry rel in the entity cache if it is enabled.static void
cacheResult
(List<CommerceShippingOptionAccountEntryRel> commerceShippingOptionAccountEntryRels) Caches the commerce shipping option account entry rels in the entity cache if it is enabled.static void
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
(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) 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.fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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.findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) remove
(long CommerceShippingOptionAccountEntryRelId) Removes the commerce shipping option account entry rel with the primary key from the database.static 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.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
(String commerceShippingOptionKey) Removes all the commerce shipping option account entry rels where commerceShippingOptionKey = ? from the database.static void
update
(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel) update
(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateImpl
(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel)
-
Constructor Details
-
CommerceShippingOptionAccountEntryRelUtil
public CommerceShippingOptionAccountEntryRelUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
public static void clearCache(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel) - See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,CommerceShippingOptionAccountEntryRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CommerceShippingOptionAccountEntryRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CommerceShippingOptionAccountEntryRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CommerceShippingOptionAccountEntryRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static CommerceShippingOptionAccountEntryRel update(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CommerceShippingOptionAccountEntryRel update(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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
public static 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
public static 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
public static 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
public static 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 foundNoSuchShippingOptionAccountEntryRelException
-
fetchByAccountEntryId_First
public 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 = ?.- 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
public static 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 foundNoSuchShippingOptionAccountEntryRelException
-
fetchByAccountEntryId_Last
public 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 = ?.- 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
public static 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 foundNoSuchShippingOptionAccountEntryRelException
-
removeByAccountEntryId
public static 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
public static 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
public static List<CommerceShippingOptionAccountEntryRel> findByCommerceChannelId(long commerceChannelId) 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchShippingOptionAccountEntryRelException
-
fetchByCommerceChannelId_First
public 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 = ?.- 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
public static 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 foundNoSuchShippingOptionAccountEntryRelException
-
fetchByCommerceChannelId_Last
public 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 = ?.- 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
public static 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 foundNoSuchShippingOptionAccountEntryRelException
-
removeByCommerceChannelId
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchShippingOptionAccountEntryRelException
-
fetchByCommerceShippingOptionKey_First
public static 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
public static 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 foundNoSuchShippingOptionAccountEntryRelException
-
fetchByCommerceShippingOptionKey_Last
public static 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
public static 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 foundNoSuchShippingOptionAccountEntryRelException
-
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
public static 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 foundNoSuchShippingOptionAccountEntryRelException
-
fetchByA_C
public static CommerceShippingOptionAccountEntryRel 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. 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
public static 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
public static 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
public static 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
public static void cacheResult(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel) 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
public static 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
public static CommerceShippingOptionAccountEntryRel create(long CommerceShippingOptionAccountEntryRelId) 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
public static 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 foundNoSuchShippingOptionAccountEntryRelException
-
updateImpl
public static CommerceShippingOptionAccountEntryRel updateImpl(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel) -
findByPrimaryKey
public static 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 foundNoSuchShippingOptionAccountEntryRelException
-
fetchByPrimaryKey
public static 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
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
public static 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
public static 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
public static void removeAll()Removes all the commerce shipping option account entry rels from the database. -
countAll
public static int countAll()Returns the number of commerce shipping option account entry rels.- Returns:
- the number of commerce shipping option account entry rels
-
getPersistence
-
setPersistence
-