BioFunctionalDesigner  1.0
 All Classes Functions
Public Member Functions | List of all members
com.sanmixy.daoImpl.RecentlyUsedPartDaoImpl Class Reference

RecentlyUsedPart DAO implements. More...

Inheritance diagram for com.sanmixy.daoImpl.RecentlyUsedPartDaoImpl:
com.sanmixy.dao.RecentlyUsedPartDao

Public Member Functions

void addRecord (RecentlyUsedPart record)
 Add method. More...
 
void deleteRecord (Class clazz, Serializable serializable)
 Delete method. More...
 
List getRecentlyUsedPart ()
 Get the parts that are used recently. More...
 
List getRecentlyUsedPartByType (String type)
 Get the parts that are used recently and with a certain type. More...
 
List getRecentlyUsedPartByUserInfo (String userInfo)
 Get the part that are used recently and with a user information. More...
 
List getRecentlyUsedPartByTypeAndUserInfo (String type, String userInfo)
 Get the part that are used recently ad with a certain user information. More...
 
int findCountByPartName (String partName)
 Find the count of a part. More...
 
int findCountByPartNameAndUserInfo (String partName, String userInfo)
 Find count of a part with a part name and user information. More...
 
int findIDByPartNameAndUserInfo (String partName, String userInfo)
 Find the id of a record with a partName and user information. More...
 
void deleteRecordByID (int id)
 Delete record with a certain id. More...
 

Detailed Description

RecentlyUsedPart DAO implements.

Author
Xia Yu
Version
1.0

Member Function Documentation

void com.sanmixy.daoImpl.RecentlyUsedPartDaoImpl.addRecord ( RecentlyUsedPart  record)
virtual

Add method.

Parameters
record

Implements com.sanmixy.dao.RecentlyUsedPartDao.

void com.sanmixy.daoImpl.RecentlyUsedPartDaoImpl.deleteRecord ( Class  clazz,
Serializable  serializable 
)
virtual

Delete method.

Parameters
clazz
serializable

Implements com.sanmixy.dao.RecentlyUsedPartDao.

void com.sanmixy.daoImpl.RecentlyUsedPartDaoImpl.deleteRecordByID ( int  id)
virtual

Delete record with a certain id.

Parameters
id

Implements com.sanmixy.dao.RecentlyUsedPartDao.

int com.sanmixy.daoImpl.RecentlyUsedPartDaoImpl.findCountByPartName ( String  partName)
virtual

Find the count of a part.

Parameters
partName
Returns
count

Implements com.sanmixy.dao.RecentlyUsedPartDao.

int com.sanmixy.daoImpl.RecentlyUsedPartDaoImpl.findCountByPartNameAndUserInfo ( String  partName,
String  userInfo 
)
virtual

Find count of a part with a part name and user information.

Parameters
partName
userInfo
Returns
count

Implements com.sanmixy.dao.RecentlyUsedPartDao.

int com.sanmixy.daoImpl.RecentlyUsedPartDaoImpl.findIDByPartNameAndUserInfo ( String  partName,
String  userInfo 
)
virtual

Find the id of a record with a partName and user information.

Parameters
partName
userInfo
Returns
id

Implements com.sanmixy.dao.RecentlyUsedPartDao.

List com.sanmixy.daoImpl.RecentlyUsedPartDaoImpl.getRecentlyUsedPart ( )
virtual

Get the parts that are used recently.

Returns
A list of recentlyUsedParts.

Implements com.sanmixy.dao.RecentlyUsedPartDao.

List com.sanmixy.daoImpl.RecentlyUsedPartDaoImpl.getRecentlyUsedPartByType ( String  type)
virtual

Get the parts that are used recently and with a certain type.

Parameters
type
Returns
A list of Object arrays

Implements com.sanmixy.dao.RecentlyUsedPartDao.

List com.sanmixy.daoImpl.RecentlyUsedPartDaoImpl.getRecentlyUsedPartByTypeAndUserInfo ( String  type,
String  userInfo 
)
virtual

Get the part that are used recently ad with a certain user information.

Parameters
type
userInfo
Returns
A list of object arrays

Implements com.sanmixy.dao.RecentlyUsedPartDao.

List com.sanmixy.daoImpl.RecentlyUsedPartDaoImpl.getRecentlyUsedPartByUserInfo ( String  userInfo)
virtual

Get the part that are used recently and with a user information.

Parameters
userInfo
Returns
A list of recentlyUsedPart

Implements com.sanmixy.dao.RecentlyUsedPartDao.


The documentation for this class was generated from the following file: