Project

General

Profile

« Previous | Next » 

Revision 5968

Somehow missed adding in javadoc for read(). Here it is.

View differences:

src/edu/ucsb/nceas/metacat/MetacatHandler.java
1006 1006
        //System.out.println("response from MetacatHandler.setAccess: " + resp);
1007 1007
    }
1008 1008
    
1009
    /**
1010
     * Read a document from metacat and return the InputStream.  The XML or
1011
     * data document should be on disk, but if not, read from the metacat database.
1012
     * 
1013
     * @param  docid - the metacat docid to read
1014
     * @param  username - the DN of the principal attempting the read
1015
     * @param  groups - the list of groups the DN belongs to as a String array
1016
     * @return objectStream - the document as an InputStream
1017
     * @throws InsufficientKarmaException
1018
     * @throws ParseLSIDException
1019
     * @throws PropertyNotFoundException
1020
     * @throws McdbException
1021
     * @throws SQLException
1022
     * @throws ClassNotFoundException
1023
     * @throws IOException
1024
     */
1009 1025
    public InputStream read(String docid, String username, String[] groups)
1010 1026
        throws InsufficientKarmaException, ParseLSIDException,
1011 1027
        PropertyNotFoundException, McdbException, SQLException, 

Also available in: Unified diff