Changeset 3993
- Timestamp:
- Nov 22, 2007, 2:38:11 PM (16 years ago)
- Location:
- trunk/src/webservices
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/webservices/client/java/net/sf/basedb/ws/client/ReporterClient.java
r3991 r3993 73 73 @param reporterListId Id of the reporter list to export and download. 74 74 @param extPropInfo An array of ExtendedPropertyInfo objects to include in the export/download. 75 @param qOpt QueryOptions to use when selecting items from the database. 75 76 @return InputStream object to the exported data. 76 77 @throws IOException If something goes wrong with the input stream … … 94 95 } 95 96 97 /** 98 Downloads exported reporter properties to an input stream. 99 @param extPropInfo A list with the extended properties to export. 100 @param qOpt Options on the query that selects data from the database. 101 @return An input stream to a text file. 102 @throws IOException If something goes wrong when getting the exported properties. 103 */ 96 104 public InputStream downloadReporters(ExtendedPropertyInfo[] extPropInfo, QueryOptions qOpt) 97 105 throws IOException -
trunk/src/webservices/server/net/sf/basedb/ws/server/ReporterService.java
r3991 r3993 54 54 55 55 /** 56 Services for Reporters in Base. 56 Services for Reporters in Base. 57 Information about reporters can only be accessed by downloading it in a file first. 58 This service provide two methods to download reporters in a file, {@link #downloadReporters(String, ExtendedPropertyInfo[], QueryOptions)} 59 or {@link #downloadReportersInList(String, int, ExtendedPropertyInfo[], QueryOptions)} 57 60 @author Martin 58 61 @since 2.5 … … 61 64 extends AbstractRPCService 62 65 { 66 /** 67 Empty constructor 68 */ 63 69 public ReporterService() 64 70 {} … … 86 92 @param reporterListId Id of the reporter list to download reporters information from. 87 93 @param extPropInfos The extended property to include in the download. 94 @param qOpt Query options to set on the query that select data from the database. 88 95 @return java.io.InputStream object to the exported data. 89 96 @throws Exception If something goes wrong with the export. … … 145 152 } 146 153 154 /** 155 Attach a file with exported reporter properties so it can be send through web services. 156 @param ID The id of an active session. Used to verify the logged in user and it's permissions. 157 @param extPropInfos A list with the extended properties to export. 158 A reporters name, external id and reporter type are always exported. 159 @param qOpt Options to use on the query that select data. 160 @return An OMElement to return through web services. 161 @throws Exception If anything goes wrong with the export. 162 */ 147 163 public OMElement downloadReporters(String ID, ExtendedPropertyInfo[] extPropInfos, QueryOptions qOpt) 148 164 throws Exception
Note: See TracChangeset
for help on using the changeset viewer.