public class AnnouncementsUtil
extends Object
Constructor and Description |
---|
AnnouncementsUtil() |
Modifier and Type | Method and Description |
---|---|
static LinkedHashMap<Long,long[]> |
getAnnouncementScopes(User user) |
static List<Group> |
getGroups(ThemeDisplay themeDisplay) |
static List<Organization> |
getOrganizations(ThemeDisplay themeDisplay) |
static List<Role> |
getRoles(ThemeDisplay themeDisplay) |
static List<UserGroup> |
getUserGroups(ThemeDisplay themeDisplay) |
static boolean |
hasManageAnnouncementsPermission(Role role,
PermissionChecker permissionChecker) |
public static LinkedHashMap<Long,long[]> getAnnouncementScopes(User user) throws PortalException
PortalException
public static List<Group> getGroups(ThemeDisplay themeDisplay) throws PortalException
PortalException
public static List<Organization> getOrganizations(ThemeDisplay themeDisplay) throws PortalException
PortalException
public static List<Role> getRoles(ThemeDisplay themeDisplay) throws PortalException
PortalException
public static List<UserGroup> getUserGroups(ThemeDisplay themeDisplay)
public static boolean hasManageAnnouncementsPermission(Role role, PermissionChecker permissionChecker) throws PortalException
PortalException