public class CommercePriceListCommerceAccountGroupRelUtil
extends java.lang.Object
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
CommercePriceListCommerceAccountGroupRelPersistence
Constructor and Description |
---|
CommercePriceListCommerceAccountGroupRelUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel)
Caches the commerce price list commerce account group rel in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommercePriceListCommerceAccountGroupRel> commercePriceListCommerceAccountGroupRels)
Caches the commerce price list commerce account group rels in the entity cache if it is enabled.
|
static void |
clearCache() |
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_C(java.lang.String uuid,
long companyId)
Returns the number of commerce price list commerce account group rels where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of commerce price list commerce account group rels where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CommercePriceListCommerceAccountGroupRel |
create(long commercePriceListCommerceAccountGroupRelId)
Creates a new commerce price list commerce account group rel with the primary key.
|
static CommercePriceListCommerceAccountGroupRel |
fetchByCAGI_CPI(long commercePriceListId,
long commerceAccountGroupId)
Returns the commerce price list commerce account group rel where commercePriceListId = ? and commerceAccountGroupId = ? or returns
null if it could not be found. |
static CommercePriceListCommerceAccountGroupRel |
fetchByCAGI_CPI(long commercePriceListId,
long commerceAccountGroupId,
boolean useFinderCache)
Returns the commerce price list commerce account group rel where commercePriceListId = ? and commerceAccountGroupId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
static CommercePriceListCommerceAccountGroupRel |
fetchByPrimaryKey(long commercePriceListCommerceAccountGroupRelId)
Returns the commerce price list commerce account group rel with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CommercePriceListCommerceAccountGroupRel> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static CommercePriceListCommerceAccountGroupRel |
fetchByUuid_C_First(java.lang.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 = ?.
|
static CommercePriceListCommerceAccountGroupRel |
fetchByUuid_C_Last(java.lang.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 = ?.
|
static CommercePriceListCommerceAccountGroupRel |
fetchByUuid_First(java.lang.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 = ?.
|
static CommercePriceListCommerceAccountGroupRel |
fetchByUuid_Last(java.lang.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 = ?.
|
static java.util.List<CommercePriceListCommerceAccountGroupRel> |
findAll()
Returns all the commerce price list commerce account group rels.
|
static java.util.List<CommercePriceListCommerceAccountGroupRel> |
findAll(int start,
int end)
Returns a range of all the commerce price list commerce account group rels.
|
static java.util.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.
|
static java.util.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.
|
static CommercePriceListCommerceAccountGroupRel |
findByCAGI_CPI(long commercePriceListId,
long commerceAccountGroupId)
Returns the commerce price list commerce account group rel where commercePriceListId = ? and commerceAccountGroupId = ? or throws a
NoSuchPriceListCommerceAccountGroupRelException if it could not be found. |
static CommercePriceListCommerceAccountGroupRel |
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 = ?.
|
static CommercePriceListCommerceAccountGroupRel |
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 = ?.
|
static CommercePriceListCommerceAccountGroupRel[] |
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 = ?.
|
static java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByCommercePriceListId(long commercePriceListId)
Returns all the commerce price list commerce account group rels where commercePriceListId = ?.
|
static java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByCommercePriceListId(long commercePriceListId,
int start,
int end)
Returns a range of all the commerce price list commerce account group rels where commercePriceListId = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static CommercePriceListCommerceAccountGroupRel |
findByPrimaryKey(long commercePriceListCommerceAccountGroupRelId)
Returns the commerce price list commerce account group rel with the primary key or throws a
NoSuchPriceListCommerceAccountGroupRelException if it could not be found. |
static CommercePriceListCommerceAccountGroupRel |
findByUuid_C_First(java.lang.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 = ?.
|
static CommercePriceListCommerceAccountGroupRel |
findByUuid_C_Last(java.lang.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 = ?.
|
static CommercePriceListCommerceAccountGroupRel[] |
findByUuid_C_PrevAndNext(long commercePriceListCommerceAccountGroupRelId,
java.lang.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 = ?.
|
static java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce price list commerce account group rels where uuid = ? and companyId = ?.
|
static java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByUuid_C(java.lang.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 = ?.
|
static java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByUuid_C(java.lang.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 = ?.
|
static java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByUuid_C(java.lang.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 = ?.
|
static CommercePriceListCommerceAccountGroupRel |
findByUuid_First(java.lang.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 = ?.
|
static CommercePriceListCommerceAccountGroupRel |
findByUuid_Last(java.lang.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 = ?.
|
static CommercePriceListCommerceAccountGroupRel[] |
findByUuid_PrevAndNext(long commercePriceListCommerceAccountGroupRelId,
java.lang.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 = ?.
|
static java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByUuid(java.lang.String uuid)
Returns all the commerce price list commerce account group rels where uuid = ?.
|
static java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce price list commerce account group rels where uuid = ?.
|
static java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByUuid(java.lang.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 = ?.
|
static java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByUuid(java.lang.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 = ?.
|
static java.util.List<CommercePriceListCommerceAccountGroupRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommercePriceListCommerceAccountGroupRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommercePriceListCommerceAccountGroupRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) |
static CommercePriceListCommerceAccountGroupRelPersistence |
getPersistence() |
static CommercePriceListCommerceAccountGroupRel |
remove(long commercePriceListCommerceAccountGroupRelId)
Removes the commerce price list commerce account group rel with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce price list commerce account group rels from the database.
|
static CommercePriceListCommerceAccountGroupRel |
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_C(java.lang.String uuid,
long companyId)
Removes all the commerce price list commerce account group rels where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the commerce price list commerce account group rels where uuid = ? from the database.
|
static void |
setPersistence(CommercePriceListCommerceAccountGroupRelPersistence persistence) |
static CommercePriceListCommerceAccountGroupRel |
update(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel) |
static CommercePriceListCommerceAccountGroupRel |
update(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommercePriceListCommerceAccountGroupRel |
updateImpl(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel) |
public CommercePriceListCommerceAccountGroupRelUtil()
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,CommercePriceListCommerceAccountGroupRel> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CommercePriceListCommerceAccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CommercePriceListCommerceAccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CommercePriceListCommerceAccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CommercePriceListCommerceAccountGroupRel update(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CommercePriceListCommerceAccountGroupRel update(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CommercePriceListCommerceAccountGroupRel> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CommercePriceListCommerceAccountGroupRel> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceListCommerceAccountGroupRelModelImpl
.
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)public static java.util.List<CommercePriceListCommerceAccountGroupRel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceListCommerceAccountGroupRelModelImpl
.
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 (optionally null
)public static java.util.List<CommercePriceListCommerceAccountGroupRel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceListCommerceAccountGroupRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceListCommerceAccountGroupRel findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundpublic static CommercePriceListCommerceAccountGroupRel fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list commerce account group rel could not be foundpublic static CommercePriceListCommerceAccountGroupRel findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundpublic static CommercePriceListCommerceAccountGroupRel fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list commerce account group rel could not be foundpublic static CommercePriceListCommerceAccountGroupRel[] findByUuid_PrevAndNext(long commercePriceListCommerceAccountGroupRelId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
commercePriceListCommerceAccountGroupRelId
- the primary key of the current commerce price list commerce account group reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListCommerceAccountGroupRelException
- if a commerce price list commerce account group rel with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CommercePriceListCommerceAccountGroupRel> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CommercePriceListCommerceAccountGroupRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceListCommerceAccountGroupRelModelImpl
.
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)public static java.util.List<CommercePriceListCommerceAccountGroupRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceListCommerceAccountGroupRelModelImpl
.
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 (optionally null
)public static java.util.List<CommercePriceListCommerceAccountGroupRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceListCommerceAccountGroupRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceListCommerceAccountGroupRel findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundpublic static CommercePriceListCommerceAccountGroupRel fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list commerce account group rel could not be foundpublic static CommercePriceListCommerceAccountGroupRel findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundpublic static CommercePriceListCommerceAccountGroupRel fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list commerce account group rel could not be foundpublic static CommercePriceListCommerceAccountGroupRel[] findByUuid_C_PrevAndNext(long commercePriceListCommerceAccountGroupRelId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
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 (optionally null
)NoSuchPriceListCommerceAccountGroupRelException
- if a commerce price list commerce account group rel with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CommercePriceListCommerceAccountGroupRel> findByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDpublic static java.util.List<CommercePriceListCommerceAccountGroupRel> findByCommercePriceListId(long commercePriceListId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceListCommerceAccountGroupRelModelImpl
.
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)public static java.util.List<CommercePriceListCommerceAccountGroupRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceListCommerceAccountGroupRelModelImpl
.
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 (optionally null
)public static java.util.List<CommercePriceListCommerceAccountGroupRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceListCommerceAccountGroupRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceListCommerceAccountGroupRel findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundpublic static CommercePriceListCommerceAccountGroupRel fetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list commerce account group rel could not be foundpublic static CommercePriceListCommerceAccountGroupRel findByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundpublic static CommercePriceListCommerceAccountGroupRel fetchByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list commerce account group rel could not be foundpublic static CommercePriceListCommerceAccountGroupRel[] findByCommercePriceListId_PrevAndNext(long commercePriceListCommerceAccountGroupRelId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
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 (optionally null
)NoSuchPriceListCommerceAccountGroupRelException
- if a commerce price list commerce account group rel with the primary key could not be foundpublic static void removeByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDpublic static int countByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDpublic static CommercePriceListCommerceAccountGroupRel findByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId) throws NoSuchPriceListCommerceAccountGroupRelException
NoSuchPriceListCommerceAccountGroupRelException
if it could not be found.commercePriceListId
- the commerce price list IDcommerceAccountGroupId
- the commerce account group IDNoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundpublic static CommercePriceListCommerceAccountGroupRel fetchByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId)
null
if it could not be found. Uses the finder cache.commercePriceListId
- the commerce price list IDcommerceAccountGroupId
- the commerce account group IDnull
if a matching commerce price list commerce account group rel could not be foundpublic static CommercePriceListCommerceAccountGroupRel fetchByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.commercePriceListId
- the commerce price list IDcommerceAccountGroupId
- the commerce account group IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce price list commerce account group rel could not be foundpublic static CommercePriceListCommerceAccountGroupRel removeByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId) throws NoSuchPriceListCommerceAccountGroupRelException
commercePriceListId
- the commerce price list IDcommerceAccountGroupId
- the commerce account group IDNoSuchPriceListCommerceAccountGroupRelException
public static int countByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId)
commercePriceListId
- the commerce price list IDcommerceAccountGroupId
- the commerce account group IDpublic static void cacheResult(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel)
commercePriceListCommerceAccountGroupRel
- the commerce price list commerce account group relpublic static void cacheResult(java.util.List<CommercePriceListCommerceAccountGroupRel> commercePriceListCommerceAccountGroupRels)
commercePriceListCommerceAccountGroupRels
- the commerce price list commerce account group relspublic static CommercePriceListCommerceAccountGroupRel create(long commercePriceListCommerceAccountGroupRelId)
commercePriceListCommerceAccountGroupRelId
- the primary key for the new commerce price list commerce account group relpublic static CommercePriceListCommerceAccountGroupRel remove(long commercePriceListCommerceAccountGroupRelId) throws NoSuchPriceListCommerceAccountGroupRelException
commercePriceListCommerceAccountGroupRelId
- the primary key of the commerce price list commerce account group relNoSuchPriceListCommerceAccountGroupRelException
- if a commerce price list commerce account group rel with the primary key could not be foundpublic static CommercePriceListCommerceAccountGroupRel updateImpl(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel)
public static CommercePriceListCommerceAccountGroupRel findByPrimaryKey(long commercePriceListCommerceAccountGroupRelId) throws NoSuchPriceListCommerceAccountGroupRelException
NoSuchPriceListCommerceAccountGroupRelException
if it could not be found.commercePriceListCommerceAccountGroupRelId
- the primary key of the commerce price list commerce account group relNoSuchPriceListCommerceAccountGroupRelException
- if a commerce price list commerce account group rel with the primary key could not be foundpublic static CommercePriceListCommerceAccountGroupRel fetchByPrimaryKey(long commercePriceListCommerceAccountGroupRelId)
null
if it could not be found.commercePriceListCommerceAccountGroupRelId
- the primary key of the commerce price list commerce account group relnull
if a commerce price list commerce account group rel with the primary key could not be foundpublic static java.util.List<CommercePriceListCommerceAccountGroupRel> findAll()
public static java.util.List<CommercePriceListCommerceAccountGroupRel> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceListCommerceAccountGroupRelModelImpl
.
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)public static java.util.List<CommercePriceListCommerceAccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceListCommerceAccountGroupRelModelImpl
.
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 (optionally null
)public static java.util.List<CommercePriceListCommerceAccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceListCommerceAccountGroupRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static CommercePriceListCommerceAccountGroupRelPersistence getPersistence()
public static void setPersistence(CommercePriceListCommerceAccountGroupRelPersistence persistence)