public ICFAccTaxObj readTax(CFAccTaxPKey pkey, boolean forceRead) { ICFAccTaxObj obj = null; if ((!forceRead) && members.containsKey(pkey)) { obj = members.get(pkey); } else { CFAccTaxBuff readBuff = ((ICFAccSchema) schema.getBackingStore()) .getTableTax() .readDerivedByIdIdx(schema.getAuthorization(), pkey.getRequiredTaxId()); if (readBuff != null) { obj = schema.getTaxTableObj().newInstance(); obj.setPKey(((ICFAccSchema) schema.getBackingStore()).getFactoryTax().newPKey()); obj.setBuff(readBuff); obj = (ICFAccTaxObj) obj.realize(); } else if (schema.getCacheMisses()) { members.put(pkey, null); } } return (obj); }
public void deleteTaxByIdIdx(CFSecurityAuthorization Authorization, CFAccTaxPKey argKey) { deleteTaxByIdIdx(Authorization, argKey.getRequiredTaxId()); }