javax.mail
Interface QuotaAwareStore


public interface QuotaAwareStore

An interface for Store implementations to support the IMAP RFC 2087 Quota extension.

Version:
$Rev: 421852 $ $Date: 2006-07-14 03:02:19 -0700 (Fri, 14 Jul 2006) $

Method Summary
 Quota[] getQuota(String root)
          Get the quotas for the specified root element.
 void setQuota(Quota quota)
          Set a quota item.
 

Method Detail

getQuota

Quota[] getQuota(String root)
Get the quotas for the specified root element.

Parameters:
root - The root name for the quota information.
Returns:
An array of Quota objects defined for the root.

setQuota

void setQuota(Quota quota)
Set a quota item. The root contained in the Quota item identies the quota target.

Parameters:
quota - The source quota item.


Copyright © 2006 Apache Software Foundation. All Rights Reserved.