Class DASemantics.SemanticHandler

java.lang.Object
io.odysz.semantic.DASemantics.SemanticHandler
All Implemented Interfaces:
XMLTable.IMapValue
Direct Known Subclasses:
DASemantics.ShExtFilev2, DBSynmantics.ShSynChange
Enclosing class:
DASemantics

public abstract static class DASemantics.SemanticHandler extends Object implements XMLTable.IMapValue
  • Field Details

    • insert

      protected boolean insert
    • update

      protected boolean update
    • delete

      protected boolean delete
    • post

      protected boolean post
    • target

      protected String target
    • pkField

      protected String pkField
    • args

      protected String[] args
    • trxt

      protected io.odysz.transact.sql.Transcxt trxt
    • sm

      protected DASemantics.smtype sm
    • verbose

      protected boolean verbose
  • Constructor Details

  • Method Details

    • mapKey

      public String mapKey()
      Specified by:
      mapKey in interface XMLTable.IMapValue
    • logi

      public void logi()
    • onInsert

      protected void onInsert(io.odysz.semantics.ISemantext stx, io.odysz.transact.sql.Insert insrt, ArrayList<Object[]> row, Map<String,Integer> cols, io.odysz.semantics.IUser usr) throws io.odysz.transact.x.TransException
      Throws:
      io.odysz.transact.x.TransException
    • onUpdate

      protected void onUpdate(io.odysz.semantics.ISemantext stx, io.odysz.transact.sql.Update updt, ArrayList<Object[]> row, Map<String,Integer> cols, io.odysz.semantics.IUser usr) throws io.odysz.transact.x.TransException
      Throws:
      io.odysz.transact.x.TransException
    • onDelete

      protected void onDelete(io.odysz.semantics.ISemantext stx, io.odysz.transact.sql.Delete del, io.odysz.transact.sql.parts.condition.Condit whereCondt, io.odysz.semantics.IUser usr) throws io.odysz.transact.x.TransException
      Handle onDelete event.
      Parameters:
      stx -
      del -
      whereCondt - delete statement's condition.
      usr -
      Throws:
      io.odysz.transact.x.TransException
      SQLException
    • onPost

      protected void onPost(io.odysz.semantics.ISemantext sm, io.odysz.transact.sql.Statement<? extends io.odysz.transact.sql.Statement<?>> stmt, ArrayList<Object[]> row, Map<String,Integer> cols, io.odysz.semantics.IUser usr, ArrayList<String> sqlBuf) throws SemanticException
      Throws:
      SemanticException
    • is

      public boolean is(DASemantics.smtype sm)