Package com.suarte.core

Examples of com.suarte.core.ExchangeRateType


    public ExchangeRateList() {
        setSortColumn("id"); // sets the default sort column
    }

    public String execute(){
        ExchangeRateType type = !isBlank(stType) ? ExchangeRateType.valueOf(stType) : null;
        exchangeRates = sort(exchangeRateManager.findRates(date, null, toCurrency, type));

        return "list";
    }
View Full Code Here


    public String save() {
        boolean isNew = (exchangeRate.getId() == null);
        local = currencyManager.findLocal();

        ExchangeRateType type = !isBlank(stType) ? ExchangeRateType.valueOf(stType) : null;
        exchangeRate.setType(type);      
        exchangeRate.setFromCurrency(local);
       
        if (exchangeRate.getFromCurrency() == null){
            String key = "exchangeRate.localCurrency.missing";
View Full Code Here

TOP

Related Classes of com.suarte.core.ExchangeRateType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.