Updates the cp rule user segment rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

@param cpRuleUserSegmentRel the cp rule user segment rel
@return the cp rule user segment rel that was updated
512434
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CPRuleUserSegmentRel updateCPRuleUserSegmentRel(
		CPRuleUserSegmentRel cpRuleUserSegmentRel) {
		return cpRuleUserSegmentRelPersistence.update(cpRuleUserSegmentRel);
	}
899643
@Override
	@Transactional(enabled = false)
	public CPRuleAssetCategoryRel createCPRuleAssetCategoryRel(
		long CPRuleAssetCategoryRelId) {
		return cpRuleAssetCategoryRelPersistence.create(CPRuleAssetCategoryRelId);
	}
194993
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CPFriendlyURLEntry updateCPFriendlyURLEntry(
		CPFriendlyURLEntry cpFriendlyURLEntry) {
		return cpFriendlyURLEntryPersistence.update(cpFriendlyURLEntry);
	}
298553
public void setCommerceNotificationTemplateUserSegmentRelService(
		com.liferay.commerce.notification.service.CommerceNotificationTemplateUserSegmentRelService commerceNotificationTemplateUserSegmentRelService) {
		this.commerceNotificationTemplateUserSegmentRelService = commerceNotificationTemplateUserSegmentRelService;
	}
1261617
@Override
	public List<CommerceDiscountUserSegmentRel> findByCommerceUserSegmentEntryId(
		long commerceUserSegmentEntryId) {
		return findByCommerceUserSegmentEntryId(commerceUserSegmentEntryId,
			QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
219215
@Override
	public com.liferay.commerce.product.model.CPFriendlyURLEntry updateCPFriendlyURLEntry(
		com.liferay.commerce.product.model.CPFriendlyURLEntry cpFriendlyURLEntry) {
		return _cpFriendlyURLEntryLocalService.updateCPFriendlyURLEntry(cpFriendlyURLEntry);
	}
97292
public com.google.api.ads.admanager.axis.v201811.UserDomainTargeting getUserDomainSegment() {
        return userDomainSegment;
    }
37804
@Override
	public void removeByCPRuleId(long CPRuleId) {
		for (CPRuleUserSegmentRel cpRuleUserSegmentRel : findByCPRuleId(
				CPRuleId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpRuleUserSegmentRel);
		}
	}
1137557
@Override
	public void cacheResult(
		CommerceUserSegmentCriterion commerceUserSegmentCriterion) {
		entityCache.putResult(CommerceUserSegmentCriterionModelImpl.ENTITY_CACHE_ENABLED,
			CommerceUserSegmentCriterionImpl.class,
			commerceUserSegmentCriterion.getPrimaryKey(),
			commerceUserSegmentCriterion);

		commerceUserSegmentCriterion.resetOriginalValues();
	}
899936
public void setCommercePriceListUserSegmentEntryRelService(
		com.liferay.commerce.price.list.service.CommercePriceListUserSegmentEntryRelService commercePriceListUserSegmentEntryRelService) {
		this.commercePriceListUserSegmentEntryRelService = commercePriceListUserSegmentEntryRelService;
	}
1360173
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceUserSegmentEntry deleteCommerceUserSegmentEntry(
		CommerceUserSegmentEntry commerceUserSegmentEntry)
		throws PortalException {
		return commerceUserSegmentEntryPersistence.remove(commerceUserSegmentEntry);
	}
383479
public PanelUser updateRole(PanelUser panelUser, PanelUserRole panelUserRole, User modifier) {
    panelUser.setRole(panelUserRole);
    panelUser.setLastModified(new Date());
    panelUser.setLastModifier(modifier);
    
    return persist(panelUser);
  }
917878
public PanelUser updateJoinType(PanelUser panelUser, PanelUserJoinType joinType, User modifier) {
    panelUser.setJoinType(joinType);
    panelUser.setLastModified(new Date());
    panelUser.setLastModifier(modifier);
    
    return persist(panelUser);
  }
643010
public static com.liferay.commerce.discount.model.CommerceDiscountUserSegmentRel deleteCommerceDiscountUserSegmentRel(
		com.liferay.commerce.discount.model.CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel) {
		return getService()
				   .deleteCommerceDiscountUserSegmentRel(commerceDiscountUserSegmentRel);
	}
213236
@Override
	public void cacheResult(CPRuleUserSegmentRel cpRuleUserSegmentRel) {
		entityCache.putResult(CPRuleUserSegmentRelModelImpl.ENTITY_CACHE_ENABLED,
			CPRuleUserSegmentRelImpl.class,
			cpRuleUserSegmentRel.getPrimaryKey(), cpRuleUserSegmentRel);

		cpRuleUserSegmentRel.resetOriginalValues();
	}
1336665
def help_center_user_segment_create(self, data, **kwargs):
        ""
        api_path = "/api/v2/help_center/user_segments.json"
        return self.call(api_path, method="POST", data=data, **kwargs)
491102
public void setUserDomainSegment(com.google.api.ads.admanager.axis.v201808.UserDomainTargeting userDomainSegment) {
        this.userDomainSegment = userDomainSegment;
    }