View Javadoc

1   /*
2    * SymmetricDS is an open source database synchronization solution.
3    *   
4    * Copyright (C) Chris Henson <chenson42@users.sourceforge.net>,
5    *               Eric Long <erilong@users.sourceforge.net>,
6    *               Keith Naas <knaas@users.sourceforge.net>
7    *               
8    *
9    * This library is free software; you can redistribute it and/or
10   * modify it under the terms of the GNU Lesser General Public
11   * License as published by the Free Software Foundation; either
12   * version 3 of the License, or (at your option) any later version.
13   *
14   * This library is distributed in the hope that it will be useful,
15   * but WITHOUT ANY WARRANTY; without even the implied warranty of
16   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17   * Lesser General Public License for more details.
18   *
19   * You should have received a copy of the GNU Lesser General Public
20   * License along with this library; if not, see
21   * <http://www.gnu.org/licenses/>.
22   */
23  package org.jumpmind.symmetric.service.mock;
24  
25  import java.util.List;
26  
27  import org.jumpmind.symmetric.model.IncomingBatch;
28  import org.jumpmind.symmetric.model.IncomingBatchHistory;
29  import org.jumpmind.symmetric.service.IIncomingBatchService;
30  
31  public class MockIncomingBatchService implements IIncomingBatchService {
32  
33      public boolean acquireIncomingBatch(IncomingBatch status) {
34  
35          return false;
36      }
37  
38      public IncomingBatch findIncomingBatch(long batchId, String nodeId) {
39  
40          return null;
41      }
42  
43      public List<IncomingBatch> findIncomingBatchErrors(int maxRows) {
44  
45          return null;
46      }
47  
48      public List<IncomingBatchHistory> findIncomingBatchHistory(long batchId, String nodeId) {
49  
50          return null;
51      }
52  
53      public void insertIncomingBatch(IncomingBatch status) {
54  
55      }
56  
57      public void insertIncomingBatchHistory(IncomingBatchHistory history) {
58  
59      }
60  
61      public int updateIncomingBatch(IncomingBatch status) {
62  
63          return 0;
64      }
65  
66  }