james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1147689 - /james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/MessageManager.java
Date Sun, 17 Jul 2011 17:58:06 GMT
Author: norman
Date: Sun Jul 17 17:58:06 2011
New Revision: 1147689

URL: http://svn.apache.org/viewvc?rev=1147689&view=rev
Log:
Mark MessageManager.isWriteable(MailboxSession session), MessageManager.isModSeqPermanent(MailboxSession
session) and MessageManager.getMessageCount(MailboxSession mailboxSession) as @Deprecated.
See MAILBOX-105

Modified:
    james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/MessageManager.java

Modified: james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/MessageManager.java
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/MessageManager.java?rev=1147689&r1=1147688&r2=1147689&view=diff
==============================================================================
--- james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/MessageManager.java (original)
+++ james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/MessageManager.java Sun
Jul 17 17:58:06 2011
@@ -42,7 +42,9 @@ public interface MessageManager {
      * @param mailboxSession
      * @return count
      * @throws MailboxException
+     * @deprecated use {@link #getMetaData(boolean, MailboxSession, org.apache.james.mailbox.MessageManager.MetaData.FetchGroup)}
      */
+    @Deprecated
     long getMessageCount(MailboxSession mailboxSession) throws MailboxException;
 
     /**
@@ -50,7 +52,9 @@ public interface MessageManager {
      * 
      * @param session
      * @return writable
+     * @deprecated use {@link #getMetaData(boolean, MailboxSession, org.apache.james.mailbox.MessageManager.MetaData.FetchGroup)}
      */
+    @Deprecated
     boolean isWriteable(MailboxSession session);
     
     
@@ -59,6 +63,7 @@ public interface MessageManager {
      * 
      * @param session
      * @return modSeqPermanent
+     * @deprecated use {@link #getMetaData(boolean, MailboxSession, org.apache.james.mailbox.MessageManager.MetaData.FetchGroup)}
      */
     boolean isModSeqPermanent(MailboxSession session);
 



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


Mime
View raw message