|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--arlut.csd.ganymede.xPerm
This class is used by the Ganymede XML client to represent a permission field value.
xPerm are slightly recursive, in that a top-level xPerm is used to represent the permissions for a type of object at the object level, and contain in turn xPerm objects used for the individual fields defined within that object.
| Field Summary | |
(package private) boolean |
create
|
(package private) boolean |
delete
|
(package private) boolean |
edit
|
(package private) java.util.Hashtable |
fields
If this xPerm is representing an object type as a whole, fields will map field names to xPerm objects. |
(package private) java.lang.String |
label
String describing this xPerm's contents. |
(package private) boolean |
view
|
| Constructor Summary | |
xPerm(XMLItem item,
boolean objectType)
xPerm constructor. |
|
| Method Summary | |
java.lang.String |
getName()
|
PermEntry |
getPermEntry()
|
private GanymedeXMLSession |
getXSession()
|
| Methods inherited from class java.lang.Object |
|
| Field Detail |
java.lang.String label
String describing this xPerm's contents. This String is held in XMLEncoded form. That is, spaces in the Ganymede object type and/or field name have been replaced with underscores.
java.util.Hashtable fields
If this xPerm is representing an object type as a whole, fields will map field names to xPerm objects. If this xPerm is representing permissions for a field, this variable will be null.
boolean view
boolean edit
boolean create
boolean delete
| Constructor Detail |
public xPerm(XMLItem item,
boolean objectType)
throws org.xml.sax.SAXException
xPerm constructor. When the constructor is called, the
xPerm reads the next item from the xmlclient's
getNextItem()
method and uses it to initialize the xPerm.
If objectType is true, the xPerm constructor assumes that it is reading an entire object type's permission data. In this case, it will load the permission data for the object, including all of the field permissions data contained within the top-level object.
| Method Detail |
public java.lang.String getName()
public PermEntry getPermEntry()
private GanymedeXMLSession getXSession()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||