com.jalios.jcms.stat
Class StatEntry

java.lang.Object
  extended by com.jalios.jcms.stat.StatEntry

public class StatEntry
extends Object


Field Summary
protected  boolean activatePooling
           
static String BROWSERS
           
static Set customSet
           
static Set dataArraySet
           
static Set dataSet
           
protected  List hashSetPool
           
protected  int hashSetPoolState
           
protected  org.apache.oro.text.regex.PatternMatcher matcher
           
 int matchPattern
           
protected  Map objMap
           
static String OS
           
static org.apache.oro.text.regex.Pattern PATTERN_BROWSER
           
static int PATTERN_NOT_PROCESSED
           
static org.apache.oro.text.regex.Pattern PATTERN_OS
           
static int PATTERN_PROCESSED_FALSE
           
static int PATTERN_PROCESSED_TRUE
           
static Set processSet
           
static Set querySet
           
static String REVISION
           
static String STAT
           
static String STAT_AUDIENCEMENT
           
static String STAT_BROWSER
           
static String STAT_COUNTRY
           
static String STAT_CTXTCAT
           
static String STAT_CURRENTCAT
           
static String STAT_DATA
           
static String STAT_DATA_TYPE
           
static String STAT_DATEEND
           
static String STAT_DATESTART
           
static String[] STAT_FIELDS
           
static Class<?>[] STAT_FIELDS_CLASS
           
static String STAT_GROUPS
           
static String STAT_IPADDRESS
           
static String STAT_LANGUAGE
           
static String STAT_LINE
           
static String STAT_LOCALE
           
static String STAT_MEMBER
           
static String STAT_MEMO
           
static String STAT_METHODE
           
static String STAT_NAME
           
static String STAT_OS
           
static String STAT_PORTAL
           
static String STAT_PORTALCAT
           
static String STAT_PUBLICATION
           
static String STAT_QUERYSTRING
           
static String STAT_REFERER
           
static String STAT_SCHEME
           
static String STAT_SEARCH_CATEGORY
           
static String STAT_SEARCH_FULLTEXT
           
static String STAT_SEARCH_GROUPS
           
static String STAT_SEARCH_HIST
           
static String STAT_SEARCH_MEMBERS
           
static String STAT_SEARCH_SORT
           
static String STAT_SEARCH_TYPES
           
static String STAT_SERVERNAME
           
static String STAT_SERVERPORT
           
static String STAT_SESSIONID
           
static String STAT_URI
           
static String STAT_URID
           
static String STAT_USERAGENT
           
static String STAT_WORKSPACE
           
static String STAT_XFORWARD
           
static String STAT_ZONE
           
protected  Map strMap
           
protected  List treeSetPool
           
protected  int treeSetPoolState
           
 
Constructor Summary
StatEntry()
           
 
Method Summary
protected  Set getNewHashSet()
           
protected  SortedSet getNewTreeSet()
           
 Object getStatObject(String key)
          Return the first representation of a given key
 Set getStatObjects(String key)
          Get the Objet value of key Warning ! the returning value is a Set of Object this Set must not be stored, it is part of a Pool Set
 String getStatValue(String key)
          Get String value of the given key
 void init(Attributes atts)
          Initialise StatEntry with new Attributes
protected  void initPool()
           
 boolean isLogged()
          This method check if the visitor of this line of stat was logged
protected  void processCustom(String key, String value)
           
protected  void processData(String key, String value)
           
protected  void processDatas(String key, String value)
           
protected  void processObject(String key)
          Try to convert the String to a more workable object
protected  void processQuerys(String key, String value)
           
 void setStatValue(String key, String value)
          Set String value of the given key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values

PATTERN_NOT_PROCESSED

public static final int PATTERN_NOT_PROCESSED
See Also:
Constant Field Values

PATTERN_PROCESSED_TRUE

public static final int PATTERN_PROCESSED_TRUE
See Also:
Constant Field Values

PATTERN_PROCESSED_FALSE

public static final int PATTERN_PROCESSED_FALSE
See Also:
Constant Field Values

BROWSERS

public static final String BROWSERS

OS

public static final String OS

PATTERN_BROWSER

public static final org.apache.oro.text.regex.Pattern PATTERN_BROWSER

PATTERN_OS

public static final org.apache.oro.text.regex.Pattern PATTERN_OS

STAT

public static final String STAT
See Also:
Constant Field Values

STAT_LINE

public static final String STAT_LINE
See Also:
Constant Field Values

STAT_IPADDRESS

public static final String STAT_IPADDRESS
See Also:
Constant Field Values

STAT_METHODE

public static final String STAT_METHODE
See Also:
Constant Field Values

STAT_REFERER

public static final String STAT_REFERER
See Also:
Constant Field Values

STAT_SCHEME

public static final String STAT_SCHEME
See Also:
Constant Field Values

STAT_SERVERNAME

public static final String STAT_SERVERNAME
See Also:
Constant Field Values

STAT_URI

public static final String STAT_URI
See Also:
Constant Field Values

STAT_QUERYSTRING

public static final String STAT_QUERYSTRING
See Also:
Constant Field Values

STAT_SESSIONID

public static final String STAT_SESSIONID
See Also:
Constant Field Values

STAT_USERAGENT

public static final String STAT_USERAGENT
See Also:
Constant Field Values

STAT_ZONE

public static final String STAT_ZONE
See Also:
Constant Field Values

