Exemple #1
0
 @Override
 public void storeProperties(Map properties) {
   super.storeProperties(properties);
   properties.put("projectId", this.projectId);
   properties.put("name", this.name);
   properties.put("text", this.text);
 }
Exemple #2
0
 public void ensureIntegrity() {
   super.ensureIntegrity();
   if (!isProjectSet()) {
     repairMissingMaster();
     return;
   }
   try {
     getProject();
   } catch (EntityDoesNotExistException ex) {
     LOG.info("Repairing dead project reference");
     repairDeadProjectReference(this.projectId);
   }
 }
Exemple #3
0
 protected void repairDeadReferences(String entityId) {
   super.repairDeadReferences(entityId);
   repairDeadProjectReference(entityId);
 }