PageRenderTime 27ms CodeModel.GetById 24ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 0ms

/src/main/java/com/t11e/discovery/datatool/ChangesetWriter.java

http://github.com/t11e/discovery_datatool
Java | 35 lines | 24 code | 11 blank | 0 comment | 0 complexity | aa56bde8952b7f7ab915437d3f2490c0 MD5 | raw file
 1package com.t11e.discovery.datatool;
 2
 3import java.util.Map;
 4
 5import javax.xml.stream.XMLStreamException;
 6
 7public interface ChangesetWriter
 8{
 9  void setItem(final String id, final Map<String, ? > properties)
10    throws XMLStreamException;
11
12  void setItem(final String id, final String provider, final String kind, final Map<String, ? > properties)
13    throws XMLStreamException;
14
15  void addToItem(final String id, final Map<String, ? > properties)
16    throws XMLStreamException;
17
18  void addToItem(final String id, final String provider, final String kind, final Map<String, ? > properties)
19    throws XMLStreamException;
20
21  void removeFromItem(final String id, final Map<String, ? > properties)
22    throws XMLStreamException;
23
24  void removeAllFromItem(final String id)
25    throws XMLStreamException;
26
27  void addItem(final String id)
28    throws XMLStreamException;
29
30  void removeItem(final String id)
31    throws XMLStreamException;
32
33  void removeItem(final String id, final String provider, final String kind)
34    throws XMLStreamException;
35}