private void controllerPost() { switch (type) { case INSERT: controller.postInsert(this); break; case UPDATE: controller.postUpdate(this); break; case DELETE: controller.postDelete(this); break; default: break; } }
public int compare(BeanPersistController o1, BeanPersistController o2) { int i1 = o1.getExecutionOrder(); int i2 = o2.getExecutionOrder(); return (i1 < i2 ? -1 : (i1 == i2 ? 0 : 1)); }