Examples of ApiIndustryJobResponse


Examples of lv.odylab.eveapi.parser.method.common.industryjob.ApiIndustryJobResponse

    @Override
    @Logging(logArguments = false)
    public List<IndustryJobDto> importFromIndustryJobXml(String importXml) throws UnableToImportJobsFromXmlException {
        try {
            ApiIndustryJobResponse apiResponse = unmarshal(new ByteArrayInputStream(importXml.getBytes("UTF-8")), ApiIndustryJobResponse.class);
            List<ApiIndustryJobRow> apiIndustryJobRows = apiResponse.getResult().getRowset().getRows();
            List<IndustryJobDto> industryJobDtos = new ArrayList<IndustryJobDto>();
            for (ApiIndustryJobRow apiIndustryJobRow : apiIndustryJobRows) {
                industryJobDtos.add(mapper.map(apiIndustryJobRow, IndustryJobDto.class));
            }
            return industryJobDtos;
View Full Code Here

Examples of lv.odylab.eveapi.parser.method.common.industryjob.ApiIndustryJobResponse

    @Override
    @Logging(logArguments = false)
    public List<IndustryJobDto> getCharacterIndustryJobs(String apiKey, Long userID, Long characterID) throws EveApiException {
        try {
            ApiIndustryJobResponse response = facade.getCharacterIndustryJobs(apiKey, userID, characterID);
            List<ApiIndustryJobRow> apiIndustryJobRows = response.getResult().getRowset().getRows();
            List<IndustryJobDto> industryJobDtos = new ArrayList<IndustryJobDto>();
            for (ApiIndustryJobRow apiIndustryJobRow : apiIndustryJobRows) {
                industryJobDtos.add(mapper.map(apiIndustryJobRow, IndustryJobDto.class));
            }
            return industryJobDtos;
View Full Code Here

Examples of lv.odylab.eveapi.parser.method.common.industryjob.ApiIndustryJobResponse

    @Override
    @Logging(logArguments = false)
    public List<IndustryJobDto> getCorporationIndustryJobs(String apiKey, Long userID, Long characterID) throws EveApiException {
        try {
            ApiIndustryJobResponse response = facade.getCorporationIndustryJobs(apiKey, userID, characterID);
            List<ApiIndustryJobRow> apiIndustryJobRows = response.getResult().getRowset().getRows();
            List<IndustryJobDto> industryJobDtos = new ArrayList<IndustryJobDto>();
            for (ApiIndustryJobRow apiIndustryJobRow : apiIndustryJobRows) {
                industryJobDtos.add(mapper.map(apiIndustryJobRow, IndustryJobDto.class));
            }
            return industryJobDtos;
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.