1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 package org.astrogrid.community.common.policy.manager ;
27
28 import java.rmi.Remote ;
29 import java.rmi.RemoteException ;
30
31 import org.astrogrid.community.common.service.CommunityService ;
32
33 import org.astrogrid.community.common.policy.data.GroupMemberData ;
34
35 import org.astrogrid.community.common.exception.CommunityPolicyException ;
36 import org.astrogrid.community.common.exception.CommunityServiceException ;
37 import org.astrogrid.community.common.exception.CommunityIdentifierException ;
38
39 /***
40 * Interface for our PolicyManager service.
41 *
42 */
43 public interface PolicyManager
44 extends Remote, CommunityService, AccountManager, GroupManager, GroupMemberManager, ResourceManager, PermissionManager
45 {
46
47
48 /***
49 * Request a list of Accounts, given a remote Community name.
50 *
51 public Object[] getRemoteAccounts(String community)
52 throws RemoteException ;
53 */
54
55 /***
56 * Request a list of Groups, given a remote Community name.
57 *
58 public Object[] getRemoteGroups(String community)
59 throws RemoteException ;
60 */
61
62 /***
63 * Get a list of remote Groups that an Account belongs to, given the Account and Community names.
64 *
65 public Object[] getRemoteAccountGroups(String account, String community)
66 throws RemoteException ;
67 */
68
69 }