Class CommerceShippingFixedOptionRelLocalServiceWrapper
- All Implemented Interfaces:
CommerceShippingFixedOptionRelLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<CommerceShippingFixedOptionRelLocalService>
CommerceShippingFixedOptionRelLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceShippingFixedOptionRelLocalServiceWrapper
(CommerceShippingFixedOptionRelLocalService commerceShippingFixedOptionRelLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddCommerceShippingFixedOptionRel
(long userId, long groupId, long commerceShippingMethodId, long commerceShippingFixedOptionId, long commerceInventoryWarehouseId, long countryId, long regionId, String zip, double weightFrom, double weightTo, BigDecimal fixedPrice, BigDecimal rateUnitWeightPrice, double ratePercentage) addCommerceShippingFixedOptionRel
(long commerceShippingMethodId, long commerceShippingFixedOptionId, long commerceInventoryWarehouseId, long countryId, long regionId, String zip, double weightFrom, double weightTo, BigDecimal fixedPrice, BigDecimal rateUnitWeightPrice, double ratePercentage, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.As of Athanasius (7.3.x)addCommerceShippingFixedOptionRel
(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) Adds the commerce shipping fixed option rel to the database.createCommerceShippingFixedOptionRel
(long commerceShippingFixedOptionRelId) Creates a new commerce shipping fixed option rel with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) deleteCommerceShippingFixedOptionRel
(long commerceShippingFixedOptionRelId) Deletes the commerce shipping fixed option rel with the primary key from the database.deleteCommerceShippingFixedOptionRel
(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) Deletes the commerce shipping fixed option rel from the database.void
deleteCommerceShippingFixedOptionRels
(long commerceShippingFixedOptionId) com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery
<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.fetchCommerceShippingFixedOptionRel
(long commerceShippingFixedOptionRelId) fetchCommerceShippingFixedOptionRel
(long commerceShippingFixedOptionId, long countryId, long regionId, String zip, double weight) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
getCommerceShippingFixedOptionRel
(long commerceShippingFixedOptionRelId) Returns the commerce shipping fixed option rel with the primary key.getCommerceShippingFixedOptionRels
(int start, int end) Returns a range of all the commerce shipping fixed option rels.getCommerceShippingFixedOptionRels
(long commerceShippingFixedOptionId, int start, int end) getCommerceShippingFixedOptionRels
(long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) int
Returns the number of commerce shipping fixed option rels.int
getCommerceShippingFixedOptionRelsCount
(long commerceShippingFixedOptionId) getCommerceShippingMethodFixedOptionRels
(long commerceShippingMethodId, int start, int end) getCommerceShippingMethodFixedOptionRels
(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) int
getCommerceShippingMethodFixedOptionRelsCount
(long commerceShippingMethodId) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) void
setWrappedService
(CommerceShippingFixedOptionRelLocalService commerceShippingFixedOptionRelLocalService) updateCommerceShippingFixedOptionRel
(long commerceShippingFixedOptionRelId, long commerceInventoryWarehouseId, long countryId, long regionId, String zip, double weightFrom, double weightTo, BigDecimal fixedPrice, BigDecimal rateUnitWeightPrice, double ratePercentage) updateCommerceShippingFixedOptionRel
(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) Updates the commerce shipping fixed option rel in the database or adds it if it does not yet exist.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
CommerceShippingFixedOptionRelLocalServiceWrapper
public CommerceShippingFixedOptionRelLocalServiceWrapper() -
CommerceShippingFixedOptionRelLocalServiceWrapper
public CommerceShippingFixedOptionRelLocalServiceWrapper(CommerceShippingFixedOptionRelLocalService commerceShippingFixedOptionRelLocalService)
-
-
Method Details
-
addCommerceShippingFixedOptionRel
public CommerceShippingFixedOptionRel addCommerceShippingFixedOptionRel(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) Adds the commerce shipping fixed option rel to the database. Also notifies the appropriate model listeners.Important: Inspect CommerceShippingFixedOptionRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addCommerceShippingFixedOptionRel
in interfaceCommerceShippingFixedOptionRelLocalService
- Parameters:
commerceShippingFixedOptionRel
- the commerce shipping fixed option rel- Returns:
- the commerce shipping fixed option rel that was added
-
addCommerceShippingFixedOptionRel
public CommerceShippingFixedOptionRel addCommerceShippingFixedOptionRel(long userId, long groupId, long commerceShippingMethodId, long commerceShippingFixedOptionId, long commerceInventoryWarehouseId, long countryId, long regionId, String zip, double weightFrom, double weightTo, BigDecimal fixedPrice, BigDecimal rateUnitWeightPrice, double ratePercentage) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommerceShippingFixedOptionRel
in interfaceCommerceShippingFixedOptionRelLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceShippingFixedOptionRel
@Deprecated public CommerceShippingFixedOptionRel addCommerceShippingFixedOptionRel(long commerceShippingMethodId, long commerceShippingFixedOptionId, long commerceInventoryWarehouseId, long countryId, long regionId, String zip, double weightFrom, double weightTo, BigDecimal fixedPrice, BigDecimal rateUnitWeightPrice, double ratePercentage, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x)- Specified by:
addCommerceShippingFixedOptionRel
in interfaceCommerceShippingFixedOptionRelLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createCommerceShippingFixedOptionRel
public CommerceShippingFixedOptionRel createCommerceShippingFixedOptionRel(long commerceShippingFixedOptionRelId) Creates a new commerce shipping fixed option rel with the primary key. Does not add the commerce shipping fixed option rel to the database.- Specified by:
createCommerceShippingFixedOptionRel
in interfaceCommerceShippingFixedOptionRelLocalService
- Parameters:
commerceShippingFixedOptionRelId
- the primary key for the new commerce shipping fixed option rel- Returns:
- the new commerce shipping fixed option rel
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceCommerceShippingFixedOptionRelLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceShippingFixedOptionRel
public CommerceShippingFixedOptionRel deleteCommerceShippingFixedOptionRel(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) Deletes the commerce shipping fixed option rel from the database. Also notifies the appropriate model listeners.Important: Inspect CommerceShippingFixedOptionRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteCommerceShippingFixedOptionRel
in interfaceCommerceShippingFixedOptionRelLocalService
- Parameters:
commerceShippingFixedOptionRel
- the commerce shipping fixed option rel- Returns:
- the commerce shipping fixed option rel that was removed
-
deleteCommerceShippingFixedOptionRel
public CommerceShippingFixedOptionRel deleteCommerceShippingFixedOptionRel(long commerceShippingFixedOptionRelId) throws com.liferay.portal.kernel.exception.PortalException Deletes the commerce shipping fixed option rel with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect CommerceShippingFixedOptionRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteCommerceShippingFixedOptionRel
in interfaceCommerceShippingFixedOptionRelLocalService
- Parameters:
commerceShippingFixedOptionRelId
- the primary key of the commerce shipping fixed option rel- Returns:
- the commerce shipping fixed option rel that was removed
- Throws:
PortalException
- if a commerce shipping fixed option rel with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteCommerceShippingFixedOptionRels
public void deleteCommerceShippingFixedOptionRels(long commerceShippingFixedOptionId) - Specified by:
deleteCommerceShippingFixedOptionRels
in interfaceCommerceShippingFixedOptionRelLocalService
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModel
in interfaceCommerceShippingFixedOptionRelLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceCommerceShippingFixedOptionRelLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceCommerceShippingFixedOptionRelLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceCommerceShippingFixedOptionRelLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceCommerceShippingFixedOptionRelLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.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
tocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl
.- Specified by:
dynamicQuery
in interfaceCommerceShippingFixedOptionRelLocalService
- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.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
tocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl
.- Specified by:
dynamicQuery
in interfaceCommerceShippingFixedOptionRelLocalService
- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceCommerceShippingFixedOptionRelLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceCommerceShippingFixedOptionRelLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchCommerceShippingFixedOptionRel
public CommerceShippingFixedOptionRel fetchCommerceShippingFixedOptionRel(long commerceShippingFixedOptionRelId) - Specified by:
fetchCommerceShippingFixedOptionRel
in interfaceCommerceShippingFixedOptionRelLocalService
-
fetchCommerceShippingFixedOptionRel
public CommerceShippingFixedOptionRel fetchCommerceShippingFixedOptionRel(long commerceShippingFixedOptionId, long countryId, long regionId, String zip, double weight) - Specified by:
fetchCommerceShippingFixedOptionRel
in interfaceCommerceShippingFixedOptionRelLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceCommerceShippingFixedOptionRelLocalService
-
getCommerceShippingFixedOptionRel
public CommerceShippingFixedOptionRel getCommerceShippingFixedOptionRel(long commerceShippingFixedOptionRelId) throws com.liferay.portal.kernel.exception.PortalException Returns the commerce shipping fixed option rel with the primary key.- Specified by:
getCommerceShippingFixedOptionRel
in interfaceCommerceShippingFixedOptionRelLocalService
- Parameters:
commerceShippingFixedOptionRelId
- the primary key of the commerce shipping fixed option rel- Returns:
- the commerce shipping fixed option rel
- Throws:
PortalException
- if a commerce shipping fixed option rel with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getCommerceShippingFixedOptionRels
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
tocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl
.- Specified by:
getCommerceShippingFixedOptionRels
in interfaceCommerceShippingFixedOptionRelLocalService
- 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
-
getCommerceShippingFixedOptionRels
public List<CommerceShippingFixedOptionRel> getCommerceShippingFixedOptionRels(long commerceShippingFixedOptionId, int start, int end) - Specified by:
getCommerceShippingFixedOptionRels
in interfaceCommerceShippingFixedOptionRelLocalService
-
getCommerceShippingFixedOptionRels
public List<CommerceShippingFixedOptionRel> getCommerceShippingFixedOptionRels(long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) - Specified by:
getCommerceShippingFixedOptionRels
in interfaceCommerceShippingFixedOptionRelLocalService
-
getCommerceShippingFixedOptionRelsCount
public int getCommerceShippingFixedOptionRelsCount()Returns the number of commerce shipping fixed option rels.- Specified by:
getCommerceShippingFixedOptionRelsCount
in interfaceCommerceShippingFixedOptionRelLocalService
- Returns:
- the number of commerce shipping fixed option rels
-
getCommerceShippingFixedOptionRelsCount
public int getCommerceShippingFixedOptionRelsCount(long commerceShippingFixedOptionId) - Specified by:
getCommerceShippingFixedOptionRelsCount
in interfaceCommerceShippingFixedOptionRelLocalService
-
getCommerceShippingMethodFixedOptionRels
public List<CommerceShippingFixedOptionRel> getCommerceShippingMethodFixedOptionRels(long commerceShippingMethodId, int start, int end) - Specified by:
getCommerceShippingMethodFixedOptionRels
in interfaceCommerceShippingFixedOptionRelLocalService
-
getCommerceShippingMethodFixedOptionRels
public List<CommerceShippingFixedOptionRel> getCommerceShippingMethodFixedOptionRels(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) - Specified by:
getCommerceShippingMethodFixedOptionRels
in interfaceCommerceShippingFixedOptionRelLocalService
-
getCommerceShippingMethodFixedOptionRelsCount
public int getCommerceShippingMethodFixedOptionRelsCount(long commerceShippingMethodId) - Specified by:
getCommerceShippingMethodFixedOptionRelsCount
in interfaceCommerceShippingFixedOptionRelLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceCommerceShippingFixedOptionRelLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceCommerceShippingFixedOptionRelLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfaceCommerceShippingFixedOptionRelLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceShippingFixedOptionRel
public CommerceShippingFixedOptionRel updateCommerceShippingFixedOptionRel(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) Updates the commerce shipping fixed option rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect CommerceShippingFixedOptionRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateCommerceShippingFixedOptionRel
in interfaceCommerceShippingFixedOptionRelLocalService
- Parameters:
commerceShippingFixedOptionRel
- the commerce shipping fixed option rel- Returns:
- the commerce shipping fixed option rel that was updated
-
updateCommerceShippingFixedOptionRel
public CommerceShippingFixedOptionRel updateCommerceShippingFixedOptionRel(long commerceShippingFixedOptionRelId, long commerceInventoryWarehouseId, long countryId, long regionId, String zip, double weightFrom, double weightTo, BigDecimal fixedPrice, BigDecimal rateUnitWeightPrice, double ratePercentage) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceShippingFixedOptionRel
in interfaceCommerceShippingFixedOptionRelLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceShippingFixedOptionRelLocalService>
-
setWrappedService
public void setWrappedService(CommerceShippingFixedOptionRelLocalService commerceShippingFixedOptionRelLocalService) - Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceShippingFixedOptionRelLocalService>
-