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