📄 gallery.html
字号:
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getGalleries(net.spy.photo.PhotoUser)"><!-- --></A><H3>getGalleries</H3><PRE>public static <A HREF="../../../net/spy/photo/Cursor.html">Cursor</A> <B>getGalleries</B>(<A HREF="../../../net/spy/photo/PhotoUser.html">PhotoUser</A> user) throws <A HREF="../../../net/spy/photo/PhotoException.html">PhotoException</A></PRE><DL><DD>Get a list of all galleries visible by the user.<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="getGallery(net.spy.photo.PhotoUser, int)"><!-- --></A><H3>getGallery</H3><PRE>public static <A HREF="../../../net/spy/photo/Gallery.html">Gallery</A> <B>getGallery</B>(<A HREF="../../../net/spy/photo/PhotoUser.html">PhotoUser</A> user, int id) throws <A HREF="../../../net/spy/photo/PhotoException.html">PhotoException</A></PRE><DL><DD>Get the given gallery by ID as it will be seen by the given user.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the Gallery or null if there's no match.<DD><CODE><A HREF="../../../net/spy/photo/PhotoException.html">PhotoException</A></CODE></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 a new gallery.<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="addImage(net.spy.photo.PhotoImageData)"><!-- --></A><H3>addImage</H3><PRE>public void <B>addImage</B>(<A HREF="../../../net/spy/photo/PhotoImageData.html">PhotoImageData</A> pid)</PRE><DL><DD>Add a new image to the gallery.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="addImage(int)"><!-- --></A><H3>addImage</H3><PRE>public void <B>addImage</B>(int imageId) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Exception.html">Exception</A></PRE><DL><DD>Add a new image to the gallery.<P><DD><DL></DL></DD><DD><DL><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Exception.html">Exception</A></CODE></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE><DL><DD>String me.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="removeImage(net.spy.photo.PhotoImageData)"><!-- --></A><H3>removeImage</H3><PRE>public void <B>removeImage</B>(<A HREF="../../../net/spy/photo/PhotoImageData.html">PhotoImageData</A> pid)</PRE><DL><DD>Remove an image from the given gallery.<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 this gallery's ID.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>getName</B>()</PRE><DL><DD>Get the name of this gallery.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setName(java.lang.String)"><!-- --></A><H3>setName</H3><PRE>public void <B>setName</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> to)</PRE><DL><DD>Set the name of this Gallery.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getImages()"><!-- --></A><H3>getImages</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Collection.html">Collection</A> <B>getImages</B>()</PRE><DL><DD>Get a Collection of PhotoImageData objects describing the contents of this gallery.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isPublic()"><!-- --></A><H3>isPublic</H3><PRE>public boolean <B>isPublic</B>()</PRE><DL><DD>If true, the gallery is public.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setPublic(boolean)"><!-- --></A><H3>setPublic</H3><PRE>public void <B>setPublic</B>(boolean isPublic)</PRE><DL><DD>If true, the gallery is public.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getTimestamp()"><!-- --></A><H3>getTimestamp</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Date.html">Date</A> <B>getTimestamp</B>()</PRE><DL><DD>Get the timestamp this gallery was created.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getOwner()"><!-- --></A><H3>getOwner</H3><PRE>public <A HREF="../../../net/spy/photo/PhotoUser.html">PhotoUser</A> <B>getOwner</B>()</PRE><DL><DD>Get the owner of this gallery.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="size()"><!-- --></A><H3>size</H3><PRE>public int <B>size</B>()</PRE><DL><DD>Return the number of images in this gallery.<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/Gallery.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/ExternalImageServerScaler.html"><B>PREV CLASS</B></A> <A HREF="../../../net/spy/photo/GroupedComments.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="Gallery.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 + -