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

org.colimas.mapper.ProjectEntityMapper Class Reference

Inheritance diagram for org.colimas.mapper.ProjectEntityMapper:

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

Public Member Functions

int update (ProjectEntity entity, int delete0)
List doQuery (I_Query query)
int insert (ProjectEntity entity)
int update (ProjectEntity entity)
int update (ProjectEntity entity, boolean isAutoCommit)
int delete (ProjectEntity entity)

Static Public Member Functions

static ProjectEntityMapper getInstance ()

Protected Member Functions

I_Entity createEntity (ResultSet rs)

Detailed Description

ProjectEntityMapper.java

Function:
Map Project info to record in DB.

Author:
zhao lei
Version:
1.3
Modification History:
 SEQ DATE       ORDER DEVELOPER      DESCRIPTION
 --- ---------- ----- -------------- -----------------------------
 001 2005/12/03       zhao lei       INIT
 002 2005/01/07       zhao lei       coding
 


Member Function Documentation

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

Create ProjectEntity

Parameters:
Result of searching
Returns:
ProjectEntity

Implements org.colimas.db.mapper.DbMapper.

int org.colimas.mapper.ProjectEntityMapper.delete ProjectEntity  entity  ) 
 

delete entity

Parameters:
ProjectEntity 
Returns:
updated num

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

run select

Parameters:
query object
Returns:
get result list

Implements org.colimas.db.mapper.DbMapper.

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

get Mapper instance(using Singleton Pattern)

Returns:
Mapper Object

int org.colimas.mapper.ProjectEntityMapper.insert ProjectEntity  entity  ) 
 

insert Project entity

Parameters:
ProjectEntity 
Returns:
inserted num

int org.colimas.mapper.ProjectEntityMapper.update ProjectEntity  entity,
boolean  isAutoCommit
 

update Project entity

Parameters:
entity 
isAutoCommit 
Returns:
updated num

int org.colimas.mapper.ProjectEntityMapper.update ProjectEntity  entity  ) 
 

update Project entity

Parameters:
ProjectEntity 
Returns:
updated num

int org.colimas.mapper.ProjectEntityMapper.update ProjectEntity  entity,
int  delete0
 

soft delete/recovery set delete=1 to delete set delete=0 to recovery

Parameters:
delete0 
Returns:
updated 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