Examples of GDataDocumentsProxy


Examples of com.casamind.adware.server.proxy.GDataDocumentsProxy

    gdataWebPassword = context.getInitParameter("gdataWebPassword");
    gdataDesktopLogin = context.getInitParameter("gdataDeskopLogin");
    gdataDeskopPassword = context.getInitParameter("gdataDeskopPassword");
    documentsFeedUrl = context.getInitParameter("documentsFeedUrl");
    spreadsheetFeedUrl = context.getInitParameter("spreadsheetFeedUrl");
    webClientProxy = new GDataDocumentsProxy(documentsFeedUrl, spreadsheetFeedUrl, gdataWebLogin, gdataWebPassword, gdataThreadSleep, gdataConnectTimeout);
    desktopClientProxy = new GDataDocumentsProxy(documentsFeedUrl, spreadsheetFeedUrl, gdataDesktopLogin, gdataDeskopPassword, gdataThreadSleep, gdataConnectTimeout);
  }
View Full Code Here

Examples of com.casamind.adware.server.proxy.GDataDocumentsProxy

    gdataConnectTimeout = Long.parseLong(context.getInitParameter("gdataConnectTimeout"));
    gdataWebLogin = context.getInitParameter("gdataWebLogin");
    gdataWebPassword = context.getInitParameter("gdataWebPassword");
    documentsFeedUrl = context.getInitParameter("documentsFeedUrl");
    spreadsheetFeedUrl = context.getInitParameter("spreadsheetFeedUrl");
    proxy = new GDataDocumentsProxy(documentsFeedUrl, spreadsheetFeedUrl, gdataWebLogin, gdataWebPassword, gdataThreadSleep, gdataConnectTimeout);
  }
View Full Code Here

Examples of com.casamind.adware.server.proxy.GDataDocumentsProxy

    gdataConnectTimeout = Long.parseLong(context.getInitParameter("gdataConnectTimeout"));
    gdataWebLogin = context.getInitParameter("gdataWebLogin");
    gdataWebPassword = context.getInitParameter("gdataWebPassword");
    documentsFeedUrl = context.getInitParameter("documentsFeedUrl");
    spreadsheetFeedUrl = context.getInitParameter("spreadsheetFeedUrl");
    proxy = new GDataDocumentsProxy(documentsFeedUrl, spreadsheetFeedUrl, gdataWebLogin, gdataWebPassword, gdataThreadSleep, gdataConnectTimeout);
  }
View Full Code Here

Examples of com.casamind.adware.server.proxy.GDataDocumentsProxy

  @Override
  public String getSpreadsheetURL(Long userId, String fileName) {
    // if it's an administrator
    if ((userId == null || userId == 0) && (fileName == null || "".equals(fileName))) {
      gdataProxy = new GDataDocumentsProxy(documentsFeedUrl, spreadsheetFeedUrl, gdataAdminLogin, gdataAdminPassword, gdataThreadSleep, gdataConnectTimeout);
      return gdataProxy.getSpreadsheetURL(adminSpreadsheet);
    }
    UserAccount user = DatastoreProxy.getUserAccountById(userId);
    if (user != null) {
      if (user.getGdataLogin() == null)
        user.setGdataLogin(gdataWebLogin);
      if (user.getGdataPassword() == null)
        user.setGdataPassword(gdataWebPassword);
      gdataProxy = new GDataDocumentsProxy(documentsFeedUrl, spreadsheetFeedUrl, user.getGdataLogin(), user.getGdataPassword(), gdataThreadSleep, gdataConnectTimeout);
      DatastoreProxy.updateUser(user);
      return gdataProxy.getSpreadsheetURL(fileName);
    }
    return null;
  }
View Full Code Here

Examples of com.casamind.adware.server.proxy.GDataDocumentsProxy

    gdataConnectTimeout = Long.parseLong(context.getInitParameter("gdataConnectTimeout"));
    gdataWebLogin = context.getInitParameter("gdataWebLogin");
    gdataWebPassword = context.getInitParameter("gdataWebPassword");
    documentsFeedUrl = context.getInitParameter("documentsFeedUrl");
    spreadsheetFeedUrl = context.getInitParameter("spreadsheetFeedUrl");
    proxy = new GDataDocumentsProxy(documentsFeedUrl, spreadsheetFeedUrl, gdataWebLogin, gdataWebPassword, gdataThreadSleep, gdataConnectTimeout);
    stringXML = "";
  }
View Full Code Here

Examples of com.casamind.adware.server.proxy.GDataDocumentsProxy

    adminSpreadsheet = context.getInitParameter("adminSpreadsheet");
    documentsFeedUrl = context.getInitParameter("documentsFeedUrl");
    spreadsheetFeedUrl = context.getInitParameter("spreadsheetFeedUrl");
    advertizingSlotsFrameURL = context.getInitParameter("advertizingSlotsFrameURL");
    readonlyCalendarFrameURL = context.getInitParameter("readonlyCalendarFrameURL");
    gdataProxy = new GDataDocumentsProxy(documentsFeedUrl, spreadsheetFeedUrl, gdataWebLogin, gdataWebPassword, gdataThreadSleep, gdataConnectTimeout);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.