public static void deleteFolder(long folderId) throws RemoteException {
    try {
      DLAppServiceUtil.deleteFolder(folderId);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
  public static void deleteFolder(long repositoryId, long parentFolderId, java.lang.String name)
      throws RemoteException {
    try {
      DLAppServiceUtil.deleteFolder(repositoryId, parentFolderId, name);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }