Package org.apache.struts2.showcase.dao
Class AbstractDao
java.lang.Object
org.apache.struts2.showcase.dao.AbstractDao
- All Implemented Interfaces:
Serializable,Dao
- Direct Known Subclasses:
EmployeeDao,SkillDao
AbstractDao.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdelete(Serializable id) intfindAll()get(Serializable id) voidsetStorage(Storage storage) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.struts2.showcase.dao.Dao
getFeaturedClass
-
Constructor Details
-
AbstractDao
public AbstractDao()
-
-
Method Details
-
getStorage
-
setStorage
-
get
-
create
- Specified by:
createin interfaceDao- Throws:
CreateException
-
update
- Specified by:
updatein interfaceDao- Throws:
UpdateException
-
merge
- Specified by:
mergein interfaceDao- Throws:
StorageException
-
delete
- Specified by:
deletein interfaceDao- Throws:
CreateException
-
delete
- Specified by:
deletein interfaceDao- Throws:
CreateException
-
findAll
-