|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.netweaver.bc.rf.util.flyweight.FlyWeight
com.sap.netweaver.bc.rf.common.security.Permission
Class implementing permission.
| Field Summary | |
protected String |
localName
|
protected String |
name
|
static IPermission |
PERMISSION_CREATE
|
static IPermission |
PERMISSION_DELETE
|
static IPermission |
PERMISSION_DELETE_NODE
|
static IPermission |
PERMISSION_LIST
|
static IPermission |
PERMISSION_READ_CONTENT
|
static IPermission |
PERMISSION_READ_NODE_PROPERTIES
|
static IPermission |
PERMISSION_READ_PROPERTIES
|
static IPermission |
PERMISSION_WRITE_CONTENT
|
static IPermission |
PERMISSION_WRITE_NODE_PROPERTIES
|
static IPermission |
PERMISSION_WRITE_PROPERTIES
|
| Constructor Summary | |
protected |
Permission(String fullName,
ResourceBundles resourceBundles)
Construct object of class Permission. |
| Method Summary | |
Object |
clone()
Clone this permission. |
boolean |
equals(Object obj)
Compare this and another object for equality. |
String |
getDescription()
Get description of permission. |
String |
getDescription(Locale locale)
Get localized description of permission. |
String |
getLocalName()
Get the local name of the permission, i.e. without the namespace prefix |
String |
getName()
Get unique name of permission. |
static IPermission |
getPermission(String fullName)
Get permission (all permissions are cached for performance and internationalization reasons and indexed by their full name). |
int |
hashCode()
Get hashcode for this permission. |
String |
toString()
Get descriptive text for this permission. |
| Methods inherited from class com.sap.netweaver.bc.rf.util.flyweight.FlyWeight |
getAllFlyWeights, getAllFlyWeightsInherited, getFlyWeight, getFlyWeightId, getFlyWeightInherited, removeAllFlyWeights, removeAllFlyWeightsInherited, removeFlyWeight, removeFlyWeightInherited |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected final String name
protected final String localName
public static final IPermission PERMISSION_READ_CONTENT
public static final IPermission PERMISSION_READ_PROPERTIES
public static final IPermission PERMISSION_WRITE_CONTENT
public static final IPermission PERMISSION_WRITE_PROPERTIES
public static final IPermission PERMISSION_DELETE
public static final IPermission PERMISSION_LIST
public static final IPermission PERMISSION_CREATE
public static final IPermission PERMISSION_READ_NODE_PROPERTIES
public static final IPermission PERMISSION_WRITE_NODE_PROPERTIES
public static final IPermission PERMISSION_DELETE_NODE
| Constructor Detail |
protected Permission(String fullName,
ResourceBundles resourceBundles)
resourceBundles - resource bundlefullName - | Method Detail |
public String getName()
getName in interface IPermissionpublic String getDescription()
getDescription in interface IPermissionpublic String getDescription(Locale locale)
getDescription in interface IPermissionlocale - locale to be used for localization
public String toString()
toString in class FlyWeightpublic final int hashCode()
hashCode in class FlyWeightpublic final boolean equals(Object obj)
equals in class FlyWeightobj - object to be compared against
public final Object clone()
clone in class FlyWeightpublic static IPermission getPermission(String fullName)
fullName - permission full name
public String getLocalName()
IPermission
getLocalName in interface IPermission
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||