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 MailboxModifiedListener
7
{
8
	/**
9
	 * called if some mailbox is just changed.
10
	 *
11
	 * @param editor     who is doing the operation
12
	 * @param mailbox    the mailbox in its new state
13
	 * @param oldMailbox copy of mailbox as it was before the operation
14
	 * @throws ModelException in case of any *fatal* errors,
15
	 *         Note: throw it on fatal errors only, because database transaction
16
	 *         will be rolled back but any other MailboxCreatedListeners might be already called
17
	 *         and (possible) they will not restore their original state.
18
	 */
19
	public void mailboxModified(User editor, Mailbox mailbox, Mailbox oldMailbox)
20
		throws ModelException;
21
}