Interface IUserSegmentationManager
-
- All Known Subinterfaces:
IUserSegmentationManagerSPI
- All Known Implementing Classes:
UserSegmentationManager
@StableMinor(version="14.2", sinceVersion="11.2") public interface IUserSegmentationManager
User segmentation related operations.- Since:
- 11.2.0
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IUserSegmentation
getByNameAndServiceInstance(String name, String serviceInstanceId)
Returns the segmentation of the given name and service instance.void
updateSegmentationMembership(IUserSegmentation segmentation)
Updates the given segmentation memberships cache.void
updateSegmentationMembership(IUserSegmentation segmentation, String monitorUserId)
Updates the given segmentation membership cache for the given user.
-
-
-
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
-
-