net.sf.borg.model.db
Interface LinkDB

All Superinterfaces:
EntityDB<Link>
All Known Implementing Classes:
LinkJdbcDB

public interface LinkDB
extends EntityDB<Link>

The Interface for a Link DB.


Method Summary
 Collection<Link> getLinks(int ownerkey, String ownertype)
          Gets all links for a given Entity.
 
Methods inherited from interface net.sf.borg.model.db.EntityDB
addObj, delete, newObj, nextkey, readAll, readObj, sync, updateObj
 

Method Detail

getLinks

Collection<Link> getLinks(int ownerkey,
                          String ownertype)
                          throws Exception
Gets all links for a given Entity.

Parameters:
ownerkey - the key of the Entity
ownertype - the type of Entity
Returns:
the collection of links
Throws:
Exception


Generated December 30 2011 by mbb using Apache Ant(TM) version 1.8.2 compiled on December 20 2010 and Java version 1.6.0_30 from Sun Microsystems Inc. on Linux i386 3.0.0-14-generic-pae