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