*/
private void updateSsEventEditUrl(URL ssEditUrl, String calEditUrl,
String baseEditUrl)
throws EPAuthenticationException, IOException, ServiceException {
SpreadsheetService ssService = getSsService();
ListEntry ssEntry = ssService.getEntry(ssEditUrl, ListEntry.class);
// remove spaces in the URL
String calUrlFieldName = fieldMap.getCalendarUrlColumn();
if (calEditUrl == null &&
(ssEntry.getCustomElements().getValue(calUrlFieldName) == null ||
"".equals(ssEntry.getCustomElements().getValue(calUrlFieldName)))){
calEditUrl = " ";
}
if (calEditUrl != null) {
ssEntry.getCustomElements().setValueLocal(
calUrlFieldName,
calEditUrl);
}
// remove spaces in the URL
String baseUrlFieldName = fieldMap.getBaseUrlColumn();
if (baseEditUrl == null &&
(ssEntry.getCustomElements().getValue(baseUrlFieldName) == null ||
"".equals(ssEntry.getCustomElements().getValue(baseUrlFieldName)))){
baseEditUrl = " ";
}
if (baseEditUrl != null) {
ssEntry.getCustomElements().setValueLocal(
baseUrlFieldName,
baseEditUrl);
}
ssEntry.update();
}