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

org.colimas.mapper.UserEntityMapper Class Reference

Inheritance diagram for org.colimas.mapper.UserEntityMapper:

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

Public Member Functions

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

Static Public Member Functions

static UserEntityMapper getInstance ()

Protected Member Functions

I_Entity createEntity (ResultSet rs)

Detailed Description

UserEntityMapper

Function:
Map >UserEntity to record in DB.

Author:
zhao lei
Version:
1.0 Modification History:
 SEQ DATE        DEVELOPER      DESCRIPTION
 --- ----------  -------------- -----------------------------
 001 2005/12/03  Zhao Lei       INIT
 002 2006/01/07  zhao lei       coding
 


Member Function Documentation

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

Create UserEntityMapper

Parameters:
Result of searching
Returns:
UserEntity

Implements org.colimas.db.mapper.DbMapper.

int org.colimas.mapper.UserEntityMapper.delete UserEntity  entity  ) 
 

delete entity

Parameters:
UserEntity 
Returns:
updated num

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

run select

Parameters:
query object
Returns:
get result list

Implements org.colimas.db.mapper.DbMapper.

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

get Mapper instance(using Singleton Pattern)

Returns:
Mapper Object

int org.colimas.mapper.UserEntityMapper.insert UserEntity  entity  ) 
 

insert UserEntity

Parameters:
UserEntity 
Returns:
inserted num

int org.colimas.mapper.UserEntityMapper.update UserEntity  entity,
boolean  isAutoCommit
 

update UserEntity

Parameters:
entity 
isAutoCommit 
Returns:
updated num

int org.colimas.mapper.UserEntityMapper.update UserEntity  entity  ) 
 

update UserEntity

Parameters:
UserEntity 
Returns:
updated num

int org.colimas.mapper.UserEntityMapper.update UserEntity  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