sk.stuba.fiit.foo07.genex.dao
Class UserDaoDerby
java.lang.Object
sk.stuba.fiit.foo07.genex.dao.BasicDao
sk.stuba.fiit.foo07.genex.dao.UserDaoDerby
- All Implemented Interfaces:
- UserDao
public class UserDaoDerby
- extends BasicDao
- implements UserDao
- Author:
- palo
Field Summary |
protected java.sql.ResultSet |
rs
|
protected java.sql.PreparedStatement |
st
|
protected TUser |
tu
|
Fields inherited from class sk.stuba.fiit.foo07.genex.dao.BasicDao |
con |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rs
protected java.sql.ResultSet rs
st
protected java.sql.PreparedStatement st
tu
protected TUser tu
UserDaoDerby
public UserDaoDerby(java.sql.Connection con)
addTUser
public void addTUser(TUser toAdd)
throws java.sql.SQLException
- Specified by:
addTUser
in interface UserDao
- Throws:
java.sql.SQLException
deleteTUser
public void deleteTUser(TUser toDelete)
throws java.sql.SQLException
- Specified by:
deleteTUser
in interface UserDao
- Throws:
java.sql.SQLException
getDefaultTUser
public TUser getDefaultTUser()
throws java.sql.SQLException
- Specified by:
getDefaultTUser
in interface UserDao
- Throws:
java.sql.SQLException
getTUserByID
public TUser getTUserByID(java.lang.Integer userID)
throws java.sql.SQLException
- Specified by:
getTUserByID
in interface UserDao
- Throws:
java.sql.SQLException
updateTUser
public void updateTUser(TUser toUpdate)
throws java.sql.SQLException
- Specified by:
updateTUser
in interface UserDao
- Throws:
java.sql.SQLException
Copyright © 2008 Faculty of Informatics and Information Technologies, STU Bratislava. All Rights Reserved.