Copyright© 2008-2026 Sitevision AB, all rights reserved.
@Requireable(value="TargetAudienceUtil") public interface TargetAudienceUtil
An instance of the Sitevision class implementing this interface can be obtained via
Utils.getTargetAudienceUtil().
See Utils for how to obtain an instance of the Utils interface.
| Modifier and Type | Method and Description |
|---|---|
List<Node> |
resolve()
Resolves target audiences (sv:targetAudience) for the current user.
|
List<Node> |
resolveForUser(Node aUser)
Resolves target audiences (sv:targetAudience) for the provided user.
|
List<Node> |
resolveForUserFrom(Node aUser,
List<Node> aTargetAudiences)
Resolves specific target audiences (sv:targetAudience) for the provided user.
|
List<Node> |
resolveFrom(List<Node> aTargetAudiences)
Resolves specific target audiences (sv:targetAudience) for the current user.
|
List<Node> resolve()
List<Node> resolveForUser(Node aUser)
aUser - the user to evaluate target audiences forList<Node> resolveFrom(List<Node> aTargetAudiences)
aTargetAudiences - the list of target audiences to evaluate against the current userIllegalArgumentException - if aTargetAudiences is null or contains other than sv:targetAudience NodesList<Node> resolveForUserFrom(Node aUser, List<Node> aTargetAudiences)
aUser - the user to evaluate target audiences foraTargetAudiences - the list of target audiences to evaluate against the provided userIllegalArgumentException - if aTargetAudiences is null or contains other than sv:targetAudience NodesSitevision - Content Management Made Easy
Sitevision is an advanced Java enterprise portal product that implements Java Content Repository (JSR 283).
Copyright© 2008-2026 Sitevision AB, all rights reserved.