Project

General

Profile

« Previous | Next » 

Revision 2623

Added by Jing Tao over 18 years ago

Add info about date.

View differences:

Eml200SAXHandler.java
298 298
     */
299 299
    public Eml200SAXHandler(DBConnection conn, String action, String docid,
300 300
            String revision, String user, String[] groups, String pub,
301
            int serverCode) throws SAXException
301
            int serverCode, String createDate, String updateDate) throws SAXException
302 302
    {
303
        super(conn, action, docid, revision, user, groups, pub, serverCode);
303
        super(conn, action, docid, revision, user, groups, pub, 
304
                serverCode, createDate, updateDate);
304 305
        // Get the unchangable subtrees (user doesn't have write permission)
305 306
        try
306 307
        {
......
691 692
                    // In order to decrease DBConnection usage count, we get a
692 693
                    // new
693 694
                    // dbconnection from pool
694
                    String catalogid = null;
695
                    //String catalogid = null;
695 696
                    DBConnection dbConn = null;
696 697
                    int serialNumber = -1;
697 698

  
......
727 728
                       
728 729
                       currentDocument = new DocumentImpl(connection, rootNode
729 730
                            .getNodeID(), docname, doctype, docid, revision,
730
                            action, user, this.pub, catalogid, this.serverCode);
731
                            action, user, this.pub, catalogid, this.serverCode, 
732
                            createDate, updateDate);
731 733
                    }
732
                    else
733
                    {
734
                        
735
                        currentDocument = new DeletedDocumentImpl(connection, rootNode
736
                                .getNodeID(), docname, doctype, docid, revision,
737
                                action, user, this.pub, catalogid, this.serverCode);
738
                    }
734
                   
739 735

  
740 736
                } catch (Exception ane) {
741 737
                    throw (new SAXException(

Also available in: Unified diff