class CustomizedTextServiceFacadeWebTier implements CustomizedTextServiceFacade {

    @Override
    public void addOrUpdateCustomizedText(String originalText, String customText) {
        try {
            this.transactionHelper.startTransaction();

            customizedTextDao.addOrUpdateCustomizedText(originalText, customText);

            this.transactionHelper.commitTransaction();
        } catch (Exception e) {
            this.transactionHelper.rollbackTransaction();
            throw new MifosRuntimeException(e);
        } finally {
            this.transactionHelper.closeSession();
        }
        updateLegacyCaches();
    }

    @Autowired public  CustomizedTextServiceFacadeWebTier(CustomizedTextDao customizedTextDao, MessageSource messageSource);

}