STAT_MEMO

public static final String STAT_MEMO
See Also:
Constant Field Values

STAT_NAME

public static final String STAT_NAME
See Also:
Constant Field Values

STAT_SERVERPORT

public static final String STAT_SERVERPORT
See Also:
Constant Field Values

STAT_LOCALE

public static final String STAT_LOCALE
See Also:
Constant Field Values

STAT_DATESTART

public static final String STAT_DATESTART
See Also:
Constant Field Values

STAT_DATEEND

public static final String STAT_DATEEND
See Also:
Constant Field Values

STAT_DATA

public static final String STAT_DATA
See Also:
Constant Field Values

STAT_DATA_TYPE

public static final String STAT_DATA_TYPE
See Also:
Constant Field Values

STAT_MEMBER

public static final String STAT_MEMBER
See Also:
Constant Field Values

STAT_GROUPS

public static final String STAT_GROUPS
See Also:
Constant Field Values

STAT_PORTAL

public static final String STAT_PORTAL
See Also:
Constant Field Values

STAT_WORKSPACE

public static final String STAT_WORKSPACE
See Also:
Constant Field Values

STAT_CURRENTCAT

public static final String STAT_CURRENTCAT
See Also:
Constant Field Values

STAT_PORTALCAT

public static final String STAT_PORTALCAT
See Also:
Constant Field Values

STAT_CTXTCAT

public static final String STAT_CTXTCAT
See Also:
Constant Field Values

STAT_PUBLICATION

public static final String STAT_PUBLICATION
See Also:
Constant Field Values

STAT_BROWSER

public static final String STAT_BROWSER
See Also:
Constant Field Values

STAT_OS

public static final String STAT_OS
See Also:
Constant Field Values

STAT_COUNTRY

public static final String STAT_COUNTRY
See Also:
Constant Field Values

STAT_LANGUAGE

public static final String STAT_LANGUAGE
See Also:
Constant Field Values

STAT_SEARCH_FULLTEXT

public static final String STAT_SEARCH_FULLTEXT
See Also:
Constant Field Values

STAT_SEARCH_CATEGORY

public static final String STAT_SEARCH_CATEGORY
See Also:
Constant Field Values

STAT_SEARCH_GROUPS

public static final String STAT_SEARCH_GROUPS
See Also:
Constant Field Values

STAT_SEARCH_MEMBERS

public static final String STAT_SEARCH_MEMBERS
See Also:
Constant Field Values

STAT_SEARCH_TYPES

public static final String STAT_SEARCH_TYPES
See Also:
Constant Field Values

STAT_SEARCH_SORT

public static final String STAT_SEARCH_SORT
See Also:
Constant Field Values

STAT_SEARCH_HIST

public static final String STAT_SEARCH_HIST
See Also:
Constant Field Values

STAT_URID

public static final String STAT_URID
See Also:
Constant Field Values

STAT_AUDIENCEMENT

public static final String STAT_AUDIENCEMENT
See Also:
Constant Field Values

STAT_XFORWARD

public static final String STAT_XFORWARD
See Also:
Constant Field Values

STAT_FIELDS

public static final String[] STAT_FIELDS

STAT_FIELDS_CLASS

public static final Class<?>[] STAT_FIELDS_CLASS

dataSet

public static final Set dataSet

dataArraySet

public static final Set dataArraySet

querySet

public static final Set querySet

customSet

public static final Set customSet

processSet

public static final Set processSet

matcher

protected org.apache.oro.text.regex.PatternMatcher matcher

strMap

protected Map strMap

objMap

protected Map objMap

matchPattern

public int matchPattern

treeSetPool

protected List treeSetPool

hashSetPool

protected List hashSetPool

treeSetPoolState

protected int treeSetPoolState

hashSetPoolState

protected int hashSetPoolState

activatePooling

protected boolean activatePooling
Constructor Detail

StatEntry

public StatEntry()
Method Detail

init

public void init(Attributes atts)
Initialise StatEntry with new Attributes

Parameters:
atts -
Since:
jcms-4.1

getStatValue

public String getStatValue(String key)
Get String value of the given key

Parameters:
key -
Returns:
a String representation
Since:
jcms-4.1

setStatValue

public void setStatValue(String key,
                         String value)
Set String value of the given key

Since:
jcms-4.1

getStatObject

public Object getStatObject(String key)
Return the first representation of a given key

Parameters:
key -
Returns:
an Object
Since:
jcms-4.1

getStatObjects

public Set getStatObjects(String key)
Get the Objet value of key Warning ! the returning value is a Set of Object this Set must not be stored, it is part of a Pool Set

Parameters:
key -
Returns:
the value
Since:
jcms-4.1

isLogged

public boolean isLogged()
This method check if the visitor of this line of stat was logged

Returns:
boolean true if logged
Since:
jcms-5.6.0

initPool

protected void initPool()

getNewTreeSet

protected SortedSet getNewTreeSet()

getNewHashSet

protected Set getNewHashSet()

processData

protected void processData(String key,
                           String value)

processDatas

protected void processDatas(String key,
                            String value)

processQuerys

protected void processQuerys(String key,
                             String value)

processCustom

protected void processCustom(String key,
                             String value)

processObject

protected void processObject(String key)
Try to convert the String to a more workable object

Parameters:
key -
Since:
jcms-4.1


Copyright © 2001-2010 Jalios SA. All Rights Reserved.