|
02/28/2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.epicentric.permission.GenericPermissionCatalogItem
A simple, read-only catlog item for use in implementing a PermissionCatalog.
| Field Summary | |
protected boolean |
def
Deprecated. |
protected String |
description
Deprecated. |
protected String |
id
Deprecated. |
protected String |
name
Deprecated. |
| Fields inherited from interface com.epicentric.permission.PermissionCatalogItem |
RESERVED_PREFIX |
| Constructor Summary | |
GenericPermissionCatalogItem(String id,
String name,
String description,
boolean def)
Deprecated. Constructor. |
|
| Method Summary | |
boolean |
getDefault()
Deprecated. Return whether or not the 'Everyone' group has this permission by default when a Permission is created from this catalog item. |
String |
getDescription()
Deprecated. Return a short description suitable for displaying to the user. |
String |
getID()
Deprecated. Return the id used to look up the permission. |
String |
getName()
Deprecated. Return a friendly name suitable for displaying to the user. |
String |
toString()
Deprecated. String representation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected String id
protected String name
protected String description
protected boolean def
| Constructor Detail |
public GenericPermissionCatalogItem(String id,
String name,
String description,
boolean def)
def - is default. True means permission is granted by default.| Method Detail |
public String getID()
PermissionCatalogItemIDs should use lowercase letters, numbers, underscores, and periods. A period should be used to separate a prefix from a permission name. For example: "sys.edit" would denote a system permission
getID in interface PermissionCatalogItempublic String getName()
PermissionCatalogItemgetName in interface PermissionCatalogItempublic String getDescription()
PermissionCatalogItemgetDescription in interface PermissionCatalogItempublic boolean getDefault()
PermissionCatalogItemgetDefault in interface PermissionCatalogItempublic String toString()
toString in class Object
|
02/28/2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||