|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softwareag.mdm.service.AccessPermission
Defines the permission to see and modify a resource. The possible states are :
Method Summary | |
char |
getFlag()
Returns a char that identifies the type of this permission. |
static AccessPermission |
getHidden()
Factory method that specifies that a resource can neither be modified nor be displayed. |
String |
getLabel()
Returns developer-friendly string. |
static AccessPermission |
getReadOnly()
Factory method that specifies that a resource may be displayed but it cannot modified. |
static AccessPermission |
getReadOnly(UserMessage aReason)
Factory method that specifies that a resource may be displayed but it cannot modified. |
UserMessage |
getReadOnlyReason()
Only defined if this state is set as 'readOnly' and a specific reason is provided. |
static AccessPermission |
getReadWrite()
Factory method that specifies that a resource may be displayed and modified. |
boolean |
isHidden()
|
boolean |
isReadOnly()
|
boolean |
isReadWrite()
|
AccessPermission |
max(AccessPermission anotherPermission)
Returns the least restricted permission of this instance and the instance given as argument. |
AccessPermission |
min(AccessPermission anotherPermission)
Returns the most restricted permission of this instance and the instance given as argument. |
static AccessPermission |
parseFlag(char accessFlag)
Factory method. |
static AccessPermission |
parseFlag(String accessFlag)
Factory method. |
String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public static AccessPermission parseFlag(String accessFlag)
parseFlag(char)
public static AccessPermission parseFlag(char accessFlag)
parseFlag(String)
public static AccessPermission getReadWrite()
public static AccessPermission getReadOnly()
public static AccessPermission getReadOnly(UserMessage aReason)
Warning: the message is not always displayed in the current version of webMethods MDM.
public static AccessPermission getHidden()
public String toString()
public boolean isReadWrite()
public boolean isReadOnly()
public boolean isHidden()
public UserMessage getReadOnlyReason()
getReadOnly(UserMessage)
public AccessPermission min(AccessPermission anotherPermission)
public AccessPermission max(AccessPermission anotherPermission)
public char getFlag()
public String getLabel()
|
|||||||||||
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.