Warning: Attempt to read property "date" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "msg" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/www/websvn.26th.net/html/blame.php on line 247
WebSVN – general – Blame – /hostadmiral/trunk/src/ak/hostadmiral/core/model/MailboxBeforeDeleteListener.java/ – Rev 949

Subversion Repositories general

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
949 dev 1
package ak.hostadmiral.core.model;
2
 
3
import java.util.Collection;
4
import ak.hostadmiral.util.ModelException;
5
 
6
public interface MailboxBeforeDeleteListener
7
{
8
	/**
9
	 * called if some mailbox is about to be deleted.
10
	 *
11
	 * @param editor     who is doing the operation
12
	 * @param mailbox    the mailbox to delete
13
	 * @param known      Collection(Object) - already known objects which are touched by current operation,
14
	 *                   to avoid loops
15
	 * @return Collection(CascadeDeleteElement) - object which are touched by deleting the mailbox
16
	 * FIXME: limit deep of load?
17
	 */
18
	public Collection mailboxBeforeDelete(User editor, Mailbox mailbox, Collection known)
19
		throws ModelException;
20
}