Rev 961 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
946 | dev | 1 | package ak.hostadmiral.core.model; |
2 | |||
3 | import java.util.Collection; |
||
4 | import ak.hostadmiral.util.ModelException; |
||
5 | |||
6 | public interface UserBeforeDeleteListener |
||
7 | { |
||
8 | /** |
||
9 | * called if some user is about to be deleted. |
||
10 | * |
||
11 | * @param editor who is doing the operation |
||
12 | * @param user the user to delete |
||
949 | dev | 13 | * @param known Collection(Object) - already known objects which are touched by current operation, |
14 | * to avoid loops |
||
946 | dev | 15 | * @return Collection(CascadeDeleteElement) - object which are touched by deleting the user |
16 | */ |
||
949 | dev | 17 | public Collection userBeforeDelete(User editor, User user, Collection known) |
946 | dev | 18 | throws ModelException; |
19 | } |