Class CommercePricingClassLocalServiceWrapper
- All Implemented Interfaces:
CommercePricingClassLocalService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.change.tracking.CTService<CommercePricingClass>,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceWrapper<CommercePricingClassLocalService>
CommercePricingClassLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommercePricingClassLocalServiceWrapper(CommercePricingClassLocalService commercePricingClassLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddCommercePricingClass(long userId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) addCommercePricingClass(CommercePricingClass commercePricingClass) Adds the commerce pricing class to the database.addCommercePricingClass(String externalReferenceCode, long userId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateCommercePricingClass(String externalReferenceCode, long commercePricingClassId, long userId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) createCommercePricingClass(long commercePricingClassId) Creates a new commerce pricing class with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) deleteCommercePricingClass(long commercePricingClassId) Deletes the commerce pricing class with the primary key from the database.deleteCommercePricingClass(CommercePricingClass commercePricingClass) Deletes the commerce pricing class from the database.voiddeleteCommercePricingClasses(long companyId) 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.fetchCommercePricingClass(long commercePricingClassId) fetchCommercePricingClassByExternalReferenceCode(String externalReferenceCode, long companyId) fetchCommercePricingClassByUuidAndCompanyId(String uuid, long companyId) Returns the commerce pricing class with the matching UUID and company.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?> getCommercePricingClass(long commercePricingClassId) Returns the commerce pricing class with the primary key.long[]getCommercePricingClassByCPDefinition(long cpDefinitionId) getCommercePricingClassByExternalReferenceCode(String externalReferenceCode, long companyId) getCommercePricingClassByUuidAndCompanyId(String uuid, long companyId) Returns the commerce pricing class with the matching UUID and company.intgetCommercePricingClassCountByCPDefinitionId(long cpDefinitionId, String title) getCommercePricingClasses(int start, int end) Returns a range of all the commerce pricing classes.getCommercePricingClasses(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) intReturns the number of commerce pricing classes.intgetCommercePricingClassesCount(long companyId) intgetCommercePricingClassesCount(long cpDefinitionId, String title) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePricingClass> com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) searchByCPDefinitionId(long cpDefinitionId, String title, int start, int end) com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePricingClass> searchCommercePricingClasses(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) voidsetWrappedService(CommercePricingClassLocalService commercePricingClassLocalService) updateCommercePricingClass(long commercePricingClassId, long userId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCommercePricingClass(CommercePricingClass commercePricingClass) Updates the commerce pricing class in the database or adds it if it does not yet exist.updateCommercePricingClassExternalReferenceCode(String externalReferenceCode, long commercePricingClassId) <R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePricingClass>, R, E> updateUnsafeFunction) 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
-
CommercePricingClassLocalServiceWrapper
public CommercePricingClassLocalServiceWrapper() -
CommercePricingClassLocalServiceWrapper
public CommercePricingClassLocalServiceWrapper(CommercePricingClassLocalService commercePricingClassLocalService)
-
-
Method Details
-
addCommercePricingClass
Adds the commerce pricing class to the database. Also notifies the appropriate model listeners.Important: Inspect CommercePricingClassLocalServiceImpl 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:
addCommercePricingClassin interfaceCommercePricingClassLocalService- Parameters:
commercePricingClass- the commerce pricing class- Returns:
- the commerce pricing class that was added
-
addCommercePricingClass
public CommercePricingClass addCommercePricingClass(long userId, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
addCommercePricingClassin interfaceCommercePricingClassLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommercePricingClass
public CommercePricingClass addCommercePricingClass(String externalReferenceCode, long userId, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
addCommercePricingClassin interfaceCommercePricingClassLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommercePricingClass
public CommercePricingClass addOrUpdateCommercePricingClass(String externalReferenceCode, long commercePricingClassId, long userId, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
addOrUpdateCommercePricingClassin interfaceCommercePricingClassLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createCommercePricingClass
Creates a new commerce pricing class with the primary key. Does not add the commerce pricing class to the database.- Specified by:
createCommercePricingClassin interfaceCommercePricingClassLocalService- Parameters:
commercePricingClassId- the primary key for the new commerce pricing class- Returns:
- the new commerce pricing class
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfaceCommercePricingClassLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
deleteCommercePricingClass
public CommercePricingClass deleteCommercePricingClass(CommercePricingClass commercePricingClass) throws com.liferay.portal.kernel.exception.PortalException Deletes the commerce pricing class from the database. Also notifies the appropriate model listeners.Important: Inspect CommercePricingClassLocalServiceImpl 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:
deleteCommercePricingClassin interfaceCommercePricingClassLocalService- Parameters:
commercePricingClass- the commerce pricing class- Returns:
- the commerce pricing class that was removed
-
deleteCommercePricingClass
public CommercePricingClass deleteCommercePricingClass(long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException Deletes the commerce pricing class with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect CommercePricingClassLocalServiceImpl 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:
deleteCommercePricingClassin interfaceCommercePricingClassLocalService- Parameters:
commercePricingClassId- the primary key of the commerce pricing class- Returns:
- the commerce pricing class that was removed
-
deleteCommercePricingClasses
public void deleteCommercePricingClasses(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommercePricingClassesin interfaceCommercePricingClassLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
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 interfaceCommercePricingClassLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceCommercePricingClassLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceCommercePricingClassLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceCommercePricingClassLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceCommercePricingClassLocalService- 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.pricing.model.impl.CommercePricingClassModelImpl.- Specified by:
dynamicQueryin interfaceCommercePricingClassLocalService- 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.pricing.model.impl.CommercePricingClassModelImpl.- Specified by:
dynamicQueryin interfaceCommercePricingClassLocalService- 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 interfaceCommercePricingClassLocalService- 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 interfaceCommercePricingClassLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchCommercePricingClass
- Specified by:
fetchCommercePricingClassin interfaceCommercePricingClassLocalService
-
fetchCommercePricingClassByExternalReferenceCode
public CommercePricingClass fetchCommercePricingClassByExternalReferenceCode(String externalReferenceCode, long companyId) - Specified by:
fetchCommercePricingClassByExternalReferenceCodein interfaceCommercePricingClassLocalService
-
fetchCommercePricingClassByUuidAndCompanyId
public CommercePricingClass fetchCommercePricingClassByUuidAndCompanyId(String uuid, long companyId) Returns the commerce pricing class with the matching UUID and company.- Specified by:
fetchCommercePricingClassByUuidAndCompanyIdin interfaceCommercePricingClassLocalService- Parameters:
uuid- the commerce pricing class's UUIDcompanyId- the primary key of the company- Returns:
- the matching commerce pricing class, or
nullif a matching commerce pricing class could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceCommercePricingClassLocalService
-
getCommercePricingClass
public CommercePricingClass getCommercePricingClass(long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException Returns the commerce pricing class with the primary key.- Specified by:
getCommercePricingClassin interfaceCommercePricingClassLocalService- Parameters:
commercePricingClassId- the primary key of the commerce pricing class- Returns:
- the commerce pricing class
-
getCommercePricingClassByCPDefinition
public long[] getCommercePricingClassByCPDefinition(long cpDefinitionId) - Specified by:
getCommercePricingClassByCPDefinitionin interfaceCommercePricingClassLocalService
-
getCommercePricingClassByExternalReferenceCode
public CommercePricingClass getCommercePricingClassByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommercePricingClassByExternalReferenceCodein interfaceCommercePricingClassLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePricingClassByUuidAndCompanyId
public CommercePricingClass getCommercePricingClassByUuidAndCompanyId(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException Returns the commerce pricing class with the matching UUID and company.- Specified by:
getCommercePricingClassByUuidAndCompanyIdin interfaceCommercePricingClassLocalService- Parameters:
uuid- the commerce pricing class's UUIDcompanyId- the primary key of the company- Returns:
- the matching commerce pricing class
-
getCommercePricingClassCountByCPDefinitionId
- Specified by:
getCommercePricingClassCountByCPDefinitionIdin interfaceCommercePricingClassLocalService
-
getCommercePricingClasses
Returns a range of all the commerce pricing classes.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.pricing.model.impl.CommercePricingClassModelImpl.- Specified by:
getCommercePricingClassesin interfaceCommercePricingClassLocalService- Parameters:
start- the lower bound of the range of commerce pricing classesend- the upper bound of the range of commerce pricing classes (not inclusive)- Returns:
- the range of commerce pricing classes
-
getCommercePricingClasses
public List<CommercePricingClass> getCommercePricingClasses(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) - Specified by:
getCommercePricingClassesin interfaceCommercePricingClassLocalService
-
getCommercePricingClassesCount
public int getCommercePricingClassesCount()Returns the number of commerce pricing classes.- Specified by:
getCommercePricingClassesCountin interfaceCommercePricingClassLocalService- Returns:
- the number of commerce pricing classes
-
getCommercePricingClassesCount
public int getCommercePricingClassesCount(long companyId) - Specified by:
getCommercePricingClassesCountin interfaceCommercePricingClassLocalService
-
getCommercePricingClassesCount
- Specified by:
getCommercePricingClassesCountin interfaceCommercePricingClassLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceCommercePricingClassLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceCommercePricingClassLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceCommercePricingClassLocalService- 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 interfaceCommercePricingClassLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
searchByCPDefinitionId
public List<CommercePricingClass> searchByCPDefinitionId(long cpDefinitionId, String title, int start, int end) - Specified by:
searchByCPDefinitionIdin interfaceCommercePricingClassLocalService
-
searchCommercePricingClasses
public com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePricingClass> searchCommercePricingClasses(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchCommercePricingClassesin interfaceCommercePricingClassLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommercePricingClass
Updates the commerce pricing class in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect CommercePricingClassLocalServiceImpl 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:
updateCommercePricingClassin interfaceCommercePricingClassLocalService- Parameters:
commercePricingClass- the commerce pricing class- Returns:
- the commerce pricing class that was updated
-
updateCommercePricingClass
public CommercePricingClass updateCommercePricingClass(long commercePricingClassId, long userId, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
updateCommercePricingClassin interfaceCommercePricingClassLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommercePricingClassExternalReferenceCode
public CommercePricingClass updateCommercePricingClassExternalReferenceCode(String externalReferenceCode, long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommercePricingClassExternalReferenceCodein interfaceCommercePricingClassLocalService- 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
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePricingClass> getCTPersistence()- Specified by:
getCTPersistencein interfaceCommercePricingClassLocalService- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CommercePricingClass>
-
getModelClass
- Specified by:
getModelClassin interfaceCommercePricingClassLocalService- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CommercePricingClass>
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePricingClass>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfaceCommercePricingClassLocalService- Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CommercePricingClass>- Throws:
E
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommercePricingClassLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommercePricingClassLocalService>
-