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 InetDomainBeforeDeleteListener
{
        /**
         * called if some domain is about to be deleted.
         *
         * @param editor  who is doing the operation
         * @param domain  the domain 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 domain
         * FIXME: limit deep of load?
         */
        public Collection inetDomainBeforeDelete(User editor, InetDomain domain, Collection known)
                throws ModelException;
}