Index: ZipUpload.java =================================================================== --- ZipUpload.java (revision 41221) +++ ZipUpload.java (working copy) @@ -152,7 +152,7 @@ /** * Checks if this entry is processable. */ - private void processEntry(ZipFile zip, ZipEntry entry) throws AccessDeniedException, PathNotFoundException, + protected void processEntry(ZipFile zip, ZipEntry entry) throws AccessDeniedException, PathNotFoundException, RepositoryException, IOException { if (entry.getName().startsWith("__MACOSX")) { // ignore @@ -174,7 +174,7 @@ /** * Process the file. */ - private void processFile(ZipFile zip, ZipEntry entry) throws AccessDeniedException, PathNotFoundException, + protected void processFile(ZipFile zip, ZipEntry entry) throws AccessDeniedException, PathNotFoundException, RepositoryException, IOException { String path = entry.getName(); @@ -188,7 +188,23 @@ hm.save(); node.addVersion(); + postProcessFile(node,entry); + } + + + + + /** + * This method does nothing in this class. + * It provides a place for overriding classes to place their post-processing logic + */ + protected void postProcessFile(Content node, ZipEntry entry) { + // nothing in this implementation, override to provice post-processing hooks + } + + + public boolean isSuccess() { return success;