@ProviderType public interface CommerceShippingFixedOptionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceShippingFixedOption>
Caching information and settings can be found in portal.properties
CommerceShippingFixedOptionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceShippingFixedOption commerceShippingFixedOption)
Caches the commerce shipping fixed option in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceShippingFixedOption> commerceShippingFixedOptions)
Caches the commerce shipping fixed options in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce shipping fixed options.
|
int |
countByCommerceShippingMethodId(long commerceShippingMethodId)
Returns the number of commerce shipping fixed options where commerceShippingMethodId = ?.
|
CommerceShippingFixedOption |
create(long commerceShippingFixedOptionId)
Creates a new commerce shipping fixed option with the primary key.
|
CommerceShippingFixedOption |
fetchByCommerceShippingMethodId_First(long commerceShippingMethodId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOption> orderByComparator)
Returns the first commerce shipping fixed option in the ordered set where commerceShippingMethodId = ?.
|
CommerceShippingFixedOption |
fetchByCommerceShippingMethodId_Last(long commerceShippingMethodId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOption> orderByComparator)
Returns the last commerce shipping fixed option in the ordered set where commerceShippingMethodId = ?.
|
CommerceShippingFixedOption |
fetchByPrimaryKey(long commerceShippingFixedOptionId)
Returns the commerce shipping fixed option with the primary key or returns
null if it could not be found. |
java.util.List<CommerceShippingFixedOption> |
findAll()
Returns all the commerce shipping fixed options.
|
java.util.List<CommerceShippingFixedOption> |
findAll(int start,
int end)
Returns a range of all the commerce shipping fixed options.
|
java.util.List<CommerceShippingFixedOption> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOption> orderByComparator)
Returns an ordered range of all the commerce shipping fixed options.
|
java.util.List<CommerceShippingFixedOption> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOption> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce shipping fixed options.
|
CommerceShippingFixedOption |
findByCommerceShippingMethodId_First(long commerceShippingMethodId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOption> orderByComparator)
Returns the first commerce shipping fixed option in the ordered set where commerceShippingMethodId = ?.
|
CommerceShippingFixedOption |
findByCommerceShippingMethodId_Last(long commerceShippingMethodId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOption> orderByComparator)
Returns the last commerce shipping fixed option in the ordered set where commerceShippingMethodId = ?.
|
CommerceShippingFixedOption[] |
findByCommerceShippingMethodId_PrevAndNext(long commerceShippingFixedOptionId,
long commerceShippingMethodId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOption> orderByComparator)
Returns the commerce shipping fixed options before and after the current commerce shipping fixed option in the ordered set where commerceShippingMethodId = ?.
|
java.util.List<CommerceShippingFixedOption> |
findByCommerceShippingMethodId(long commerceShippingMethodId)
Returns all the commerce shipping fixed options where commerceShippingMethodId = ?.
|
java.util.List<CommerceShippingFixedOption> |
findByCommerceShippingMethodId(long commerceShippingMethodId,
int start,
int end)
Returns a range of all the commerce shipping fixed options where commerceShippingMethodId = ?.
|
java.util.List<CommerceShippingFixedOption> |
findByCommerceShippingMethodId(long commerceShippingMethodId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOption> orderByComparator)
Returns an ordered range of all the commerce shipping fixed options where commerceShippingMethodId = ?.
|
java.util.List<CommerceShippingFixedOption> |
findByCommerceShippingMethodId(long commerceShippingMethodId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOption> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce shipping fixed options where commerceShippingMethodId = ?.
|
CommerceShippingFixedOption |
findByPrimaryKey(long commerceShippingFixedOptionId)
Returns the commerce shipping fixed option with the primary key or throws a
NoSuchShippingFixedOptionException if it could not be found. |
CommerceShippingFixedOption |
remove(long commerceShippingFixedOptionId)
Removes the commerce shipping fixed option with the primary key from the database.
|
void |
removeAll()
Removes all the commerce shipping fixed options from the database.
|
void |
removeByCommerceShippingMethodId(long commerceShippingMethodId)
Removes all the commerce shipping fixed options where commerceShippingMethodId = ? from the database.
|
CommerceShippingFixedOption |
updateImpl(CommerceShippingFixedOption commerceShippingFixedOption) |
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<CommerceShippingFixedOption> findByCommerceShippingMethodId(long commerceShippingMethodId)
commerceShippingMethodId
- the commerce shipping method IDjava.util.List<CommerceShippingFixedOption> findByCommerceShippingMethodId(long commerceShippingMethodId, 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 CommerceShippingFixedOptionModelImpl
.
commerceShippingMethodId
- the commerce shipping method IDstart
- the lower bound of the range of commerce shipping fixed optionsend
- the upper bound of the range of commerce shipping fixed options (not inclusive)java.util.List<CommerceShippingFixedOption> findByCommerceShippingMethodId(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOption> 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 CommerceShippingFixedOptionModelImpl
.
commerceShippingMethodId
- the commerce shipping method IDstart
- the lower bound of the range of commerce shipping fixed optionsend
- the upper bound of the range of commerce shipping fixed options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceShippingFixedOption> findByCommerceShippingMethodId(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOption> 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 CommerceShippingFixedOptionModelImpl
.
commerceShippingMethodId
- the commerce shipping method IDstart
- the lower bound of the range of commerce shipping fixed optionsend
- the upper bound of the range of commerce shipping fixed options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceShippingFixedOption findByCommerceShippingMethodId_First(long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOption> orderByComparator) throws NoSuchShippingFixedOptionException
commerceShippingMethodId
- the commerce shipping method IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShippingFixedOptionException
- if a matching commerce shipping fixed option could not be foundCommerceShippingFixedOption fetchByCommerceShippingMethodId_First(long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOption> orderByComparator)
commerceShippingMethodId
- the commerce shipping method IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipping fixed option could not be foundCommerceShippingFixedOption findByCommerceShippingMethodId_Last(long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOption> orderByComparator) throws NoSuchShippingFixedOptionException
commerceShippingMethodId
- the commerce shipping method IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShippingFixedOptionException
- if a matching commerce shipping fixed option could not be foundCommerceShippingFixedOption fetchByCommerceShippingMethodId_Last(long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOption> orderByComparator)
commerceShippingMethodId
- the commerce shipping method IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipping fixed option could not be foundCommerceShippingFixedOption[] findByCommerceShippingMethodId_PrevAndNext(long commerceShippingFixedOptionId, long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOption> orderByComparator) throws NoSuchShippingFixedOptionException
commerceShippingFixedOptionId
- the primary key of the current commerce shipping fixed optioncommerceShippingMethodId
- the commerce shipping method IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShippingFixedOptionException
- if a commerce shipping fixed option with the primary key could not be foundvoid removeByCommerceShippingMethodId(long commerceShippingMethodId)
commerceShippingMethodId
- the commerce shipping method IDint countByCommerceShippingMethodId(long commerceShippingMethodId)
commerceShippingMethodId
- the commerce shipping method IDvoid cacheResult(CommerceShippingFixedOption commerceShippingFixedOption)
commerceShippingFixedOption
- the commerce shipping fixed optionvoid cacheResult(java.util.List<CommerceShippingFixedOption> commerceShippingFixedOptions)
commerceShippingFixedOptions
- the commerce shipping fixed optionsCommerceShippingFixedOption create(long commerceShippingFixedOptionId)
commerceShippingFixedOptionId
- the primary key for the new commerce shipping fixed optionCommerceShippingFixedOption remove(long commerceShippingFixedOptionId) throws NoSuchShippingFixedOptionException
commerceShippingFixedOptionId
- the primary key of the commerce shipping fixed optionNoSuchShippingFixedOptionException
- if a commerce shipping fixed option with the primary key could not be foundCommerceShippingFixedOption updateImpl(CommerceShippingFixedOption commerceShippingFixedOption)
CommerceShippingFixedOption findByPrimaryKey(long commerceShippingFixedOptionId) throws NoSuchShippingFixedOptionException
NoSuchShippingFixedOptionException
if it could not be found.commerceShippingFixedOptionId
- the primary key of the commerce shipping fixed optionNoSuchShippingFixedOptionException
- if a commerce shipping fixed option with the primary key could not be foundCommerceShippingFixedOption fetchByPrimaryKey(long commerceShippingFixedOptionId)
null
if it could not be found.commerceShippingFixedOptionId
- the primary key of the commerce shipping fixed optionnull
if a commerce shipping fixed option with the primary key could not be foundjava.util.List<CommerceShippingFixedOption> findAll()
java.util.List<CommerceShippingFixedOption> 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 CommerceShippingFixedOptionModelImpl
.
start
- the lower bound of the range of commerce shipping fixed optionsend
- the upper bound of the range of commerce shipping fixed options (not inclusive)java.util.List<CommerceShippingFixedOption> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOption> 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 CommerceShippingFixedOptionModelImpl
.
start
- the lower bound of the range of commerce shipping fixed optionsend
- the upper bound of the range of commerce shipping fixed options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceShippingFixedOption> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOption> 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 CommerceShippingFixedOptionModelImpl
.
start
- the lower bound of the range of commerce shipping fixed optionsend
- the upper bound of the range of commerce shipping fixed options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()