001
014
015 package com.liferay.portal.kernel.googleapps;
016
017 import java.util.List;
018
019
022 public interface GGroupManager {
023
024 public void addGGroupMember(
025 String groupEmailAddress, String memberEmailAddress)
026 throws GoogleAppsException;
027
028 public void addGGroupOwner(
029 String groupEmailAddress, String ownerEmailAddress)
030 throws GoogleAppsException;
031
032 public void deleteGGroup(String emailAddress) throws GoogleAppsException;
033
034 public void deleteGGroupMember(
035 String groupEmailAddress, String memberEmailAddress)
036 throws GoogleAppsException;
037
038 public void deleteGGroupOwner(
039 String groupEmailAddress, String ownerEmailAddress)
040 throws GoogleAppsException;
041
042 public GGroup getGGroup(String emailAddress) throws GoogleAppsException;
043
044 public GGroupMember getGGroupMember(
045 String groupEmailAddress, String memberEmailAddress)
046 throws GoogleAppsException;
047
048 public List<GGroupMember> getGGroupMembers(String emailAddress)
049 throws GoogleAppsException;
050
051 public GGroupOwner getGGroupOwner(
052 String groupEmailAddress, String ownerEmailAddress)
053 throws GoogleAppsException;
054
055 public List<GGroupOwner> getGGroupOwners(String emailAddress)
056 throws GoogleAppsException;
057
058 public List<GGroup> getGGroups() throws GoogleAppsException;
059
060 public List<GGroup> getGGroups(long userId, boolean directOnly)
061 throws GoogleAppsException;
062
063 public void updateDescription(String emailAddress, String description)
064 throws GoogleAppsException;
065
066 }