1
14
15 package com.liferay.portal.googleapps;
16
17 import java.util.List;
18
19
24 public interface GGroupManager {
25
26 public void addGGroupMember(
27 String groupEmailAddress, String memberEmailAddress)
28 throws GoogleAppsException;
29
30 public void addGGroupOwner(
31 String groupEmailAddress, String ownerEmailAddress)
32 throws GoogleAppsException;
33
34 public void deleteGGroup(String emailAddress) throws GoogleAppsException;
35
36 public void deleteGGroupMember(
37 String groupEmailAddress, String memberEmailAddress)
38 throws GoogleAppsException;
39
40 public void deleteGGroupOwner(
41 String groupEmailAddress, String ownerEmailAddress)
42 throws GoogleAppsException;
43
44 public GGroup getGGroup(String emailAddress) throws GoogleAppsException;
45
46 public GGroupMember getGGroupMember(
47 String groupEmailAddress, String memberEmailAddress)
48 throws GoogleAppsException;
49
50 public List<GGroupMember> getGGroupMembers(String emailAddress)
51 throws GoogleAppsException;
52
53 public GGroupOwner getGGroupOwner(
54 String groupEmailAddress, String ownerEmailAddress)
55 throws GoogleAppsException;
56
57 public List<GGroupOwner> getGGroupOwners(String emailAddress)
58 throws GoogleAppsException;
59
60 public List<GGroup> getGGroups() throws GoogleAppsException;
61
62 public List<GGroup> getGGroups(long userId, boolean directOnly)
63 throws GoogleAppsException;
64
65 public void updateDescription(String emailAddress, String description)
66 throws GoogleAppsException;
67
68 }