Subversion Repositories general

Rev

Rev 1011 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1011 dev 1
package ak.hostadmiral.core.model;
2
 
3
import ak.hostadmiral.util.ModelException;
4
 
5
public interface MailAliasCreatedListener
6
{
7
	/**
8
	 * called if new mail alias is just created.
9
	 *
10
	 * @param editor     who is doing the operation
11
	 * @param mailAlias  the new mail alias
12
	 * @throws ModelException in case of any *fatal* errors,
13
	 *         Note: throw it on fatal errors only, because database transaction
14
	 *         will be rolled back but any other MailAliasCreatedListeners might be already called
15
	 *         and (possible) they will not restore their original state.
16
	 */
17
	public void mailAliasCreated(User editor, MailAlias mailAlias)
18
		throws ModelException;
19
}