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.
Changed confirm.jspx to confirm.jsp
Modified redirect URL to navigate to a skin-specific confirmation page, rather than a common one.
Fixed bug that should throw an exception in upload method.
Fixed bug with file updating (lost qformat value). Also fixed bug with message.
Change the debug level for Metacat initialization message.
Converted some java 1.5 code to java 1.4 code. Removed usages of "String.contains()", "Node.getTextContent()" and "Node.setTextContent.
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.
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.
Added new functionality for action="Set Access". Includes methods handleChangeAccess, setPublicAccess and getNodeTextStack. Also, cleaned up some code as a result.
View revisions
Also available in: Atom