Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1011 | dev | 1 | package ak.hostadmiral.core.model; |
2 | |||
3 | import java.util.Collection; |
||
4 | import ak.hostadmiral.util.ModelException; |
||
5 | |||
6 | public interface InetDomainCreatedListener |
||
7 | { |
||
8 | /** |
||
9 | * called if new domain is just created. |
||
10 | * |
||
11 | * @param editor who is doing the operation |
||
12 | * @param domain the new domain |
||
13 | * @throws ModelException in case of any *fatal* errors, |
||
14 | * Note: throw it on fatal errors only, because database transaction |
||
15 | * will be rolled back but any other InetDomainCreatedListeners might be already called |
||
16 | * and (possible) they will not restore their original state. |
||
17 | */ |
||
18 | public void inetDomainCreated(User editor, InetDomain domain) |
||
19 | throws ModelException; |
||
20 | } |