Project

General

Profile

Download (1.18 KB) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
* Copyright (C) 2015 EDIT
4
* European Distributed Institute of Taxonomy
5
* http://www.e-taxonomy.eu
6
*
7
* The contents of this file are subject to the Mozilla Public License Version 1.1
8
* See LICENSE.TXT at the top of this package for the full license terms.
9
*/
10
package eu.etaxonomy.taxeditor.test;
11

    
12
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
13
import eu.etaxonomy.cdm.api.conversation.ConversationHolderMock;
14
import eu.etaxonomy.cdm.api.conversation.IConversationEnabled;
15
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap;
16

    
17
/**
18
 * @author cmathew
19
 * @date 15 Jun 2015
20
 *
21
 */
22
public class MockConversationEnabled implements IConversationEnabled {
23

    
24
    /* (non-Javadoc)
25
     * @see eu.etaxonomy.cdm.persistence.hibernate.ICdmPostDataChangeObserver#update(eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap)
26
     */
27
    @Override
28
    public void update(CdmDataChangeMap arg0) {
29
        // TODO Auto-generated method stub
30

    
31
    }
32

    
33
    /* (non-Javadoc)
34
     * @see eu.etaxonomy.cdm.api.conversation.IConversationEnabled#getConversationHolder()
35
     */
36
    @Override
37
    public ConversationHolder getConversationHolder() {
38
        return new ConversationHolderMock();
39
    }
40

    
41
}
(3-3/4)