Subversion Repositories WebE

Compare Revisions

Last modification

Ignore whitespace Rev 35 → Rev 37

/trunk/src/ch/ffhs/webE/dao/RelationshipDAO.java/RelationshipDAOImpl.java
16,7 → 16,7
*
* @author Thomas Lahn
*/
public class RelationshipDAOImpl
public class RelationshipDAO
{
/**
* Database session
37,7 → 37,7
* empty list is returned
*/
@SuppressWarnings("unchecked")
public List<Relationship> getRelationshipList()
public List<Relationship> getList()
{
List<Relationship> relationship = null;
try
90,7 → 90,7
* @param id
* Relationship ID
*/
public void deleteRelationship(int id)
public void delete(int id)
{
try
{
112,7 → 112,7
* Term ID
* @return The relationship with this <var>id</var>
*/
public Relationship getRelationshipById(int id)
public Relationship getById(int id)
{
Relationship relationship = null;