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