addSpaces(sb,6);
statWriter.writeElement("hasAdministratorRole",String.valueOf(publisher.getIsAdministrator()),false,false);
addSpaces(sb,5);
sb.append("},");
addSpaces(sb,5);
HrRecord hrecord = eu.getRepository();
sb.append("\"hrRecord\": {");
addSpaces(sb,6);
statWriter.writeElement("findable",String.valueOf(hrecord.getFindable()),true,false);
addSpaces(sb,6);
statWriter.writeElement("isHarvestDue",String.valueOf(hrecord.getIsHarvestDue()),true,false);
addSpaces(sb,6);
statWriter.writeElement("isSelected",String.valueOf(hrecord.getIsSelected()),true,false);
addSpaces(sb,6);
statWriter.writeElement("localId",String.valueOf(hrecord.getLocalId()),true,true);
addSpaces(sb,6);
statWriter.writeElement("ownerId",String.valueOf(hrecord.getOwnerId()),true,true);
addSpaces(sb,6);
statWriter.writeElement("searchable",String.valueOf(hrecord.getSearchable()),true,false);
addSpaces(sb,6);
statWriter.writeElement("searchRequiresLogin",String.valueOf(hrecord.getSearchRequiresLogin()),true,false);
addSpaces(sb,6);
statWriter.writeElement("sendNotification",String.valueOf(hrecord.getSendNotification()),true,false);
addSpaces(sb,6);
statWriter.writeElement("synchronizable",String.valueOf(hrecord.getSynchronizable()),true,false);
addSpaces(sb,6);
statWriter.writeElement("approvalStatus",String.valueOf(hrecord.getApprovalStatus()),true,false);
addSpaces(sb,6);
statWriter.writeElement("hostUrl",String.valueOf(hrecord.getHostUrl()),true,false);
addSpaces(sb,6);
statWriter.writeElement("inputDate",String.valueOf(hrecord.getInputDate()),true,false);
addSpaces(sb,6);
statWriter.writeElement("lastHarvestDate",String.valueOf(hrecord.getLastHarvestDate()),true,false);
addSpaces(sb,6);
statWriter.writeElement("lastSyncDate",String.valueOf(hrecord.getLastSyncDate()),true,false);
addSpaces(sb,6);
statWriter.writeElement("nextHarvestDate",String.valueOf(hrecord.getNextHarvestDate()),true,false);
addSpaces(sb,6);
statWriter.writeElement("updateDate",String.valueOf(hrecord.getUpdateDate()),true,false);
addSpaces(sb,6);
statWriter.writeElement("uuid",String.valueOf(hrecord.getUuid()),true,false);
addSpaces(sb,6);
statWriter.writeElement("recentJobStatus",String.valueOf(hrecord.getRecentJobStatus()),true,false);
addSpaces(sb,6);
statWriter.writeElement("name",String.valueOf(hrecord.getName()),true,false);
addSpaces(sb,6);
statWriter.writeElement("harvestFrequency",String.valueOf(hrecord.getHarvestFrequency()),true,false);
addSpaces(sb,6);
statWriter.writeElement("protocolType",String.valueOf(hrecord.getProtocol().getKind()),true,false);
addSpaces(sb,6);
statWriter.writeElement("protocol",String.valueOf(hrecord.getProtocol()),false,false);
addSpaces(sb,5);
sb.append("},");
addSpaces(sb,5);
sb.append("\"criteria\": {");
addSpaces(sb,6);