Adds the commerce tax method to the database. Also notifies the appropriate model listeners.

@param commerceTaxMethod the commerce tax method
@return the commerce tax method that was added
505851
public static com.liferay.commerce.tax.model.CommerceTaxMethod addCommerceTaxMethod(
		com.liferay.commerce.tax.model.CommerceTaxMethod commerceTaxMethod) {
		return getService().addCommerceTaxMethod(commerceTaxMethod);
	}
110034
@Override
	@Transactional(enabled = false)
	public CommerceTaxFixedRate createCommerceTaxFixedRate(
		long commerceTaxFixedRateId) {
		return commerceTaxFixedRatePersistence.create(commerceTaxFixedRateId);
	}
514956
public static com.liferay.commerce.tax.engine.fixed.model.CommerceTaxFixedRate updateCommerceTaxFixedRate(
		com.liferay.commerce.tax.engine.fixed.model.CommerceTaxFixedRate commerceTaxFixedRate) {
		return getService().updateCommerceTaxFixedRate(commerceTaxFixedRate);
	}
1299902
public static List<CommerceTaxMethod> toModels(
		CommerceTaxMethodSoap[] soapModels) {
		if (soapModels == null) {
			return null;
		}

		List<CommerceTaxMethod> models = new ArrayList<CommerceTaxMethod>(soapModels.length);

		for (CommerceTaxMethodSoap soapModel : soapModels) {
			models.add(toModel(soapModel));
		}

		return models;
	}
373675
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceCurrency addCommerceCurrency(
		CommerceCurrency commerceCurrency) {
		commerceCurrency.setNew(true);

		return commerceCurrencyPersistence.update(commerceCurrency);
	}
1094922
@Override
	public List<CommerceTaxFixedRate> findByCommerceTaxMethodId(
		long commerceTaxMethodId) {
		return findByCommerceTaxMethodId(commerceTaxMethodId,
			QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
940807
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceWarehouseItem addCommerceWarehouseItem(
		CommerceWarehouseItem commerceWarehouseItem) {
		commerceWarehouseItem.setNew(true);

		return commerceWarehouseItemPersistence.update(commerceWarehouseItem);
	}
990793
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceWarehouse addCommerceWarehouse(
		CommerceWarehouse commerceWarehouse) {
		commerceWarehouse.setNew(true);

		return commerceWarehousePersistence.update(commerceWarehouse);
	}
545433
public void setCommerceTaxFixedRateAddressRelLocalService(
		com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateAddressRelLocalService commerceTaxFixedRateAddressRelLocalService) {
		this.commerceTaxFixedRateAddressRelLocalService = commerceTaxFixedRateAddressRelLocalService;
	}
992112
@Override
	@Transactional(enabled = false)
	public CommerceTaxMethod createCommerceTaxMethod(long commerceTaxMethodId) {
		return commerceTaxMethodPersistence.create(commerceTaxMethodId);
	}
211768
@Override
	public void cacheResult(CommerceTaxFixedRate commerceTaxFixedRate) {
		entityCache.putResult(CommerceTaxFixedRateModelImpl.ENTITY_CACHE_ENABLED,
			CommerceTaxFixedRateImpl.class,
			commerceTaxFixedRate.getPrimaryKey(), commerceTaxFixedRate);

		finderCache.putResult(FINDER_PATH_FETCH_BY_C_C,
			new Object[] {
				commerceTaxFixedRate.getCPTaxCategoryId(),
				commerceTaxFixedRate.getCommerceTaxMethodId()
			}, commerceTaxFixedRate);

		commerceTaxFixedRate.resetOriginalValues();
	}
267167
public com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateLocalService getCommerceTaxFixedRateLocalService() {
		return commerceTaxFixedRateLocalService;
	}
354966
@Override
	public List<CommerceTaxMethod> findAll() {
		return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
659120
public static com.liferay.commerce.model.CommerceOrderItem addCommerceOrderItem(
		com.liferay.commerce.model.CommerceOrderItem commerceOrderItem) {
		return getService().addCommerceOrderItem(commerceOrderItem);
	}
261482
@Override
	public com.liferay.commerce.model.CommerceWarehouse updateCommerceWarehouse(
		com.liferay.commerce.model.CommerceWarehouse commerceWarehouse) {
		return _commerceWarehouseLocalService.updateCommerceWarehouse(commerceWarehouse);
	}
569659
@Override
	public CommerceTaxMethod create(long commerceTaxMethodId) {
		CommerceTaxMethod commerceTaxMethod = new CommerceTaxMethodImpl();

		commerceTaxMethod.setNew(true);
		commerceTaxMethod.setPrimaryKey(commerceTaxMethodId);

		commerceTaxMethod.setCompanyId(companyProvider.getCompanyId());

		return commerceTaxMethod;
	}
1219625
public static com.liferay.commerce.model.CommerceShipmentItem addCommerceShipmentItem(
		com.liferay.commerce.model.CommerceShipmentItem commerceShipmentItem) {
		return getService().addCommerceShipmentItem(commerceShipmentItem);
	}