Subversion Repositories general

Rev

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 MailAliasCreatedListener
7
{
8
	/**
9
	 * called if new mail alias is just created.
10
	 *
11
	 * @param editor     who is doing the operation
12
	 * @param mailAlias  the new mail alias
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 MailAliasCreatedListeners might be already called
16
	 *         and (possible) they will not restore their original state.
17
	 */
18
	public void mailAliasCreated(User editor, MailAlias mailAlias)
19
		throws ModelException;
20
}