Subversion Repositories general

Rev

Rev 961 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
949 dev 1
package ak.hostadmiral.core.model;
2
 
3
import java.util.Collection;
4
import ak.hostadmiral.util.ModelException;
5
 
6
public interface InetDomainBeforeDeleteListener
7
{
8
	/**
9
	 * called if some domain is about to be deleted.
10
	 *
11
	 * @param editor  who is doing the operation
12
	 * @param domain  the domain to delete
13
	 * @param known   Collection(Object) - already known objects which are touched by current operation,
14
	 *                to avoid loops
15
	 * @return Collection(CascadeDeleteElement) - object which are touched by deleting the domain
16
	 */
17
	public Collection inetDomainBeforeDelete(User editor, InetDomain domain, Collection known)
18
		throws ModelException;
19
}