/** * INTERNAL: * When given an expression, this method will return a new expression with the optimistic * locking values included. The values are taken from the passed in database row. * This expression will be used in a delete call. */ public Expression buildDeleteExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row) { return mainExpression.and(buildExpression(table, row, null, mainExpression.getBuilder())); }
/** * INTERNAL: * This method must be included in any locking policy. When given an * expression, this method will return a new expression with the optimistic * locking values included. The values are taken from the passed in database row. * This expression will be used in a delete call. */ public Expression buildUpdateExpression(DatabaseTable table, Expression mainExpression, AbstractRecord transRow, AbstractRecord modifyRow) { return mainExpression.and(buildExpression(table, transRow, modifyRow, mainExpression.getBuilder())); }
/** * INTERNAL: * This method must be included in any locking policy. When given an * expression, this method will return a new expression with the optimistic * locking values included. The values are taken from the passed in database row. * This expression will be used in a delete call. */ public Expression buildUpdateExpression(DatabaseTable table, Expression mainExpression, AbstractRecord transRow, AbstractRecord modifyRow) { return mainExpression.and(buildExpression(table, transRow, modifyRow, mainExpression.getBuilder())); }
/** * INTERNAL: * When given an expression, this method will return a new expression with the optimistic * locking values included. The values are taken from the passed in database row. * This expression will be used in a delete call. */ public Expression buildDeleteExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row) { return mainExpression.and(buildExpression(table, row, null, mainExpression.getBuilder())); }
/** * INTERNAL: * When given an expression, this method will return a new expression with the optimistic * locking values included. The values are taken from the passed in database row. * This expression will be used in a delete call. */ public Expression buildDeleteExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row) { return mainExpression.and(buildExpression(table, row, null, mainExpression.getBuilder())); }
/** * INTERNAL: * This method must be included in any locking policy. When given an * expression, this method will return a new expression with the optimistic * locking values included. The values are taken from the passed in database row. * This expression will be used in a delete call. */ public Expression buildUpdateExpression(DatabaseTable table, Expression mainExpression, AbstractRecord transRow, AbstractRecord modifyRow) { return mainExpression.and(buildExpression(table, transRow, modifyRow, mainExpression.getBuilder())); }