KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > datadictionarysystem > _PrivilegeTable


1 package com.daffodilwoods.daffodildb.server.datadictionarysystem;
2
3 import com.daffodilwoods.database.resource.*;
4 import com.daffodilwoods.daffodildb.server.sql99.common.*;
5 public interface _PrivilegeTable {
6    int INSERT = 0;
7    int UPDATE = 1;
8    int DELETE = 2;
9    int SELECT = 3;
10    int TRIGGER = 4;
11    int REFERENCES = 5;
12    int EXECUTE = 6;
13
14
15    public static final int NOACCESS = 0;
16    public static final int ONLYRIGHT = 1;
17    public static final int RIGHTWITHGRANTOPTION = 2;
18
19    boolean hasTablePrivileges( int operationType ) throws DException;
20    boolean hasColumnPrivileges( int operationType, int[] columnIndexes ) throws DException;
21    ParameterisedCondition getPrivilegeCondition()throws DException;
22    boolean hasExecutionRights(String JavaDoc specific_catalog, String JavaDoc specific_schema, String JavaDoc specific_name) throws DException;
23    int getColumnPrivilegesType(int columnIndex,int operationType) throws DException;
24    boolean hasColumnPrivilegesWithGrantOption(int columnIndex,int operationType)throws DException;
25 }
26
Popular Tags