Project

General

Profile

  • svn:eol-style: native
  • svn:executable: *
  • svn:keywords: Author Date Id Revision

# Date Author Comment
4306 08/25/2008 10:44 AM ben leinfelder

match the "qualified" property name

4080 07/06/2008 09:25 PM daigle

Merge 1.9 changes into Head

3772 03/20/2008 05:37 PM ben leinfelder

Enable file naming when returning a zip file of the requested documents.
File names for each docid are provided as additional parameters named by the actual docid value that they are providing a name for. An example query string might look like:

action=read&docid=doc.1.1&docid=doc.2.1&qformat=zip&doc.1.1=fileName1.txt&doc.2.1=fileName2.jpg...

3741 02/27/2008 08:42 AM ben leinfelder

if there is no clientViewBean in the session, insert a new one - saves us from nullPointerException when using this in skins that may not be aware of the bean uses.

3678 01/11/2008 03:44 PM ben leinfelder

prevent null pointer exception when there are no nodes found (just an empty list)

3625 11/30/2007 01:26 PM barteau

Fixed a couple of bugs: 1) Threw an error when updating a packages public access (lost the data files doc id's) and 2) returns a message after access is changed.
Both were fixed by not attempting to get a child text node from a text node.

3603 11/20/2007 04:17 PM barteau

Changed confirm.jspx to confirm.jsp

3602 11/20/2007 04:09 PM barteau

Modified redirect URL to navigate to a skin-specific confirmation page, rather than a common one.

3552 11/01/2007 01:56 PM barteau

Fixed bug with file updating (lost qformat value). Also fixed bug with message.

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.

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.

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.

3393 09/04/2007 05:13 PM barteau

Modifications to the clientRequest method to handle calls for 'Delete' actions.

3375 08/27/2007 11:55 AM barteau

Uncommented metacat client upload commands.

3372 08/24/2007 02:11 PM barteau

Changes for java 1.4 compilation, and further development.

3367 08/21/2007 03:44 PM barteau

Changes to make java 1.4 compliant.

3364 08/20/2007 01:36 PM barteau

Replaced "Formatter" usage (java 1.5) for java 1.4 compiling.

3319 07/25/2007 03:23 PM barteau

Initial checkin. The "Client View Bean Helper", to provide a controller for ClientView bean users. This is the main API class for the clientview package.