class BadgeClassExtensionServiceImpl implements BadgeClassExtensionService {

  @Override
  public void save(BadgeClassExtension badgeClassExtension) {
    Map<String, Object> request = new HashMap<>();

    request.put(JsonKey.ID, badgeClassExtension.getBadgeId());
    request.put(BadgingJsonKey.ISSUER_ID, badgeClassExtension.getIssuerId());

    request.put(JsonKey.ROOT_ORG_ID, badgeClassExtension.getRootOrgId());
    request.put(JsonKey.TYPE, badgeClassExtension.getType());
    request.put(JsonKey.SUBTYPE, badgeClassExtension.getSubtype());
    request.put(JsonKey.ROLES, badgeClassExtension.getRoles());

    cassandraOperation.upsertRecord(Util.KEY_SPACE_NAME, BADGE_CLASS_EXT_TABLE_NAME, request);
  }

  public  BadgeClassExtensionServiceImpl();
  public  BadgeClassExtensionServiceImpl(CassandraOperation cassandraOperation);

}