Project

General

Profile

« Previous | Next » 

Revision 48701

Upgraded incremental harvesting and other stuff

View differences:

MDStoreService.java
17 17
	 * @return
18 18
	 */
19 19
	@Override
20
	public String identify();
20
    String identify();
21 21

  
22 22
	/**
23 23
	 * Returns ResultSet EPR for delivered mdstore records.
......
30 30
	 * @return ResultSet EPR
31 31
	 * @throws MDStoreServiceException
32 32
	 */
33
	public ResultSet<String> deliverMDRecords(@WebParam(name = "mdId") final String mdId,
34
			@WebParam(name = "from") final String from,
35
			@WebParam(name = "until") final String until,
36
			@WebParam(name = "recordsFilter") final String recordFilter) throws MDStoreServiceException;
33
    ResultSet<String> deliverMDRecords(@WebParam(name = "mdId") final String mdId,
34
                                       @WebParam(name = "from") final String from,
35
                                       @WebParam(name = "until") final String until,
36
                                       @WebParam(name = "recordsFilter") final String recordFilter) throws MDStoreServiceException;
37 37

  
38 38
	/**
39 39
	 * Deliver single record from selected mdstore.
......
43 43
	 * @return record
44 44
	 * @throws MDStoreServiceException
45 45
	 */
46
	public String deliverRecord(@WebParam(name = "mdId") final String mdId, @WebParam(name = "recordId") final String recordId) throws MDStoreServiceException,
47
			DocumentNotFoundException;
46
    String deliverRecord(@WebParam(name = "mdId") final String mdId, @WebParam(name = "recordId") final String recordId) throws MDStoreServiceException;
48 47

  
49 48
	/**
50 49
	 * Returns list of all stored indices.
51 50
	 * 
52 51
	 * @return list of all stored indices
53 52
	 */
54
	public List<String> getListOfMDStores() throws MDStoreServiceException;
53
    List<String> getListOfMDStores() throws MDStoreServiceException;
55 54

  
56
	public List<String> listMDStores(@WebParam(name = "format") final String format,
57
			@WebParam(name = "layout") final String layout,
55
    List<String> listMDStores(@WebParam(name = "format") final String format,
56
                              @WebParam(name = "layout") final String layout,
58 57
			@WebParam(name = "interpretation") final String interpretation) throws MDStoreServiceException;
59 58

  
60
	public ResultSet<String> bulkDeliverMDRecords(@WebParam(name = "format") final String format,
61
			@WebParam(name = "layout") final String layout,
62
			@WebParam(name = "interpretation") final String interpretation) throws MDStoreServiceException;
59
    ResultSet<String> bulkDeliverMDRecords(@WebParam(name = "format") final String format,
60
                                           @WebParam(name = "layout") final String layout,
61
                                           @WebParam(name = "interpretation") final String interpretation) throws MDStoreServiceException;
63 62

  
64 63
	/**
65 64
	 * Store md records from a result set
......
71 70
	 * @throws MDStoreServiceException
72 71
	 */
73 72
	@Deprecated
74
	public boolean storeMDRecordsFromRS(@WebParam(name = "mdId") final String mdId,
75
			@WebParam(name = "rsId") final String rsId,
76
			@WebParam(name = "storingType") final String storingType) throws MDStoreServiceException;
73
    boolean storeMDRecordsFromRS(@WebParam(name = "mdId") final String mdId,
74
                                 @WebParam(name = "rsId") final String rsId,
75
                                 @WebParam(name = "storingType") final String storingType) throws MDStoreServiceException;
77 76

  
78 77
	/**
79 78
	 * Gets the size of the mdstore with the given identifier.
......
83 82
	 * @return the number of records in the store
84 83
	 */
85 84
	@WebMethod(operationName = "size")
86
	public int size(@WebParam(name = "mdId") final String mdId) throws MDStoreServiceException;
85
    int size(@WebParam(name = "mdId") final String mdId) throws MDStoreServiceException;
87 86

  
88 87
	/**
89 88
	 * Gets the sum of records stored in all mdstore with the given format, layout , interpretation
......
97 96
	 * @return the total number of records in the mdstores of the given type
98 97
	 */
99 98
	@WebMethod(operationName = "sizeByFormat")
100
	public int size(@WebParam(name = "format") final String format,
101
			@WebParam(name = "layout") final String layout,
102
			@WebParam(name = "interpretation") final String interpretation) throws MDStoreServiceException;
99
    int size(@WebParam(name = "format") final String format,
100
             @WebParam(name = "layout") final String layout,
101
             @WebParam(name = "interpretation") final String interpretation) throws MDStoreServiceException;
103 102

  
104 103
}

Also available in: Unified diff