|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SubscriptionManager
Subscribes users.
| Method Summary | |
|---|---|
void |
subscribe(MailboxSession session,
java.lang.String mailbox)
Subscribes the user in the session to the given mailbox. |
java.util.Collection<java.lang.String> |
subscriptions(MailboxSession session)
Finds all subscriptions for the user in the session. |
void |
unsubscribe(MailboxSession session,
java.lang.String mailbox)
Unsubscribes the user in the session from the given mailbox. |
| Methods inherited from interface org.apache.james.mailbox.RequestAware |
|---|
endProcessingRequest, startProcessingRequest |
| Method Detail |
|---|
void subscribe(MailboxSession session,
java.lang.String mailbox)
throws SubscriptionException
session - not nullmailbox - not null
SubscriptionException - when subscription fails
java.util.Collection<java.lang.String> subscriptions(MailboxSession session)
throws SubscriptionException
user - not null
SubscriptionException - when subscriptions cannot be read
void unsubscribe(MailboxSession session,
java.lang.String mailbox)
throws SubscriptionException
session - not nullmailbox - not null
SubscriptionException - when subscriptions cannot be read
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||