@Override public String render(Conversation conversation, String participants, String thread) { return "Conversation [ id: " + conversation.getId() + "; participants: " + participants + "; thread: " + thread + " ]"; }
@Override public String render(Conversation conversation, String participants, String thread) { return "Conversation [ id: " + conversation.getId() + "; participants: " + participants + "; thread: " + thread + " ]"; }
@Override public Iterable<WaveletId> getWavelets() { List<WaveletId> ids = new ArrayList<WaveletId>(); for (Conversation c : view.getConversations()) { ids.add(WaveletBasedConversation.widFor(c.getId())); } return ids; }
@Override public ThreadState getThreadState(ConversationThread thread) { Conversation c = thread.getConversation(); String id = c.getId(); return supplement.getThreadState(WaveletBasedConversation.widFor(id), thread.getId()); }
@Override public void setThreadState(ConversationThread thread, ThreadState state) { supplement.setThreadState(WaveletBasedConversation.widFor( thread.getConversation().getId()), thread.getId(), state); }