Examples of ItemTypeDto


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

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

        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

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

        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

Examples of lv.odylab.evemanage.integration.evedb.dto.ItemTypeDto

        applicationFacade.deleteApiKey(apiKeyID);
    }

    @Override
    public lv.odylab.evemanage.client.rpc.dto.ItemTypeDto getItemTypeByName(String itemTypeName) throws EveDbException, InvalidItemTypeException {
        ItemTypeDto itemTypeDto = applicationFacade.getItemTypeByName(itemTypeName);
        return mapper.map(itemTypeDto, lv.odylab.evemanage.client.rpc.dto.ItemTypeDto.class);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.