|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectscone.accesstracking.FrameSet
public class FrameSet
FrameSet stores two or more Access objects to allow FrameHistory to work with frame sets
Constructor Summary | |
---|---|
FrameSet()
|
Method Summary | |
---|---|
void |
addToFrameSet(java.lang.String megTime,
Access a)
Adds a new Access object and a megTime to the FrameSet. |
void |
addToFrameSet(java.lang.String megTime,
FrameSet fs)
Adds a new FrameSet object and a megTime to the FrameSet. |
boolean |
contains(java.lang.String megTime)
Checks if the megTime is in the FrameSet |
boolean |
containsPageLike(Access a)
Checks if the Access object matches one in the FrameSet in following fields: userId, nodeId, frameName, fragment, query If one of the entries is a FrameSet itself, it is searched recursively with it's containsPageLike method. |
void |
copyUnstoppedEvents(FrameSet source)
Copy unstopped events: all Access objects that have not been stopped (have an stay time > 0) are Frames that have not changed in FrameSet and have to be copied to the next FrameSet |
Access |
getFirstEvent()
Get first access object of this FrameSet |
java.lang.Object |
getFrame(int index)
Get frame of a position |
int |
getFrameListSize()
Get number of entries in FrameSet. |
Access |
getLastEvent(java.lang.String frameName)
Get last access event |
java.lang.String |
getMegTime(int index)
Get megTime of a position |
boolean |
noStoppedEvents()
Test if all access events have stayTime = 0, so no event was stopped by the applet. |
void |
replaceEvent(java.lang.String frameName,
java.lang.String megTime,
Access a)
Replace last megTime and access object |
void |
setParentAccessIds(java.lang.String parentAccessId)
Sets the parentAccessIds of every Access object in this FrameSet. |
void |
showFrameSetContents()
Show FrameSet contents to std out. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FrameSet()
Method Detail |
---|
public void addToFrameSet(java.lang.String megTime, Access a)
megTime
- The time when the JavaScriptCode was generateda
- The Access object to add to listpublic void addToFrameSet(java.lang.String megTime, FrameSet fs)
megTime
- The time when the JavaScriptCode was generateda
- The Access object to add to listpublic boolean contains(java.lang.String megTime)
megTime
- The megTime as a sting
true
if the FrameSet contains megTimepublic boolean containsPageLike(Access a)
containsPageLike
method.
a
- The Access object.
true
if the Access object matches one in the
FrameSet.public Access getLastEvent(java.lang.String frameName)
frameName
- To identify the Access object
public Access getFirstEvent()
public void setParentAccessIds(java.lang.String parentAccessId)
parentAccessId
- AccessId of the parent Access objectpublic void showFrameSetContents()
public boolean noStoppedEvents()
true
if this FrameSet contains no stopped
access objects.public void copyUnstoppedEvents(FrameSet source)
source
- The FrameSet to get the unstopped Access object from.public int getFrameListSize()
public java.lang.Object getFrame(int index)
number
- of FrameSet entry
public java.lang.String getMegTime(int index)
number
- of FrameSet entry
public void replaceEvent(java.lang.String frameName, java.lang.String megTime, Access a)
frameName
- To identify the frame to be replacedmegTime
- The megTime that replaces the previous onea
- The Access object that replaces the previous one
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |