示例#1
0
 public void purge(Ui ui) {
   LdapObject entry = findEntry();
   if (entry == null)
     env.warn("target " + this + " should have unknown entry "); // TODO: +entry.getVarName());
   else if (!parent.contains(entry))
     env.warn("target " + this + " does not have entry " + entry.getVarName());
   else parent.remove(entry);
 }
示例#2
0
 public void configure(Ui ui) {
   ui.configuring(this);
   LdapObject entry = findEntry();
   if (entry == null)
     env.warn("target " + parent + " should have unknown entry "); // TODO: +entry.getVarName());
   else if (parent.contains(entry))
     env.info("target " + parent + " already has entry " + entry.getVarName());
   else parent.add(entry);
   ui.readyWith(this);
 }