Rev 949 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
949 | dev | 1 | package ak.hostadmiral.core.model; |
2 | |||
3 | import java.util.Collection; |
||
4 | import ak.hostadmiral.util.ModelException; |
||
5 | |||
6 | public interface MailboxBeforeDeleteListener |
||
7 | { |
||
8 | /** |
||
9 | * called if some mailbox is about to be deleted. |
||
10 | * |
||
11 | * @param editor who is doing the operation |
||
12 | * @param mailbox the mailbox to delete |
||
13 | * @param known Collection(Object) - already known objects which are touched by current operation, |
||
14 | * to avoid loops |
||
15 | * @return Collection(CascadeDeleteElement) - object which are touched by deleting the mailbox |
||
16 | * FIXME: limit deep of load? |
||
17 | */ |
||
18 | public Collection mailboxBeforeDelete(User editor, Mailbox mailbox, Collection known) |
||
19 | throws ModelException; |
||
20 | } |