Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
ClientFgdcHelper.java 16.6 KB 3516 over 16 years barteau Modified string constant "SUB_DOCS_PATH" to be ...
ClientHtmlHelper.java 2.86 KB 3367 over 16 years barteau Changes to make java 1.4 compliant.
ClientView.java 10.2 KB 3456 over 16 years barteau Added property "metaFileDocId", and constant "U...
ClientViewBeanInfo.java 11.6 KB 3456 over 16 years barteau Added property "metaFileDocId", and constant "U...
ClientViewHelper.java 51.5 KB 3539 over 16 years barteau Converted some java 1.5 code to java 1.4 code. ...

Latest revisions

# Date Author Comment
3539 10/29/2007 03:09 PM barteau

Converted some java 1.5 code to java 1.4 code. Removed usages of "String.contains()", "Node.getTextContent()" and "Node.setTextContent.
Wrote two new methods: 1) getTextContent, and 2) setTextContent, to emulate the org.w3c.dom implementation that ships with java 1.5.

3530 10/25/2007 05:01 PM barteau

Seperated web API code, from plain java code, by creating seperate constructors and handling Http stuff in just two methods: "clientRequest" and "handleDownloadResponse".
Results in using HttpServlet code in an isolated/thin layer, making it easier to test and reuse all other methods.

3517 10/12/2007 04:02 PM barteau

Added new functionality for action="Set Access". Includes methods handleChangeAccess, setPublicAccess and getNodeTextStack. Also, cleaned up some code as a result.

3516 10/12/2007 03:57 PM barteau

Modified string constant "SUB_DOCS_PATH" to be static and public accessible.

3502 10/04/2007 03:42 PM barteau

Grant the public read access to the data files, if it was done for the metadata file. Also cleaned-up some debug statements.

3486 09/28/2007 05:00 PM barteau

Fixed 3 bugs:
1) If there is a call to this class without an "action" (i.e. the initial time the login form is loaded) a null pointer exception would be thrown.
2) If the user logged out, and then tried to query, the server would send an error (invalidated session)...

3483 09/28/2007 04:06 PM barteau

Created method "private void download(ClientView bean, HttpServletResponse response)", along with several other additions to support downloading.
Includes functionality for FGDC-related package downloads (zip file) and individual data file downloads, with original filenames.

3482 09/28/2007 04:02 PM barteau

Created new XPath constants for FGDC queries.

3458 09/17/2007 02:30 PM barteau

Modified the "clientDeleteRequest" method to handle meta-file deletes.

3457 09/17/2007 02:28 PM barteau

Clear the bean's "action" property after most operations are complete, in case user refreshes the browser (it won't repeat). Modified "delete" code, and "handleFileUpdate" method. Added new methods: getStringFromInputStream and makeRedirectUrl.

View revisions

Also available in: Atom