All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.commerce.product.service.base.CPMeasurementUnitLocalServiceBaseImpl Maven / Gradle / Ivy

/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.commerce.product.service.base;

import aQute.bnd.annotation.ProviderType;

import com.liferay.commerce.product.model.CPMeasurementUnit;
import com.liferay.commerce.product.service.CPMeasurementUnitLocalService;
import com.liferay.commerce.product.service.persistence.CPAttachmentFileEntryFinder;
import com.liferay.commerce.product.service.persistence.CPAttachmentFileEntryPersistence;
import com.liferay.commerce.product.service.persistence.CPDefinitionFinder;
import com.liferay.commerce.product.service.persistence.CPDefinitionLinkPersistence;
import com.liferay.commerce.product.service.persistence.CPDefinitionLocalizationPersistence;
import com.liferay.commerce.product.service.persistence.CPDefinitionOptionRelPersistence;
import com.liferay.commerce.product.service.persistence.CPDefinitionOptionValueRelPersistence;
import com.liferay.commerce.product.service.persistence.CPDefinitionPersistence;
import com.liferay.commerce.product.service.persistence.CPDefinitionSpecificationOptionValuePersistence;
import com.liferay.commerce.product.service.persistence.CPDisplayLayoutPersistence;
import com.liferay.commerce.product.service.persistence.CPFriendlyURLEntryPersistence;
import com.liferay.commerce.product.service.persistence.CPInstanceFinder;
import com.liferay.commerce.product.service.persistence.CPInstancePersistence;
import com.liferay.commerce.product.service.persistence.CPMeasurementUnitPersistence;
import com.liferay.commerce.product.service.persistence.CPOptionCategoryPersistence;
import com.liferay.commerce.product.service.persistence.CPOptionPersistence;
import com.liferay.commerce.product.service.persistence.CPOptionValuePersistence;
import com.liferay.commerce.product.service.persistence.CPRuleAssetCategoryRelPersistence;
import com.liferay.commerce.product.service.persistence.CPRulePersistence;
import com.liferay.commerce.product.service.persistence.CPRuleUserSegmentRelPersistence;
import com.liferay.commerce.product.service.persistence.CPSpecificationOptionPersistence;
import com.liferay.commerce.product.service.persistence.CPTaxCategoryPersistence;

import com.liferay.exportimport.kernel.lar.ExportImportHelperUtil;
import com.liferay.exportimport.kernel.lar.ManifestSummary;
import com.liferay.exportimport.kernel.lar.PortletDataContext;
import com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil;
import com.liferay.exportimport.kernel.lar.StagedModelType;

import com.liferay.portal.kernel.bean.BeanReference;
import com.liferay.portal.kernel.dao.db.DB;
import com.liferay.portal.kernel.dao.db.DBManagerUtil;
import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery;
import com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery;
import com.liferay.portal.kernel.dao.orm.DynamicQuery;
import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
import com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery;
import com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery;
import com.liferay.portal.kernel.dao.orm.Projection;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.model.PersistedModel;
import com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService;
import com.liferay.portal.kernel.search.Indexable;
import com.liferay.portal.kernel.search.IndexableType;
import com.liferay.portal.kernel.service.BaseLocalServiceImpl;
import com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry;
import com.liferay.portal.kernel.service.persistence.ClassNamePersistence;
import com.liferay.portal.kernel.service.persistence.UserPersistence;
import com.liferay.portal.kernel.transaction.Transactional;
import com.liferay.portal.kernel.util.OrderByComparator;
import com.liferay.portal.kernel.util.PortalUtil;
import com.liferay.portal.spring.extender.service.ServiceReference;

import java.io.Serializable;

import java.util.List;

import javax.sql.DataSource;

