Esempio n. 1
0
 protected void doAfterCreate(Script script, Node node) {
   if ((this.afterCreate != null) && (script != null)) {
     script.set("me", this);
     script.set("node", node);
     script.eval(afterCreate);
   }
 }
Esempio n. 2
0
  protected void doBeforeCreate(Script script) {
    if ((this.beforeCreate != null) && (script != null)) {
      if (script != null) {
        script.set("me", this);
      }

      script.eval(beforeCreate);
    }
  }