Package lv.odylab.evemanage.application.exception.validation

Examples of lv.odylab.evemanage.application.exception.validation.NoItemsException


    @Override
    public QuickCalculatorFetchPricesFromEveCentralActionResponse execute(QuickCalculatorFetchPricesFromEveCentralAction action) throws Exception {
        List<Long> typeIDs = action.getTypeIDs();
        if (typeIDs.size() == 0) {
            throw new NoItemsException(ErrorCode.NO_ITEMS);
        }
        Map<Long, BigDecimal> typeIdToPriceMap = clientFacade.fetchPricesFromEveCentralForTypeIDs(typeIDs);

        QuickCalculatorFetchPricesFromEveCentralActionResponse response = new QuickCalculatorFetchPricesFromEveCentralActionResponse();
        response.setTypeIdToPriceMap(typeIdToPriceMap);
View Full Code Here


    @Override
    public PriceFetchFromEveCentralActionResponse execute(PriceFetchFromEveCentralAction action) throws Exception {
        List<PriceSetItemDto> priceSetItemDtos = action.getPriceSetItems();
        if (priceSetItemDtos.size() == 0) {
            throw new NoItemsException(ErrorCode.NO_ITEMS);
        }
        List<PriceSetItemDto> updatePriceSetItemDtos = clientFacade.fetchPricesFromEveCentral(priceSetItemDtos);

        PriceFetchFromEveCentralActionResponse response = new PriceFetchFromEveCentralActionResponse();
        response.setPriceSetItems(updatePriceSetItemDtos);
View Full Code Here

    @Override
    public PriceFetchFromEveMetricsActionResponse execute(PriceFetchFromEveMetricsAction action) throws Exception {
        List<PriceSetItemDto> priceSetItemDtos = action.getPriceSetItems();
        if (priceSetItemDtos.size() == 0) {
            throw new NoItemsException(ErrorCode.NO_ITEMS);
        }
        List<PriceSetItemDto> updatePriceSetItemDtos = clientFacade.fetchPricesFromEveMetrics(priceSetItemDtos);

        PriceFetchFromEveMetricsActionResponse response = new PriceFetchFromEveMetricsActionResponse();
        response.setPriceSetItems(updatePriceSetItemDtos);
View Full Code Here

    @Override
    public QuickCalculatorFetchPricesFromEveMetricsActionResponse execute(QuickCalculatorFetchPricesFromEveMetricsAction action) throws Exception {
        List<Long> typeIDs = action.getTypeIDs();
        if (typeIDs.size() == 0) {
            throw new NoItemsException(ErrorCode.NO_ITEMS);
        }
        Map<Long, BigDecimal> typeIdToPriceMap = clientFacade.fetchPricesFromEveMetricsForTypeIDs(typeIDs);

        QuickCalculatorFetchPricesFromEveMetricsActionResponse response = new QuickCalculatorFetchPricesFromEveMetricsActionResponse();
        response.setTypeIdToPriceMap(typeIdToPriceMap);
View Full Code Here

TOP

Related Classes of lv.odylab.evemanage.application.exception.validation.NoItemsException

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.