Project

General

Profile

« Previous | Next » 

Revision 3141

Added by berkley over 17 years ago

added functionality to get a list of ids used in the system

View differences:

Metacat.java
28 28
import java.io.IOException;
29 29
import java.io.File;
30 30
import java.io.InputStream;
31
import java.util.Vector;
31 32

  
32 33
/**
33 34
 *  This interface provides methods for initializing and logging in to a
......
274 275
     * @throws MetacatException when an error occurs
275 276
     */
276 277
    public String getLastDocid(String scope) throws MetacatException;
278
    
279
    /**
280
     * return a list of all docids that match a given scope.  if scope is null
281
     * return all docids registered in the system
282
     * @param scope String  the scope to use to limit the docid query
283
     * @throws MetacatException when an error occurs
284
     */
285
    public Vector getAllDocids(String scope) throws MetacatException;
277 286
}

Also available in: Unified diff