Sets the cp rule user segment rel remote service.

@param cpRuleUserSegmentRelService the cp rule user segment rel remote service
174622
public void setCPRuleUserSegmentRelService(
		com.liferay.commerce.product.service.CPRuleUserSegmentRelService cpRuleUserSegmentRelService) {
		this.cpRuleUserSegmentRelService = cpRuleUserSegmentRelService;
	}
834578
@Override
	public List<CPRuleUserSegmentRel> findByCPRuleId(long CPRuleId) {
		return findByCPRuleId(CPRuleId, QueryUtil.ALL_POS, QueryUtil.ALL_POS,
			null);
	}
764312
public void setCommerceNotificationTemplateUserSegmentRelLocalService(
		com.liferay.commerce.notification.service.CommerceNotificationTemplateUserSegmentRelLocalService commerceNotificationTemplateUserSegmentRelLocalService) {
		this.commerceNotificationTemplateUserSegmentRelLocalService = commerceNotificationTemplateUserSegmentRelLocalService;
	}
201330
public void blockUser(DomainBareJid mucLightService, Jid userJid)
            throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
        HashMap<Jid, Boolean> users = new HashMap<>();
        users.put(userJid, false);
        sendBlockUsers(mucLightService, users);
    }
215083
public void setUserProperties(Map userData) throws SIResourceException
    {
      if (tc.isEntryEnabled())
        SibTr.entry(tc, "setUserProperties", 
          new Object[] { userData });
 
      _consumerDispatcher.getConsumerDispatcherState().setUserData(userData);
      
      Transaction tran = _messageProcessor.getTXManager().createAutoCommitTransaction();
      if( !_consumerDispatcher.getReferenceStream().isUpdating() )
      {
        try 
        {
          _consumerDispatcher.getReferenceStream().requestUpdate(tran);
        } 
        catch (MessageStoreException e) 
        {
          // MessageStoreException shouldn't occur so FFDC.
          FFDCFilter.processException(
          e,
          "com.ibm.ws.sib.processor.impl.MPSubscriptionImpl.setUserProperties",
          "1:269:1.6",
          this);
  
          SibTr.exception(tc, e);
          if (tc.isEntryEnabled()) SibTr.exit(tc, "setUserProperties", "SIResourceException");
          throw new SIResourceException(e);
            
        }
      }
      
      if (tc.isEntryEnabled())
        SibTr.exit(tc, "setUserProperties"); 
      
    }
522015
public void setCommerceDiscountRuleService(
		com.liferay.commerce.discount.service.CommerceDiscountRuleService commerceDiscountRuleService) {
		this.commerceDiscountRuleService = commerceDiscountRuleService;
	}
45570
public void setCPDefinitionService(
		com.liferay.commerce.product.service.CPDefinitionService cpDefinitionService) {
		this.cpDefinitionService = cpDefinitionService;
	}
1186896
def set_user(self, user):
        
        super(Segment, self)._check_ended()
        self.user = user
1078236
@Override
	public void clearCache(CPRuleUserSegmentRel cpRuleUserSegmentRel) {
		entityCache.removeResult(CPRuleUserSegmentRelModelImpl.ENTITY_CACHE_ENABLED,
			CPRuleUserSegmentRelImpl.class, cpRuleUserSegmentRel.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
84503
@Override
	public CPRuleUserSegmentRel create(long CPRuleUserSegmentRelId) {
		CPRuleUserSegmentRel cpRuleUserSegmentRel = new CPRuleUserSegmentRelImpl();

		cpRuleUserSegmentRel.setNew(true);
		cpRuleUserSegmentRel.setPrimaryKey(CPRuleUserSegmentRelId);

		cpRuleUserSegmentRel.setCompanyId(companyProvider.getCompanyId());

		return cpRuleUserSegmentRel;
	}
550354
public static URI setFragment(final URI path, final String fragment) {
        try {
            if (path.getPath() != null) {
                return new URI(path.getScheme(), path.getUserInfo(), path.getHost(), path.getPort(), path.getPath(), path.getQuery(), fragment);
            } else {
                return new URI(path.getScheme(), path.getSchemeSpecificPart(), fragment);
            }
        } catch (final URISyntaxException e) {
            throw new RuntimeException(e.getMessage(), e);
        }
    }
96063
@Reference(policy = ReferencePolicy.DYNAMIC, cardinality = ReferenceCardinality.MULTIPLE, target = "(config.displayId=*)")
    protected Map<String, Object> setUserRegistry(ServiceReference<UserRegistryService> ref) {
        adjustUserRegistryServiceRef(ref);

        // determine a new user registry service
        userRegistryService.set(null);
        return getServiceProperties();
    }
512434
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CPRuleUserSegmentRel updateCPRuleUserSegmentRel(
		CPRuleUserSegmentRel cpRuleUserSegmentRel) {
		return cpRuleUserSegmentRelPersistence.update(cpRuleUserSegmentRel);
	}
1261166
@Override
	public void clearCache() {
		entityCache.clearCache(CPRuleUserSegmentRelImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
633923
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceDiscountUserSegmentRel addCommerceDiscountUserSegmentRel(
		CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel) {
		commerceDiscountUserSegmentRel.setNew(true);

		return commerceDiscountUserSegmentRelPersistence.update(commerceDiscountUserSegmentRel);
	}
1254150
public void setCPDefinitionLinkService(
		com.liferay.commerce.product.service.CPDefinitionLinkService cpDefinitionLinkService) {
		this.cpDefinitionLinkService = cpDefinitionLinkService;
	}
1178776
public void setCPRuleAssetCategoryRelLocalService(
		com.liferay.commerce.product.service.CPRuleAssetCategoryRelLocalService cpRuleAssetCategoryRelLocalService) {
		this.cpRuleAssetCategoryRelLocalService = cpRuleAssetCategoryRelLocalService;
	}