Subversion Repositories javautils

Rev

Blame | Last modification | View Log | RSS feed

  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.6.0_10) on Tue Nov 17 12:13:44 PST 2009 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  7. <TITLE>
  8. Uses of Class com.sun.mail.imap.Rights (JavaMail API documentation)
  9. </TITLE>
  10.  
  11. <META NAME="date" CONTENT="2009-11-17">
  12.  
  13. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
  14.  
  15. <SCRIPT type="text/javascript">
  16. function windowTitle()
  17. {
  18.     if (location.href.indexOf('is-external=true') == -1) {
  19.         parent.document.title="Uses of Class com.sun.mail.imap.Rights (JavaMail API documentation)";
  20.     }
  21. }
  22. </SCRIPT>
  23. <NOSCRIPT>
  24. </NOSCRIPT>
  25.  
  26. </HEAD>
  27.  
  28. <BODY BGCOLOR="white" onload="windowTitle();">
  29. <HR>
  30.  
  31.  
  32. <!-- ========= START OF TOP NAVBAR ======= -->
  33. <A NAME="navbar_top"><!-- --></A>
  34. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  35. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  36. <TR>
  37. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  38. <A NAME="navbar_top_firstrow"><!-- --></A>
  39. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  40.   <TR ALIGN="center" VALIGN="top">
  41.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  42.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  43.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../com/sun/mail/imap/Rights.html" title="class in com.sun.mail.imap"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
  44.   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
  45.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  46.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  47.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  48.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  49.   </TR>
  50. </TABLE>
  51. </TD>
  52. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  53. </EM>
  54. </TD>
  55. </TR>
  56.  
  57. <TR>
  58. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  59. &nbsp;PREV&nbsp;
  60. &nbsp;NEXT</FONT></TD>
  61. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  62.   <A HREF="../../../../../index.html?com/sun/mail/imap//class-useRights.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  63. &nbsp;<A HREF="Rights.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
  64. &nbsp;<SCRIPT type="text/javascript">
  65.   <!--
  66.   if(window==top) {
  67.     document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  68.   }
  69.   //-->
  70. </SCRIPT>
  71. <NOSCRIPT>
  72.   <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  73. </NOSCRIPT>
  74.  
  75.  
  76. </FONT></TD>
  77. </TR>
  78. </TABLE>
  79. <A NAME="skip-navbar_top"></A>
  80. <!-- ========= END OF TOP NAVBAR ========= -->
  81.  
  82. <HR>
  83. <CENTER>
  84. <H2>
  85. <B>Uses of Class<br>com.sun.mail.imap.Rights</B></H2>
  86. </CENTER>
  87.  
  88. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  89. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  90. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  91. Packages that use <A HREF="../../../../../com/sun/mail/imap/Rights.html" title="class in com.sun.mail.imap">Rights</A></FONT></TH>
  92. </TR>
  93. <TR BGCOLOR="white" CLASS="TableRowColor">
  94. <TD><A HREF="#com.sun.mail.imap"><B>com.sun.mail.imap</B></A></TD>
  95. <TD>An IMAP protocol provider for the JavaMail API
  96. that provides access to an IMAP message store.&nbsp;</TD>
  97. </TR>
  98. </TABLE>
  99. &nbsp;
  100. <P>
  101. <A NAME="com.sun.mail.imap"><!-- --></A>
  102. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  103. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  104. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  105. Uses of <A HREF="../../../../../com/sun/mail/imap/Rights.html" title="class in com.sun.mail.imap">Rights</A> in <A HREF="../../../../../com/sun/mail/imap/package-summary.html">com.sun.mail.imap</A></FONT></TH>
  106. </TR>
  107. </TABLE>
  108. &nbsp;
  109. <P>
  110.  
  111. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  112. <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
  113. <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../com/sun/mail/imap/package-summary.html">com.sun.mail.imap</A> that return <A HREF="../../../../../com/sun/mail/imap/Rights.html" title="class in com.sun.mail.imap">Rights</A></FONT></TH>
  114. </TR>
  115. <TR BGCOLOR="white" CLASS="TableRowColor">
  116. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  117. <CODE>&nbsp;<A HREF="../../../../../com/sun/mail/imap/Rights.html" title="class in com.sun.mail.imap">Rights</A></CODE></FONT></TD>
  118. <TD><CODE><B>ACL.</B><B><A HREF="../../../../../com/sun/mail/imap/ACL.html#getRights()">getRights</A></B>()</CODE>
  119.  
  120. <BR>
  121. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the rights associated with this ACL entry.</TD>
  122. </TR>
  123. <TR BGCOLOR="white" CLASS="TableRowColor">
  124. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  125. <CODE>&nbsp;<A HREF="../../../../../com/sun/mail/imap/Rights.html" title="class in com.sun.mail.imap">Rights</A>[]</CODE></FONT></TD>
  126. <TD><CODE><B>IMAPFolder.</B><B><A HREF="../../../../../com/sun/mail/imap/IMAPFolder.html#listRights(java.lang.String)">listRights</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>
  127.  
  128. <BR>
  129. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get all the rights that may be allowed to the given identifier.</TD>
  130. </TR>
  131. <TR BGCOLOR="white" CLASS="TableRowColor">
  132. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  133. <CODE>&nbsp;<A HREF="../../../../../com/sun/mail/imap/Rights.html" title="class in com.sun.mail.imap">Rights</A></CODE></FONT></TD>
  134. <TD><CODE><B>IMAPFolder.</B><B><A HREF="../../../../../com/sun/mail/imap/IMAPFolder.html#myRights()">myRights</A></B>()</CODE>
  135.  
  136. <BR>
  137. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the rights allowed to the currently authenticated user.</TD>
  138. </TR>
  139. </TABLE>
  140. &nbsp;
  141. <P>
  142.  
  143. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  144. <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
  145. <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../com/sun/mail/imap/package-summary.html">com.sun.mail.imap</A> with parameters of type <A HREF="../../../../../com/sun/mail/imap/Rights.html" title="class in com.sun.mail.imap">Rights</A></FONT></TH>
  146. </TR>
  147. <TR BGCOLOR="white" CLASS="TableRowColor">
  148. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  149. <CODE>&nbsp;void</CODE></FONT></TD>
  150. <TD><CODE><B>Rights.</B><B><A HREF="../../../../../com/sun/mail/imap/Rights.html#add(com.sun.mail.imap.Rights)">add</A></B>(<A HREF="../../../../../com/sun/mail/imap/Rights.html" title="class in com.sun.mail.imap">Rights</A>&nbsp;rights)</CODE>
  151.  
  152. <BR>
  153. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add all the rights in the given Rights object to this
  154.  Rights object.</TD>
  155. </TR>
  156. <TR BGCOLOR="white" CLASS="TableRowColor">
  157. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  158. <CODE>&nbsp;boolean</CODE></FONT></TD>
  159. <TD><CODE><B>Rights.</B><B><A HREF="../../../../../com/sun/mail/imap/Rights.html#contains(com.sun.mail.imap.Rights)">contains</A></B>(<A HREF="../../../../../com/sun/mail/imap/Rights.html" title="class in com.sun.mail.imap">Rights</A>&nbsp;rights)</CODE>
  160.  
  161. <BR>
  162. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check whether all the rights in the specified Rights object are
  163.  present in this Rights object.</TD>
  164. </TR>
  165. <TR BGCOLOR="white" CLASS="TableRowColor">
  166. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  167. <CODE>&nbsp;void</CODE></FONT></TD>
  168. <TD><CODE><B>Rights.</B><B><A HREF="../../../../../com/sun/mail/imap/Rights.html#remove(com.sun.mail.imap.Rights)">remove</A></B>(<A HREF="../../../../../com/sun/mail/imap/Rights.html" title="class in com.sun.mail.imap">Rights</A>&nbsp;rights)</CODE>
  169.  
  170. <BR>
  171. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove all rights in the given Rights object from this
  172.  Rights object.</TD>
  173. </TR>
  174. <TR BGCOLOR="white" CLASS="TableRowColor">
  175. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  176. <CODE>&nbsp;void</CODE></FONT></TD>
  177. <TD><CODE><B>ACL.</B><B><A HREF="../../../../../com/sun/mail/imap/ACL.html#setRights(com.sun.mail.imap.Rights)">setRights</A></B>(<A HREF="../../../../../com/sun/mail/imap/Rights.html" title="class in com.sun.mail.imap">Rights</A>&nbsp;rights)</CODE>
  178.  
  179. <BR>
  180. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the rights associated with this ACL entry.</TD>
  181. </TR>
  182. </TABLE>
  183. &nbsp;
  184. <P>
  185.  
  186. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  187. <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
  188. <TH ALIGN="left" COLSPAN="2">Constructors in <A HREF="../../../../../com/sun/mail/imap/package-summary.html">com.sun.mail.imap</A> with parameters of type <A HREF="../../../../../com/sun/mail/imap/Rights.html" title="class in com.sun.mail.imap">Rights</A></FONT></TH>
  189. </TR>
  190. <TR BGCOLOR="white" CLASS="TableRowColor">
  191. <TD><CODE><B><A HREF="../../../../../com/sun/mail/imap/ACL.html#ACL(java.lang.String, com.sun.mail.imap.Rights)">ACL</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
  192.     <A HREF="../../../../../com/sun/mail/imap/Rights.html" title="class in com.sun.mail.imap">Rights</A>&nbsp;rights)</CODE>
  193.  
  194. <BR>
  195. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct an ACL entry for the given identifier with the given rights.</TD>
  196. </TR>
  197. <TR BGCOLOR="white" CLASS="TableRowColor">
  198. <TD><CODE><B><A HREF="../../../../../com/sun/mail/imap/Rights.html#Rights(com.sun.mail.imap.Rights)">Rights</A></B>(<A HREF="../../../../../com/sun/mail/imap/Rights.html" title="class in com.sun.mail.imap">Rights</A>&nbsp;rights)</CODE>
  199.  
  200. <BR>
  201. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a Rights object initialized with the given rights.</TD>
  202. </TR>
  203. </TABLE>
  204. &nbsp;
  205. <P>
  206. <HR>
  207.  
  208.  
  209. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  210. <A NAME="navbar_bottom"><!-- --></A>
  211. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  212. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  213. <TR>
  214. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  215. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  216. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  217.   <TR ALIGN="center" VALIGN="top">
  218.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  219.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  220.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../com/sun/mail/imap/Rights.html" title="class in com.sun.mail.imap"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
  221.   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
  222.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  223.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  224.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  225.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  226.   </TR>
  227. </TABLE>
  228. </TD>
  229. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  230. </EM>
  231. </TD>
  232. </TR>
  233.  
  234. <TR>
  235. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  236. &nbsp;PREV&nbsp;
  237. &nbsp;NEXT</FONT></TD>
  238. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  239.   <A HREF="../../../../../index.html?com/sun/mail/imap//class-useRights.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  240. &nbsp;<A HREF="Rights.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
  241. &nbsp;<SCRIPT type="text/javascript">
  242.   <!--
  243.   if(window==top) {
  244.     document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  245.   }
  246.   //-->
  247. </SCRIPT>
  248. <NOSCRIPT>
  249.   <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  250. </NOSCRIPT>
  251.  
  252.  
  253. </FONT></TD>
  254. </TR>
  255. </TABLE>
  256. <A NAME="skip-navbar_bottom"></A>
  257. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  258.  
  259. <HR>
  260. Copyright &#169; 2009 <a href="http://www.sun.com">Sun Microsystems, Inc.</a>. All Rights Reserved.
  261. </BODY>
  262. </HTML>
  263.