beautypg.com

Working with the gamln api, Chapter b: working with the gamln api – Google Apps Migration for Lotus Notes Installation & Administration Guide User Manual

Page 89

background image

89

Working with the GAMLN API

Chapter B

The Feeder databases include a script library, Custom Events, that includes routines designed
to let you interact with the GAMLN API. The routines are described below.

PostFinaliseUser (userProfile As NotesDocument)

Called after all email, calendar, and contacts/group entries have been successfully migrated
to Google Apps, and the mail profile has the status of Complete. Passes in the user’s mail
profile.

PostMigratedUser (userProfile As NotesDocument)

Called immediately after each user has been processed by the migration module. Because it
may take multiple cycles to fully migrate a user, this routine can be called multiple times for a
user. Passes in the user’s mail profile.

PostMigrateUsers

Called at the end of each migration run.

PostUpdateRepository

Called at the end of each repository (Feeder database) update.

PostUpdateRepositoryUser (userProfile As NotesDocument)

Called immediately after the repository (Feeder database) has been updated for each user.
Passes in the user’s mail profile.

Function QueryFinaliseUser (userProfile As NotesDocument) As Integer

Called after all email, calendar, contacts/groups entries have been successfully migrated to
Google Apps, and just before the profile is set to complete. Return False to skip the user.
Return True to let processing proceed. Passes in the user’s mail profile.