Returns the cp definition virtual setting local service.

@return the cp definition virtual setting local service
553713
public com.liferay.commerce.product.type.virtual.service.CPDefinitionVirtualSettingLocalService getCPDefinitionVirtualSettingLocalService() {
		return cpDefinitionVirtualSettingLocalService;
	}
422226
public static com.liferay.commerce.product.model.CPDefinitionLink createCPDefinitionLink(
		long CPDefinitionLinkId) {
		return getService().createCPDefinitionLink(CPDefinitionLinkId);
	}
1224725
public static String getContextServiceName()
    {
        ServiceContext context = (ServiceContext) _localContext.get();

        if (context != null)
            return context._serviceName;
        else
            return null;
    }
1335954
@Override
	public com.liferay.commerce.product.model.CPDefinitionOptionRel createCPDefinitionOptionRel(
		long CPDefinitionOptionRelId) {
		return _cpDefinitionOptionRelLocalService.createCPDefinitionOptionRel(CPDefinitionOptionRelId);
	}
661584
public static String getServiceName()
    {
        ServiceContext context = (ServiceContext) _localContext.get();

        if (context != null)
            return context._serviceName;
        else
            return null;
    }
526274
public void setCPAttachmentFileEntryLocalService(
		com.liferay.commerce.product.service.CPAttachmentFileEntryLocalService cpAttachmentFileEntryLocalService) {
		this.cpAttachmentFileEntryLocalService = cpAttachmentFileEntryLocalService;
	}
861951
public static com.liferay.commerce.product.model.CPDefinitionOptionRel createCPDefinitionOptionRel(
		long CPDefinitionOptionRelId) {
		return getService().createCPDefinitionOptionRel(CPDefinitionOptionRelId);
	}
1102964
public SIMPIterator getVirtualLinkIterator()
  {
    LinkTypeFilter filter = new LinkTypeFilter();
    ControllableIterator linkItr = new ControllableIterator(destinationManager.getLinkIndex().iterator(filter));
    // If we have any links in the preReconstituted cache then merge them now
    if (!links.isEmpty())
    {
      while(linkItr.hasNext())
      {
         VirtualLinkControl linkControl = (VirtualLinkControl)linkItr.next();
         if(links.get(linkControl.getName())!=null)
           linkControl.merge((VirtualLinkControl)links.remove(linkControl.getName()));
      }
      linkItr.finished();
      linkItr =  new ControllableIterator(destinationManager.getLinkIndex().iterator(filter));
    }
    return linkItr;
  }
1136150
public static CPDefinitionVirtualSetting toModel(
		CPDefinitionVirtualSettingSoap soapModel) {
		if (soapModel == null) {
			return null;
		}

		CPDefinitionVirtualSetting model = new CPDefinitionVirtualSettingImpl();

		model.setUuid(soapModel.getUuid());
		model.setCPDefinitionVirtualSettingId(soapModel.getCPDefinitionVirtualSettingId());
		model.setGroupId(soapModel.getGroupId());
		model.setCompanyId(soapModel.getCompanyId());
		model.setUserId(soapModel.getUserId());
		model.setUserName(soapModel.getUserName());
		model.setCreateDate(soapModel.getCreateDate());
		model.setModifiedDate(soapModel.getModifiedDate());
		model.setClassNameId(soapModel.getClassNameId());
		model.setClassPK(soapModel.getClassPK());
		model.setFileEntryId(soapModel.getFileEntryId());
		model.setUrl(soapModel.getUrl());
		model.setActivationStatus(soapModel.getActivationStatus());
		model.setDuration(soapModel.getDuration());
		model.setMaxUsages(soapModel.getMaxUsages());
		model.setUseSample(soapModel.isUseSample());
		model.setSampleFileEntryId(soapModel.getSampleFileEntryId());
		model.setSampleUrl(soapModel.getSampleUrl());
		model.setTermsOfUseRequired(soapModel.isTermsOfUseRequired());
		model.setTermsOfUseContent(soapModel.getTermsOfUseContent());
		model.setTermsOfUseJournalArticleResourcePrimKey(soapModel.getTermsOfUseJournalArticleResourcePrimKey());
		model.setOverride(soapModel.isOverride());
		model.setLastPublishDate(soapModel.getLastPublishDate());

		return model;
	}
494217
@Override
	public CPDefinition create(long CPDefinitionId) {
		CPDefinition cpDefinition = new CPDefinitionImpl();

		cpDefinition.setNew(true);
		cpDefinition.setPrimaryKey(CPDefinitionId);

		String uuid = PortalUUIDUtil.generate();

		cpDefinition.setUuid(uuid);

		cpDefinition.setCompanyId(companyProvider.getCompanyId());

		return cpDefinition;
	}
313484
@Override
	public com.liferay.commerce.model.CPDefinitionInventory updateCPDefinitionInventory(
		com.liferay.commerce.model.CPDefinitionInventory cpDefinitionInventory) {
		return _cpDefinitionInventoryLocalService.updateCPDefinitionInventory(cpDefinitionInventory);
	}
199154
public alluxio.grpc.ServiceType getServiceType() {
    alluxio.grpc.ServiceType result = alluxio.grpc.ServiceType.valueOf(serviceType_);
    return result == null ? alluxio.grpc.ServiceType.UNKNOWN_SERVICE : result;
  }
1067553
public com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionLocalService getCommerceShippingFixedOptionLocalService() {
		return commerceShippingFixedOptionLocalService;
	}
1300749
public void setCPOptionLocalService(
		com.liferay.commerce.product.service.CPOptionLocalService cpOptionLocalService) {
		this.cpOptionLocalService = cpOptionLocalService;
	}
89550
public static com.liferay.commerce.product.model.CPDefinition createCPDefinition(
		long CPDefinitionId) {
		return getService().createCPDefinition(CPDefinitionId);
	}
1366428
public synchronized VirtualNetworkFunctionDescriptorAgent
      getVirtualNetworkFunctionDescriptorRestAgent() {
    if (this.virtualNetworkFunctionDescriptorAgent == null) {
      if (isService) {
        this.virtualNetworkFunctionDescriptorAgent =
            new VirtualNetworkFunctionDescriptorAgent(
                this.serviceName,
                this.projectId,
                this.sslEnabled,
                this.nfvoIp,
                this.nfvoPort,
                this.version,
                this.serviceKey);
      } else {
        this.virtualNetworkFunctionDescriptorAgent =
            new VirtualNetworkFunctionDescriptorAgent(
                this.username,
                this.password,
                this.projectId,
                this.sslEnabled,
                this.nfvoIp,
                this.nfvoPort,
                this.version);
      }
    }
    return this.virtualNetworkFunctionDescriptorAgent;
  }
180528
public java.util.List<ServiceTypeDetail> getServiceType() {
        if (serviceType == null) {
            serviceType = new com.amazonaws.internal.SdkInternalList<ServiceTypeDetail>();
        }
        return serviceType;
    }