com.liferay.commerce.service.persistence.impl.CommerceOrderItemFinderBaseImpl Maven / Gradle / Ivy
The newest version!
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.commerce.service.persistence.impl;
import com.liferay.commerce.model.CommerceOrderItem;
import com.liferay.commerce.service.persistence.CommerceOrderItemPersistence;
import com.liferay.commerce.service.persistence.impl.constants.CommercePersistenceConstants;
import com.liferay.portal.kernel.configuration.Configuration;
import com.liferay.portal.kernel.dao.orm.SessionFactory;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import javax.sql.DataSource;
import org.osgi.service.component.annotations.Reference;
/**
* @author Alessio Antonio Rendina
* @generated
*/
public abstract class CommerceOrderItemFinderBaseImpl
extends BasePersistenceImpl {
public CommerceOrderItemFinderBaseImpl() {
setModelClass(CommerceOrderItem.class);
Map dbColumnNames = new HashMap();
dbColumnNames.put("uuid", "uuid_");
dbColumnNames.put(
"commerceInventoryBookedQuantityId", "CIBookedQuantityId");
dbColumnNames.put(
"deliverySubscriptionTypeSettings", "deliverySubTypeSettings");
dbColumnNames.put(
"discountPercentageLevel1WithTaxAmount",
"discountPctLevel1WithTaxAmount");
dbColumnNames.put(
"discountPercentageLevel2WithTaxAmount",
"discountPctLevel2WithTaxAmount");
dbColumnNames.put(
"discountPercentageLevel3WithTaxAmount",
"discountPctLevel3WithTaxAmount");
dbColumnNames.put(
"discountPercentageLevel4WithTaxAmount",
"discountPctLevel4WithTaxAmount");
dbColumnNames.put(
"unitOfMeasureIncrementalOrderQuantity",
"UOMIncrementalOrderQuantity");
setDBColumnNames(dbColumnNames);
}
@Override
public Set getBadColumnNames() {
return commerceOrderItemPersistence.getBadColumnNames();
}
@Override
@Reference(
target = CommercePersistenceConstants.SERVICE_CONFIGURATION_FILTER,
unbind = "-"
)
public void setConfiguration(Configuration configuration) {
}
@Override
@Reference(
target = CommercePersistenceConstants.ORIGIN_BUNDLE_SYMBOLIC_NAME_FILTER,
unbind = "-"
)
public void setDataSource(DataSource dataSource) {
super.setDataSource(dataSource);
}
@Override
@Reference(
target = CommercePersistenceConstants.ORIGIN_BUNDLE_SYMBOLIC_NAME_FILTER,
unbind = "-"
)
public void setSessionFactory(SessionFactory sessionFactory) {
super.setSessionFactory(sessionFactory);
}
@Reference
protected CommerceOrderItemPersistence commerceOrderItemPersistence;
private static final Log _log = LogFactoryUtil.getLog(
CommerceOrderItemFinderBaseImpl.class);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy