public class UserDetailsLevel
extends org.eclipse.stardust.common.IntKey
| Modifier and Type | Field and Description |
|---|---|
static UserDetailsLevel |
Core |
static int |
CORE
The user details contain same attributes as MINIMAL plus isAdmistrator and
last-login evaluation.
|
static UserDetailsLevel |
Full |
static int |
FULL
The user details contain same attributes as with WITH_PROPERTIES plus all grants.
|
static UserDetailsLevel |
Minimal |
static int |
MINIMAL
The user details only contain first level attributes of UserBean.
|
static String |
PRP_USER_DETAILS_LEVEL |
static String |
PRP_USER_DETAILS_PREFERENCES |
static int |
WITH_PROPERTIES
The user details contain same attributes as with CORE plus properties.
|
static UserDetailsLevel |
WithProperties |
| Modifier and Type | Method and Description |
|---|---|
static UserDetailsLevel |
getlevel(int value)
Factory method to get the ProcessInstanceState corresponding to the given code.
|
public static final int MINIMAL
This details level provides the best performance by skipping any lookup besides retrieving the first level attributes of the UserBean.
Note that User#isAdministrator() is not resolved at this level and will throw an
IllegalStateException.
User.isAdministrator(),
Constant Field Valuespublic static final int CORE
This means in addition to the first level attributes the last-login of the user is evaluated
via an additional lookup to the user sessions and the isAdministrator flag is
determined by resolving the users assigned roles.
public static final int WITH_PROPERTIES
At this details level the user properties are retrieved as well.
public static final int FULL
The FULL details level represents a fully resolved User.
public static final UserDetailsLevel Minimal
public static final UserDetailsLevel Core
public static final UserDetailsLevel WithProperties
public static final UserDetailsLevel Full
public static final String PRP_USER_DETAILS_LEVEL
public static final String PRP_USER_DETAILS_PREFERENCES
public static UserDetailsLevel getlevel(int value)
value - one of the ProcessInstanceState codes.Copyright © 2016 Eclipse Stardust. All Rights Reserved.