org.basex.core.proc
Class Grant
java.lang.Object
org.basex.core.Progress
org.basex.core.Proc
org.basex.core.proc.Grant
public final class Grant
- extends Proc
Evaluates the 'grant' command and grants permissions to users.
- Author:
- Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen
Method Summary |
String |
toString()
Returns a string representation of the process. |
Grant
public Grant(Object perm,
String name)
- Default constructor.
- Parameters:
perm
- permissionname
- user name
Grant
public Grant(Object perm,
String name,
String db)
- Constructor, specifying a certain database.
- Parameters:
perm
- permissionname
- user namedb
- database
toString
public String toString()
- Description copied from class:
Proc
- Returns a string representation of the process. In the client/server
architecture, this string is sent to and reparsed by the server.
- Overrides:
toString
in class Proc
- Returns:
- string representation