Interface CommerceShippingFixedOptionRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceShippingFixedOptionRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) Caches the commerce shipping fixed option rel in the entity cache if it is enabled.void
cacheResult
(List<CommerceShippingFixedOptionRel> commerceShippingFixedOptionRels) Caches the commerce shipping fixed option rels in the entity cache if it is enabled.int
countAll()
Returns the number of commerce shipping fixed option rels.int
countByCommerceShippingFixedOptionId
(long commerceShippingFixedOptionId) Returns the number of commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.int
countByCommerceShippingMethodId
(long commerceShippingMethodId) Returns the number of commerce shipping fixed option rels where commerceShippingMethodId = ?.create
(long commerceShippingFixedOptionRelId) Creates a new commerce shipping fixed option rel with the primary key.fetchByCommerceShippingFixedOptionId_First
(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ?.fetchByCommerceShippingFixedOptionId_Last
(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the last commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ?.fetchByCommerceShippingMethodId_First
(long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingMethodId = ?.fetchByCommerceShippingMethodId_Last
(long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the last commerce shipping fixed option rel in the ordered set where commerceShippingMethodId = ?.fetchByPrimaryKey
(long commerceShippingFixedOptionRelId) Returns the commerce shipping fixed option rel with the primary key or returnsnull
if it could not be found.findAll()
Returns all the commerce shipping fixed option rels.findAll
(int start, int end) Returns a range of all the commerce shipping fixed option rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns an ordered range of all the commerce shipping fixed option rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping fixed option rels.findByCommerceShippingFixedOptionId
(long commerceShippingFixedOptionId) Returns all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.findByCommerceShippingFixedOptionId
(long commerceShippingFixedOptionId, int start, int end) Returns a range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.findByCommerceShippingFixedOptionId
(long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.findByCommerceShippingFixedOptionId
(long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.findByCommerceShippingFixedOptionId_First
(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ?.findByCommerceShippingFixedOptionId_Last
(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the last commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ?.findByCommerceShippingFixedOptionId_PrevAndNext
(long commerceShippingFixedOptionRelId, long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the commerce shipping fixed option rels before and after the current commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ?.findByCommerceShippingMethodId
(long commerceShippingMethodId) Returns all the commerce shipping fixed option rels where commerceShippingMethodId = ?.findByCommerceShippingMethodId
(long commerceShippingMethodId, int start, int end) Returns a range of all the commerce shipping fixed option rels where commerceShippingMethodId = ?.findByCommerceShippingMethodId
(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingMethodId = ?.findByCommerceShippingMethodId
(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingMethodId = ?.findByCommerceShippingMethodId_First
(long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingMethodId = ?.findByCommerceShippingMethodId_Last
(long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the last commerce shipping fixed option rel in the ordered set where commerceShippingMethodId = ?.findByCommerceShippingMethodId_PrevAndNext
(long commerceShippingFixedOptionRelId, long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the commerce shipping fixed option rels before and after the current commerce shipping fixed option rel in the ordered set where commerceShippingMethodId = ?.findByPrimaryKey
(long commerceShippingFixedOptionRelId) Returns the commerce shipping fixed option rel with the primary key or throws aNoSuchShippingFixedOptionRelException
if it could not be found.remove
(long commerceShippingFixedOptionRelId) Removes the commerce shipping fixed option rel with the primary key from the database.void
Removes all the commerce shipping fixed option rels from the database.void
removeByCommerceShippingFixedOptionId
(long commerceShippingFixedOptionId) Removes all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? from the database.void
removeByCommerceShippingMethodId
(long commerceShippingMethodId) Removes all the commerce shipping fixed option rels where commerceShippingMethodId = ? from the database.updateImpl
(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
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, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByCommerceShippingMethodId
Returns all the commerce shipping fixed option rels where commerceShippingMethodId = ?.- Parameters:
commerceShippingMethodId
- the commerce shipping method ID- Returns:
- the matching commerce shipping fixed option rels
-
findByCommerceShippingMethodId
List<CommerceShippingFixedOptionRel> findByCommerceShippingMethodId(long commerceShippingMethodId, int start, int end) Returns a range of all the commerce shipping fixed option rels where commerceShippingMethodId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingFixedOptionRelModelImpl
.- Parameters:
commerceShippingMethodId
- the commerce shipping method IDstart
- the lower bound of the range of commerce shipping fixed option relsend
- the upper bound of the range of commerce shipping fixed option rels (not inclusive)- Returns:
- the range of matching commerce shipping fixed option rels
-
findByCommerceShippingMethodId
List<CommerceShippingFixedOptionRel> findByCommerceShippingMethodId(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingMethodId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingFixedOptionRelModelImpl
.- Parameters:
commerceShippingMethodId
- the commerce shipping method IDstart
- the lower bound of the range of commerce shipping fixed option relsend
- the upper bound of the range of commerce shipping fixed option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce shipping fixed option rels
-
findByCommerceShippingMethodId
List<CommerceShippingFixedOptionRel> findByCommerceShippingMethodId(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingMethodId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingFixedOptionRelModelImpl
.- Parameters:
commerceShippingMethodId
- the commerce shipping method IDstart
- the lower bound of the range of commerce shipping fixed option relsend
- the upper bound of the range of commerce shipping fixed option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce shipping fixed option rels
-
findByCommerceShippingMethodId_First
CommerceShippingFixedOptionRel findByCommerceShippingMethodId_First(long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) throws NoSuchShippingFixedOptionRelException Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingMethodId = ?.- Parameters:
commerceShippingMethodId
- the commerce shipping method IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipping fixed option rel
- Throws:
NoSuchShippingFixedOptionRelException
- if a matching commerce shipping fixed option rel could not be found
-
fetchByCommerceShippingMethodId_First
CommerceShippingFixedOptionRel fetchByCommerceShippingMethodId_First(long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingMethodId = ?.- Parameters:
commerceShippingMethodId
- the commerce shipping method IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipping fixed option rel, or
null
if a matching commerce shipping fixed option rel could not be found
-
findByCommerceShippingMethodId_Last
CommerceShippingFixedOptionRel findByCommerceShippingMethodId_Last(long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) throws NoSuchShippingFixedOptionRelException Returns the last commerce shipping fixed option rel in the ordered set where commerceShippingMethodId = ?.- Parameters:
commerceShippingMethodId
- the commerce shipping method IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipping fixed option rel
- Throws:
NoSuchShippingFixedOptionRelException
- if a matching commerce shipping fixed option rel could not be found
-
fetchByCommerceShippingMethodId_Last
CommerceShippingFixedOptionRel fetchByCommerceShippingMethodId_Last(long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the last commerce shipping fixed option rel in the ordered set where commerceShippingMethodId = ?.- Parameters:
commerceShippingMethodId
- the commerce shipping method IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipping fixed option rel, or
null
if a matching commerce shipping fixed option rel could not be found
-
findByCommerceShippingMethodId_PrevAndNext
CommerceShippingFixedOptionRel[] findByCommerceShippingMethodId_PrevAndNext(long commerceShippingFixedOptionRelId, long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) throws NoSuchShippingFixedOptionRelException Returns the commerce shipping fixed option rels before and after the current commerce shipping fixed option rel in the ordered set where commerceShippingMethodId = ?.- Parameters:
commerceShippingFixedOptionRelId
- the primary key of the current commerce shipping fixed option relcommerceShippingMethodId
- the commerce shipping method IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce shipping fixed option rel
- Throws:
NoSuchShippingFixedOptionRelException
- if a commerce shipping fixed option rel with the primary key could not be found
-
removeByCommerceShippingMethodId
void removeByCommerceShippingMethodId(long commerceShippingMethodId) Removes all the commerce shipping fixed option rels where commerceShippingMethodId = ? from the database.- Parameters:
commerceShippingMethodId
- the commerce shipping method ID
-
countByCommerceShippingMethodId
int countByCommerceShippingMethodId(long commerceShippingMethodId) Returns the number of commerce shipping fixed option rels where commerceShippingMethodId = ?.- Parameters:
commerceShippingMethodId
- the commerce shipping method ID- Returns:
- the number of matching commerce shipping fixed option rels
-
findByCommerceShippingFixedOptionId
List<CommerceShippingFixedOptionRel> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId) Returns all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option ID- Returns:
- the matching commerce shipping fixed option rels
-
findByCommerceShippingFixedOptionId
List<CommerceShippingFixedOptionRel> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId, int start, int end) Returns a range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingFixedOptionRelModelImpl
.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option IDstart
- the lower bound of the range of commerce shipping fixed option relsend
- the upper bound of the range of commerce shipping fixed option rels (not inclusive)- Returns:
- the range of matching commerce shipping fixed option rels
-
findByCommerceShippingFixedOptionId
List<CommerceShippingFixedOptionRel> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingFixedOptionRelModelImpl
.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option IDstart
- the lower bound of the range of commerce shipping fixed option relsend
- the upper bound of the range of commerce shipping fixed option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce shipping fixed option rels
-
findByCommerceShippingFixedOptionId
List<CommerceShippingFixedOptionRel> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingFixedOptionRelModelImpl
.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option IDstart
- the lower bound of the range of commerce shipping fixed option relsend
- the upper bound of the range of commerce shipping fixed option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce shipping fixed option rels
-
findByCommerceShippingFixedOptionId_First
CommerceShippingFixedOptionRel findByCommerceShippingFixedOptionId_First(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) throws NoSuchShippingFixedOptionRelException Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ?.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipping fixed option rel
- Throws:
NoSuchShippingFixedOptionRelException
- if a matching commerce shipping fixed option rel could not be found
-
fetchByCommerceShippingFixedOptionId_First
CommerceShippingFixedOptionRel fetchByCommerceShippingFixedOptionId_First(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ?.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipping fixed option rel, or
null
if a matching commerce shipping fixed option rel could not be found
-
findByCommerceShippingFixedOptionId_Last
CommerceShippingFixedOptionRel findByCommerceShippingFixedOptionId_Last(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) throws NoSuchShippingFixedOptionRelException Returns the last commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ?.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipping fixed option rel
- Throws:
NoSuchShippingFixedOptionRelException
- if a matching commerce shipping fixed option rel could not be found
-
fetchByCommerceShippingFixedOptionId_Last
CommerceShippingFixedOptionRel fetchByCommerceShippingFixedOptionId_Last(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the last commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ?.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipping fixed option rel, or
null
if a matching commerce shipping fixed option rel could not be found
-
findByCommerceShippingFixedOptionId_PrevAndNext
CommerceShippingFixedOptionRel[] findByCommerceShippingFixedOptionId_PrevAndNext(long commerceShippingFixedOptionRelId, long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) throws NoSuchShippingFixedOptionRelException Returns the commerce shipping fixed option rels before and after the current commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ?.- Parameters:
commerceShippingFixedOptionRelId
- the primary key of the current commerce shipping fixed option relcommerceShippingFixedOptionId
- the commerce shipping fixed option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce shipping fixed option rel
- Throws:
NoSuchShippingFixedOptionRelException
- if a commerce shipping fixed option rel with the primary key could not be found
-
removeByCommerceShippingFixedOptionId
void removeByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId) Removes all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? from the database.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option ID
-
countByCommerceShippingFixedOptionId
int countByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId) Returns the number of commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option ID- Returns:
- the number of matching commerce shipping fixed option rels
-
cacheResult
Caches the commerce shipping fixed option rel in the entity cache if it is enabled.- Parameters:
commerceShippingFixedOptionRel
- the commerce shipping fixed option rel
-
cacheResult
Caches the commerce shipping fixed option rels in the entity cache if it is enabled.- Parameters:
commerceShippingFixedOptionRels
- the commerce shipping fixed option rels
-
create
Creates a new commerce shipping fixed option rel with the primary key. Does not add the commerce shipping fixed option rel to the database.- Parameters:
commerceShippingFixedOptionRelId
- the primary key for the new commerce shipping fixed option rel- Returns:
- the new commerce shipping fixed option rel
-
remove
CommerceShippingFixedOptionRel remove(long commerceShippingFixedOptionRelId) throws NoSuchShippingFixedOptionRelException Removes the commerce shipping fixed option rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceShippingFixedOptionRelId
- the primary key of the commerce shipping fixed option rel- Returns:
- the commerce shipping fixed option rel that was removed
- Throws:
NoSuchShippingFixedOptionRelException
- if a commerce shipping fixed option rel with the primary key could not be found
-
updateImpl
CommerceShippingFixedOptionRel updateImpl(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) -
findByPrimaryKey
CommerceShippingFixedOptionRel findByPrimaryKey(long commerceShippingFixedOptionRelId) throws NoSuchShippingFixedOptionRelException Returns the commerce shipping fixed option rel with the primary key or throws aNoSuchShippingFixedOptionRelException
if it could not be found.- Parameters:
commerceShippingFixedOptionRelId
- the primary key of the commerce shipping fixed option rel- Returns:
- the commerce shipping fixed option rel
- Throws:
NoSuchShippingFixedOptionRelException
- if a commerce shipping fixed option rel with the primary key could not be found
-
fetchByPrimaryKey
Returns the commerce shipping fixed option rel with the primary key or returnsnull
if it could not be found.- Parameters:
commerceShippingFixedOptionRelId
- the primary key of the commerce shipping fixed option rel- Returns:
- the commerce shipping fixed option rel, or
null
if a commerce shipping fixed option rel with the primary key could not be found
-
findAll
List<CommerceShippingFixedOptionRel> findAll()Returns all the commerce shipping fixed option rels.- Returns:
- the commerce shipping fixed option rels
-
findAll
Returns a range of all the commerce shipping fixed option rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingFixedOptionRelModelImpl
.- Parameters:
start
- the lower bound of the range of commerce shipping fixed option relsend
- the upper bound of the range of commerce shipping fixed option rels (not inclusive)- Returns:
- the range of commerce shipping fixed option rels
-
findAll
List<CommerceShippingFixedOptionRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns an ordered range of all the commerce shipping fixed option rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingFixedOptionRelModelImpl
.- Parameters:
start
- the lower bound of the range of commerce shipping fixed option relsend
- the upper bound of the range of commerce shipping fixed option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of commerce shipping fixed option rels
-
findAll
List<CommerceShippingFixedOptionRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping fixed option rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShippingFixedOptionRelModelImpl
.- Parameters:
start
- the lower bound of the range of commerce shipping fixed option relsend
- the upper bound of the range of commerce shipping fixed option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of commerce shipping fixed option rels
-
removeAll
void removeAll()Removes all the commerce shipping fixed option rels from the database. -
countAll
int countAll()Returns the number of commerce shipping fixed option rels.- Returns:
- the number of commerce shipping fixed option rels
-