@Override
  public void deleteContentFolder(ContentEntry contentEntry, ContentFolderRef folderRef) {
    ContentFolder folder = folderRef.getContentFolder();
    if (folder instanceof SourceFolder) {
      removeSourceFolder((SourceFolder)folder);
      update();
    }
    else if (folder instanceof ExcludeFolder) {
      removeExcludeFolder(folder.getUrl());
      update();
    }

  }
@Override
  public void deleteContentFolder(ContentEntry contentEntry, ContentFolderRef folderRef)