public static GoogleDataManager getAuthSubManager(String applicationName, String tableId, String startDate, String endDate, String segment, String segmentName) {
return new GoogleDataManager(
UserServiceFactory.getUserService(),
new TokenDaoJdoImpl(
PMF.getInstance()),
new AnalyticsServiceWrapper(
new AnalyticsService(applicationName),
new AuthorizationServiceAuthSubImpl(
GoogleDataManager.GOOGLE_DATA_SCOPE),
tableId, startDate, endDate, segment, segmentName));
}