com.silverpeas.subscribe.util
Class SubscriptionUtil
java.lang.Object
com.silverpeas.subscribe.util.SubscriptionUtil
public class SubscriptionUtil
- extends Object
Utility class shared by other classes of the same package.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubscriptionUtil
public SubscriptionUtil()
isSameVisibilityAsTheCurrentRequester
public static boolean isSameVisibilityAsTheCurrentRequester(UserDetail user,
UserDetail currentRequester)
- Indicates if the given user has same domain visibility as the current requester.
- Parameters:
user
- the user to verify.currentRequester
- the current user requester.
- Returns:
- true if same domain visibility, false otherwise.
isSameVisibilityAsTheCurrentRequester
public static boolean isSameVisibilityAsTheCurrentRequester(Group group,
UserDetail currentRequester)
- Indicates if the given group has same domain visibility as the current requester.
- Parameters:
group
- the group to verify.currentRequester
- the current user requester.
- Returns:
- true if same domain visibility, false otherwise.
Copyright © 2016 Silverpeas. All Rights Reserved.