public class CurrentUserKey extends AppUserKey
AppUserKey
for operations that (primarily) act on the current user.
Optionally an additional role may be specified that
These will be added automatically as navigation menu items.Constructor and Description |
---|
CurrentUserKey(java.lang.String name) |
CurrentUserKey(java.lang.String name,
java.lang.String help) |
CurrentUserKey(java.lang.String name,
java.lang.String text,
java.lang.String help) |
CurrentUserKey(java.lang.String name,
java.lang.String text,
java.lang.String help,
java.lang.String additional_relationship) |
Modifier and Type | Method and Description |
---|---|
boolean |
addMenu(AppUser user) |
boolean |
allow(AppUser user,
SessionService op) |
boolean |
allowState(AppUser user,
SessionService op) |
boolean |
notify(AppUser user) |
getText
public CurrentUserKey(java.lang.String name, java.lang.String text, java.lang.String help)
name
- text
- help
- public CurrentUserKey(java.lang.String name, java.lang.String text, java.lang.String help, java.lang.String additional_relationship)
public CurrentUserKey(java.lang.String name, java.lang.String help)
name
- help
- public CurrentUserKey(java.lang.String name)
name
- public boolean allow(AppUser user, SessionService op)
allow
in class AppUserKey
public boolean allowState(AppUser user, SessionService op)
public boolean addMenu(AppUser user)
public boolean notify(AppUser user)