public interface QuotaAwareStore
Modifier and Type | Method and Description |
---|---|
Quota[] |
getQuota(java.lang.String root)
Returns the quotas for the given quota root.
|
void |
setQuota(Quota quota)
Sets the quotas for the quota root specified in the quota argument.
|
Quota[] getQuota(java.lang.String root) throws MessagingException
root
- the quota rootMessagingException
- if the QUOTA extension is not supportedvoid setQuota(Quota quota) throws MessagingException
quota
- the quotaMessagingException
- if the QUOTA extension is not supported