Package google.registry.export
Class SyncGroupMembersAction
java.lang.Object
google.registry.export.SyncGroupMembersAction
- All Implemented Interfaces:
Runnable
Action that syncs changes to
RegistrarPoc
entities with Google Groups.
This uses the Directory API.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getGroupEmailAddressForContactType
(String registrarId, RegistrarPocBase.Type type, String gSuiteDomainName) Returns the Google Groups email address for the given registrar ID and RegistrarContact.Type.void
run()
Loads all Registrars, and for each one that is marked dirty, grabs the existing group memberships and updates them to reflect the current state of the RegistrarContacts.
-
Method Details
-
getGroupEmailAddressForContactType
public static String getGroupEmailAddressForContactType(String registrarId, RegistrarPocBase.Type type, String gSuiteDomainName) Returns the Google Groups email address for the given registrar ID and RegistrarContact.Type. -
run
public void run()Loads all Registrars, and for each one that is marked dirty, grabs the existing group memberships and updates them to reflect the current state of the RegistrarContacts.
-