0,0 → 1,18 |
package ak.hostadmiral.core.model; |
|
import ak.hostadmiral.util.ModelException; |
|
public interface InetDomainValidateListener |
{ |
/** |
* called if domain information is about to be changed - by new or existing entry |
* |
* @param editor who is doing the operation |
* @param inetDomain the domain in its new state |
* @param oldInetDomain copy of domain as it was before the operation |
* @throws ModelException in case of any validation errors, validation will be stopped |
* by first exception |
*/ |
public void inetDomainValidate(User editor, InetDomain inetDomain, InetDomain oldInetDomain) |
throws ModelException; |
} |