Project

General

Profile

« Previous | Next » 

Revision 2622

Added by Jing Tao over 18 years ago

Changes according add data info.

View differences:

src/edu/ucsb/nceas/metacat/DocumentImplWrapper.java
76 76
                                        String pub, Reader dtd, String action, 
77 77
                                        String accnum, String user,
78 78
                                        String[] groups,String homeServer, 
79
                                        String notifyServer)
79
                                        String notifyServer, String createDate,
80
                                        String updateDate)
80 81
                                        throws Exception
81 82
  {
82 83
    //we don't need to check validation in replciation
......
86 87
    return DocumentImpl.writeReplication(conn, xml, pub, dtd, action, 
87 88
                                        accnum, user, groups, homeServer, 
88 89
                                        notifyServer, ruleBase, false, 
89
                                        DocumentImpl.DOCUMENTTABLE, false);
90
                                        DocumentImpl.DOCUMENTTABLE, false, 
91
                                        createDate, updateDate);
90 92
                                        // last false means is not timed replication
91 93
                         
92 94
  }
......
112 114
          String pub, Reader dtd, String action, 
113 115
          String accnum, String user,
114 116
          String[] groups,String homeServer, 
115
          String notifyServer, String tableName, boolean timedReplication)
117
          String notifyServer, String tableName, 
118
          boolean timedReplication, String createDate, String updateDate)
116 119
          throws Exception
117 120
  {
118 121
   //we don't need to check validation in replciation
119 122
   // so rule base is null and need validation is false
120 123
   return DocumentImpl.writeReplication(conn, xml, pub, dtd, action, 
121 124
          accnum, user, groups, homeServer, 
122
          notifyServer, ruleBase, false, tableName, timedReplication);
125
          notifyServer, ruleBase, false, tableName, 
126
          timedReplication, createDate, updateDate);
123 127
  }
124 128
}//DocumentImple

Also available in: Unified diff