Changeset 8824


Ignore:
Timestamp:
31/10/13 17:13:58 (6 years ago)
Author:
mnagni
Message:

Complete - # 22442: Debug MEDIN DWS SOAP response
 http://team.ceda.ac.uk/trac/ceda/ticket/22442

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/revitalizationProject/branches/MEDIN/dpws/src/main/java/ndg/services/revitalization/ejb/discovery/PresentHelper.java

    r8822 r8824  
    6363        } 
    6464 
    65         public Summary doPresent(DoPresentType presentType) throws NdgSQLException, AssembleQueryException, ResourceNotAvailable { 
     65        public List<OriginalDocument> doPresent(DoPresentType presentType) throws NdgSQLException, AssembleQueryException, ResourceNotAvailable { 
    6666                List<String> documentsId = new ArrayList<String>(); 
    6767                for (SimpleDocument doc : presentType.getDocuments()) { 
     
    252252         * @throws NdgException 
    253253         */ 
    254         public Summary doPresent(List<String> documentsId, RetrieveCriteriaType type) 
     254        public List<OriginalDocument> doPresent(List<String> documentsId, RetrieveCriteriaType type) 
    255255                        throws NdgSQLException, AssembleQueryException, ResourceNotAvailable { 
    256256                if (documentsId == null || documentsId.size() == 0) { 
    257                         return new Summary(); 
     257                        return new ArrayList<OriginalDocument>(); 
    258258                }                        
    259259                this.documentsId = documentsId; 
     
    275275                        fillSpatialTemporalData(searchResult); 
    276276                } 
    277                 return new Summary(searchResult, searchResult.size()); 
     277                return searchResult; 
    278278        } 
    279279 
Note: See TracChangeset for help on using the changeset viewer.