|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectscone.accesstracking.FrameHistory
public class FrameHistory
Keeps the history of one Window/Frame of a Web-browser to amalyse the movements of the user.
Constructor Summary | |
---|---|
FrameHistory()
|
Method Summary | |
---|---|
void |
add(java.lang.String megTime,
Access a)
Removes history entries behind actual position and adds the new Access object to history list. |
void |
add(java.lang.String megTime,
FrameSet frameSet)
Removes history entries behind actual position and adds the new FrameSet object to history list. |
boolean |
contains(java.lang.String megTime)
checks if the megTime is in this FrameHistory |
boolean |
containsPageLike(Access a)
Checks if the given Access object matches one in the FrameHistory in following fields: userId, nodeId, frameName, fragment, query If there a FrameSets in this FrameHistory, FrameSet.containsPageLike is invoked in the FrameSet and subframesets |
void |
delPrevEntry()
Delete the previous FrameHistory entry. |
int |
getDistance(java.lang.String megTime)
Get distance of position and Access object a in history |
int |
getDistanceOfPageLike(Access a)
Get distance of position and matching Access Object a in the FrameHistory. |
int |
getLastAction()
Get lastAction |
java.lang.Object |
getLastEntry()
Get last accessed entry of FrameHistory |
Access |
getLastEvent(java.lang.String frameName)
Get last access event |
int |
getPosition()
Get position in history |
java.lang.Object |
getPrevEntry()
Get previous accessed entry of FrameHistory (That one accessed before the last accessed one) |
void |
insert(java.lang.String megTime,
FrameSet frameSet)
Inserts the new FrameSet object without removing all history entries behind actual position and increases the position pointer. |
void |
replaceLastEvent(java.lang.String megTime,
Access a)
Replace last megTime and access event |
void |
replaceLastEvent(java.lang.String frameName,
java.lang.String megTime,
Access a)
Replace last megTime and access event. |
void |
setLastAction(int lastAction)
Set lastAction |
void |
setPosition(int position)
Set position in history |
void |
setPositionTo(java.lang.String megTime)
Set position to Access object a in history |
void |
showFrameContents()
Show the contents of the FrameHistory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FrameHistory()
Method Detail |
---|
public void add(java.lang.String megTime, Access a)
megTime
- The time when the JavaScriptCode was generateda
- The Access object to add to listpublic void add(java.lang.String megTime, FrameSet frameSet)
megTime
- The time when the JavaScriptCode was generatedframeSet
- The FrameSet object to add to listpublic void insert(java.lang.String megTime, FrameSet frameSet)
megTime
- The time when the JavaScriptCode was generatedframeSet
- The FrameSet object to insert into FrameHistorypublic boolean contains(java.lang.String megTime)
megTime
- The megTime as a sting
public boolean containsPageLike(Access a)
a
- The Access object
true
if "a" matches one in the FrameHistorypublic int getLastAction()
public void setLastAction(int lastAction)
lastAction
- Bit array that holds reason for last page changepublic int getPosition()
public void setPosition(int position)
position
- Position in historypublic Access getLastEvent(java.lang.String frameName)
public java.lang.Object getLastEntry()
public java.lang.Object getPrevEntry()
public void replaceLastEvent(java.lang.String megTime, Access a)
megTime
- a
- public void delPrevEntry()
public void replaceLastEvent(java.lang.String frameName, java.lang.String megTime, Access a)
frameName
- Identifies the framemegTime
- a
- The Access Eventpublic int getDistance(java.lang.String megTime)
megTime
-
public int getDistanceOfPageLike(Access a)
a
- The Access object
public void showFrameContents()
public void setPositionTo(java.lang.String megTime)
megTime
- Access object to set position to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |