|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.owasp.webscarab.model.AbstractConversationModel
public abstract class AbstractConversationModel
Constructor Summary | |
---|---|
AbstractConversationModel(FrameworkModel model)
Creates a new instance of AbstractConversationModel |
Method Summary | |
---|---|
void |
addConversationListener(ConversationListener listener)
adds a listener to the model |
protected void |
fireConversationAdded(ConversationID id,
int position)
tells listeners that a new Conversation has been added |
protected void |
fireConversationChanged(ConversationID id,
int position)
fired to tell listeners that a particular conversation has had a property change |
protected void |
fireConversationRemoved(ConversationID id,
int position)
tells listeners that a conversation has been removed, after the fact |
protected void |
fireConversationsChanged()
fired to tell listeners that a particular conversation has had a property change |
abstract ConversationID |
getConversationAt(int index)
|
abstract int |
getConversationCount()
|
java.util.Date |
getConversationDate(ConversationID id)
|
java.lang.String |
getConversationOrigin(ConversationID id)
|
abstract int |
getIndexOfConversation(ConversationID id)
|
Request |
getRequest(ConversationID id)
|
java.lang.String |
getRequestMethod(ConversationID id)
|
HttpUrl |
getRequestUrl(ConversationID id)
|
Response |
getResponse(ConversationID id)
|
java.lang.String |
getResponseStatus(ConversationID id)
|
abstract EDU.oswego.cs.dl.util.concurrent.Sync |
readLock()
|
void |
removeConversationListener(ConversationListener listener)
adds a listener to the model |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractConversationModel(FrameworkModel model)
Method Detail |
---|
public abstract int getConversationCount()
getConversationCount
in interface ConversationModel
public abstract ConversationID getConversationAt(int index)
getConversationAt
in interface ConversationModel
public abstract int getIndexOfConversation(ConversationID id)
getIndexOfConversation
in interface ConversationModel
public abstract EDU.oswego.cs.dl.util.concurrent.Sync readLock()
readLock
in interface ConversationModel
public java.lang.String getConversationOrigin(ConversationID id)
getConversationOrigin
in interface ConversationModel
public java.util.Date getConversationDate(ConversationID id)
getConversationDate
in interface ConversationModel
public java.lang.String getRequestMethod(ConversationID id)
getRequestMethod
in interface ConversationModel
public java.lang.String getResponseStatus(ConversationID id)
getResponseStatus
in interface ConversationModel
public HttpUrl getRequestUrl(ConversationID id)
getRequestUrl
in interface ConversationModel
public Request getRequest(ConversationID id)
getRequest
in interface ConversationModel
public Response getResponse(ConversationID id)
getResponse
in interface ConversationModel
public void removeConversationListener(ConversationListener listener)
removeConversationListener
in interface ConversationModel
listener
- the listener to addpublic void addConversationListener(ConversationListener listener)
addConversationListener
in interface ConversationModel
listener
- the listener to addprotected void fireConversationAdded(ConversationID id, int position)
id
- the conversationposition
- the position in the listprotected void fireConversationRemoved(ConversationID id, int position)
id
- the conversation IDposition
- the position in the overall conversation list prior to removalprotected void fireConversationChanged(ConversationID id, int position)
id
- the conversationproperty
- the name of the property that was changedprotected void fireConversationsChanged()
id
- the conversationproperty
- the name of the property that was changed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |