@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); }
/** * Asserts that the state-querying methods on a thread can be called. */ protected static void assertThreadAccessible(ConversationThread thread) { thread.getBlips(); thread.getConversation(); thread.getFirstBlip(); thread.getId(); thread.getParentBlip(); } }
/** * Asserts that the state-querying methods on a thread can be called. */ protected static void assertThreadAccessible(ConversationThread thread) { thread.getBlips(); thread.getConversation(); thread.getFirstBlip(); thread.getId(); thread.getParentBlip(); } }