SubmenuInfo¶
-
public class
SubmenuInfo
¶ Class to encapsulate information about sub-menu links to be shown on UI. This represents a link shown on the left side of the UI.
Constructors¶
Methods¶
getCriticalMessage¶
getRoleForAccess¶
isNeedsAttention¶
-
public boolean
isNeedsAttention
()¶ Returns: true if this sub-menu should be marked as requiring attention on the UI, false otherwise
setCriticalMessage¶
setNeedsAttention¶
-
public void
setNeedsAttention
(boolean needsAttention)¶ Parameters: - needsAttention – true if this sub-menu should be marked as requiring attention on the UI, false otherwise
setRoleForAccess¶
-
public void
setRoleForAccess
(List<String> roleForAccess)¶ Sets the list of permissions required to access this sub-menu item. It is required for the user to have at least permission from this, not all. This link will be hidden for users without the permissions.
Parameters: - roleForAccess – the list of permissions for access