aboutsummaryrefslogtreecommitdiffstats
path: root/src/de/gultsch/chat/ConversationList.java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-01-25 19:33:12 +0100
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-01-25 19:33:12 +0100
commit665ef7511f5dcccb349228baa2aa6f02281d3c07 (patch)
tree461ffa268dc16b299c68e764a3ae55ad912075c4 /src/de/gultsch/chat/ConversationList.java
parentdf9dcb1060d44a719e2892446b62cde884a880cf (diff)
all access to the persistance layer is now done via the new xmppservice
Diffstat (limited to 'src/de/gultsch/chat/ConversationList.java')
-rw-r--r--src/de/gultsch/chat/ConversationList.java33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/de/gultsch/chat/ConversationList.java b/src/de/gultsch/chat/ConversationList.java
deleted file mode 100644
index ac5f9230..00000000
--- a/src/de/gultsch/chat/ConversationList.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package de.gultsch.chat;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Comparator;
-
-import de.gultsch.chat.entities.Conversation;
-
-public class ConversationList extends ArrayList<Conversation> {
-
- private static final long serialVersionUID = 3661496589984289968L;
-
- private int selectedConversationPosition = -1;
-
- private ConversationCursor cursor = new ConversationCursor(this);
-
- public ConversationCursor getCursor() {
- return this.cursor;
- }
-
- public Conversation getSelectedConversation() {
- return this.get(this.selectedConversationPosition);
- }
-
- public void setSelectedConversationPosition(int selectedConversation) {
- this.selectedConversationPosition = selectedConversation;
- }
-
- public synchronized int addAndReturnPosition(Conversation conversation) {
- this.add(conversation);
- return size() - 1;
- }
-}