/**
 * Provides the base implementation for the cp measurement unit local service.
 *
 * 

* This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link com.liferay.commerce.product.service.impl.CPMeasurementUnitLocalServiceImpl}. *

* * @author Marco Leo * @see com.liferay.commerce.product.service.impl.CPMeasurementUnitLocalServiceImpl * @see com.liferay.commerce.product.service.CPMeasurementUnitLocalServiceUtil * @generated */ @ProviderType public abstract class CPMeasurementUnitLocalServiceBaseImpl extends BaseLocalServiceImpl implements CPMeasurementUnitLocalService, IdentifiableOSGiService { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this class directly. Always use {@link com.liferay.commerce.product.service.CPMeasurementUnitLocalServiceUtil} to access the cp measurement unit local service. */ /** * Adds the cp measurement unit to the database. Also notifies the appropriate model listeners. * * @param cpMeasurementUnit the cp measurement unit * @return the cp measurement unit that was added */ @Indexable(type = IndexableType.REINDEX) @Override public CPMeasurementUnit addCPMeasurementUnit( CPMeasurementUnit cpMeasurementUnit) { cpMeasurementUnit.setNew(true); return cpMeasurementUnitPersistence.update(cpMeasurementUnit); } /** * Creates a new cp measurement unit with the primary key. Does not add the cp measurement unit to the database. * * @param CPMeasurementUnitId the primary key for the new cp measurement unit * @return the new cp measurement unit */ @Override @Transactional(enabled = false) public CPMeasurementUnit createCPMeasurementUnit(long CPMeasurementUnitId) { return cpMeasurementUnitPersistence.create(CPMeasurementUnitId); } /** * Deletes the cp measurement unit with the primary key from the database. Also notifies the appropriate model listeners. * * @param CPMeasurementUnitId the primary key of the cp measurement unit * @return the cp measurement unit that was removed * @throws PortalException if a cp measurement unit with the primary key could not be found */ @Indexable(type = IndexableType.DELETE) @Override public CPMeasurementUnit deleteCPMeasurementUnit(long CPMeasurementUnitId) throws PortalException { return cpMeasurementUnitPersistence.remove(CPMeasurementUnitId); } /** * Deletes the cp measurement unit from the database. Also notifies the appropriate model listeners. * * @param cpMeasurementUnit the cp measurement unit * @return the cp measurement unit that was removed */ @Indexable(type = IndexableType.DELETE) @Override public CPMeasurementUnit deleteCPMeasurementUnit( CPMeasurementUnit cpMeasurementUnit) { return cpMeasurementUnitPersistence.remove(cpMeasurementUnit); } @Override public DynamicQuery dynamicQuery() { Class clazz = getClass(); return DynamicQueryFactoryUtil.forClass(CPMeasurementUnit.class, clazz.getClassLoader()); } /** * Performs a dynamic query on the database and returns the matching rows. * * @param dynamicQuery the dynamic query * @return the matching rows */ @Override public List dynamicQuery(DynamicQuery dynamicQuery) { return cpMeasurementUnitPersistence.findWithDynamicQuery(dynamicQuery); } /** * 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.commerce.product.model.impl.CPMeasurementUnitModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param dynamicQuery the dynamic query * @param start the lower bound of the range of model instances * @param end the upper bound of the range of model instances (not inclusive) * @return the range of matching rows */ @Override public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) { return cpMeasurementUnitPersistence.findWithDynamicQuery(dynamicQuery, start, end); } /** * 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.commerce.product.model.impl.CPMeasurementUnitModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param dynamicQuery the dynamic query * @param start the lower bound of the range of model instances * @param end the upper bound of the range of model instances (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching rows */ @Override public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) { return cpMeasurementUnitPersistence.findWithDynamicQuery(dynamicQuery, start, end, orderByComparator); } /** * Returns the number of rows matching the dynamic query. * * @param dynamicQuery the dynamic query * @return the number of rows matching the dynamic query */ @Override public long dynamicQueryCount(DynamicQuery dynamicQuery) { return cpMeasurementUnitPersistence.countWithDynamicQuery(dynamicQuery); } /** * Returns the number of rows matching the dynamic query. * * @param dynamicQuery the dynamic query * @param projection the projection to apply to the query * @return the number of rows matching the dynamic query */ @Override public long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) { return cpMeasurementUnitPersistence.countWithDynamicQuery(dynamicQuery, projection); } @Override public CPMeasurementUnit fetchCPMeasurementUnit(long CPMeasurementUnitId) { return cpMeasurementUnitPersistence.fetchByPrimaryKey(CPMeasurementUnitId); } /** * Returns the cp measurement unit matching the UUID and group. * * @param uuid the cp measurement unit's UUID * @param groupId the primary key of the group * @return the matching cp measurement unit, or null if a matching cp measurement unit could not be found */ @Override public CPMeasurementUnit fetchCPMeasurementUnitByUuidAndGroupId( String uuid, long groupId) { return cpMeasurementUnitPersistence.fetchByUUID_G(uuid, groupId); } /** * Returns the cp measurement unit with the primary key. * * @param CPMeasurementUnitId the primary key of the cp measurement unit * @return the cp measurement unit * @throws PortalException if a cp measurement unit with the primary key could not be found */ @Override public CPMeasurementUnit getCPMeasurementUnit(long CPMeasurementUnitId) throws PortalException { return cpMeasurementUnitPersistence.findByPrimaryKey(CPMeasurementUnitId); } @Override public ActionableDynamicQuery getActionableDynamicQuery() { ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery(); actionableDynamicQuery.setBaseLocalService(cpMeasurementUnitLocalService); actionableDynamicQuery.setClassLoader(getClassLoader()); actionableDynamicQuery.setModelClass(CPMeasurementUnit.class); actionableDynamicQuery.setPrimaryKeyPropertyName("CPMeasurementUnitId"); return actionableDynamicQuery; } @Override public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() { IndexableActionableDynamicQuery indexableActionableDynamicQuery = new IndexableActionableDynamicQuery(); indexableActionableDynamicQuery.setBaseLocalService(cpMeasurementUnitLocalService); indexableActionableDynamicQuery.setClassLoader(getClassLoader()); indexableActionableDynamicQuery.setModelClass(CPMeasurementUnit.class); indexableActionableDynamicQuery.setPrimaryKeyPropertyName( "CPMeasurementUnitId"); return indexableActionableDynamicQuery; } protected void initActionableDynamicQuery( ActionableDynamicQuery actionableDynamicQuery) { actionableDynamicQuery.setBaseLocalService(cpMeasurementUnitLocalService); actionableDynamicQuery.setClassLoader(getClassLoader()); actionableDynamicQuery.setModelClass(CPMeasurementUnit.class); actionableDynamicQuery.setPrimaryKeyPropertyName("CPMeasurementUnitId"); } @Override public ExportActionableDynamicQuery getExportActionableDynamicQuery( final PortletDataContext portletDataContext) { final ExportActionableDynamicQuery exportActionableDynamicQuery = new ExportActionableDynamicQuery() { @Override public long performCount() throws PortalException { ManifestSummary manifestSummary = portletDataContext.getManifestSummary(); StagedModelType stagedModelType = getStagedModelType(); long modelAdditionCount = super.performCount(); manifestSummary.addModelAdditionCount(stagedModelType, modelAdditionCount); long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(portletDataContext, stagedModelType); manifestSummary.addModelDeletionCount(stagedModelType, modelDeletionCount); return modelAdditionCount; } }; initActionableDynamicQuery(exportActionableDynamicQuery); exportActionableDynamicQuery.setAddCriteriaMethod(new ActionableDynamicQuery.AddCriteriaMethod() { @Override public void addCriteria(DynamicQuery dynamicQuery) { portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate"); } }); exportActionableDynamicQuery.setCompanyId(portletDataContext.getCompanyId()); exportActionableDynamicQuery.setGroupId(portletDataContext.getScopeGroupId()); exportActionableDynamicQuery.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod() { @Override public void performAction(CPMeasurementUnit cpMeasurementUnit) throws PortalException { StagedModelDataHandlerUtil.exportStagedModel(portletDataContext, cpMeasurementUnit); } }); exportActionableDynamicQuery.setStagedModelType(new StagedModelType( PortalUtil.getClassNameId(CPMeasurementUnit.class.getName()))); return exportActionableDynamicQuery; } /** * @throws PortalException */ @Override public PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException { return cpMeasurementUnitLocalService.deleteCPMeasurementUnit((CPMeasurementUnit)persistedModel); } @Override public PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException { return cpMeasurementUnitPersistence.findByPrimaryKey(primaryKeyObj); } /** * Returns all the cp measurement units matching the UUID and company. * * @param uuid the UUID of the cp measurement units * @param companyId the primary key of the company * @return the matching cp measurement units, or an empty list if no matches were found */ @Override public List getCPMeasurementUnitsByUuidAndCompanyId( String uuid, long companyId) { return cpMeasurementUnitPersistence.findByUuid_C(uuid, companyId); } /** * Returns a range of cp measurement units matching the UUID and company. * * @param uuid the UUID of the cp measurement units * @param companyId the primary key of the company * @param start the lower bound of the range of cp measurement units * @param end the upper bound of the range of cp measurement units (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the range of matching cp measurement units, or an empty list if no matches were found */ @Override public List getCPMeasurementUnitsByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator orderByComparator) { return cpMeasurementUnitPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); } /** * Returns the cp measurement unit matching the UUID and group. * * @param uuid the cp measurement unit's UUID * @param groupId the primary key of the group * @return the matching cp measurement unit * @throws PortalException if a matching cp measurement unit could not be found */ @Override public CPMeasurementUnit getCPMeasurementUnitByUuidAndGroupId(String uuid, long groupId) throws PortalException { return cpMeasurementUnitPersistence.findByUUID_G(uuid, groupId); } /** * Returns a range of all the cp measurement units. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.commerce.product.model.impl.CPMeasurementUnitModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param start the lower bound of the range of cp measurement units * @param end the upper bound of the range of cp measurement units (not inclusive) * @return the range of cp measurement units */ @Override public List getCPMeasurementUnits(int start, int end) { return cpMeasurementUnitPersistence.findAll(start, end); } /** * Returns the number of cp measurement units. * * @return the number of cp measurement units */ @Override public int getCPMeasurementUnitsCount() { return cpMeasurementUnitPersistence.countAll(); } /** * Updates the cp measurement unit in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. * * @param cpMeasurementUnit the cp measurement unit * @return the cp measurement unit that was updated */ @Indexable(type = IndexableType.REINDEX) @Override public CPMeasurementUnit updateCPMeasurementUnit( CPMeasurementUnit cpMeasurementUnit) { return cpMeasurementUnitPersistence.update(cpMeasurementUnit); } /** * Returns the cp attachment file entry local service. * * @return the cp attachment file entry local service */ public com.liferay.commerce.product.service.CPAttachmentFileEntryLocalService getCPAttachmentFileEntryLocalService() { return cpAttachmentFileEntryLocalService; } /** * Sets the cp attachment file entry local service. * * @param cpAttachmentFileEntryLocalService the cp attachment file entry local service */ public void setCPAttachmentFileEntryLocalService( com.liferay.commerce.product.service.CPAttachmentFileEntryLocalService cpAttachmentFileEntryLocalService) { this.cpAttachmentFileEntryLocalService = cpAttachmentFileEntryLocalService; } /** * Returns the cp attachment file entry persistence. * * @return the cp attachment file entry persistence */ public CPAttachmentFileEntryPersistence getCPAttachmentFileEntryPersistence() { return cpAttachmentFileEntryPersistence; } /** * Sets the cp attachment file entry persistence. * * @param cpAttachmentFileEntryPersistence the cp attachment file entry persistence */ public void setCPAttachmentFileEntryPersistence( CPAttachmentFileEntryPersistence cpAttachmentFileEntryPersistence) { this.cpAttachmentFileEntryPersistence = cpAttachmentFileEntryPersistence; } /** * Returns the cp attachment file entry finder. * * @return the cp attachment file entry finder */ public CPAttachmentFileEntryFinder getCPAttachmentFileEntryFinder() { return cpAttachmentFileEntryFinder; } /** * Sets the cp attachment file entry finder. * * @param cpAttachmentFileEntryFinder the cp attachment file entry finder */ public void setCPAttachmentFileEntryFinder( CPAttachmentFileEntryFinder cpAttachmentFileEntryFinder) { this.cpAttachmentFileEntryFinder = cpAttachmentFileEntryFinder; } /** * Returns the cp definition local service. * * @return the cp definition local service */ public com.liferay.commerce.product.service.CPDefinitionLocalService getCPDefinitionLocalService() { return cpDefinitionLocalService; } /** * Sets the cp definition local service. * * @param cpDefinitionLocalService the cp definition local service */ public void setCPDefinitionLocalService( com.liferay.commerce.product.service.CPDefinitionLocalService cpDefinitionLocalService) { this.cpDefinitionLocalService = cpDefinitionLocalService; } /** * Returns the cp definition persistence. * * @return the cp definition persistence */ public CPDefinitionPersistence getCPDefinitionPersistence() { return cpDefinitionPersistence; } /** * Sets the cp definition persistence. * * @param cpDefinitionPersistence the cp definition persistence */ public void setCPDefinitionPersistence( CPDefinitionPersistence cpDefinitionPersistence) { this.cpDefinitionPersistence = cpDefinitionPersistence; } /** * Returns the cp definition finder. * * @return the cp definition finder */ public CPDefinitionFinder getCPDefinitionFinder() { return cpDefinitionFinder; } /** * Sets the cp definition finder. * * @param cpDefinitionFinder the cp definition finder */ public void setCPDefinitionFinder(CPDefinitionFinder cpDefinitionFinder) { this.cpDefinitionFinder = cpDefinitionFinder; } /** * Returns the cp definition link local service. * * @return the cp definition link local service */ public com.liferay.commerce.product.service.CPDefinitionLinkLocalService getCPDefinitionLinkLocalService() { return cpDefinitionLinkLocalService; } /** * Sets the cp definition link local service. * * @param cpDefinitionLinkLocalService the cp definition link local service */ public void setCPDefinitionLinkLocalService( com.liferay.commerce.product.service.CPDefinitionLinkLocalService cpDefinitionLinkLocalService) { this.cpDefinitionLinkLocalService = cpDefinitionLinkLocalService; } /** * Returns the cp definition link persistence. * * @return the cp definition link persistence */ public CPDefinitionLinkPersistence getCPDefinitionLinkPersistence() { return cpDefinitionLinkPersistence; } /** * Sets the cp definition link persistence. * * @param cpDefinitionLinkPersistence the cp definition link persistence */ public void setCPDefinitionLinkPersistence( CPDefinitionLinkPersistence cpDefinitionLinkPersistence) { this.cpDefinitionLinkPersistence = cpDefinitionLinkPersistence; } /** * Returns the cp definition localization persistence. * * @return the cp definition localization persistence */ public CPDefinitionLocalizationPersistence getCPDefinitionLocalizationPersistence() { return cpDefinitionLocalizationPersistence; } /** * Sets the cp definition localization persistence. * * @param cpDefinitionLocalizationPersistence the cp definition localization persistence */ public void setCPDefinitionLocalizationPersistence( CPDefinitionLocalizationPersistence cpDefinitionLocalizationPersistence) { this.cpDefinitionLocalizationPersistence = cpDefinitionLocalizationPersistence; } /** * Returns the cp definition option rel local service. * * @return the cp definition option rel local service */ public com.liferay.commerce.product.service.CPDefinitionOptionRelLocalService getCPDefinitionOptionRelLocalService() { return cpDefinitionOptionRelLocalService; } /** * Sets the cp definition option rel local service. * * @param cpDefinitionOptionRelLocalService the cp definition option rel local service */ public void setCPDefinitionOptionRelLocalService( com.liferay.commerce.product.service.CPDefinitionOptionRelLocalService cpDefinitionOptionRelLocalService) { this.cpDefinitionOptionRelLocalService = cpDefinitionOptionRelLocalService; } /** * Returns the cp definition option rel persistence. * * @return the cp definition option rel persistence */ public CPDefinitionOptionRelPersistence getCPDefinitionOptionRelPersistence() { return cpDefinitionOptionRelPersistence; } /** * Sets the cp definition option rel persistence. * * @param cpDefinitionOptionRelPersistence the cp definition option rel persistence */ public void setCPDefinitionOptionRelPersistence( CPDefinitionOptionRelPersistence cpDefinitionOptionRelPersistence) { this.cpDefinitionOptionRelPersistence = cpDefinitionOptionRelPersistence; } /** * Returns the cp definition option value rel local service. * * @return the cp definition option value rel local service */ public com.liferay.commerce.product.service.CPDefinitionOptionValueRelLocalService getCPDefinitionOptionValueRelLocalService() { return cpDefinitionOptionValueRelLocalService; } /** * Sets the cp definition option value rel local service. * * @param cpDefinitionOptionValueRelLocalService the cp definition option value rel local service */ public void setCPDefinitionOptionValueRelLocalService( com.liferay.commerce.product.service.CPDefinitionOptionValueRelLocalService cpDefinitionOptionValueRelLocalService) { this.cpDefinitionOptionValueRelLocalService = cpDefinitionOptionValueRelLocalService; } /** * Returns the cp definition option value rel persistence. * * @return the cp definition option value rel persistence */ public CPDefinitionOptionValueRelPersistence getCPDefinitionOptionValueRelPersistence() { return cpDefinitionOptionValueRelPersistence; } /** * Sets the cp definition option value rel persistence. * * @param cpDefinitionOptionValueRelPersistence the cp definition option value rel persistence */ public void setCPDefinitionOptionValueRelPersistence( CPDefinitionOptionValueRelPersistence cpDefinitionOptionValueRelPersistence) { this.cpDefinitionOptionValueRelPersistence = cpDefinitionOptionValueRelPersistence; } /** * Returns the cp definition specification option value local service. * * @return the cp definition specification option value local service */ public com.liferay.commerce.product.service.CPDefinitionSpecificationOptionValueLocalService getCPDefinitionSpecificationOptionValueLocalService() { return cpDefinitionSpecificationOptionValueLocalService; } /** * Sets the cp definition specification option value local service. * * @param cpDefinitionSpecificationOptionValueLocalService the cp definition specification option value local service */ public void setCPDefinitionSpecificationOptionValueLocalService( com.liferay.commerce.product.service.CPDefinitionSpecificationOptionValueLocalService cpDefinitionSpecificationOptionValueLocalService) { this.cpDefinitionSpecificationOptionValueLocalService = cpDefinitionSpecificationOptionValueLocalService; } /** * Returns the cp definition specification option value persistence. * * @return the cp definition specification option value persistence */ public CPDefinitionSpecificationOptionValuePersistence getCPDefinitionSpecificationOptionValuePersistence() { return cpDefinitionSpecificationOptionValuePersistence; } /** * Sets the cp definition specification option value persistence. * * @param cpDefinitionSpecificationOptionValuePersistence the cp definition specification option value persistence */ public void setCPDefinitionSpecificationOptionValuePersistence( CPDefinitionSpecificationOptionValuePersistence cpDefinitionSpecificationOptionValuePersistence) { this.cpDefinitionSpecificationOptionValuePersistence = cpDefinitionSpecificationOptionValuePersistence; } /** * Returns the cp display layout local service. * * @return the cp display layout local service */ public com.liferay.commerce.product.service.CPDisplayLayoutLocalService getCPDisplayLayoutLocalService() { return cpDisplayLayoutLocalService; } /** * Sets the cp display layout local service. * * @param cpDisplayLayoutLocalService the cp display layout local service */ public void setCPDisplayLayoutLocalService( com.liferay.commerce.product.service.CPDisplayLayoutLocalService cpDisplayLayoutLocalService) { this.cpDisplayLayoutLocalService = cpDisplayLayoutLocalService; } /** * Returns the cp display layout persistence. * * @return the cp display layout persistence */ public CPDisplayLayoutPersistence getCPDisplayLayoutPersistence() { return cpDisplayLayoutPersistence; } /** * Sets the cp display layout persistence. * * @param cpDisplayLayoutPersistence the cp display layout persistence */ public void setCPDisplayLayoutPersistence( CPDisplayLayoutPersistence cpDisplayLayoutPersistence) { this.cpDisplayLayoutPersistence = cpDisplayLayoutPersistence; } /** * Returns the cp friendly url entry local service. * * @return the cp friendly url entry local service */ public com.liferay.commerce.product.service.CPFriendlyURLEntryLocalService getCPFriendlyURLEntryLocalService() { return cpFriendlyURLEntryLocalService; } /** * Sets the cp friendly url entry local service. * * @param cpFriendlyURLEntryLocalService the cp friendly url entry local service */ public void setCPFriendlyURLEntryLocalService( com.liferay.commerce.product.service.CPFriendlyURLEntryLocalService cpFriendlyURLEntryLocalService) { this.cpFriendlyURLEntryLocalService = cpFriendlyURLEntryLocalService; } /** * Returns the cp friendly url entry persistence. * * @return the cp friendly url entry persistence */ public CPFriendlyURLEntryPersistence getCPFriendlyURLEntryPersistence() { return cpFriendlyURLEntryPersistence; } /** * Sets the cp friendly url entry persistence. * * @param cpFriendlyURLEntryPersistence the cp friendly url entry persistence */ public void setCPFriendlyURLEntryPersistence( CPFriendlyURLEntryPersistence cpFriendlyURLEntryPersistence) { this.cpFriendlyURLEntryPersistence = cpFriendlyURLEntryPersistence; } /** * Returns the cp instance local service. * * @return the cp instance local service */ public com.liferay.commerce.product.service.CPInstanceLocalService getCPInstanceLocalService() { return cpInstanceLocalService; } /** * Sets the cp instance local service. * * @param cpInstanceLocalService the cp instance local service */ public void setCPInstanceLocalService( com.liferay.commerce.product.service.CPInstanceLocalService cpInstanceLocalService) { this.cpInstanceLocalService = cpInstanceLocalService; } /** * Returns the cp instance persistence. * * @return the cp instance persistence */ public CPInstancePersistence getCPInstancePersistence() { return cpInstancePersistence; } /** * Sets the cp instance persistence. * * @param cpInstancePersistence the cp instance persistence */ public void setCPInstancePersistence( CPInstancePersistence cpInstancePersistence) { this.cpInstancePersistence = cpInstancePersistence; } /** * Returns the cp instance finder. * * @return the cp instance finder */ public CPInstanceFinder getCPInstanceFinder() { return cpInstanceFinder; } /** * Sets the cp instance finder. * * @param cpInstanceFinder the cp instance finder */ public void setCPInstanceFinder(CPInstanceFinder cpInstanceFinder) { this.cpInstanceFinder = cpInstanceFinder; } /** * Returns the cp measurement unit local service. * * @return the cp measurement unit local service */ public CPMeasurementUnitLocalService getCPMeasurementUnitLocalService() { return cpMeasurementUnitLocalService; } /** * Sets the cp measurement unit local service. * * @param cpMeasurementUnitLocalService the cp measurement unit local service */ public void setCPMeasurementUnitLocalService( CPMeasurementUnitLocalService cpMeasurementUnitLocalService) { this.cpMeasurementUnitLocalService = cpMeasurementUnitLocalService; } /** * Returns the cp measurement unit persistence. * * @return the cp measurement unit persistence */ public CPMeasurementUnitPersistence getCPMeasurementUnitPersistence() { return cpMeasurementUnitPersistence; } /** * Sets the cp measurement unit persistence. * * @param cpMeasurementUnitPersistence the cp measurement unit persistence */ public void setCPMeasurementUnitPersistence( CPMeasurementUnitPersistence cpMeasurementUnitPersistence) { this.cpMeasurementUnitPersistence = cpMeasurementUnitPersistence; } /** * Returns the cp option local service. * * @return the cp option local service */ public com.liferay.commerce.product.service.CPOptionLocalService getCPOptionLocalService() { return cpOptionLocalService; } /** * Sets the cp option local service. * * @param cpOptionLocalService the cp option local service */ public void setCPOptionLocalService( com.liferay.commerce.product.service.CPOptionLocalService cpOptionLocalService) { this.cpOptionLocalService = cpOptionLocalService; } /** * Returns the cp option persistence. * * @return the cp option persistence */ public CPOptionPersistence getCPOptionPersistence() { return cpOptionPersistence; } /** * Sets the cp option persistence. * * @param cpOptionPersistence the cp option persistence */ public void setCPOptionPersistence(CPOptionPersistence cpOptionPersistence) { this.cpOptionPersistence = cpOptionPersistence; } /** * Returns the cp option category local service. * * @return the cp option category local service */ public com.liferay.commerce.product.service.CPOptionCategoryLocalService getCPOptionCategoryLocalService() { return cpOptionCategoryLocalService; } /** * Sets the cp option category local service. * * @param cpOptionCategoryLocalService the cp option category local service */ public void setCPOptionCategoryLocalService( com.liferay.commerce.product.service.CPOptionCategoryLocalService cpOptionCategoryLocalService) { this.cpOptionCategoryLocalService = cpOptionCategoryLocalService; } /** * Returns the cp option category persistence. * * @return the cp option category persistence */ public CPOptionCategoryPersistence getCPOptionCategoryPersistence() { return cpOptionCategoryPersistence; } /** * Sets the cp option category persistence. * * @param cpOptionCategoryPersistence the cp option category persistence */ public void setCPOptionCategoryPersistence( CPOptionCategoryPersistence cpOptionCategoryPersistence) { this.cpOptionCategoryPersistence = cpOptionCategoryPersistence; } /** * Returns the cp option value local service. * * @return the cp option value local service */ public com.liferay.commerce.product.service.CPOptionValueLocalService getCPOptionValueLocalService() { return cpOptionValueLocalService; } /** * Sets the cp option value local service. * * @param cpOptionValueLocalService the cp option value local service */ public void setCPOptionValueLocalService( com.liferay.commerce.product.service.CPOptionValueLocalService cpOptionValueLocalService) { this.cpOptionValueLocalService = cpOptionValueLocalService; } /** * Returns the cp option value persistence. * * @return the cp option value persistence */ public CPOptionValuePersistence getCPOptionValuePersistence() { return cpOptionValuePersistence; } /** * Sets the cp option value persistence. * * @param cpOptionValuePersistence the cp option value persistence */ public void setCPOptionValuePersistence( CPOptionValuePersistence cpOptionValuePersistence) { this.cpOptionValuePersistence = cpOptionValuePersistence; } /** * Returns the cp rule local service. * * @return the cp rule local service */ public com.liferay.commerce.product.service.CPRuleLocalService getCPRuleLocalService() { return cpRuleLocalService; } /** * Sets the cp rule local service. * * @param cpRuleLocalService the cp rule local service */ public void setCPRuleLocalService( com.liferay.commerce.product.service.CPRuleLocalService cpRuleLocalService) { this.cpRuleLocalService = cpRuleLocalService; } /** * Returns the cp rule persistence. * * @return the cp rule persistence */ public CPRulePersistence getCPRulePersistence() { return cpRulePersistence; } /** * Sets the cp rule persistence. * * @param cpRulePersistence the cp rule persistence */ public void setCPRulePersistence(CPRulePersistence cpRulePersistence) { this.cpRulePersistence = cpRulePersistence; } /** * Returns the cp rule asset category rel local service. * * @return the cp rule asset category rel local service */ public com.liferay.commerce.product.service.CPRuleAssetCategoryRelLocalService getCPRuleAssetCategoryRelLocalService() { return cpRuleAssetCategoryRelLocalService; } /** * Sets the cp rule asset category rel local service. * * @param cpRuleAssetCategoryRelLocalService the cp rule asset category rel local service */ public void setCPRuleAssetCategoryRelLocalService( com.liferay.commerce.product.service.CPRuleAssetCategoryRelLocalService cpRuleAssetCategoryRelLocalService) { this.cpRuleAssetCategoryRelLocalService = cpRuleAssetCategoryRelLocalService; } /** * Returns the cp rule asset category rel persistence. * * @return the cp rule asset category rel persistence */ public CPRuleAssetCategoryRelPersistence getCPRuleAssetCategoryRelPersistence() { return cpRuleAssetCategoryRelPersistence; } /** * Sets the cp rule asset category rel persistence. * * @param cpRuleAssetCategoryRelPersistence the cp rule asset category rel persistence */ public void setCPRuleAssetCategoryRelPersistence( CPRuleAssetCategoryRelPersistence cpRuleAssetCategoryRelPersistence) { this.cpRuleAssetCategoryRelPersistence = cpRuleAssetCategoryRelPersistence; } /** * Returns the cp rule user segment rel local service. * * @return the cp rule user segment rel local service */ public com.liferay.commerce.product.service.CPRuleUserSegmentRelLocalService getCPRuleUserSegmentRelLocalService() { return cpRuleUserSegmentRelLocalService; } /** * Sets the cp rule user segment rel local service. * * @param cpRuleUserSegmentRelLocalService the cp rule user segment rel local service */ public void setCPRuleUserSegmentRelLocalService( com.liferay.commerce.product.service.CPRuleUserSegmentRelLocalService cpRuleUserSegmentRelLocalService) { this.cpRuleUserSegmentRelLocalService = cpRuleUserSegmentRelLocalService; } /** * Returns the cp rule user segment rel persistence. * * @return the cp rule user segment rel persistence */ public CPRuleUserSegmentRelPersistence getCPRuleUserSegmentRelPersistence() { return cpRuleUserSegmentRelPersistence; } /** * Sets the cp rule user segment rel persistence. * * @param cpRuleUserSegmentRelPersistence the cp rule user segment rel persistence */ public void setCPRuleUserSegmentRelPersistence( CPRuleUserSegmentRelPersistence cpRuleUserSegmentRelPersistence) { this.cpRuleUserSegmentRelPersistence = cpRuleUserSegmentRelPersistence; } /** * Returns the cp specification option local service. * * @return the cp specification option local service */ public com.liferay.commerce.product.service.CPSpecificationOptionLocalService getCPSpecificationOptionLocalService() { return cpSpecificationOptionLocalService; } /** * Sets the cp specification option local service. * * @param cpSpecificationOptionLocalService the cp specification option local service */ public void setCPSpecificationOptionLocalService( com.liferay.commerce.product.service.CPSpecificationOptionLocalService cpSpecificationOptionLocalService) { this.cpSpecificationOptionLocalService = cpSpecificationOptionLocalService; } /** * Returns the cp specification option persistence. * * @return the cp specification option persistence */ public CPSpecificationOptionPersistence getCPSpecificationOptionPersistence() { return cpSpecificationOptionPersistence; } /** * Sets the cp specification option persistence. * * @param cpSpecificationOptionPersistence the cp specification option persistence */ public void setCPSpecificationOptionPersistence( CPSpecificationOptionPersistence cpSpecificationOptionPersistence) { this.cpSpecificationOptionPersistence = cpSpecificationOptionPersistence; } /** * Returns the cp tax category local service. * * @return the cp tax category local service */ public com.liferay.commerce.product.service.CPTaxCategoryLocalService getCPTaxCategoryLocalService() { return cpTaxCategoryLocalService; } /** * Sets the cp tax category local service. * * @param cpTaxCategoryLocalService the cp tax category local service */ public void setCPTaxCategoryLocalService( com.liferay.commerce.product.service.CPTaxCategoryLocalService cpTaxCategoryLocalService) { this.cpTaxCategoryLocalService = cpTaxCategoryLocalService; } /** * Returns the cp tax category persistence. * * @return the cp tax category persistence */ public CPTaxCategoryPersistence getCPTaxCategoryPersistence() { return cpTaxCategoryPersistence; } /** * Sets the cp tax category persistence. * * @param cpTaxCategoryPersistence the cp tax category persistence */ public void setCPTaxCategoryPersistence( CPTaxCategoryPersistence cpTaxCategoryPersistence) { this.cpTaxCategoryPersistence = cpTaxCategoryPersistence; } /** * Returns the counter local service. * * @return the counter local service */ public com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService() { return counterLocalService; } /** * Sets the counter local service. * * @param counterLocalService the counter local service */ public void setCounterLocalService( com.liferay.counter.kernel.service.CounterLocalService counterLocalService) { this.counterLocalService = counterLocalService; } /** * Returns the class name local service. * * @return the class name local service */ public com.liferay.portal.kernel.service.ClassNameLocalService getClassNameLocalService() { return classNameLocalService; } /** * Sets the class name local service. * * @param classNameLocalService the class name local service */ public void setClassNameLocalService( com.liferay.portal.kernel.service.ClassNameLocalService classNameLocalService) { this.classNameLocalService = classNameLocalService; } /** * Returns the class name persistence. * * @return the class name persistence */ public ClassNamePersistence getClassNamePersistence() { return classNamePersistence; } /** * Sets the class name persistence. * * @param classNamePersistence the class name persistence */ public void setClassNamePersistence( ClassNamePersistence classNamePersistence) { this.classNamePersistence = classNamePersistence; } /** * Returns the resource local service. * * @return the resource local service */ public com.liferay.portal.kernel.service.ResourceLocalService getResourceLocalService() { return resourceLocalService; } /** * Sets the resource local service. * * @param resourceLocalService the resource local service */ public void setResourceLocalService( com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService) { this.resourceLocalService = resourceLocalService; } /** * Returns the user local service. * * @return the user local service */ public com.liferay.portal.kernel.service.UserLocalService getUserLocalService() { return userLocalService; } /** * Sets the user local service. * * @param userLocalService the user local service */ public void setUserLocalService( com.liferay.portal.kernel.service.UserLocalService userLocalService) { this.userLocalService = userLocalService; } /** * Returns the user persistence. * * @return the user persistence */ public UserPersistence getUserPersistence() { return userPersistence; } /** * Sets the user persistence. * * @param userPersistence the user persistence */ public void setUserPersistence(UserPersistence userPersistence) { this.userPersistence = userPersistence; } public void afterPropertiesSet() { persistedModelLocalServiceRegistry.register("com.liferay.commerce.product.model.CPMeasurementUnit", cpMeasurementUnitLocalService); } public void destroy() { persistedModelLocalServiceRegistry.unregister( "com.liferay.commerce.product.model.CPMeasurementUnit"); } /** * Returns the OSGi service identifier. * * @return the OSGi service identifier */ @Override public String getOSGiServiceIdentifier() { return CPMeasurementUnitLocalService.class.getName(); } protected Class getModelClass() { return CPMeasurementUnit.class; } protected String getModelClassName() { return CPMeasurementUnit.class.getName(); } /** * Performs a SQL query. * * @param sql the sql query */ protected void runSQL(String sql) { try { DataSource dataSource = cpMeasurementUnitPersistence.getDataSource(); DB db = DBManagerUtil.getDB(); sql = db.buildSQL(sql); sql = PortalUtil.transformSQL(sql); SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, sql); sqlUpdate.update(); } catch (Exception e) { throw new SystemException(e); } } @BeanReference(type = com.liferay.commerce.product.service.CPAttachmentFileEntryLocalService.class) protected com.liferay.commerce.product.service.CPAttachmentFileEntryLocalService cpAttachmentFileEntryLocalService; @BeanReference(type = CPAttachmentFileEntryPersistence.class) protected CPAttachmentFileEntryPersistence cpAttachmentFileEntryPersistence; @BeanReference(type = CPAttachmentFileEntryFinder.class) protected CPAttachmentFileEntryFinder cpAttachmentFileEntryFinder; @BeanReference(type = com.liferay.commerce.product.service.CPDefinitionLocalService.class) protected com.liferay.commerce.product.service.CPDefinitionLocalService cpDefinitionLocalService; @BeanReference(type = CPDefinitionPersistence.class) protected CPDefinitionPersistence cpDefinitionPersistence; @BeanReference(type = CPDefinitionFinder.class) protected CPDefinitionFinder cpDefinitionFinder; @BeanReference(type = com.liferay.commerce.product.service.CPDefinitionLinkLocalService.class) protected com.liferay.commerce.product.service.CPDefinitionLinkLocalService cpDefinitionLinkLocalService; @BeanReference(type = CPDefinitionLinkPersistence.class) protected CPDefinitionLinkPersistence cpDefinitionLinkPersistence; @BeanReference(type = CPDefinitionLocalizationPersistence.class) protected CPDefinitionLocalizationPersistence cpDefinitionLocalizationPersistence; @BeanReference(type = com.liferay.commerce.product.service.CPDefinitionOptionRelLocalService.class) protected com.liferay.commerce.product.service.CPDefinitionOptionRelLocalService cpDefinitionOptionRelLocalService; @BeanReference(type = CPDefinitionOptionRelPersistence.class) protected CPDefinitionOptionRelPersistence cpDefinitionOptionRelPersistence; @BeanReference(type = com.liferay.commerce.product.service.CPDefinitionOptionValueRelLocalService.class) protected com.liferay.commerce.product.service.CPDefinitionOptionValueRelLocalService cpDefinitionOptionValueRelLocalService; @BeanReference(type = CPDefinitionOptionValueRelPersistence.class) protected CPDefinitionOptionValueRelPersistence cpDefinitionOptionValueRelPersistence; @BeanReference(type = com.liferay.commerce.product.service.CPDefinitionSpecificationOptionValueLocalService.class) protected com.liferay.commerce.product.service.CPDefinitionSpecificationOptionValueLocalService cpDefinitionSpecificationOptionValueLocalService; @BeanReference(type = CPDefinitionSpecificationOptionValuePersistence.class) protected CPDefinitionSpecificationOptionValuePersistence cpDefinitionSpecificationOptionValuePersistence; @BeanReference(type = com.liferay.commerce.product.service.CPDisplayLayoutLocalService.class) protected com.liferay.commerce.product.service.CPDisplayLayoutLocalService cpDisplayLayoutLocalService; @BeanReference(type = CPDisplayLayoutPersistence.class) protected CPDisplayLayoutPersistence cpDisplayLayoutPersistence; @BeanReference(type = com.liferay.commerce.product.service.CPFriendlyURLEntryLocalService.class) protected com.liferay.commerce.product.service.CPFriendlyURLEntryLocalService cpFriendlyURLEntryLocalService; @BeanReference(type = CPFriendlyURLEntryPersistence.class) protected CPFriendlyURLEntryPersistence cpFriendlyURLEntryPersistence; @BeanReference(type = com.liferay.commerce.product.service.CPInstanceLocalService.class) protected com.liferay.commerce.product.service.CPInstanceLocalService cpInstanceLocalService; @BeanReference(type = CPInstancePersistence.class) protected CPInstancePersistence cpInstancePersistence; @BeanReference(type = CPInstanceFinder.class) protected CPInstanceFinder cpInstanceFinder; @BeanReference(type = CPMeasurementUnitLocalService.class) protected CPMeasurementUnitLocalService cpMeasurementUnitLocalService; @BeanReference(type = CPMeasurementUnitPersistence.class) protected CPMeasurementUnitPersistence cpMeasurementUnitPersistence; @BeanReference(type = com.liferay.commerce.product.service.CPOptionLocalService.class) protected com.liferay.commerce.product.service.CPOptionLocalService cpOptionLocalService; @BeanReference(type = CPOptionPersistence.class) protected CPOptionPersistence cpOptionPersistence; @BeanReference(type = com.liferay.commerce.product.service.CPOptionCategoryLocalService.class) protected com.liferay.commerce.product.service.CPOptionCategoryLocalService cpOptionCategoryLocalService; @BeanReference(type = CPOptionCategoryPersistence.class) protected CPOptionCategoryPersistence cpOptionCategoryPersistence; @BeanReference(type = com.liferay.commerce.product.service.CPOptionValueLocalService.class) protected com.liferay.commerce.product.service.CPOptionValueLocalService cpOptionValueLocalService; @BeanReference(type = CPOptionValuePersistence.class) protected CPOptionValuePersistence cpOptionValuePersistence; @BeanReference(type = com.liferay.commerce.product.service.CPRuleLocalService.class) protected com.liferay.commerce.product.service.CPRuleLocalService cpRuleLocalService; @BeanReference(type = CPRulePersistence.class) protected CPRulePersistence cpRulePersistence; @BeanReference(type = com.liferay.commerce.product.service.CPRuleAssetCategoryRelLocalService.class) protected com.liferay.commerce.product.service.CPRuleAssetCategoryRelLocalService cpRuleAssetCategoryRelLocalService; @BeanReference(type = CPRuleAssetCategoryRelPersistence.class) protected CPRuleAssetCategoryRelPersistence cpRuleAssetCategoryRelPersistence; @BeanReference(type = com.liferay.commerce.product.service.CPRuleUserSegmentRelLocalService.class) protected com.liferay.commerce.product.service.CPRuleUserSegmentRelLocalService cpRuleUserSegmentRelLocalService; @BeanReference(type = CPRuleUserSegmentRelPersistence.class) protected CPRuleUserSegmentRelPersistence cpRuleUserSegmentRelPersistence; @BeanReference(type = com.liferay.commerce.product.service.CPSpecificationOptionLocalService.class) protected com.liferay.commerce.product.service.CPSpecificationOptionLocalService cpSpecificationOptionLocalService; @BeanReference(type = CPSpecificationOptionPersistence.class) protected CPSpecificationOptionPersistence cpSpecificationOptionPersistence; @BeanReference(type = com.liferay.commerce.product.service.CPTaxCategoryLocalService.class) protected com.liferay.commerce.product.service.CPTaxCategoryLocalService cpTaxCategoryLocalService; @BeanReference(type = CPTaxCategoryPersistence.class) protected CPTaxCategoryPersistence cpTaxCategoryPersistence; @ServiceReference(type = com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService; @ServiceReference(type = com.liferay.portal.kernel.service.ClassNameLocalService.class) protected com.liferay.portal.kernel.service.ClassNameLocalService classNameLocalService; @ServiceReference(type = ClassNamePersistence.class) protected ClassNamePersistence classNamePersistence; @ServiceReference(type = com.liferay.portal.kernel.service.ResourceLocalService.class) protected com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService; @ServiceReference(type = com.liferay.portal.kernel.service.UserLocalService.class) protected com.liferay.portal.kernel.service.UserLocalService userLocalService; @ServiceReference(type = UserPersistence.class) protected UserPersistence userPersistence; @ServiceReference(type = PersistedModelLocalServiceRegistry.class) protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy