Debian Codegraph @

lang/sql/jdbc/doc/SQLite/Authorizer.html

raw
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.4.2_03) on Thu Feb 09 06:54:00 CET 2012 -->
6 <TITLE>
7 Authorizer (SQLite Java Wrapper)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="SQLite.Authorizer interface">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 parent.document.title="Authorizer (SQLite Java Wrapper)";
18 }
19 </SCRIPT>
20
21 </HEAD>
22
23 <BODY BGCOLOR="white" onload="windowTitle();">
24
25
26 <!-- ========= START OF TOP NAVBAR ======= -->
27 <A NAME="navbar_top"><!-- --></A>
28 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30 <TR>
31 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32 <A NAME="navbar_top_firstrow"><!-- --></A>
33 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34 <TR ALIGN="center" VALIGN="top">
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39 </TR>
40 </TABLE>
41 </TD>
42 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
43 </EM>
44 </TD>
45 </TR>
46
47 <TR>
48 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
49 &nbsp;PREV CLASS&nbsp;
50 &nbsp;<A HREF="../SQLite/Backup.html" title="class in SQLite"><B>NEXT CLASS</B></A></FONT></TD>
51 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52 <A HREF="../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
53 &nbsp;<A HREF="Authorizer.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
54 &nbsp;<SCRIPT type="text/javascript">
55 <!--
56 if(window==top) {
57 document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
58 }
59 //-->
60 </SCRIPT>
61 <NOSCRIPT>
62 <A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
63 </NOSCRIPT>
64
65 </FONT></TD>
66 </TR>
67 <TR>
68 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
69 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
70 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
71 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
72 </TR>
73 </TABLE>
74 <A NAME="skip-navbar_top"></A>
75 <!-- ========= END OF TOP NAVBAR ========= -->
76
77 <HR>
78 <!-- ======== START OF CLASS DATA ======== -->
79 <H2>
80 <FONT SIZE="-1">
81 SQLite</FONT>
82 <BR>
83 Interface Authorizer</H2>
84 <HR>
85 <DL>
86 <DT>public interface <B>Authorizer</B></DL>
87
88 <P>
89 Callback interface for SQLite's authorizer function.
90 <P>
91
92 <P>
93 <HR>
94
95 <P>
96 <!-- ======== NESTED CLASS SUMMARY ======== -->
97
98
99 <!-- =========== FIELD SUMMARY =========== -->
100
101
102 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
103
104
105 <!-- ========== METHOD SUMMARY =========== -->
106
107 <A NAME="method_summary"><!-- --></A>
108 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
109 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
110 <TD COLSPAN=2><FONT SIZE="+2">
111 <B>Method Summary</B></FONT></TD>
112 </TR>
113 <TR BGCOLOR="white" CLASS="TableRowColor">
114 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
115 <CODE>&nbsp;int</CODE></FONT></TD>
116 <TD><CODE><B><A HREF="../SQLite/Authorizer.html#authorize(int, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">authorize</A></B>(int&nbsp;what,
117 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;arg1,
118 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;arg2,
119 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;arg3,
120 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;arg4)</CODE>
121
122 <BR>
123 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Callback to authorize access.</TD>
124 </TR>
125 </TABLE>
126 &nbsp;
127 <P>
128
129 <!-- ============ FIELD DETAIL =========== -->
130
131
132 <!-- ========= CONSTRUCTOR DETAIL ======== -->
133
134
135 <!-- ============ METHOD DETAIL ========== -->
136
137 <A NAME="method_detail"><!-- --></A>
138 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
139 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
140 <TD COLSPAN=1><FONT SIZE="+2">
141 <B>Method Detail</B></FONT></TD>
142 </TR>
143 </TABLE>
144
145 <A NAME="authorize(int, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
146 authorize</H3>
147 <PRE>
148 public int <B>authorize</B>(int&nbsp;what,
149 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;arg1,
150 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;arg2,
151 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;arg3,
152 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;arg4)</PRE>
153 <DL>
154 <DD>Callback to authorize access.
155 <P>
156 <DD><DL>
157 <DT><B>Parameters:</B><DD><CODE>what</CODE> - integer indicating type of access<DD><CODE>arg1</CODE> - first argument (table, view, index, or trigger name)<DD><CODE>arg2</CODE> - second argument (file, table, or column name)<DD><CODE>arg3</CODE> - third argument (database name)<DD><CODE>arg4</CODE> - third argument (trigger name)
158 <DT><B>Returns:</B><DD>Constants.SQLITE_OK for success, Constants.SQLITE_IGNORE
159 for don't allow access but don't raise an error, Constants.SQLITE_DENY
160 for abort SQL statement with error.</DL>
161 </DD>
162 </DL>
163 <!-- ========= END OF CLASS DATA ========= -->
164 <HR>
165
166
167 <!-- ======= START OF BOTTOM NAVBAR ====== -->
168 <A NAME="navbar_bottom"><!-- --></A>
169 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
170 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
171 <TR>
172 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
173 <A NAME="navbar_bottom_firstrow"><!-- --></A>
174 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
175 <TR ALIGN="center" VALIGN="top">
176 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
177 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
178 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
179 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
180 </TR>
181 </TABLE>
182 </TD>
183 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
184 </EM>
185 </TD>
186 </TR>
187
188 <TR>
189 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
190 &nbsp;PREV CLASS&nbsp;
191 &nbsp;<A HREF="../SQLite/Backup.html" title="class in SQLite"><B>NEXT CLASS</B></A></FONT></TD>
192 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
193 <A HREF="../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
194 &nbsp;<A HREF="Authorizer.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
195 &nbsp;<SCRIPT type="text/javascript">
196 <!--
197 if(window==top) {
198 document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
199 }
200 //-->
201 </SCRIPT>
202 <NOSCRIPT>
203 <A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
204 </NOSCRIPT>
205
206 </FONT></TD>
207 </TR>
208 <TR>
209 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
210 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
211 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
212 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
213 </TR>
214 </TABLE>
215 <A NAME="skip-navbar_bottom"></A>
216 <!-- ======== END OF BOTTOM NAVBAR ======= -->
217
218 <HR>
219 <small>Contact: <a HREF="mailto:[email protected]">Christian Werner</a></small>
220 </BODY>
221 </HTML>