@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 |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce pricing classes where uuid = ? and companyId = ?.
|
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 |
fetchByPrimaryKey(long commercePricingClassId)
Returns the commerce pricing class with the primary key or returns
null if it could not be found. |
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_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 = ?.
|
int |
filterCountByCompanyId(long companyId)
Returns the number of commerce pricing classes that the user has permission to view where companyId = ?.
|
int |
filterCountByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce pricing classes that the user has permission to view where uuid = ? and companyId = ?.
|
int |
filterCountByUuid(java.lang.String uuid)
Returns the number of commerce pricing classes that the user has permission to view where uuid = ?.
|
CommercePricingClass[] |
filterFindByCompanyId_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 of commerce pricing classes that the user has permission to view where companyId = ?.
|
java.util.List<CommercePricingClass> |
filterFindByCompanyId(long companyId)
Returns all the commerce pricing classes that the user has permission to view where companyId = ?.
|
java.util.List<CommercePricingClass> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce pricing classes that the user has permission to view where companyId = ?.
|
java.util.List<CommercePricingClass> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
Returns an ordered range of all the commerce pricing classes that the user has permissions to view where companyId = ?.
|
CommercePricingClass[] |
filterFindByUuid_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 of commerce pricing classes that the user has permission to view where uuid = ? and companyId = ?.
|
java.util.List<CommercePricingClass> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce pricing classes that the user has permission to view where uuid = ? and companyId = ?.
|
java.util.List<CommercePricingClass> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce pricing classes that the user has permission to view where uuid = ? and companyId = ?.
|
java.util.List<CommercePricingClass> |
filterFindByUuid_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 that the user has permissions to view where uuid = ? and companyId = ?.
|
CommercePricingClass[] |
filterFindByUuid_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 of commerce pricing classes that the user has permission to view where uuid = ?.
|
java.util.List<CommercePricingClass> |
filterFindByUuid(java.lang.String uuid)
Returns all the commerce pricing classes that the user has permission to view where uuid = ?.
|
java.util.List<CommercePricingClass> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce pricing classes that the user has permission to view where uuid = ?.
|
java.util.List<CommercePricingClass> |
filterFindByUuid(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 that the user has permissions to view 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 |
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_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 = ?.
|
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 |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce pricing classes where uuid = ? and companyId = ? 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, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
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 foundjava.util.List<CommercePricingClass> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommercePricingClass> filterFindByUuid(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> filterFindByUuid(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
)CommercePricingClass[] filterFindByUuid_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 uuidint filterCountByUuid(java.lang.String uuid)
uuid
- the uuidjava.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 foundjava.util.List<CommercePricingClass> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommercePricingClass> filterFindByUuid_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> filterFindByUuid_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
)CommercePricingClass[] filterFindByUuid_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 IDint filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company 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 foundjava.util.List<CommercePricingClass> filterFindByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CommercePricingClass> filterFindByCompanyId(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> filterFindByCompanyId(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
)CommercePricingClass[] filterFindByCompanyId_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 IDint filterCountByCompanyId(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 codeNoSuchPricingClassException
int 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()