| net.jforum.dao.RankingDAO
All known Subclasses: net.jforum.dao.generic.GenericRankingDAO,
RankingDAO | public interface RankingDAO (Code) | | Model interface for
net.jforum.entities.Ranking .
This interface defines methods which are expected to be
implementd by a specific data access driver. The intention is
to provide all functionality needed to update, insert, delete and
select some specific data.
author: Rafael Steil version: $Id: RankingDAO.java,v 1.7 2006/12/02 03:19:54 rafaelsteil Exp $ |
addNew | public void addNew(Ranking ranking)(Code) | | Adds a new ranking.
Parameters: ranking - Reference to a valid and configured Ranking object |
delete | public void delete(int rankingId)(Code) | | Delete a ranking.
Parameters: rankingId - The ranking ID to delete |
selectAll | public List selectAll()(Code) | | Selects all ranking data from the database.
ArrayList with the rankings. Each entry is a Ranking object See Also: RankingDAO.selectById |
selectById | public Ranking selectById(int rankingId)(Code) | | Gets a specific Ranking .
Parameters: rankingId - The ranking ID to search Ranking object containing all the information See Also: RankingDAO.selectAll |
selectSpecials | public List selectSpecials()(Code) | | Return all special rankings
|
update | public void update(Ranking ranking)(Code) | | Updates a ranking.
Parameters: ranking - Reference to a Ranking object to update |
|
|