public class UserSegmentationDaoJdbc extends Object
Constructor and Description |
---|
UserSegmentationDaoJdbc() |
Modifier and Type | Method and Description |
---|---|
static void |
addMembers(String segmentationId,
Collection<String> monitorUserIds)
Add members to segmentation.
|
static void |
deleteSegmentationMemberships(String segmentationId)
Deletes all memberships of the given segmentation.
|
static void |
deleteSegmentationMemberships(String segmentationId,
Collection<String> monitorUserIds)
Delete members of segmentation.
|
static Collection<UserSegmentationMembership> |
getAllMemberships()
Returns all memberships.
|
static Set<String> |
getCurrentMembers(String segmentationId)
Returns the current members of the given segmentation.
|
static Set<String> |
getCurrentPortalMembers(String segmentationId)
Returns the current members of the given segmentation.
|
static Set<String> |
getCurrentSegmentations(String monitorUserId)
Returns the current segmentations of the given monitor user.
|
public static Set<String> getCurrentMembers(String segmentationId) throws PortalException
segmentationId
- the segmentation identifier.PortalException
public static Set<String> getCurrentPortalMembers(String segmentationId) throws PortalException
segmentationId
- the segmentation identifier.PortalException
public static Set<String> getCurrentSegmentations(String monitorUserId) throws PortalException
monitorUserId
- the monitor user identifier.PortalException
public static Collection<UserSegmentationMembership> getAllMemberships() throws PortalException
PortalException
public static void addMembers(String segmentationId, Collection<String> monitorUserIds) throws PortalException, UnexpectedException
segmentationId
- the identifier of segmentation.monitorUserIds
- the users identifier.PortalException
UnexpectedException
public static void deleteSegmentationMemberships(String segmentationId)
segmentationId
- the segmentation identifier.public static void deleteSegmentationMemberships(String segmentationId, Collection<String> monitorUserIds) throws PortalException
segmentationId
- the segmentation.monitorUserIds
- the members.PortalException
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.