za.org.coefficient.interfaces
Interface StatisticsMessageSender

All Known Implementing Classes:
EjbStatisticsMessageSender, WebAppStatisticsMessageSender

public interface StatisticsMessageSender

Defines the interface for a statistics message sender


Field Summary
static java.lang.String COMPLETE
           
static java.lang.String CREATE
           
static java.lang.String DOWNLOAD
           
static java.lang.String UPDATE
           
static java.lang.String VIEW
           
 
Method Summary
 void reportStatistic(java.lang.Long projectId, java.lang.String moduleName, java.lang.String action)
          This method is used to report a statistic event to the system.
 

Field Detail

VIEW

static final java.lang.String VIEW
See Also:
Constant Field Values

DOWNLOAD

static final java.lang.String DOWNLOAD
See Also:
Constant Field Values

CREATE

static final java.lang.String CREATE
See Also:
Constant Field Values

UPDATE

static final java.lang.String UPDATE
See Also:
Constant Field Values

COMPLETE

static final java.lang.String COMPLETE
See Also:
Constant Field Values
Method Detail

reportStatistic

void reportStatistic(java.lang.Long projectId,
                     java.lang.String moduleName,
                     java.lang.String action)
This method is used to report a statistic event to the system. The processing of a statistic should not be a synchronous call.

Parameters:
projectId - identifies the project the stat is associated with
moduleName - identifies the module associated with the stat, this value can be null which implies it was a project level stat and not a project module stat.
action - tells the system what event occurred this must not be null.


Copyright CSIR. All Rights Reserved.