View Javadoc

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