org.owasp.webscarab.model
Class FilteredConversationModel

java.lang.Object
  extended by org.owasp.webscarab.model.AbstractConversationModel
      extended by org.owasp.webscarab.model.FilteredConversationModel
All Implemented Interfaces:
ConversationModel
Direct Known Subclasses:
ImageFilteredConversationModel, UrlFilteredConversationModel

public abstract class FilteredConversationModel
extends AbstractConversationModel

Author:
rogan

Constructor Summary
FilteredConversationModel(FrameworkModel model, ConversationModel cmodel)
          Creates a new instance of FilteredConversationModel
 
Method Summary
 ConversationID getConversationAt(int index)
           
 int getConversationCount()
           
 int getIndexOfConversation(ConversationID id)
           
protected  boolean isFiltered(ConversationID id)
           
 EDU.oswego.cs.dl.util.concurrent.Sync readLock()
           
abstract  boolean shouldFilter(ConversationID id)
           
protected  void updateConversations()
           
 
Methods inherited from class org.owasp.webscarab.model.AbstractConversationModel
addConversationListener, fireConversationAdded, fireConversationChanged, fireConversationRemoved, fireConversationsChanged, getConversationDate, getConversationOrigin, getRequest, getRequestMethod, getRequestUrl, getResponse, getResponseStatus, removeConversationListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilteredConversationModel

public FilteredConversationModel(FrameworkModel model,
                                 ConversationModel cmodel)
Creates a new instance of FilteredConversationModel

Method Detail

updateConversations

protected void updateConversations()

shouldFilter

public abstract boolean shouldFilter(ConversationID id)

isFiltered

protected boolean isFiltered(ConversationID id)

getConversationAt

public ConversationID getConversationAt(int index)
Specified by:
getConversationAt in interface ConversationModel
Specified by:
getConversationAt in class AbstractConversationModel

getConversationCount

public int getConversationCount()
Specified by:
getConversationCount in interface ConversationModel
Specified by:
getConversationCount in class AbstractConversationModel

getIndexOfConversation

public int getIndexOfConversation(ConversationID id)
Specified by:
getIndexOfConversation in interface ConversationModel
Specified by:
getIndexOfConversation in class AbstractConversationModel

readLock

public EDU.oswego.cs.dl.util.concurrent.Sync readLock()
Specified by:
readLock in interface ConversationModel
Specified by:
readLock in class AbstractConversationModel