Creates a new cp option category with the primary key. Does not add the cp option category to the database.

@param CPOptionCategoryId the primary key for the new cp option category
@return the new cp option category
357554
@Override
	public CPOptionCategory create(long CPOptionCategoryId) {
		CPOptionCategory cpOptionCategory = new CPOptionCategoryImpl();

		cpOptionCategory.setNew(true);
		cpOptionCategory.setPrimaryKey(CPOptionCategoryId);

		String uuid = PortalUUIDUtil.generate();

		cpOptionCategory.setUuid(uuid);

		cpOptionCategory.setCompanyId(companyProvider.getCompanyId());

		return cpOptionCategory;
	}
808899
@Override
	public com.liferay.commerce.product.model.CPSpecificationOption createCPSpecificationOption(
		long CPSpecificationOptionId) {
		return _cpSpecificationOptionLocalService.createCPSpecificationOption(CPSpecificationOptionId);
	}
314824
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CPTaxCategory updateCPTaxCategory(CPTaxCategory cpTaxCategory) {
		return cpTaxCategoryPersistence.update(cpTaxCategory);
	}
1110416
@Override
	public List<CPSpecificationOption> findByCPOptionCategoryId(
		long CPOptionCategoryId) {
		return findByCPOptionCategoryId(CPOptionCategoryId, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
355776
public void setCPOptionCategoryLocalService(
		com.liferay.commerce.product.service.CPOptionCategoryLocalService cpOptionCategoryLocalService) {
		this.cpOptionCategoryLocalService = cpOptionCategoryLocalService;
	}
1192283
public static CPOptionCategory toModel(CPOptionCategorySoap soapModel) {
		if (soapModel == null) {
			return null;
		}

		CPOptionCategory model = new CPOptionCategoryImpl();

		model.setUuid(soapModel.getUuid());
		model.setCPOptionCategoryId(soapModel.getCPOptionCategoryId());
		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.setTitle(soapModel.getTitle());
		model.setDescription(soapModel.getDescription());
		model.setPriority(soapModel.getPriority());
		model.setKey(soapModel.getKey());
		model.setLastPublishDate(soapModel.getLastPublishDate());

		return model;
	}
485901
public static com.liferay.commerce.product.model.CPOptionCategory addCPOptionCategory(
		com.liferay.commerce.product.model.CPOptionCategory cpOptionCategory) {
		return getService().addCPOptionCategory(cpOptionCategory);
	}
401814
public static com.liferay.commerce.product.model.CPOption addCPOption(
		com.liferay.commerce.product.model.CPOption cpOption) {
		return getService().addCPOption(cpOption);
	}
1296835
public static com.liferay.commerce.product.model.CPTaxCategory createCPTaxCategory(
		long CPTaxCategoryId) {
		return getService().createCPTaxCategory(CPTaxCategoryId);
	}
741991
@Override
	public void cacheResult(CPTaxCategory cpTaxCategory) {
		entityCache.putResult(CPTaxCategoryModelImpl.ENTITY_CACHE_ENABLED,
			CPTaxCategoryImpl.class, cpTaxCategory.getPrimaryKey(),
			cpTaxCategory);

		cpTaxCategory.resetOriginalValues();
	}
4015
@Override
	public com.liferay.commerce.product.model.CPOptionCategory updateCPOptionCategory(
		com.liferay.commerce.product.model.CPOptionCategory cpOptionCategory) {
		return _cpOptionCategoryLocalService.updateCPOptionCategory(cpOptionCategory);
	}
43029
public void setCPOptionCategoryService(
		com.liferay.commerce.product.service.CPOptionCategoryService cpOptionCategoryService) {
		this.cpOptionCategoryService = cpOptionCategoryService;
	}
156325
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CPOptionCategory updateCPOptionCategory(
		CPOptionCategory cpOptionCategory) {
		return cpOptionCategoryPersistence.update(cpOptionCategory);
	}
1194265
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CPDefinitionOptionRel updateCPDefinitionOptionRel(
		CPDefinitionOptionRel cpDefinitionOptionRel) {
		return cpDefinitionOptionRelPersistence.update(cpDefinitionOptionRel);
	}
670364
@Override
	public void cacheResult(CPOptionCategory cpOptionCategory) {
		entityCache.putResult(CPOptionCategoryModelImpl.ENTITY_CACHE_ENABLED,
			CPOptionCategoryImpl.class, cpOptionCategory.getPrimaryKey(),
			cpOptionCategory);

		finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
			new Object[] {
				cpOptionCategory.getUuid(), cpOptionCategory.getGroupId()
			}, cpOptionCategory);

		finderCache.putResult(FINDER_PATH_FETCH_BY_G_K,
			new Object[] {
				cpOptionCategory.getGroupId(), cpOptionCategory.getKey()
			}, cpOptionCategory);

		cpOptionCategory.resetOriginalValues();
	}
1125876
@Override
	public com.liferay.commerce.product.model.CPSpecificationOption updateCPSpecificationOption(
		com.liferay.commerce.product.model.CPSpecificationOption cpSpecificationOption) {
		return _cpSpecificationOptionLocalService.updateCPSpecificationOption(cpSpecificationOption);
	}
861951
public static com.liferay.commerce.product.model.CPDefinitionOptionRel createCPDefinitionOptionRel(
		long CPDefinitionOptionRelId) {
		return getService().createCPDefinitionOptionRel(CPDefinitionOptionRelId);
	}