code: public void removeRepository(String repositoryUid) throws GreenPepperServerException {
          try {
              sessionService.startSession();
              sessionService.beginTransaction();
  
              repositoryDao.remove(repositoryUid);
  
              sessionService.commitTransaction();
              log.debug("Removed Repository: " + repositoryUid);
          } catch (Exception ex) {
              sessionService.rollbackTransaction();
              throw handleException(REPOSITORY_REMOVE_FAILED, ex);
          } finally {
              sessionService.closeSession();
          }
      }
docs: {@inheritDoc}