com.solidstategroup.sitetracker
Class Referrer

java.lang.Object
  extended by com.solidstategroup.sitetracker.Referrer

public class Referrer
extends java.lang.Object

Models a Referrer within Replay. A referrer is a website or websites that linked to the current website. Users entering the current website from a referrer will be recorded as having done so in the database. Each referrer consists of a description and a series of search terms that match up to the referrer URL.


Constructor Summary
Referrer()
           
 
Method Summary
 Referrer execute()
          Retrieves the current referrer details.
 java.lang.String getDescription()
           
 int getReferrerId()
           
 java.lang.String getSearchParameter()
           
 void setDescription(java.lang.String description)
           
 void setReferrerId(int referrerId)
           
 void setSearchParameter(java.lang.String searchParameter)
           
 boolean store(java.sql.Connection con)
          Stores the current Referrer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Referrer

public Referrer()
Method Detail

execute

public Referrer execute()
Retrieves the current referrer details.

Returns:
The current referrer details.

store

public boolean store(java.sql.Connection con)
Stores the current Referrer.

Returns:
The result of the storage attempt.

getReferrerId

public int getReferrerId()

setReferrerId

public void setReferrerId(int referrerId)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getSearchParameter

public java.lang.String getSearchParameter()

setSearchParameter

public void setSearchParameter(java.lang.String searchParameter)