📄 category.html
字号:
</DD><DD><DL></DL></DD></DL><HR><A NAME="getACLEntryForUser(int)"><!-- --></A><H3>getACLEntryForUser</H3><PRE>public <A HREF="../../../net/spy/photo/PhotoACLEntry.html">PhotoACLEntry</A> <B>getACLEntryForUser</B>(int userid)</PRE><DL><DD>Get an ACL entry for the given user.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>userid</CODE> - the numeric user ID of the user to look up<DT><B>Returns:</B><DD>the entry, or null if there's no entry for the given user</DL></DD></DL><HR><A NAME="addViewACLEntry(int)"><!-- --></A><H3>addViewACLEntry</H3><PRE>public void <B>addViewACLEntry</B>(int userid)</PRE><DL><DD>Add an ACL entry permitting the given user ID to view this category.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="addAddACLEntry(int)"><!-- --></A><H3>addAddACLEntry</H3><PRE>public void <B>addAddACLEntry</B>(int userid)</PRE><DL><DD>Add an ACL entry permitting the given user ID to add to this category.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="removeACLEntry(int)"><!-- --></A><H3>removeACLEntry</H3><PRE>public void <B>removeACLEntry</B>(int userid)</PRE><DL><DD>Remove an entry for a given user.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="removeAllACLEntries()"><!-- --></A><H3>removeAllACLEntries</H3><PRE>public void <B>removeAllACLEntries</B>()</PRE><DL><DD>Remove all ACL entries.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getCatList(int, int)"><!-- --></A><H3>getCatList</H3><PRE>public static <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A> <B>getCatList</B>(int uid, int access) throws <A HREF="../../../net/spy/photo/PhotoException.html">PhotoException</A></PRE><DL><DD>Get a category list.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>uid</CODE> - The numeric UID of the user.<DD><CODE>access</CODE> - A bitmask describing the access required for the search (ord together).<DD><CODE><A HREF="../../../net/spy/photo/PhotoException.html">PhotoException</A></CODE></DL></DD></DL><HR><A NAME="getAdminCatList()"><!-- --></A><H3>getAdminCatList</H3><PRE>public static <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A> <B>getAdminCatList</B>() throws <A HREF="../../../net/spy/photo/PhotoException.html">PhotoException</A></PRE><DL><DD>Get a Collection of all categories (for administrative actions).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a new SortedSet of Categories.<DT><B>Throws:</B><DD><CODE><A HREF="../../../net/spy/photo/PhotoException.html">PhotoException</A></CODE> - if it can't find the categories</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 category.<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 category.<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 category.<P><DD><DL></DL></DD><DD><DL></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="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>[] args) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Exception.html">Exception</A></PRE><DL><DD>Testing and what not.<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><!-- ========= 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/Category.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"> PREV CLASS <A HREF="../../../net/spy/photo/Comment.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="Category.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <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 + -