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

org.colimas.mapper.SCMEntityMapper Class Reference

Inheritance diagram for org.colimas.mapper.SCMEntityMapper:

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

Public Member Functions

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

Static Public Member Functions

static SCMEntityMapper getInstance ()

Protected Member Functions

I_Entity createEntity (ResultSet rs)

Detailed Description

SCMEntityMapper.java

Function:
Process Query of SCM table in DB

Author:
zhao lei
Version:
1.2
Modification History:
 SEQ DATE       ORDER DEVELOPER      DESCRIPTION
 --- ---------- ----- -------------- -----------------------------
 001 2005/12/04          zhao lei       INIT
 002 2006/01/08          zhao lei       coding
 


Member Function Documentation

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

Create SCMEntity

Parameters:
Result of searching
Returns:
SCMEntity

Implements org.colimas.db.mapper.DbMapper.

int org.colimas.mapper.SCMEntityMapper.delete SCMEntity  entity  ) 
 

delete entity

Parameters:
SCMEntity 
Returns:
updated num

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

run select

Parameters:
query object
Returns:
get result list

Implements org.colimas.db.mapper.DbMapper.

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

get Mapper instance(using Singleton Pattern)

Returns:
Mapper Object

int org.colimas.mapper.SCMEntityMapper.insert SCMEntity  entity  ) 
 

insert SCMEntity

Parameters:
SCMEntity 
Returns:
inserted num

int org.colimas.mapper.SCMEntityMapper.update SCMEntity  entity,
boolean  isAutoCommit
 

update SCMEntity

Parameters:
entity 
isAutoCommit 
Returns:
updated num

int org.colimas.mapper.SCMEntityMapper.update SCMEntity  entity  ) 
 

update SCM entity

Parameters:
SCMEntity 
Returns:
updated num

int org.colimas.mapper.SCMEntityMapper.update SCMEntity  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