public static class DBSynmantics.ShSynChange extends DASemantics.SemanticHandler
Modifier and Type | Field and Description |
---|---|
protected SynChangeMeta |
chm |
protected io.odysz.transact.sql.parts.Resulving |
entId |
protected SyntityMeta |
entm
Target synchronzed table meta, e.g.
|
protected SynSubsMeta |
sbm |
protected SynodeMeta |
snm |
protected DATranscxt |
st |
protected String |
synode |
Modifier and Type | Method and Description |
---|---|
protected void |
onDelete(io.odysz.semantics.ISemantext stx,
io.odysz.transact.sql.Statement<? extends io.odysz.transact.sql.Statement<?>> stmt,
io.odysz.transact.sql.parts.condition.Condit condt,
io.odysz.semantics.IUser usr)
Handle onDelete event.
|
protected void |
onInsert(ISyncontext stx,
io.odysz.transact.sql.Insert insrt,
ArrayList<Object[]> row,
Map<String,Integer> cols,
io.odysz.semantics.IUser usr) |
protected void |
onUpdate(ISyncontext stx,
io.odysz.transact.sql.Update updt,
ArrayList<Object[]> row,
Map<String,Integer> cols,
io.odysz.semantics.IUser usr) |
protected final SynChangeMeta chm
protected final SynodeMeta snm
protected final SynSubsMeta sbm
protected final SyntityMeta entm
protected final io.odysz.transact.sql.parts.Resulving entId
protected final String synode
protected final DATranscxt st
protected void onInsert(ISyncontext 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
io.odysz.transact.x.TransException
protected void onUpdate(ISyncontext 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, SQLException
io.odysz.transact.x.TransException
SQLException
protected void onDelete(io.odysz.semantics.ISemantext stx, io.odysz.transact.sql.Statement<? extends io.odysz.transact.sql.Statement<?>> stmt, io.odysz.transact.sql.parts.condition.Condit condt, io.odysz.semantics.IUser usr) throws SemanticException
DASemantics.SemanticHandler
onDelete
in class DASemantics.SemanticHandler
condt
- delete statement's condition.SemanticException
Copyright © 2024. All rights reserved.