Example #1
0
 /**
  * Remove nominative information from the Proposal record
  *
  * @param pointOfView Identify the anonymization point of view
  * @param proposals Array of entities to purge
  * @return List of cleaned up Proposal instances
  */
 public static JsonArray anonymizeProposals(QueryPointOfView pointOfView, JsonArray proposals) {
   int idx = proposals.size();
   while (0 < idx) {
     --idx;
     anonymizeProposal(pointOfView, proposals.getJsonObject(idx));
   }
   return proposals;
 }