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 MailAliasModifiedListener
6
{
7
	/**
8
	 * called if some mail alias is just changed.
9
	 *
10
	 * @param editor       who is doing the operation
11
	 * @param mailAlias    the mail alias in its new state
12
	 * @param oldMailAlias copy of mail alias as it was before the operation
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 mailAliasModified(User editor, MailAlias mailAlias, MailAlias oldMailAlias)
19
		throws ModelException;
20
}