Interface CommerceShippingMethodPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceShippingMethod>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommerceShippingMethod commerceShippingMethod) Caches the commerce shipping method in the entity cache if it is enabled.void
cacheResult
(List<CommerceShippingMethod> commerceShippingMethods) Caches the commerce shipping methods in the entity cache if it is enabled.int
countAll()
Returns the number of commerce shipping methods.int
countByG_A
(long groupId, boolean active) Returns the number of commerce shipping methods where groupId = ? and active = ?.int
countByG_E
(long groupId, String engineKey) Returns the number of commerce shipping methods where groupId = ? and engineKey = ?.int
countByGroupId
(long groupId) Returns the number of commerce shipping methods where groupId = ?.create
(long commerceShippingMethodId) Creates a new commerce shipping method with the primary key.fetchByG_A_First
(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns the first commerce shipping method in the ordered set where groupId = ? and active = ?.fetchByG_A_Last
(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns the last commerce shipping method in the ordered set where groupId = ? and active = ?.fetchByG_E
(long groupId, String engineKey) Returns the commerce shipping method where groupId = ? and engineKey = ? or returnsnull
if it could not be found.fetchByG_E
(long groupId, String engineKey, boolean useFinderCache) Returns the commerce shipping method where groupId = ? and engineKey = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns the first commerce shipping method in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns the last commerce shipping method in the ordered set where groupId = ?.fetchByPrimaryKey
(long commerceShippingMethodId) Returns the commerce shipping method with the primary key or returnsnull
if it could not be found.findAll()
Returns all the commerce shipping methods.findAll
(int start, int end) Returns a range of all the commerce shipping methods.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns an ordered range of all the commerce shipping methods.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping methods.findByG_A
(long groupId, boolean active) Returns all the commerce shipping methods where groupId = ? and active = ?.findByG_A
(long groupId, boolean active, int start, int end) Returns a range of all the commerce shipping methods where groupId = ? and active = ?.findByG_A
(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns an ordered range of all the commerce shipping methods where groupId = ? and active = ?.findByG_A
(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping methods where groupId = ? and active = ?.findByG_A_First
(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns the first commerce shipping method in the ordered set where groupId = ? and active = ?.findByG_A_Last
(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns the last commerce shipping method in the ordered set where groupId = ? and active = ?.findByG_A_PrevAndNext
(long commerceShippingMethodId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns the commerce shipping methods before and after the current commerce shipping method in the ordered set where groupId = ? and active = ?.Returns the commerce shipping method where groupId = ? and engineKey = ? or throws aNoSuchShippingMethodException
if it could not be found.findByGroupId
(long groupId) Returns all the commerce shipping methods where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the commerce shipping methods where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns an ordered range of all the commerce shipping methods where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping methods where groupId = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns the first commerce shipping method in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns the last commerce shipping method in the ordered set where groupId = ?.findByGroupId_PrevAndNext
(long commerceShippingMethodId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns the commerce shipping methods before and after the current commerce shipping method in the ordered set where groupId = ?.findByPrimaryKey
(long commerceShippingMethodId) Returns the commerce shipping method with the primary key or throws aNoSuchShippingMethodException
if it could not be found.remove
(long commerceShippingMethodId) Removes the commerce shipping method with the primary key from the database.void
Removes all the commerce shipping methods from the database.void
removeByG_A
(long groupId, boolean active) Removes all the commerce shipping methods where groupId = ? and active = ? from the database.removeByG_E
(long groupId, String engineKey) Removes the commerce shipping method where groupId = ? and engineKey = ? from the database.void
removeByGroupId
(long groupId) Removes all the commerce shipping methods where groupId = ? from the database.updateImpl
(CommerceShippingMethod commerceShippingMethod) 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
-
findByGroupId
Returns all the commerce shipping methods where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching commerce shipping methods
-
findByGroupId
Returns a range of all the commerce shipping methods where groupId = ?.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 fromCommerceShippingMethodModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of commerce shipping methodsend
- the upper bound of the range of commerce shipping methods (not inclusive)- Returns:
- the range of matching commerce shipping methods
-
findByGroupId
List<CommerceShippingMethod> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns an ordered range of all the commerce shipping methods where groupId = ?.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 fromCommerceShippingMethodModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of commerce shipping methodsend
- the upper bound of the range of commerce shipping methods (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce shipping methods
-
findByGroupId
List<CommerceShippingMethod> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping methods where groupId = ?.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 fromCommerceShippingMethodModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of commerce shipping methodsend
- the upper bound of the range of commerce shipping methods (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 methods
-
findByGroupId_First
CommerceShippingMethod findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) throws NoSuchShippingMethodException Returns the first commerce shipping method in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipping method
- Throws:
NoSuchShippingMethodException
- if a matching commerce shipping method could not be found
-
fetchByGroupId_First
CommerceShippingMethod fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns the first commerce shipping method in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipping method, or
null
if a matching commerce shipping method could not be found
-
findByGroupId_Last
CommerceShippingMethod findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) throws NoSuchShippingMethodException Returns the last commerce shipping method in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipping method
- Throws:
NoSuchShippingMethodException
- if a matching commerce shipping method could not be found
-
fetchByGroupId_Last
CommerceShippingMethod fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns the last commerce shipping method in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipping method, or
null
if a matching commerce shipping method could not be found
-
findByGroupId_PrevAndNext
CommerceShippingMethod[] findByGroupId_PrevAndNext(long commerceShippingMethodId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) throws NoSuchShippingMethodException Returns the commerce shipping methods before and after the current commerce shipping method in the ordered set where groupId = ?.- Parameters:
commerceShippingMethodId
- the primary key of the current commerce shipping methodgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce shipping method
- Throws:
NoSuchShippingMethodException
- if a commerce shipping method with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the commerce shipping methods where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of commerce shipping methods where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching commerce shipping methods
-
findByG_A
Returns all the commerce shipping methods where groupId = ? and active = ?.- Parameters:
groupId
- the group IDactive
- the active- Returns:
- the matching commerce shipping methods
-
findByG_A
Returns a range of all the commerce shipping methods where groupId = ? and active = ?.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 fromCommerceShippingMethodModelImpl
.- Parameters:
groupId
- the group IDactive
- the activestart
- the lower bound of the range of commerce shipping methodsend
- the upper bound of the range of commerce shipping methods (not inclusive)- Returns:
- the range of matching commerce shipping methods
-
findByG_A
List<CommerceShippingMethod> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns an ordered range of all the commerce shipping methods where groupId = ? and active = ?.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 fromCommerceShippingMethodModelImpl
.- Parameters:
groupId
- the group IDactive
- the activestart
- the lower bound of the range of commerce shipping methodsend
- the upper bound of the range of commerce shipping methods (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce shipping methods
-
findByG_A
List<CommerceShippingMethod> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping methods where groupId = ? and active = ?.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 fromCommerceShippingMethodModelImpl
.- Parameters:
groupId
- the group IDactive
- the activestart
- the lower bound of the range of commerce shipping methodsend
- the upper bound of the range of commerce shipping methods (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 methods
-
findByG_A_First
CommerceShippingMethod findByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) throws NoSuchShippingMethodException Returns the first commerce shipping method in the ordered set where groupId = ? and active = ?.- Parameters:
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipping method
- Throws:
NoSuchShippingMethodException
- if a matching commerce shipping method could not be found
-
fetchByG_A_First
CommerceShippingMethod fetchByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns the first commerce shipping method in the ordered set where groupId = ? and active = ?.- Parameters:
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipping method, or
null
if a matching commerce shipping method could not be found
-
findByG_A_Last
CommerceShippingMethod findByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) throws NoSuchShippingMethodException Returns the last commerce shipping method in the ordered set where groupId = ? and active = ?.- Parameters:
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipping method
- Throws:
NoSuchShippingMethodException
- if a matching commerce shipping method could not be found
-
fetchByG_A_Last
CommerceShippingMethod fetchByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns the last commerce shipping method in the ordered set where groupId = ? and active = ?.- Parameters:
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipping method, or
null
if a matching commerce shipping method could not be found
-
findByG_A_PrevAndNext
CommerceShippingMethod[] findByG_A_PrevAndNext(long commerceShippingMethodId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) throws NoSuchShippingMethodException Returns the commerce shipping methods before and after the current commerce shipping method in the ordered set where groupId = ? and active = ?.- Parameters:
commerceShippingMethodId
- the primary key of the current commerce shipping methodgroupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce shipping method
- Throws:
NoSuchShippingMethodException
- if a commerce shipping method with the primary key could not be found
-
removeByG_A
void removeByG_A(long groupId, boolean active) Removes all the commerce shipping methods where groupId = ? and active = ? from the database.- Parameters:
groupId
- the group IDactive
- the active
-
countByG_A
int countByG_A(long groupId, boolean active) Returns the number of commerce shipping methods where groupId = ? and active = ?.- Parameters:
groupId
- the group IDactive
- the active- Returns:
- the number of matching commerce shipping methods
-
findByG_E
CommerceShippingMethod findByG_E(long groupId, String engineKey) throws NoSuchShippingMethodException Returns the commerce shipping method where groupId = ? and engineKey = ? or throws aNoSuchShippingMethodException
if it could not be found.- Parameters:
groupId
- the group IDengineKey
- the engine key- Returns:
- the matching commerce shipping method
- Throws:
NoSuchShippingMethodException
- if a matching commerce shipping method could not be found
-
fetchByG_E
Returns the commerce shipping method where groupId = ? and engineKey = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDengineKey
- the engine key- Returns:
- the matching commerce shipping method, or
null
if a matching commerce shipping method could not be found
-
fetchByG_E
Returns the commerce shipping method where groupId = ? and engineKey = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDengineKey
- the engine keyuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce shipping method, or
null
if a matching commerce shipping method could not be found
-
removeByG_E
CommerceShippingMethod removeByG_E(long groupId, String engineKey) throws NoSuchShippingMethodException Removes the commerce shipping method where groupId = ? and engineKey = ? from the database.- Parameters:
groupId
- the group IDengineKey
- the engine key- Returns:
- the commerce shipping method that was removed
- Throws:
NoSuchShippingMethodException
-
countByG_E
Returns the number of commerce shipping methods where groupId = ? and engineKey = ?.- Parameters:
groupId
- the group IDengineKey
- the engine key- Returns:
- the number of matching commerce shipping methods
-
cacheResult
Caches the commerce shipping method in the entity cache if it is enabled.- Parameters:
commerceShippingMethod
- the commerce shipping method
-
cacheResult
Caches the commerce shipping methods in the entity cache if it is enabled.- Parameters:
commerceShippingMethods
- the commerce shipping methods
-
create
Creates a new commerce shipping method with the primary key. Does not add the commerce shipping method to the database.- Parameters:
commerceShippingMethodId
- the primary key for the new commerce shipping method- Returns:
- the new commerce shipping method
-
remove
Removes the commerce shipping method with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceShippingMethodId
- the primary key of the commerce shipping method- Returns:
- the commerce shipping method that was removed
- Throws:
NoSuchShippingMethodException
- if a commerce shipping method with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CommerceShippingMethod findByPrimaryKey(long commerceShippingMethodId) throws NoSuchShippingMethodException Returns the commerce shipping method with the primary key or throws aNoSuchShippingMethodException
if it could not be found.- Parameters:
commerceShippingMethodId
- the primary key of the commerce shipping method- Returns:
- the commerce shipping method
- Throws:
NoSuchShippingMethodException
- if a commerce shipping method with the primary key could not be found
-
fetchByPrimaryKey
Returns the commerce shipping method with the primary key or returnsnull
if it could not be found.- Parameters:
commerceShippingMethodId
- the primary key of the commerce shipping method- Returns:
- the commerce shipping method, or
null
if a commerce shipping method with the primary key could not be found
-
findAll
List<CommerceShippingMethod> findAll()Returns all the commerce shipping methods.- Returns:
- the commerce shipping methods
-
findAll
Returns a range of all the commerce shipping methods.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 fromCommerceShippingMethodModelImpl
.- Parameters:
start
- the lower bound of the range of commerce shipping methodsend
- the upper bound of the range of commerce shipping methods (not inclusive)- Returns:
- the range of commerce shipping methods
-
findAll
List<CommerceShippingMethod> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) Returns an ordered range of all the commerce shipping methods.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 fromCommerceShippingMethodModelImpl
.- Parameters:
start
- the lower bound of the range of commerce shipping methodsend
- the upper bound of the range of commerce shipping methods (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of commerce shipping methods
-
findAll
List<CommerceShippingMethod> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping methods.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 fromCommerceShippingMethodModelImpl
.- Parameters:
start
- the lower bound of the range of commerce shipping methodsend
- the upper bound of the range of commerce shipping methods (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 methods
-
removeAll
void removeAll()Removes all the commerce shipping methods from the database. -
countAll
int countAll()Returns the number of commerce shipping methods.- Returns:
- the number of commerce shipping methods
-