Package io.odysz.semantic.syn
Class DBSynmantics.ShSynChange
java.lang.Object
io.odysz.semantic.DASemantics.SemanticHandler
io.odysz.semantic.syn.DBSynmantics.ShSynChange
- All Implemented Interfaces:
XMLTable.IMapValue
- Enclosing class:
- DBSynmantics
Semantics handler of syn-change logs.
This handler should not be configured via semantics.xml, but via dictionary.json's syntities field.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final SynChangeMeta
final SyntityMeta
Target synchronzed table meta, e.g.protected final SynSubsMeta
protected final SynodeMeta
protected final DATranscxt
protected final String
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkBuilder
(io.odysz.semantics.ISemantext stx) protected void
onDelete
(io.odysz.semantics.ISemantext stx, io.odysz.transact.sql.Delete stmt, io.odysz.transact.sql.parts.condition.Condit condt, io.odysz.semantics.IUser usr) Handle onDelete event.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) 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) Methods inherited from class io.odysz.semantic.DASemantics.SemanticHandler
is, logi, mapKey, onPost
-
Field Details
-
chm
-
snm
-
sbm
-
entm
Target synchronzed table meta, e.g. PhotoMeta. -
synode
-
st
-
-
Method Details
-
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- Overrides:
onInsert
in classDASemantics.SemanticHandler
- Throws:
io.odysz.transact.x.TransException
-
checkBuilder
protected boolean checkBuilder(io.odysz.semantics.ISemantext stx) -
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- Overrides:
onUpdate
in classDASemantics.SemanticHandler
- Throws:
io.odysz.transact.x.TransException
-
onDelete
protected void onDelete(io.odysz.semantics.ISemantext stx, io.odysz.transact.sql.Delete stmt, io.odysz.transact.sql.parts.condition.Condit condt, io.odysz.semantics.IUser usr) throws io.odysz.transact.x.TransException Description copied from class:DASemantics.SemanticHandler
Handle onDelete event.- Overrides:
onDelete
in classDASemantics.SemanticHandler
condt
- delete statement's condition.- Throws:
io.odysz.transact.x.TransException
-