|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softwareag.mdm.service.ActionPermission
Defines the permission for a user to execute or not an action. The possible states are :
Field Summary | |
static Map |
ALL_ACTIONPERMISSION_NOMENCLATURE
|
static Map |
ALL_READONLY_ACTIONPERMISSION_NOMENCLATURE
|
Method Summary | |
static Nomenclature |
getActionPermissionNomenclature(Locale currentLocale)
|
static ActionPermission |
getDisabled()
Factory method that specifies that an action cannot be executed in the current session context, however the action is displayed to the user, without giving a specific reason. |
static ActionPermission |
getDisabled(UserMessage disabledReason)
Factory method that specifies that an action cannot be executed in the current session context, however the action is displayed to the user, and the reason specified is given to the user. |
UserMessage |
getDisabledReason()
Only defined if this state is set as 'disabled' and a specific reason is provided. |
static ActionPermission |
getEnabled()
Factory method that specifies that an action may be executed in the current session context. |
char |
getFlag()
|
static ActionPermission |
getHidden()
Factory method that specifies that an action cannot be executed in the current session context and the action is not displayed to the user. |
static Nomenclature |
getReadOnlyActionPermissionNomenclature(Locale currentLocale)
|
boolean |
isDisabled()
|
boolean |
isDisabledOrHidden()
This method returns the opposite of isEnabled() . |
boolean |
isEnabled()
|
boolean |
isHidden()
|
static ActionPermission |
parseFlag(char accessFlag)
|
static ActionPermission |
parseFlag(String actionFlag)
|
String |
toDisplayString(Locale aLocale,
char aFlag)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static Map ALL_ACTIONPERMISSION_NOMENCLATURE
public static Map ALL_READONLY_ACTIONPERMISSION_NOMENCLATURE
Method Detail |
public static ActionPermission getEnabled()
public static ActionPermission getDisabled()
public static ActionPermission getDisabled(UserMessage disabledReason)
public static ActionPermission getHidden()
public String toString()
public boolean isEnabled()
getEnabled()
public boolean isDisabled()
getDisabled()
,
getDisabled(UserMessage)
public boolean isHidden()
getHidden()
public boolean isDisabledOrHidden()
isEnabled()
.
public UserMessage getDisabledReason()
getDisabled(UserMessage)
public static ActionPermission parseFlag(String actionFlag)
public static ActionPermission parseFlag(char accessFlag)
public char getFlag()
public static Nomenclature getActionPermissionNomenclature(Locale currentLocale)
public String toDisplayString(Locale aLocale, char aFlag)
public static Nomenclature getReadOnlyActionPermissionNomenclature(Locale currentLocale)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.