You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by rd...@apache.org on 2009/06/02 12:12:50 UTC

svn commit: r780995 - /james/imap/trunk/store/src/main/java/org/apache/james/imap/store/mail/model/Mailbox.java

Author: rdonkin
Date: Tue Jun  2 10:12:50 2009
New Revision: 780995

URL: http://svn.apache.org/viewvc?rev=780995&view=rev
Log:
Remove unused part of the API

Modified:
    james/imap/trunk/store/src/main/java/org/apache/james/imap/store/mail/model/Mailbox.java

Modified: james/imap/trunk/store/src/main/java/org/apache/james/imap/store/mail/model/Mailbox.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/store/src/main/java/org/apache/james/imap/store/mail/model/Mailbox.java?rev=780995&r1=780994&r2=780995&view=diff
==============================================================================
--- james/imap/trunk/store/src/main/java/org/apache/james/imap/store/mail/model/Mailbox.java (original)
+++ james/imap/trunk/store/src/main/java/org/apache/james/imap/store/mail/model/Mailbox.java Tue Jun  2 10:12:50 2009
@@ -18,22 +18,43 @@
  ****************************************************************/
 package org.apache.james.imap.store.mail.model;
 
+/**
+ * Models long term mailbox data.
+ */
 public interface Mailbox {
 
+    /**
+     * Gets the last UID.
+     * @return uid
+     */
     public abstract long getLastUid();
 
+    /**
+     * Consumes the current UID.
+     */
+    public abstract void consumeUid();
+    
+    /**
+     * Gets the unique mailbox ID.
+     * @return mailbox id
+     */
     public abstract long getMailboxId();
 
-    public abstract int getMessageCount();
-
+    /**
+     * Gets the current name for this mailbox.
+     * @return not null
+     */
     public abstract String getName();
-
-    public abstract long getSize();
-
-    public abstract long getUidValidity();
-
-    public abstract void consumeUid();
-
+    
+    /**
+     * Sets the current name for this mailbox.
+     * @param name not null
+     */
     public abstract void setName(String name);
 
+    /**
+     * Gets the current UID VALIDITY for this mailbox.
+     * @return uid validity
+     */
+    public abstract long getUidValidity();
 }
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org