01: package org.osbl.orga.logic;
02:
03: import org.osbl.orga.model.*;
04: import org.osbl.persistence.logic.TreeLogic;
05:
06: import java.util.*;
07: import java.sql.Timestamp;
08:
09: /**
10: * @author hengels
11: * @version $Revision$
12: */
13: public interface OrgaStructureLogic extends
14: TreeLogic<Organisation, Group> {
15: List<Group> groupsByContainedGroup(Long tree, Long groupKey,
16: String inRole);
17:
18: List<Group> groupsByContainedIdentity(Long tree, Long identityKey,
19: String inRole);
20:
21: List<Membership> memberships(Long identity);
22:
23: List<Relationship> relationships(Long identity);
24:
25: int importMembers(Organisation organisation, String createdBy);
26: }
|