palio.modules.forum.dao
Class CategoryDAO
java.lang.Object
palio.modules.forum.dao.CategoryDAO
- All Implemented Interfaces:
- SimpleDAO
public class CategoryDAO
- extends java.lang.Object
- implements SimpleDAO
- Author:
- leszek
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CategoryDAO
public CategoryDAO()
save
public void save(SQLConnectable connector)
throws palio.PalioException,
DAOException
- Description copied from interface:
SimpleDAO
- Zapisuje obiekt w bazie danych; dane obiektu muszą być wypełnione!
Jeżeli obiekt istnieje, jest on update-owany.
- Specified by:
save
in interface SimpleDAO
- Throws:
DAOException
palio.PalioException
retrieve
public void retrieve(SQLConnectable connector,
java.lang.Object id)
throws palio.PalioException,
DAOException
- Description copied from interface:
SimpleDAO
- Pobiera dane do pustego obiektu.
- Specified by:
retrieve
in interface SimpleDAO
id
- identyfikator obiektu w bazie
- Throws:
DAOException
palio.PalioException
getAll
public static java.util.LinkedList getAll(SQLConnectable connector)
throws palio.PalioException
- Throws:
palio.PalioException
getName
public java.lang.String getName()
- Returns:
- Returns the name.
setName
public void setName(java.lang.String name)
- Parameters:
name
- The name to set.
getPriority
public java.lang.Long getPriority()
- Returns:
- Returns the priority.
setPriority
public void setPriority(java.lang.Long priority)
- Parameters:
priority
- The priority to set.
getId
public java.lang.Long getId()
- Returns:
- Returns the id.
setId
public void setId(java.lang.Long id)