Subversion Repositories general

Rev

Rev 949 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

package ak.hostadmiral.core.model;

import java.util.Collection;
import ak.hostadmiral.util.ModelException;

public interface MailAliasBeforeDeleteListener
{
        /**
         * called if some mail alias is about to be deleted.
         *
         * @param editor  who is doing the operation
         * @param alias   the mail alias to delete
         * @param known   Collection(Object) - already known objects which are touched by current operation,
         *                to avoid loops
         * @return Collection(CascadeDeleteElement)
         *   - object which are touched by deleting the mail alias
         * FIXME: limit deep of load?
         */
        public Collection mailAliasBeforeDelete(User editor, MailAlias mailAlias, Collection known)
                throws ModelException;
}