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 InetDomainModifiedListener
7
{
8
	/**
9
	 * called if some domain is just changed.
10
	 *
11
	 * @param editor    who is doing the operation
12
	 * @param domain    the domain in its new state
13
	 * @param oldDomain copy of domain 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 InetDomainCreatedListeners might be already called
17
	 *         and (possible) they will not restore their original state.
18
	 */
19
	public void inetDomainModified(User editor, InetDomain domain, InetDomain oldDomain)
20
		throws ModelException;
21
}