@ProviderType public interface CommercePricingClassPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePricingClass>
Caching information and settings can be found in portal.properties
CommercePricingClassUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(CommercePricingClass commercePricingClass)
Caches the commerce pricing class in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommercePricingClass> commercePricingClasses)
Caches the commerce pricing classes in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce pricing classes.
|
int |
countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the number of commerce pricing classes where companyId = ? and externalReferenceCode = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of commerce pricing classes where companyId = ?.
|
int |
countByGroupId(long groupId)
Returns the number of commerce pricing classes where groupId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce pricing classes where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of commerce pricing classes where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce pricing classes where uuid = ?.
|
CommercePricingClass |
create(long commercePricingClassId)
Creates a new commerce pricing class with the primary key.
|
CommercePricingClass |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce pricing class where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
CommercePricingClass |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode,
boolean useFinderCache)
Returns the commerce pricing class where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
CommercePricingClass |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the first commerce pricing class in the ordered set where companyId = ?.
|
CommercePricingClass |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the last commerce pricing class in the ordered set where companyId = ?.
|
CommercePricingClass |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the first commerce pricing class in the ordered set where groupId = ?.
|
CommercePricingClass |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the last commerce pricing class in the ordered set where groupId = ?.
|
CommercePricingClass |
fetchByPrimaryKey(long commercePricingClassId)
Returns the commerce pricing class with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,CommercePricingClass> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
CommercePricingClass |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the first commerce pricing class in the ordered set where uuid = ? and companyId = ?.
|
CommercePricingClass |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the last commerce pricing class in the ordered set where uuid = ? and companyId = ?.
|
CommercePricingClass |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the first commerce pricing class in the ordered set where uuid = ?.
|
CommercePricingClass |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce pricing class where uuid = ? and groupId = ? or returns
null if it could not be found. |
CommercePricingClass |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the commerce pricing class where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommercePricingClass |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the last commerce pricing class in the ordered set where uuid = ?.
|
java.util.List<CommercePricingClass> |
findAll()
Returns all the commerce pricing classes.
|
java.util.List<CommercePricingClass> |
findAll(int start,
int end)
Returns a range of all the commerce pricing classes.
|
java.util.List<CommercePricingClass> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns an ordered range of all the commerce pricing classes.
|
java.util.List<CommercePricingClass> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce pricing classes.
|
CommercePricingClass |
findByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce pricing class where companyId = ? and externalReferenceCode = ? or throws a
NoSuchPricingClassException if it could not be found. |
CommercePricingClass |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the first commerce pricing class in the ordered set where companyId = ?.
|
CommercePricingClass |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the last commerce pricing class in the ordered set where companyId = ?.
|
CommercePricingClass[] |
findByCompanyId_PrevAndNext(long commercePricingClassId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the commerce pricing classes before and after the current commerce pricing class in the ordered set where companyId = ?.
|
java.util.List<CommercePricingClass> |
findByCompanyId(long companyId)
Returns all the commerce pricing classes where companyId = ?.
|
java.util.List<CommercePricingClass> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce pricing classes where companyId = ?.
|
java.util.List<CommercePricingClass> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns an ordered range of all the commerce pricing classes where companyId = ?.
|
java.util.List<CommercePricingClass> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce pricing classes where companyId = ?.
|
CommercePricingClass |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the first commerce pricing class in the ordered set where groupId = ?.
|
CommercePricingClass |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the last commerce pricing class in the ordered set where groupId = ?.
|
CommercePricingClass[] |
findByGroupId_PrevAndNext(long commercePricingClassId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the commerce pricing classes before and after the current commerce pricing class in the ordered set where groupId = ?.
|
java.util.List<CommercePricingClass> |
findByGroupId(long groupId)
Returns all the commerce pricing classes where groupId = ?.
|
java.util.List<CommercePricingClass> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the commerce pricing classes where groupId = ?.
|
java.util.List<CommercePricingClass> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns an ordered range of all the commerce pricing classes where groupId = ?.
|
java.util.List<CommercePricingClass> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce pricing classes where groupId = ?.
|
CommercePricingClass |
findByPrimaryKey(long commercePricingClassId)
Returns the commerce pricing class with the primary key or throws a
NoSuchPricingClassException if it could not be found. |
CommercePricingClass |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the first commerce pricing class in the ordered set where uuid = ? and companyId = ?.
|
CommercePricingClass |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the last commerce pricing class in the ordered set where uuid = ? and companyId = ?.
|
CommercePricingClass[] |
findByUuid_C_PrevAndNext(long commercePricingClassId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the commerce pricing classes before and after the current commerce pricing class in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CommercePricingClass> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce pricing classes where uuid = ? and companyId = ?.
|
java.util.List<CommercePricingClass> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce pricing classes where uuid = ? and companyId = ?.
|
java.util.List<CommercePricingClass> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns an ordered range of all the commerce pricing classes where uuid = ? and companyId = ?.
|
java.util.List<CommercePricingClass> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce pricing classes where uuid = ? and companyId = ?.
|
CommercePricingClass |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the first commerce pricing class in the ordered set where uuid = ?.
|
CommercePricingClass |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce pricing class where uuid = ? and groupId = ? or throws a
NoSuchPricingClassException if it could not be found. |
CommercePricingClass |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the last commerce pricing class in the ordered set where uuid = ?.
|
CommercePricingClass[] |
findByUuid_PrevAndNext(long commercePricingClassId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns the commerce pricing classes before and after the current commerce pricing class in the ordered set where uuid = ?.
|
java.util.List<CommercePricingClass> |
findByUuid(java.lang.String uuid)
Returns all the commerce pricing classes where uuid = ?.
|
java.util.List<CommercePricingClass> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce pricing classes where uuid = ?.
|
java.util.List<CommercePricingClass> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns an ordered range of all the commerce pricing classes where uuid = ?.
|
java.util.List<CommercePricingClass> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce pricing classes where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
CommercePricingClass |
remove(long commercePricingClassId)
Removes the commerce pricing class with the primary key from the database.
|
void |
removeAll()
Removes all the commerce pricing classes from the database.
|
CommercePricingClass |
removeByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Removes the commerce pricing class where companyId = ? and externalReferenceCode = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the commerce pricing classes where companyId = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the commerce pricing classes where groupId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce pricing classes where uuid = ? and companyId = ? from the database.
|
CommercePricingClass |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the commerce pricing class where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce pricing classes where uuid = ? from the database.
|
CommercePricingClass |
updateImpl(CommercePricingClass commercePricingClass) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updatejava.util.Map<java.io.Serializable,CommercePricingClass> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePricingClass>java.util.List<CommercePricingClass> findByUuid(java.lang.String uuid)
uuid - the uuidjava.util.List<CommercePricingClass> 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 CommercePricingClassModelImpl.
uuid - the uuidstart - the lower bound of the range of commerce pricing classesend - the upper bound of the range of commerce pricing classes (not inclusive)java.util.List<CommercePricingClass> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> 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 CommercePricingClassModelImpl.
uuid - the uuidstart - the lower bound of the range of commerce pricing classesend - the upper bound of the range of commerce pricing classes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommercePricingClass> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> 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 CommercePricingClassModelImpl.
uuid - the uuidstart - the lower bound of the range of commerce pricing classesend - the upper bound of the range of commerce pricing classes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommercePricingClass findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchPricingClassException - if a matching commerce pricing class could not be foundCommercePricingClass fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce pricing class could not be foundCommercePricingClass findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchPricingClassException - if a matching commerce pricing class could not be foundCommercePricingClass fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce pricing class could not be foundCommercePricingClass[] findByUuid_PrevAndNext(long commercePricingClassId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
commercePricingClassId - the primary key of the current commerce pricing classuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchPricingClassException - if a commerce pricing class with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid - the uuidint countByUuid(java.lang.String uuid)
uuid - the uuidCommercePricingClass findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchPricingClassException
NoSuchPricingClassException if it could not be found.uuid - the uuidgroupId - the group IDNoSuchPricingClassException - if a matching commerce pricing class could not be foundCommercePricingClass fetchByUUID_G(java.lang.String uuid, long groupId)
null if it could not be found. Uses the finder cache.uuid - the uuidgroupId - the group IDnull if a matching commerce pricing class could not be foundCommercePricingClass fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.uuid - the uuidgroupId - the group IDuseFinderCache - whether to use the finder cachenull if a matching commerce pricing class could not be foundCommercePricingClass removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchPricingClassException
uuid - the uuidgroupId - the group IDNoSuchPricingClassExceptionint countByUUID_G(java.lang.String uuid,
long groupId)
uuid - the uuidgroupId - the group IDjava.util.List<CommercePricingClass> findByUuid_C(java.lang.String uuid, long companyId)
uuid - the uuidcompanyId - the company IDjava.util.List<CommercePricingClass> 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 CommercePricingClassModelImpl.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of commerce pricing classesend - the upper bound of the range of commerce pricing classes (not inclusive)java.util.List<CommercePricingClass> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> 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 CommercePricingClassModelImpl.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of commerce pricing classesend - the upper bound of the range of commerce pricing classes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommercePricingClass> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> 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 CommercePricingClassModelImpl.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of commerce pricing classesend - the upper bound of the range of commerce pricing classes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommercePricingClass findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchPricingClassException - if a matching commerce pricing class could not be foundCommercePricingClass fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce pricing class could not be foundCommercePricingClass findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchPricingClassException - if a matching commerce pricing class could not be foundCommercePricingClass fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce pricing class could not be foundCommercePricingClass[] findByUuid_C_PrevAndNext(long commercePricingClassId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
commercePricingClassId - the primary key of the current commerce pricing classuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchPricingClassException - if a commerce pricing class with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid,
long companyId)
uuid - the uuidcompanyId - the company IDint countByUuid_C(java.lang.String uuid,
long companyId)
uuid - the uuidcompanyId - the company IDjava.util.List<CommercePricingClass> findByGroupId(long groupId)
groupId - the group IDjava.util.List<CommercePricingClass> findByGroupId(long groupId, 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 CommercePricingClassModelImpl.
groupId - the group IDstart - the lower bound of the range of commerce pricing classesend - the upper bound of the range of commerce pricing classes (not inclusive)java.util.List<CommercePricingClass> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> 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 CommercePricingClassModelImpl.
groupId - the group IDstart - the lower bound of the range of commerce pricing classesend - the upper bound of the range of commerce pricing classes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommercePricingClass> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> 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 CommercePricingClassModelImpl.
groupId - the group IDstart - the lower bound of the range of commerce pricing classesend - the upper bound of the range of commerce pricing classes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommercePricingClass findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchPricingClassException - if a matching commerce pricing class could not be foundCommercePricingClass fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce pricing class could not be foundCommercePricingClass findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchPricingClassException - if a matching commerce pricing class could not be foundCommercePricingClass fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce pricing class could not be foundCommercePricingClass[] findByGroupId_PrevAndNext(long commercePricingClassId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
commercePricingClassId - the primary key of the current commerce pricing classgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchPricingClassException - if a commerce pricing class with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId - the group IDint countByGroupId(long groupId)
groupId - the group IDjava.util.List<CommercePricingClass> findByCompanyId(long companyId)
companyId - the company IDjava.util.List<CommercePricingClass> findByCompanyId(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 CommercePricingClassModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce pricing classesend - the upper bound of the range of commerce pricing classes (not inclusive)java.util.List<CommercePricingClass> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> 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 CommercePricingClassModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce pricing classesend - the upper bound of the range of commerce pricing classes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommercePricingClass> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> 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 CommercePricingClassModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce pricing classesend - the upper bound of the range of commerce pricing classes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommercePricingClass findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchPricingClassException - if a matching commerce pricing class could not be foundCommercePricingClass fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce pricing class could not be foundCommercePricingClass findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchPricingClassException - if a matching commerce pricing class could not be foundCommercePricingClass fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce pricing class could not be foundCommercePricingClass[] findByCompanyId_PrevAndNext(long commercePricingClassId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
commercePricingClassId - the primary key of the current commerce pricing classcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchPricingClassException - if a commerce pricing class with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId - the company IDint countByCompanyId(long companyId)
companyId - the company IDCommercePricingClass findByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchPricingClassException
NoSuchPricingClassException if it could not be found.companyId - the company IDexternalReferenceCode - the external reference codeNoSuchPricingClassException - if a matching commerce pricing class could not be foundCommercePricingClass fetchByC_ERC(long companyId, java.lang.String externalReferenceCode)
null if it could not be found. Uses the finder cache.companyId - the company IDexternalReferenceCode - the external reference codenull if a matching commerce pricing class could not be foundCommercePricingClass fetchByC_ERC(long companyId, java.lang.String externalReferenceCode, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.companyId - the company IDexternalReferenceCode - the external reference codeuseFinderCache - whether to use the finder cachenull if a matching commerce pricing class could not be foundCommercePricingClass removeByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchPricingClassException
companyId - the company IDexternalReferenceCode - the external reference codeNoSuchPricingClassExceptionint countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
companyId - the company IDexternalReferenceCode - the external reference codevoid cacheResult(CommercePricingClass commercePricingClass)
commercePricingClass - the commerce pricing classvoid cacheResult(java.util.List<CommercePricingClass> commercePricingClasses)
commercePricingClasses - the commerce pricing classesCommercePricingClass create(long commercePricingClassId)
commercePricingClassId - the primary key for the new commerce pricing classCommercePricingClass remove(long commercePricingClassId) throws NoSuchPricingClassException
commercePricingClassId - the primary key of the commerce pricing classNoSuchPricingClassException - if a commerce pricing class with the primary key could not be foundCommercePricingClass updateImpl(CommercePricingClass commercePricingClass)
CommercePricingClass findByPrimaryKey(long commercePricingClassId) throws NoSuchPricingClassException
NoSuchPricingClassException if it could not be found.commercePricingClassId - the primary key of the commerce pricing classNoSuchPricingClassException - if a commerce pricing class with the primary key could not be foundCommercePricingClass fetchByPrimaryKey(long commercePricingClassId)
null if it could not be found.commercePricingClassId - the primary key of the commerce pricing classnull if a commerce pricing class with the primary key could not be foundjava.util.List<CommercePricingClass> findAll()
java.util.List<CommercePricingClass> 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 CommercePricingClassModelImpl.
start - the lower bound of the range of commerce pricing classesend - the upper bound of the range of commerce pricing classes (not inclusive)java.util.List<CommercePricingClass> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> 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 CommercePricingClassModelImpl.
start - the lower bound of the range of commerce pricing classesend - the upper bound of the range of commerce pricing classes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommercePricingClass> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> 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 CommercePricingClassModelImpl.
start - the lower bound of the range of commerce pricing classesend - the upper bound of the range of commerce pricing classes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePricingClass>