Interface IUserSegmentationManager
-
- All Known Subinterfaces:
IUserSegmentationManagerSPI
- All Known Implementing Classes:
UserSegmentationManager
@StableMinor(version="15.0", sinceVersion="11.2") public interface IUserSegmentationManager
User segmentation related operations.- Since:
- 11.2.0
- Version:
- $Revision: 25303 $ $Date: 2022-10-22 22:48:02 -0300 (Sat, 22 Oct 2022) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IUserSegmentation
getByNameAndServiceInstance(java.lang.String name, java.lang.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, java.lang.String monitorUserId)
Updates the given segmentation membership cache for the given user.
-
-
-
Method Detail
-
getByNameAndServiceInstance
IUserSegmentation getByNameAndServiceInstance(java.lang.String name, java.lang.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, java.lang.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
-
-