Subversion Repositories SmartDukaan

Rev

Rev 12269 | Rev 12313 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 12269 Rev 12270
Line 103... Line 103...
103
        }
103
        }
104
        return "index";
104
        return "index";
105
    }
105
    }
106
    
106
    
107
    public String getUploadData() throws NumberFormatException, TException{
107
    public String getUploadData() throws NumberFormatException, TException{
108
        if (!ReportsUtils.canAccessReport((Long) session.getAttribute(ReportsUtils.ROLE),request.getServletPath())) {
-
 
109
            return "authfail";
-
 
110
        }
-
 
111
        Client cc = new CatalogClient("catalog_service_server_host_amazon","catalog_service_server_port").getClient();
108
        Client cc = new CatalogClient("catalog_service_server_host_amazon","catalog_service_server_port").getClient();
112
        data = cc.getUploadResultById(Long.valueOf(this.requestId));
109
        data = cc.getUploadResultById(Long.valueOf(this.requestId));
113
        return "show";
110
        return "show";
114
    }
111
    }
115
    
112