Class CommercePriceListCommerceAccountGroupRelUtil
com.liferay.commerce.price.list.service.persistence.impl.CommercePriceListCommerceAccountGroupRelPersistenceImpl
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
(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel) Caches the commerce price list commerce account group rel in the entity cache if it is enabled.static void
cacheResult
(List<CommercePriceListCommerceAccountGroupRel> commercePriceListCommerceAccountGroupRels) Caches the commerce price list commerce account group rels in the entity cache if it is enabled.static void
static void
clearCache
(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel) static int
countAll()
Returns the number of commerce price list commerce account group rels.static int
countByCAGI_CPI
(long commercePriceListId, long commerceAccountGroupId) Returns the number of commerce price list commerce account group rels where commercePriceListId = ? and commerceAccountGroupId = ?.static int
countByCommercePriceListId
(long commercePriceListId) Returns the number of commerce price list commerce account group rels where commercePriceListId = ?.static int
countByUuid
(String uuid) Returns the number of commerce price list commerce account group rels where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of commerce price list commerce account group rels where uuid = ? and companyId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) create
(long commercePriceListCommerceAccountGroupRelId) Creates a new commerce price list commerce account group rel with the primary key.fetchByCAGI_CPI
(long commercePriceListId, long commerceAccountGroupId) Returns the commerce price list commerce account group rel where commercePriceListId = ? and commerceAccountGroupId = ? or returnsnull
if it could not be found.fetchByCAGI_CPI
(long commercePriceListId, long commerceAccountGroupId, boolean useFinderCache) Returns the commerce price list commerce account group rel where commercePriceListId = ? and commerceAccountGroupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByCommercePriceListId_First
(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the first commerce price list commerce account group rel in the ordered set where commercePriceListId = ?.fetchByCommercePriceListId_Last
(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the last commerce price list commerce account group rel in the ordered set where commercePriceListId = ?.fetchByPrimaryKey
(long commercePriceListCommerceAccountGroupRelId) Returns the commerce price list commerce account group rel with the primary key or returnsnull
if it could not be found.fetchByPrimaryKeys
(Set<Serializable> primaryKeys) fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the first commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the last commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the first commerce price list commerce account group rel in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the last commerce price list commerce account group rel in the ordered set where uuid = ?.findAll()
Returns all the commerce price list commerce account group rels.findAll
(int start, int end) Returns a range of all the commerce price list commerce account group rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns an ordered range of all the commerce price list commerce account group rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list commerce account group rels.findByCAGI_CPI
(long commercePriceListId, long commerceAccountGroupId) Returns the commerce price list commerce account group rel where commercePriceListId = ? and commerceAccountGroupId = ? or throws aNoSuchPriceListCommerceAccountGroupRelException
if it could not be found.findByCommercePriceListId
(long commercePriceListId) Returns all the commerce price list commerce account group rels where commercePriceListId = ?.findByCommercePriceListId
(long commercePriceListId, int start, int end) Returns a range of all the commerce price list commerce account group rels where commercePriceListId = ?.findByCommercePriceListId
(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns an ordered range of all the commerce price list commerce account group rels where commercePriceListId = ?.findByCommercePriceListId
(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list commerce account group rels where commercePriceListId = ?.findByCommercePriceListId_First
(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the first commerce price list commerce account group rel in the ordered set where commercePriceListId = ?.findByCommercePriceListId_Last
(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the last commerce price list commerce account group rel in the ordered set where commercePriceListId = ?.findByCommercePriceListId_PrevAndNext
(long commercePriceListCommerceAccountGroupRelId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the commerce price list commerce account group rels before and after the current commerce price list commerce account group rel in the ordered set where commercePriceListId = ?.findByPrimaryKey
(long commercePriceListCommerceAccountGroupRelId) Returns the commerce price list commerce account group rel with the primary key or throws aNoSuchPriceListCommerceAccountGroupRelException
if it could not be found.findByUuid
(String uuid) Returns all the commerce price list commerce account group rels where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the commerce price list commerce account group rels where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns an ordered range of all the commerce price list commerce account group rels where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list commerce account group rels where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the commerce price list commerce account group rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the commerce price list commerce account group rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns an ordered range of all the commerce price list commerce account group rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list commerce account group rels where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the first commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the last commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long commercePriceListCommerceAccountGroupRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the commerce price list commerce account group rels before and after the current commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the first commerce price list commerce account group rel in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the last commerce price list commerce account group rel in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long commercePriceListCommerceAccountGroupRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the commerce price list commerce account group rels before and after the current commerce price list commerce account group rel in the ordered set where uuid = ?.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<CommercePriceListCommerceAccountGroupRel> orderByComparator) remove
(long commercePriceListCommerceAccountGroupRelId) Removes the commerce price list commerce account group rel with the primary key from the database.static void
Removes all the commerce price list commerce account group rels from the database.removeByCAGI_CPI
(long commercePriceListId, long commerceAccountGroupId) Removes the commerce price list commerce account group rel where commercePriceListId = ? and commerceAccountGroupId = ? from the database.static void
removeByCommercePriceListId
(long commercePriceListId) Removes all the commerce price list commerce account group rels where commercePriceListId = ? from the database.static void
removeByUuid
(String uuid) Removes all the commerce price list commerce account group rels where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the commerce price list commerce account group rels where uuid = ? and companyId = ? from the database.static void
update
(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel) update
(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateImpl
(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel)
-
Constructor Details
-
CommercePriceListCommerceAccountGroupRelUtil
public CommercePriceListCommerceAccountGroupRelUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
public static void clearCache(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel) - 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,CommercePriceListCommerceAccountGroupRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CommercePriceListCommerceAccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CommercePriceListCommerceAccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CommercePriceListCommerceAccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static CommercePriceListCommerceAccountGroupRel update(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CommercePriceListCommerceAccountGroupRel update(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the commerce price list commerce account group rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching commerce price list commerce account group rels
-
findByUuid
public static List<CommercePriceListCommerceAccountGroupRel> findByUuid(String uuid, int start, int end) Returns a range of all the commerce price list commerce account group rels where uuid = ?.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 fromCommercePriceListCommerceAccountGroupRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)- Returns:
- the range of matching commerce price list commerce account group rels
-
findByUuid
public static List<CommercePriceListCommerceAccountGroupRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns an ordered range of all the commerce price list commerce account group rels where uuid = ?.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 fromCommercePriceListCommerceAccountGroupRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce price list commerce account group rels
-
findByUuid
public static List<CommercePriceListCommerceAccountGroupRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list commerce account group rels where uuid = ?.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 fromCommercePriceListCommerceAccountGroupRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group 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 price list commerce account group rels
-
findByUuid_First
public static CommercePriceListCommerceAccountGroupRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException Returns the first commerce price list commerce account group rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list commerce account group rel
- Throws:
NoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundNoSuchPriceListCommerceAccountGroupRelException
-
fetchByUuid_First
public static CommercePriceListCommerceAccountGroupRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the first commerce price list commerce account group rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list commerce account group rel, or
null
if a matching commerce price list commerce account group rel could not be found
-
findByUuid_Last
public static CommercePriceListCommerceAccountGroupRel findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException Returns the last commerce price list commerce account group rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list commerce account group rel
- Throws:
NoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundNoSuchPriceListCommerceAccountGroupRelException
-
fetchByUuid_Last
public static CommercePriceListCommerceAccountGroupRel fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the last commerce price list commerce account group rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list commerce account group rel, or
null
if a matching commerce price list commerce account group rel could not be found
-
findByUuid_PrevAndNext
public static CommercePriceListCommerceAccountGroupRel[] findByUuid_PrevAndNext(long commercePriceListCommerceAccountGroupRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException Returns the commerce price list commerce account group rels before and after the current commerce price list commerce account group rel in the ordered set where uuid = ?.- Parameters:
commercePriceListCommerceAccountGroupRelId
- the primary key of the current commerce price list commerce account group reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price list commerce account group rel
- Throws:
NoSuchPriceListCommerceAccountGroupRelException
- if a commerce price list commerce account group rel with the primary key could not be foundNoSuchPriceListCommerceAccountGroupRelException
-
removeByUuid
Removes all the commerce price list commerce account group rels where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of commerce price list commerce account group rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching commerce price list commerce account group rels
-
findByUuid_C
public static List<CommercePriceListCommerceAccountGroupRel> findByUuid_C(String uuid, long companyId) Returns all the commerce price list commerce account group rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching commerce price list commerce account group rels
-
findByUuid_C
public static List<CommercePriceListCommerceAccountGroupRel> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce price list commerce account group rels where uuid = ? and companyId = ?.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 fromCommercePriceListCommerceAccountGroupRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)- Returns:
- the range of matching commerce price list commerce account group rels
-
findByUuid_C
public static List<CommercePriceListCommerceAccountGroupRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns an ordered range of all the commerce price list commerce account group rels where uuid = ? and companyId = ?.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 fromCommercePriceListCommerceAccountGroupRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce price list commerce account group rels
-
findByUuid_C
public static List<CommercePriceListCommerceAccountGroupRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list commerce account group rels where uuid = ? and companyId = ?.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 fromCommercePriceListCommerceAccountGroupRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group 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 price list commerce account group rels
-
findByUuid_C_First
public static CommercePriceListCommerceAccountGroupRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException Returns the first commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list commerce account group rel
- Throws:
NoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundNoSuchPriceListCommerceAccountGroupRelException
-
fetchByUuid_C_First
public static CommercePriceListCommerceAccountGroupRel fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the first commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list commerce account group rel, or
null
if a matching commerce price list commerce account group rel could not be found
-
findByUuid_C_Last
public static CommercePriceListCommerceAccountGroupRel findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException Returns the last commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list commerce account group rel
- Throws:
NoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundNoSuchPriceListCommerceAccountGroupRelException
-
fetchByUuid_C_Last
public static CommercePriceListCommerceAccountGroupRel fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the last commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list commerce account group rel, or
null
if a matching commerce price list commerce account group rel could not be found
-
findByUuid_C_PrevAndNext
public static CommercePriceListCommerceAccountGroupRel[] findByUuid_C_PrevAndNext(long commercePriceListCommerceAccountGroupRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException Returns the commerce price list commerce account group rels before and after the current commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
commercePriceListCommerceAccountGroupRelId
- the primary key of the current commerce price list commerce account group reluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price list commerce account group rel
- Throws:
NoSuchPriceListCommerceAccountGroupRelException
- if a commerce price list commerce account group rel with the primary key could not be foundNoSuchPriceListCommerceAccountGroupRelException
-
removeByUuid_C
Removes all the commerce price list commerce account group rels where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of commerce price list commerce account group rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching commerce price list commerce account group rels
-
findByCommercePriceListId
public static List<CommercePriceListCommerceAccountGroupRel> findByCommercePriceListId(long commercePriceListId) Returns all the commerce price list commerce account group rels where commercePriceListId = ?.- Parameters:
commercePriceListId
- the commerce price list ID- Returns:
- the matching commerce price list commerce account group rels
-
findByCommercePriceListId
public static List<CommercePriceListCommerceAccountGroupRel> findByCommercePriceListId(long commercePriceListId, int start, int end) Returns a range of all the commerce price list commerce account group rels where commercePriceListId = ?.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 fromCommercePriceListCommerceAccountGroupRelModelImpl
.- Parameters:
commercePriceListId
- the commerce price list IDstart
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)- Returns:
- the range of matching commerce price list commerce account group rels
-
findByCommercePriceListId
public static List<CommercePriceListCommerceAccountGroupRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns an ordered range of all the commerce price list commerce account group rels where commercePriceListId = ?.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 fromCommercePriceListCommerceAccountGroupRelModelImpl
.- Parameters:
commercePriceListId
- the commerce price list IDstart
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce price list commerce account group rels
-
findByCommercePriceListId
public static List<CommercePriceListCommerceAccountGroupRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list commerce account group rels where commercePriceListId = ?.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 fromCommercePriceListCommerceAccountGroupRelModelImpl
.- Parameters:
commercePriceListId
- the commerce price list IDstart
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group 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 price list commerce account group rels
-
findByCommercePriceListId_First
public static CommercePriceListCommerceAccountGroupRel findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException Returns the first commerce price list commerce account group rel in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list commerce account group rel
- Throws:
NoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundNoSuchPriceListCommerceAccountGroupRelException
-
fetchByCommercePriceListId_First
public static CommercePriceListCommerceAccountGroupRel fetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the first commerce price list commerce account group rel in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list commerce account group rel, or
null
if a matching commerce price list commerce account group rel could not be found
-
findByCommercePriceListId_Last
public static CommercePriceListCommerceAccountGroupRel findByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException Returns the last commerce price list commerce account group rel in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list commerce account group rel
- Throws:
NoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundNoSuchPriceListCommerceAccountGroupRelException
-
fetchByCommercePriceListId_Last
public static CommercePriceListCommerceAccountGroupRel fetchByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns the last commerce price list commerce account group rel in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list commerce account group rel, or
null
if a matching commerce price list commerce account group rel could not be found
-
findByCommercePriceListId_PrevAndNext
public static CommercePriceListCommerceAccountGroupRel[] findByCommercePriceListId_PrevAndNext(long commercePriceListCommerceAccountGroupRelId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException Returns the commerce price list commerce account group rels before and after the current commerce price list commerce account group rel in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListCommerceAccountGroupRelId
- the primary key of the current commerce price list commerce account group relcommercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price list commerce account group rel
- Throws:
NoSuchPriceListCommerceAccountGroupRelException
- if a commerce price list commerce account group rel with the primary key could not be foundNoSuchPriceListCommerceAccountGroupRelException
-
removeByCommercePriceListId
public static void removeByCommercePriceListId(long commercePriceListId) Removes all the commerce price list commerce account group rels where commercePriceListId = ? from the database.- Parameters:
commercePriceListId
- the commerce price list ID
-
countByCommercePriceListId
public static int countByCommercePriceListId(long commercePriceListId) Returns the number of commerce price list commerce account group rels where commercePriceListId = ?.- Parameters:
commercePriceListId
- the commerce price list ID- Returns:
- the number of matching commerce price list commerce account group rels
-
findByCAGI_CPI
public static CommercePriceListCommerceAccountGroupRel findByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId) throws NoSuchPriceListCommerceAccountGroupRelException Returns the commerce price list commerce account group rel where commercePriceListId = ? and commerceAccountGroupId = ? or throws aNoSuchPriceListCommerceAccountGroupRelException
if it could not be found.- Parameters:
commercePriceListId
- the commerce price list IDcommerceAccountGroupId
- the commerce account group ID- Returns:
- the matching commerce price list commerce account group rel
- Throws:
NoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundNoSuchPriceListCommerceAccountGroupRelException
-
fetchByCAGI_CPI
public static CommercePriceListCommerceAccountGroupRel fetchByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId) Returns the commerce price list commerce account group rel where commercePriceListId = ? and commerceAccountGroupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
commercePriceListId
- the commerce price list IDcommerceAccountGroupId
- the commerce account group ID- Returns:
- the matching commerce price list commerce account group rel, or
null
if a matching commerce price list commerce account group rel could not be found
-
fetchByCAGI_CPI
public static CommercePriceListCommerceAccountGroupRel fetchByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId, boolean useFinderCache) Returns the commerce price list commerce account group rel where commercePriceListId = ? and commerceAccountGroupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
commercePriceListId
- the commerce price list IDcommerceAccountGroupId
- the commerce account group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce price list commerce account group rel, or
null
if a matching commerce price list commerce account group rel could not be found
-
removeByCAGI_CPI
public static CommercePriceListCommerceAccountGroupRel removeByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId) throws NoSuchPriceListCommerceAccountGroupRelException Removes the commerce price list commerce account group rel where commercePriceListId = ? and commerceAccountGroupId = ? from the database.- Parameters:
commercePriceListId
- the commerce price list IDcommerceAccountGroupId
- the commerce account group ID- Returns:
- the commerce price list commerce account group rel that was removed
- Throws:
NoSuchPriceListCommerceAccountGroupRelException
-
countByCAGI_CPI
public static int countByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId) Returns the number of commerce price list commerce account group rels where commercePriceListId = ? and commerceAccountGroupId = ?.- Parameters:
commercePriceListId
- the commerce price list IDcommerceAccountGroupId
- the commerce account group ID- Returns:
- the number of matching commerce price list commerce account group rels
-
cacheResult
public static void cacheResult(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel) Caches the commerce price list commerce account group rel in the entity cache if it is enabled.- Parameters:
commercePriceListCommerceAccountGroupRel
- the commerce price list commerce account group rel
-
cacheResult
public static void cacheResult(List<CommercePriceListCommerceAccountGroupRel> commercePriceListCommerceAccountGroupRels) Caches the commerce price list commerce account group rels in the entity cache if it is enabled.- Parameters:
commercePriceListCommerceAccountGroupRels
- the commerce price list commerce account group rels
-
create
public static CommercePriceListCommerceAccountGroupRel create(long commercePriceListCommerceAccountGroupRelId) Creates a new commerce price list commerce account group rel with the primary key. Does not add the commerce price list commerce account group rel to the database.- Parameters:
commercePriceListCommerceAccountGroupRelId
- the primary key for the new commerce price list commerce account group rel- Returns:
- the new commerce price list commerce account group rel
-
remove
public static CommercePriceListCommerceAccountGroupRel remove(long commercePriceListCommerceAccountGroupRelId) throws NoSuchPriceListCommerceAccountGroupRelException Removes the commerce price list commerce account group rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commercePriceListCommerceAccountGroupRelId
- the primary key of the commerce price list commerce account group rel- Returns:
- the commerce price list commerce account group rel that was removed
- Throws:
NoSuchPriceListCommerceAccountGroupRelException
- if a commerce price list commerce account group rel with the primary key could not be foundNoSuchPriceListCommerceAccountGroupRelException
-
updateImpl
public static CommercePriceListCommerceAccountGroupRel updateImpl(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel) -
findByPrimaryKey
public static CommercePriceListCommerceAccountGroupRel findByPrimaryKey(long commercePriceListCommerceAccountGroupRelId) throws NoSuchPriceListCommerceAccountGroupRelException Returns the commerce price list commerce account group rel with the primary key or throws aNoSuchPriceListCommerceAccountGroupRelException
if it could not be found.- Parameters:
commercePriceListCommerceAccountGroupRelId
- the primary key of the commerce price list commerce account group rel- Returns:
- the commerce price list commerce account group rel
- Throws:
NoSuchPriceListCommerceAccountGroupRelException
- if a commerce price list commerce account group rel with the primary key could not be foundNoSuchPriceListCommerceAccountGroupRelException
-
fetchByPrimaryKey
public static CommercePriceListCommerceAccountGroupRel fetchByPrimaryKey(long commercePriceListCommerceAccountGroupRelId) Returns the commerce price list commerce account group rel with the primary key or returnsnull
if it could not be found.- Parameters:
commercePriceListCommerceAccountGroupRelId
- the primary key of the commerce price list commerce account group rel- Returns:
- the commerce price list commerce account group rel, or
null
if a commerce price list commerce account group rel with the primary key could not be found
-
findAll
Returns all the commerce price list commerce account group rels.- Returns:
- the commerce price list commerce account group rels
-
findAll
Returns a range of all the commerce price list commerce account group 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 fromCommercePriceListCommerceAccountGroupRelModelImpl
.- Parameters:
start
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)- Returns:
- the range of commerce price list commerce account group rels
-
findAll
public static List<CommercePriceListCommerceAccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) Returns an ordered range of all the commerce price list commerce account group 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 fromCommercePriceListCommerceAccountGroupRelModelImpl
.- Parameters:
start
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of commerce price list commerce account group rels
-
findAll
public static List<CommercePriceListCommerceAccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list commerce account group 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 fromCommercePriceListCommerceAccountGroupRelModelImpl
.- Parameters:
start
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group 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 price list commerce account group rels
-
removeAll
public static void removeAll()Removes all the commerce price list commerce account group rels from the database. -
countAll
public static int countAll()Returns the number of commerce price list commerce account group rels.- Returns:
- the number of commerce price list commerce account group rels
-
getPersistence
-
setPersistence
-