|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QuotaAwareStore
An interface implemented by Stores that support quotas.
The getQuota
and setQuota
methods
support the quota model defined by the IMAP QUOTA extension.
Refer to RFC 2087
for more information.
Method Summary | |
---|---|
Quota[] |
getQuota(String root)
Get the quotas for the named quota root. |
void |
setQuota(Quota quota)
Set the quotas for the quota root specified in the quota argument. |
Method Detail |
---|
Quota[] getQuota(String root) throws MessagingException
root
- the name of the quota root
MessagingException
- if the server doesn't support the
QUOTA extensionvoid setQuota(Quota quota) throws MessagingException
getQuota
method, but it need not be.
quota
- the quota to set
MessagingException
- if the server doesn't support the
QUOTA extension
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.