📄 photouser.html
字号:
<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isInGroup(java.lang.String)"><!-- --></A><H3>isInGroup</H3><PRE>public boolean <B>isInGroup</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> groupName)</PRE><DL><DD>True if the user is in the given group.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="canAdd()"><!-- --></A><H3>canAdd</H3><PRE>public boolean <B>canAdd</B>()</PRE><DL><DD>True if the user can add.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="canAdd(int)"><!-- --></A><H3>canAdd</H3><PRE>public boolean <B>canAdd</B>(int cat)</PRE><DL><DD>True if the user can add to the specific category.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="canView(int)"><!-- --></A><H3>canView</H3><PRE>public boolean <B>canView</B>(int cat)</PRE><DL><DD>True if the user can view images in the specific category.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="canAdd(boolean)"><!-- --></A><H3>canAdd</H3><PRE>public void <B>canAdd</B>(boolean canadd)</PRE><DL><DD>Set the user's addability.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getId()"><!-- --></A><H3>getId</H3><PRE>public int <B>getId</B>()</PRE><DL><DD>Get the ID of this user.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setId(int)"><!-- --></A><H3>setId</H3><PRE>public void <B>setId</B>(int id)</PRE><DL><DD>Set the ID of this user.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setUsername(java.lang.String)"><!-- --></A><H3>setUsername</H3><PRE>public void <B>setUsername</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> username)</PRE><DL><DD>Set the username of this user.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setRealname(java.lang.String)"><!-- --></A><H3>setRealname</H3><PRE>public void <B>setRealname</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> realname)</PRE><DL><DD>Set the real name of this user.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getRealname()"><!-- --></A><H3>getRealname</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>getRealname</B>()</PRE><DL><DD>Get the real name of this user.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setEmail(java.lang.String)"><!-- --></A><H3>setEmail</H3><PRE>public void <B>setEmail</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> email)</PRE><DL><DD>Set the E-mail address of this user.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="save(java.sql.Connection, net.spy.db.SaveContext)"><!-- --></A><H3>save</H3><PRE>public void <B>save</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/Connection.html">Connection</A> conn, <A HREF="http://bleu.west.spy.net/~dustin/spyjar/j2/doc/net/spy/db/SaveContext.html">SaveContext</A> context) throws <A HREF="http://bleu.west.spy.net/~dustin/spyjar/j2/doc/net/spy/db/SaveException.html">SaveException</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Save the user.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>save</CODE> in interface <CODE><A HREF="http://bleu.west.spy.net/~dustin/spyjar/j2/doc/net/spy/db/Savable.html">Savable</A></CODE></DL></DD><DD><DL><DD><CODE><A HREF="http://bleu.west.spy.net/~dustin/spyjar/j2/doc/net/spy/db/SaveException.html">SaveException</A></CODE><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></CODE></DL></DD></DL><HR><A NAME="setPassword(java.lang.String)"><!-- --></A><H3>setPassword</H3><PRE>public void <B>setPassword</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> pass) throws <A HREF="../../../net/spy/photo/PhotoException.html">PhotoException</A></PRE><DL><DD>Set the user's password.<P><DD><DL></DL></DD><DD><DL><DD><CODE><A HREF="../../../net/spy/photo/PhotoException.html">PhotoException</A></CODE></DL></DD></DL><HR><A NAME="getPassword()"><!-- --></A><H3>getPassword</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>getPassword</B>()</PRE><DL><DD>Get the user's hashed password. Useful for administration forms and stuff.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="checkPassword(java.lang.String)"><!-- --></A><H3>checkPassword</H3><PRE>public boolean <B>checkPassword</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> pass)</PRE><DL><DD>Check the user's password.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="toXML()"><!-- --></A><H3>toXML</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>toXML</B>()</PRE><DL><DD>XML the user.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PhotoUser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../net/spy/photo/PhotoSessionData.html"><B>PREV CLASS</B></A> <A HREF="../../../net/spy/photo/PhotoUtil.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="PhotoUser.html" TARGET="_top"><B>NO FRAMES</B></A> <SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT><A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -