Main Page | Packages | Class Hierarchy | Class List | Directories | Class Members | Related Pages

org.colimas.mapper.StatisticsEntityMapper Class Reference

Inheritance diagram for org.colimas.mapper.StatisticsEntityMapper:

org.colimas.db.mapper.DbMapper org.colimas.db.mapper.SQLQueriesCodes List of all members.

Public Member Functions

List doQuery (I_Query query)
int insert (StatisticsEntity entity)
int delete (StatisticsEntity entity)
int delete (String date)

Static Public Member Functions

static StatisticsEntityMapper getInstance ()

Protected Member Functions

I_Entity createEntity (ResultSet rs)

Detailed Description

StatisticsEntityMapper.java

Function:
Statistics of Colimas Resources Add statistics every X days by batch job.

Author:
zhao lei
Version:
1.0
Modification History:
 SEQ DATE       ORDER DEVELOPER      DESCRIPTION
 --- ---------- ----- -------------- -----------------------------
 001 2006/01/09          tyrone        INIT
 002 2006/01/13          zhao lei      coding
 


Member Function Documentation

I_Entity org.colimas.mapper.StatisticsEntityMapper.createEntity ResultSet  rs  )  [protected, virtual]
 

Create StatisticsEntity

Parameters:
Result of searching
Returns:
StatisticsEntity

Implements org.colimas.db.mapper.DbMapper.

int org.colimas.mapper.StatisticsEntityMapper.delete String  date  ) 
 

delete records before date

Parameters:
date YYYYMMDD
Returns:
updated num

int org.colimas.mapper.StatisticsEntityMapper.delete StatisticsEntity  entity  ) 
 

delete entity

Parameters:
StatisticsEntity 
Returns:
updated num

List org.colimas.mapper.StatisticsEntityMapper.doQuery I_Query  query  )  [virtual]
 

run select

Parameters:
query object
Returns:
get result list

Implements org.colimas.db.mapper.DbMapper.

static StatisticsEntityMapper org.colimas.mapper.StatisticsEntityMapper.getInstance  )  [static]
 

get Mapper instance(using Singleton Pattern)

Returns:
Mapper Object

int org.colimas.mapper.StatisticsEntityMapper.insert StatisticsEntity  entity  ) 
 

insert StatisticsEntity

Parameters:
StatisticsEntity 
Returns:
inserted num


The documentation for this class was generated from the following file:
Generated on Sat Jan 14 02:04:30 2006 for Colimas by  doxygen 1.4.4