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.PersistedModelcreatePersistedModel(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.voiddeleteCommerceShippingFixedOptionRels(long commerceShippingFixedOptionId) com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(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.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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.ActionableDynamicQuerycom.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) intReturns the number of commerce shipping fixed option rels.intgetCommerceShippingFixedOptionRelsCount(long commerceShippingFixedOptionId) getCommerceShippingMethodFixedOptionRels(long commerceShippingMethodId, int start, int end) getCommerceShippingMethodFixedOptionRels(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) intgetCommerceShippingMethodFixedOptionRelsCount(long commerceShippingMethodId) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) voidsetWrappedService(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, waitMethods 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:
addCommerceShippingFixedOptionRelin 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:
addCommerceShippingFixedOptionRelin 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:
addCommerceShippingFixedOptionRelin 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:
createCommerceShippingFixedOptionRelin 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:
createPersistedModelin interfaceCommerceShippingFixedOptionRelLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.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:
deleteCommerceShippingFixedOptionRelin 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:
deleteCommerceShippingFixedOptionRelin 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:
deleteCommerceShippingFixedOptionRelsin 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:
deletePersistedModelin interfaceCommerceShippingFixedOptionRelLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceCommerceShippingFixedOptionRelLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceCommerceShippingFixedOptionRelLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceCommerceShippingFixedOptionRelLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.- Specified by:
dynamicQueryin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.- Specified by:
dynamicQueryin 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:
dynamicQueryCountin 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:
dynamicQueryCountin 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:
fetchCommerceShippingFixedOptionRelin interfaceCommerceShippingFixedOptionRelLocalService
-
fetchCommerceShippingFixedOptionRel
public CommerceShippingFixedOptionRel fetchCommerceShippingFixedOptionRel(long commerceShippingFixedOptionId, long countryId, long regionId, String zip, double weight) - Specified by:
fetchCommerceShippingFixedOptionRelin interfaceCommerceShippingFixedOptionRelLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin 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:
getCommerceShippingFixedOptionRelin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.- Specified by:
getCommerceShippingFixedOptionRelsin 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:
getCommerceShippingFixedOptionRelsin interfaceCommerceShippingFixedOptionRelLocalService
-
getCommerceShippingFixedOptionRels
public List<CommerceShippingFixedOptionRel> getCommerceShippingFixedOptionRels(long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) - Specified by:
getCommerceShippingFixedOptionRelsin interfaceCommerceShippingFixedOptionRelLocalService
-
getCommerceShippingFixedOptionRelsCount
public int getCommerceShippingFixedOptionRelsCount()Returns the number of commerce shipping fixed option rels.- Specified by:
getCommerceShippingFixedOptionRelsCountin interfaceCommerceShippingFixedOptionRelLocalService- Returns:
- the number of commerce shipping fixed option rels
-
getCommerceShippingFixedOptionRelsCount
public int getCommerceShippingFixedOptionRelsCount(long commerceShippingFixedOptionId) - Specified by:
getCommerceShippingFixedOptionRelsCountin interfaceCommerceShippingFixedOptionRelLocalService
-
getCommerceShippingMethodFixedOptionRels
public List<CommerceShippingFixedOptionRel> getCommerceShippingMethodFixedOptionRels(long commerceShippingMethodId, int start, int end) - Specified by:
getCommerceShippingMethodFixedOptionRelsin interfaceCommerceShippingFixedOptionRelLocalService
-
getCommerceShippingMethodFixedOptionRels
public List<CommerceShippingFixedOptionRel> getCommerceShippingMethodFixedOptionRels(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) - Specified by:
getCommerceShippingMethodFixedOptionRelsin interfaceCommerceShippingFixedOptionRelLocalService
-
getCommerceShippingMethodFixedOptionRelsCount
public int getCommerceShippingMethodFixedOptionRelsCount(long commerceShippingMethodId) - Specified by:
getCommerceShippingMethodFixedOptionRelsCountin interfaceCommerceShippingFixedOptionRelLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceCommerceShippingFixedOptionRelLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin 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:
getPersistedModelin interfaceCommerceShippingFixedOptionRelLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.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:
updateCommerceShippingFixedOptionRelin 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:
updateCommerceShippingFixedOptionRelin interfaceCommerceShippingFixedOptionRelLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceShippingFixedOptionRelLocalService>
-
setWrappedService
public void setWrappedService(CommerceShippingFixedOptionRelLocalService commerceShippingFixedOptionRelLocalService) - Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceShippingFixedOptionRelLocalService>
-