Revision 2336
Added by Jing Tao about 20 years ago
src/edu/ucsb/nceas/metacat/client/Metacat.java | ||
---|---|---|
248 | 248 |
* @param String the sessionId from a previously established session |
249 | 249 |
*/ |
250 | 250 |
public void setSessionId(String sessionId); |
251 |
|
|
252 |
/** |
|
253 |
* The method will return the lasted revision in metacat server |
|
254 |
* for a given document id. If some error happent, this method will throw |
|
255 |
* a exception. |
|
256 |
* @param docId String the given docid you want to use. the docid it self |
|
257 |
* can have or haven't revision number |
|
258 |
* @throws MetacatException |
|
259 |
*/ |
|
260 |
public int getNewestDocRevision(String docId) throws MetacatException; |
|
251 | 261 |
} |
Also available in: Unified diff
Add a new method to get newest version for a given document.