org.apache.struts2.showcase.dao
Interface Dao

All Known Implementing Classes:
AbstractDao, EmployeeDao, SkillDao

public interface Dao

Dao. Interface.


Method Summary
 Serializable create(IdEntity object)
           
 int delete(IdEntity object)
           
 int delete(Serializable id)
           
 Collection findAll()
           
 IdEntity get(Serializable id)
           
 Class getFeaturedClass()
           
 Serializable merge(IdEntity object)
           
 IdEntity update(IdEntity object)
           
 

Method Detail

getFeaturedClass

Class getFeaturedClass()

get

IdEntity get(Serializable id)

create

Serializable create(IdEntity object)
                    throws CreateException
Throws:
CreateException

update

IdEntity update(IdEntity object)
                throws UpdateException
Throws:
UpdateException

merge

Serializable merge(IdEntity object)
                   throws StorageException
Throws:
StorageException

delete

int delete(Serializable id)
           throws CreateException
Throws:
CreateException

delete

int delete(IdEntity object)
           throws CreateException
Throws:
CreateException

findAll

Collection findAll()


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.