com.dbxml.db.core.security
Class Access
java.lang.Object
com.dbxml.db.core.security.Access
- All Implemented Interfaces:
- XMLSerializable
- public class Access
- extends java.lang.Object
- implements XMLSerializable
Access
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NONE
public static final int NONE
- See Also:
- Constant Field Values
READ
public static final int READ
- See Also:
- Constant Field Values
WRITE
public static final int WRITE
- See Also:
- Constant Field Values
EXECUTE
public static final int EXECUTE
- See Also:
- Constant Field Values
CREATE
public static final int CREATE
- See Also:
- Constant Field Values
MASK
public static final int MASK
- See Also:
- Constant Field Values
Access
public Access()
streamToXML
public org.w3c.dom.Element streamToXML(org.w3c.dom.Document doc)
throws org.w3c.dom.DOMException
- Description copied from interface:
XMLSerializable
- streamToXML streams an object to XML.
- Specified by:
streamToXML
in interface XMLSerializable
- Parameters:
doc
- The Owner Document
- Returns:
- A newly created Element
- Throws:
org.w3c.dom.DOMException
- If an error occurs
streamFromXML
public void streamFromXML(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
- Description copied from interface:
XMLSerializable
- streamFromXML streams an object from XML.
- Specified by:
streamFromXML
in interface XMLSerializable
- Parameters:
element
- The Input Element
- Throws:
org.w3c.dom.DOMException
- If an error occurs
setPath
public void setPath(java.lang.String path)
getPath
public java.lang.String getPath()
getPermissions
public int getPermissions(Role role)
setPermissions
public void setPermissions(Role role,
int permissions)
removePermissions
public void removePermissions(Role role)
listRoles
public java.lang.String[] listRoles()
Copyright (c) 2004 The dbXML Group