aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service/history
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2006-09-04 13:23:08 +0000
committerDamian Minkov <damencho@jitsi.org>2006-09-04 13:23:08 +0000
commit53f2aae096704d4a78707cc13d5df4f548a982a0 (patch)
tree89193abc7b6f6691af8ea0c507da26ff700607a6 /src/net/java/sip/communicator/service/history
parent1d2f145a005faf8d4b98667c857bba9b9003e33f (diff)
downloadjitsi-53f2aae096704d4a78707cc13d5df4f548a982a0.zip
jitsi-53f2aae096704d4a78707cc13d5df4f548a982a0.tar.gz
jitsi-53f2aae096704d4a78707cc13d5df4f548a982a0.tar.bz2
History Service does not leaves content after testing.
Added method in History Service for removing content.
Diffstat (limited to 'src/net/java/sip/communicator/service/history')
-rw-r--r--src/net/java/sip/communicator/service/history/HistoryService.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/service/history/HistoryService.java b/src/net/java/sip/communicator/service/history/HistoryService.java
index 36ca765..cac0a85 100644
--- a/src/net/java/sip/communicator/service/history/HistoryService.java
+++ b/src/net/java/sip/communicator/service/history/HistoryService.java
@@ -74,4 +74,13 @@ public interface HistoryService {
*/
History createHistory(HistoryID id, HistoryRecordStructure recordStructure)
throws IllegalArgumentException, IOException;
+
+ /**
+ * Permamently removes local stored History
+ *
+ * @param id HistoryID
+ * @throws IOException
+ * Thrown if the history could not be removed due to a IO error.
+ */
+ public void purgeLocallyStoredHistory(HistoryID id) throws IOException;
}