Sets the cp option remote service.

@param cpOptionService the cp option remote service
439551
public void setCPOptionService(
		com.liferay.commerce.product.service.CPOptionService cpOptionService) {
		this.cpOptionService = cpOptionService;
	}
497432
@Trivial
    @Reference(name = "remoteIp",
               service = ChannelConfiguration.class,
               policy = ReferencePolicy.DYNAMIC,
               policyOption = ReferencePolicyOption.GREEDY,
               cardinality = ReferenceCardinality.MANDATORY)
    protected void setRemoteIp(ChannelConfiguration config) {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
            Tr.event(this, tc, "set remote ip " + config.getProperty("id"), this);
        }
        this.remoteIpConfig = config;
        if (remoteIpConfig != null) {
            performAction(updateAction);
        }
    }
1127468
@Override
    public void setService(final String name, final FrameworkSupportService service){
        synchronized (services){
            if(null==services.get(name) && null!=service) {
                services.put(name, service);
            }else if(null==service) {
                services.remove(name);
            }
        }
    }
561568
@Override
	public void cacheResult(List<CPSpecificationOption> cpSpecificationOptions) {
		for (CPSpecificationOption cpSpecificationOption : cpSpecificationOptions) {
			if (entityCache.getResult(
						CPSpecificationOptionModelImpl.ENTITY_CACHE_ENABLED,
						CPSpecificationOptionImpl.class,
						cpSpecificationOption.getPrimaryKey()) == null) {
				cacheResult(cpSpecificationOption);
			}
			else {
				cpSpecificationOption.resetOriginalValues();
			}
		}
	}
180167
@Override
	public com.liferay.commerce.product.model.CPOptionValue addCPOptionValue(
		com.liferay.commerce.product.model.CPOptionValue cpOptionValue) {
		return _cpOptionValueLocalService.addCPOptionValue(cpOptionValue);
	}
398356
@Override
	public void cacheResult(List<CPOptionValue> cpOptionValues) {
		for (CPOptionValue cpOptionValue : cpOptionValues) {
			if (entityCache.getResult(
						CPOptionValueModelImpl.ENTITY_CACHE_ENABLED,
						CPOptionValueImpl.class, cpOptionValue.getPrimaryKey()) == null) {
				cacheResult(cpOptionValue);
			}
			else {
				cpOptionValue.resetOriginalValues();
			}
		}
	}
606577
public void setOptions(Options opts) throws IOException, ServerException {
        Command cmd = new Command("OPTS", opts.toFtpCmdArgument());

        try {
            controlChannel.execute(cmd);
        } catch (FTPReplyParseException rpe) {
            throw ServerException.embedFTPReplyParseException(rpe);
        } catch (UnexpectedReplyCodeException urce) {
            throw ServerException.embedUnexpectedReplyCodeException(
                                urce,
                                "Server refused setting options");
        }

        localServer.setOptions(opts);
    }
933572
public void setCPDefinitionOptionValueRelService(
		com.liferay.commerce.product.service.CPDefinitionOptionValueRelService cpDefinitionOptionValueRelService) {
		this.cpDefinitionOptionValueRelService = cpDefinitionOptionValueRelService;
	}
893444
@Trivial
    protected void setSslOptions(ServiceReference<ChannelConfiguration> service) {

        sslOptions.setReference(service);
        wsocSecureChain.setConfigured(true);
        performAction(updateAction);
    }
1294144
@Override
	public void removeByCPOptionId(long CPOptionId) {
		for (CPOptionValue cpOptionValue : findByCPOptionId(CPOptionId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpOptionValue);
		}
	}
352403
public void setCProductLocalService(
		com.liferay.commerce.product.service.CProductLocalService cProductLocalService) {
		this.cProductLocalService = cProductLocalService;
	}
674177
@Override
	public void cacheResult(
		List<CPDefinitionSpecificationOptionValue> cpDefinitionSpecificationOptionValues) {
		for (CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue : cpDefinitionSpecificationOptionValues) {
			if (entityCache.getResult(
						CPDefinitionSpecificationOptionValueModelImpl.ENTITY_CACHE_ENABLED,
						CPDefinitionSpecificationOptionValueImpl.class,
						cpDefinitionSpecificationOptionValue.getPrimaryKey()) == null) {
				cacheResult(cpDefinitionSpecificationOptionValue);
			}
			else {
				cpDefinitionSpecificationOptionValue.resetOriginalValues();
			}
		}
	}
88362
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CPSpecificationOption addCPSpecificationOption(
		CPSpecificationOption cpSpecificationOption) {
		cpSpecificationOption.setNew(true);

		return cpSpecificationOptionPersistence.update(cpSpecificationOption);
	}
36556
public void setOptions(java.util.Collection<Option> options) {
        if (options == null) {
            this.options = null;
            return;
        }

        this.options = new com.amazonaws.internal.SdkInternalList<Option>(options);
    }
194162
public void setCPDefinitionSpecificationOptionValueService(
		com.liferay.commerce.product.service.CPDefinitionSpecificationOptionValueService cpDefinitionSpecificationOptionValueService) {
		this.cpDefinitionSpecificationOptionValueService = cpDefinitionSpecificationOptionValueService;
	}
354608
@Override
	public synchronized void setOption(String name, String value) throws IOException {
		// update the property
		Properties props = getProps();
		if (value == null) {
			props.remove(name);
		} else {
			props.setProperty(name, value);
		}
		setProps(props);
		// Persist the new properties
		saveProps(props);

		long seq = SequenceNumberProvider.incrementAndGetSequenceNumber();
		// Notify update listeners
		updateNotify(seq);
		// Notify options instances using the same properties file
		propsFileUpdateNotify(props, seq);

	}
1003922
public void setCounterLocalService(
		com.liferay.counter.kernel.service.CounterLocalService counterLocalService) {
		this.counterLocalService = counterLocalService;
	}