|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.stardust.common.IntKey
org.eclipse.stardust.engine.api.dto.UserDetailsLevel
public class UserDetailsLevel
| Field Summary | |
|---|---|
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
|
| Method Summary | |
|---|---|
static UserDetailsLevel |
getlevel(int value)
Factory method to get the ProcessInstanceState corresponding to the given code. |
| Methods inherited from class org.eclipse.stardust.common.IntKey |
|---|
compareTo, equals, getKey, getKeys, getName, getValue, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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
| Method Detail |
|---|
public static UserDetailsLevel getlevel(int value)
value - one of the ProcessInstanceState codes.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||