public class AnnouncementsUtil
extends Object
Constructor and Description |
---|
AnnouncementsUtil() |
Modifier and Type | Method and Description |
---|---|
static LinkedHashMap<Long,long[]> |
getAnnouncementScopes(long userId)
Deprecated.
As of Judson (7.1.x), replaced by
getAnnouncementScopes(User) |
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) |
@Deprecated public static LinkedHashMap<Long,long[]> getAnnouncementScopes(long userId) throws PortalException
getAnnouncementScopes(User)
PortalException
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