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 MailboxModifiedListener
6
{
7
	/**
8
	 * called if some mailbox is just changed.
9
	 *
10
	 * @param editor     who is doing the operation
11
	 * @param mailbox    the mailbox in its new state
12
	 * @param oldMailbox copy of mailbox 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 MailboxCreatedListeners might be already called
16
	 *         and (possible) they will not restore their original state.
17
	 */
18
	public void mailboxModified(User editor, Mailbox mailbox, Mailbox oldMailbox)
19
		throws ModelException;
20
}