Subversion Repositories general

Rev

Rev 1010 | Blame | Compare with Previous | Last modification | View Log | RSS feed

package ak.hostadmiral.core.model;

import ak.hostadmiral.util.ModelException;

public interface UserDeletedListener
{
        /**
         * called if some user is just deleted.
         *
         * @param editor  who is doing the operation
         * @param user    the user deleted
         * @throws ModelException in case of any *fatal* errors,
         *         Note: throw it on fatal errors only, because database transaction
         *         will be rolled back but any other UserDeletedListeners might be already called
         *         and (possible) they will not restore their original state.
         */
        public void userDeleted(User editor, User user)
                throws ModelException;
}