| Revision:

metacat / src / edu / ucsb / nceas / metacat / client @ 3481

# Date Author Comment
3481 09/28/2007 04:00 PM barteau

Created method "synchronized public InputStream sendParameters(Properties args) throws Exception".
Sends a request to Metacat. An alternative to the sentData method. Allows for sending multiple parameters with the same name, different names, or any combo.

3464 09/19/2007 06:43 PM Jing Tao

Add a new method - query which can specify qformat.

3463 09/19/2007 06:42 PM Jing Tao

Add new query method which can specify qformat.

3362 08/17/2007 03:12 PM barteau

Removed "Formatter" usage, to make java 1.4 compatible.

3316 07/25/2007 03:10 PM barteau

Refactored almost all of the JSP API methods and fields to a new package (edu.ucsb.nceas.metacat.clientview).

3305 06/22/2007 02:53 PM barteau

Fixed bug: successfully removes related sub Doc ID's from metadata.
New functionality:
1) Updates field in FGDC metadata Doc ID with new version of Doc ID, and
2) Recurses sub-documents for deletion, when deleting an FGDC metadata Doc ID (deletes entire package).

3300 06/18/2007 05:11 PM barteau

Several newly developed methods providing a JSP API into metacat. Most of the new methods were developed to support FGDC metadata.
Some of the other new methods merely provide convenience to the JSP code. New methods include:
nextVersion, getFGDCdistinfo, addDistInfoToFGDC, vectorToHtmlSelect, mapToHtmlSelect, htmlInput, getSessValue, setSessValue, query, getSelectQueryMap,...

3289 05/18/2007 05:34 PM barteau

Modified method "doMetadataUpload". Improved file type parsing. Also changed call to "upload", to send Integer.MAX_VALUE as the file size,
since file size is not available until read (i.e. "Content-Length", which is available, isn't the same as the individual file sizes)....

3285 05/14/2007 04:35 PM barteau

Metacat JSP API Additions. The new methods currently only handle inserts of new metadata files and related data files. It also handles instance creation and login support, with
a few convenience methodes intended to be called by a JSP file.
Update and delete support will be added. Also, the new methods currently only handle FGDC metadata files. More XML grammars will be added.

3196 03/07/2007 02:29 PM berkley

more changes for the ajax stuff. it now works on the production server

3143 01/18/2007 10:36 AM berkley

added a method to query metacat to see if a particular docid is registered or not

3142 01/11/2007 09:59 AM berkley

finally got the getallids function working

3141 01/09/2007 06:22 PM berkley

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

2992 04/19/2006 09:17 AM berkley

fixed bugs in teh client that were preventing the lsid service from working right

2990 04/18/2006 02:08 PM berkley

modified the client so it will work consistently with the web service

2989 04/17/2006 02:59 PM berkley

updated the client so it throws a DocumentNotFoundException if you attempt to read a docuemnt that doesn't exist

2986 04/14/2006 04:39 PM Matt Jones

Missed a period.

2985 04/14/2006 04:37 PM Matt Jones

Patch to make the getLastDocid function actually work on the text node.

2981 04/14/2006 02:08 PM Matt Jones

Added new function getLastDocid to the metacat client so that it is
accessible to clients that need it.

2683 10/20/2005 11:39 AM sgarg

Added support in the metacat client for the new function added to MetaCatServlet

2337 12/16/2004 04:34 PM Jing Tao

Add a new method to get newest version of a given document.

2336 12/16/2004 04:33 PM Jing Tao

Add a new method to get newest version for a given document.

2327 09/24/2004 01:13 PM harris

Thanks Jing, Fixed those code comments.

2326 09/24/2004 12:02 PM harris

Adde a function to the metacat client to set access on an xml document in a
metacat repository.

2264 09/02/2004 02:38 PM sgarg

Added new upload function which takes InputStream as input.

2261 08/31/2004 05:52 PM sgarg

Added method to metacat client for reading inline data - readInlineData()

2240 08/19/2004 11:34 AM sgarg

Added upload functionality to metacat client for upload online data

1828 09/22/2003 01:14 PM Matt Jones

Updated more tests on session reuse. Made the http calls set the sessionid
explicitly rather than relying on cookies being passed around statically.
Still need to modify HttpMessage to get rid of the static cookie.

1826 09/19/2003 05:01 PM Matt Jones

New versions of the Metacat client API that allow access to the sessionId
so that a session can be reused over several different instances.

1825 09/17/2003 06:32 PM Matt Jones

Fixed the sessionId handling code to now properly return the sessionId
in the login response message. Updated junit tests to test this issue.

1822 09/17/2003 12:42 PM Matt Jones

Modified metacat to now provide the session identifier in the response
xml message when a login is called. This has not been fully tested.
I removed the HttpMessage class from metacat in favor of using the version
of that class that is found in the utilities module. This may cause some...

1798 08/12/2003 06:04 PM Jing Tao

Implement logout method.

1797 08/12/2003 06:04 PM Jing Tao

Add a logout method.

1795 08/12/2003 12:35 PM Matt Jones

Implemented the update and delete methods in the interface, along with tests.

1789 08/12/2003 12:24 AM Matt Jones

Implemented the "insert()" method and wrote a test to test it. The new test
depends on the property "newdocid" be set to something unique in the build.xml
file so that the insert will work properly. Probably need to fix this to be
some kind of autoincrement counter or random number so that it can be run...

1788 08/11/2003 11:28 PM Matt Jones

Refactored to use IOUtil routines. Reformatted for within-file consistency.

1786 08/11/2003 06:30 PM Jing Tao

Implement query method.

1785 08/11/2003 06:29 PM Jing Tao

Add metacatinaccessible exception for query.

1784 08/11/2003 03:24 PM Matt Jones

Implemented the 'read' API call. Some more to go...

1783 08/11/2003 12:19 PM Matt Jones

Wrote the login() function, the first of the series of API calls for
the metacat client to be implemented. Also wrote a test class to
test the API functionality.

1780 08/08/2003 04:16 PM Matt Jones

Added a new subpackage (edu.ucsb.nceas.metacat.client) which is a client
access library for the metacat. There is an interface ( that
provides simple access methods for the main metacat functions. This is to
support clients like Morpho and others that want to programatically access...