Go to most recent revision | Details | 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 MailAliasBeforeDeleteListener |
||
7 | { |
||
8 | /** |
||
9 | * called if some mail alias is about to be deleted. |
||
10 | * |
||
11 | * @param editor who is doing the operation |
||
12 | * @param alias the mail alias to delete |
||
13 | * @param known Collection(Object) - already known objects which are touched by current operation, |
||
14 | * to avoid loops |
||
15 | * @return Collection(CascadeDeleteElement) |
||
16 | * - object which are touched by deleting the mail alias |
||
17 | * FIXME: limit deep of load? |
||
18 | */ |
||
19 | public Collection mailAliasBeforeDelete(User editor, MailAlias mailAlias, Collection known) |
||
20 | throws ModelException; |
||
21 | } |