Package lv.odylab.evemanage.client.rpc.dto

Examples of lv.odylab.evemanage.client.rpc.dto.ItemTypeDto


    }

    @Override
    public PriceSetAddItemActionResponse execute(PriceSetAddItemAction action) throws Exception {
        String typeName = action.getItemTypeName();
        ItemTypeDto itemTypeDto = clientFacade.getItemTypeByName(typeName);
        if (itemTypeDto == null) {
            throw new InvalidItemTypeException(typeName, ErrorCode.INVALID_ITEM_TYPE);
        }
        PriceSetItemDto priceSetItemDto = new PriceSetItemDto();
        priceSetItemDto.setItemTypeName(itemTypeDto.getName());
        priceSetItemDto.setItemTypeIcon(itemTypeDto.getGraphicIcon());
        priceSetItemDto.setItemTypeID(itemTypeDto.getItemTypeID());
        priceSetItemDto.setItemCategoryID(itemTypeDto.getItemCategoryID());
        priceSetItemDto.setPrice(BigDecimal.ZERO);

        PriceSetAddItemActionResponse response = new PriceSetAddItemActionResponse();
        response.setPriceSetItem(priceSetItemDto);
        return response;
View Full Code Here


        return apiKeyCharacterInfoDto;
    }

    @Override
    public ItemTypeDto map(InvTypeBasicInfoDto invTypeBasicInfoDto, Class<ItemTypeDto> itemTypeDtoClass) {
        ItemTypeDto itemTypeDto = new ItemTypeDto();
        itemTypeDto.setItemTypeID(invTypeBasicInfoDto.getItemTypeID());
        itemTypeDto.setItemCategoryID(invTypeBasicInfoDto.getItemCategoryID());
        itemTypeDto.setName(invTypeBasicInfoDto.getName());
        itemTypeDto.setGraphicIcon(invTypeBasicInfoDto.getIcon());
        return itemTypeDto;
    }
View Full Code Here

        return itemTypeDto;
    }

    @Override
    public ItemTypeDto map(lv.odylab.evemanage.integration.evedb.dto.ItemTypeDto itemTypeDto, Class<ItemTypeDto> itemTypeDtoClass) {
        ItemTypeDto itemTypeDtoToMap = new ItemTypeDto();
        itemTypeDtoToMap.setItemTypeID(itemTypeDto.getItemTypeID());
        itemTypeDtoToMap.setItemCategoryID(itemTypeDto.getItemCategoryID());
        itemTypeDtoToMap.setName(itemTypeDto.getName());
        itemTypeDtoToMap.setGraphicIcon(itemTypeDto.getGraphicIcon());
        return itemTypeDtoToMap;
    }
View Full Code Here

TOP

Related Classes of lv.odylab.evemanage.client.rpc.dto.ItemTypeDto

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.