| Modifier and Type | Field and Description |
|---|---|
| private GenericRIChecker[] | |
| pack-priv LanguageConnectionContext |
| Access | Constructor and Description |
|---|---|
| public | RISetChecker(LanguageConnectionContext
the language connection context lcc, TransactionController the xact controller tc, FKInfo[] the foreign key information fkInfo)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | doFKCheck(Activation
the activation a, ExecRow the row to check row)Check that everything in the row is ok, i.e. that there are no foreign keys in the passed in row that have invalid values. |
| public void | doPKCheck(Activation
The activation a, ExecRow The row to check row, boolean true if the check is relevant only for RESTRICTED
referential action.For referenced keys: The required number of duplicates that
need to be present. Only used if deferredRowReq)postCheck==false.Check that there are no referenced primary keys in the passed in row. |
| public void | doRICheck(Activation
the activation a, int index into fkInfo index, ExecRow the row to check row, boolean true if the check is relevant only for RESTRICTED
referential action.For referenced keys: the required number of duplicates that
need to be present. Only used if deferredRowReq)postCheck==false.Execute the specific RI check on the passed in row. |
| public void | |
| public void | |
| pack-priv void |
| checkers | back to summary |
|---|---|
| private GenericRIChecker[] checkers | |
| lcc | back to summary |
|---|---|
| pack-priv LanguageConnectionContext lcc | |
| RISetChecker | back to summary |
|---|---|
public RISetChecker(LanguageConnectionContext lcc, TransactionController tc, FKInfo[] fkInfo) throws StandardException
| |
| close | back to summary |
|---|---|
| public void close() throws StandardException clean up
| |
| doFKCheck | back to summary |
|---|---|
| public void doFKCheck(Activation a, ExecRow row) throws StandardException Check that everything in the row is ok, i.e. that there are no foreign keys in the passed in row that have invalid values.
| |
| doPKCheck | back to summary |
|---|---|
| public void doPKCheck(Activation a, ExecRow row, boolean restrictCheckOnly, int deferredRowReq) throws StandardException Check that there are no referenced primary keys in the passed in row. So for each foreign key that references a primary key constraint, make sure that there is no row that matches the values in the passed in row.
| |
| doRICheck | back to summary |
|---|---|
| public void doRICheck(Activation a, int index, ExecRow row, boolean restrictCheckOnly, int deferredRowReq) throws StandardException Execute the specific RI check on the passed in row.
| |
| postCheck | back to summary |
|---|---|
| public void postCheck() throws StandardException | |
| postCheck | back to summary |
|---|---|
| public void postCheck(int index) throws StandardException | |
| reopen | back to summary |
|---|---|
| pack-priv void reopen() throws StandardException Do any work needed to reopen our ri checkers for another round of checks. Must do a close() first.
| |