code: public List<License> getLicenses() {
          final ModelMapper modelMapper = new ModelMapper(repoHandler);
          final List<License> licenses = new ArrayList<>();
          for (final DbLicense dbLicense : licensesRegexp.values()) {
              licenses.add(modelMapper.getLicense(dbLicense));
          }
          return licenses;
      }
docs: Returns all the available license in client/server data model
  
  @return List<License>