Interface IUserSegmentationManager

    • Method Detail

      • getByNameAndServiceInstance

        IUserSegmentation getByNameAndServiceInstance​(String name,
                                                      String serviceInstanceId)
                                               throws PortalException
        Returns the segmentation of the given name and service instance.
        Parameters:
        name - the segmentation name.
        serviceInstanceId - the service instance identifier.
        Returns:
        the segmentation of the given name and service instance.
        Throws:
        PortalObjectNotFoundException - if no such segmentation could be found.
        PortalException
        Since:
        11.2.0
      • updateSegmentationMembership

        void updateSegmentationMembership​(IUserSegmentation segmentation)
                                   throws PortalException
        Updates the given segmentation memberships cache. This method uses its own transaction for updating the segmentation membership.
        Parameters:
        segmentation - the segmentation.
        Throws:
        PortalException
        Since:
        11.2.0
      • updateSegmentationMembership

        void updateSegmentationMembership​(IUserSegmentation segmentation,
                                          String monitorUserId)
                                   throws PortalException
        Updates the given segmentation membership cache for the given user. This method uses its own transaction for updating the segmentation membership.
        Parameters:
        segmentation - the segmentation.
        monitorUserId - the monitor user identifier.
        Throws:
        PortalException
        Since:
        12.0.0