Fido Alpha 3.2

fido.db
Class ObjectLinkTable

java.lang.Object
  |
  +--fido.db.ObjectLinkTable

public class ObjectLinkTable
extends java.lang.Object


Constructor Summary
ObjectLinkTable()
           
 
Method Summary
 boolean containsLinkTo(int objectId, java.lang.String linkName, int linkToObject)
           
 void deleteLinkType(java.sql.Statement stmt, java.lang.String linkName)
           
 void deleteObject(java.sql.Statement stmt, int objectId)
           
 java.util.Collection getAllLinks(int objectId)
           
 java.util.Collection getLinkFrom(int objectId, java.lang.String linkName)
           
 java.util.Collection getLinkTo(int objectId, java.lang.String linkName)
           
 void linkObjects(int objectId, java.lang.String linkName, int linkToObject)
           
 void linkObjects(java.sql.Statement stmt, int objectId, java.lang.String linkName, int linkToObject)
           
 void unlinkObjects(int objectId, java.lang.String linkName, int linkToObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectLinkTable

public ObjectLinkTable()
Method Detail

linkObjects

public void linkObjects(java.sql.Statement stmt,
                        int objectId,
                        java.lang.String linkName,
                        int linkToObject)
                 throws java.sql.SQLException
java.sql.SQLException

linkObjects

public void linkObjects(int objectId,
                        java.lang.String linkName,
                        int linkToObject)
                 throws FidoDatabaseException,
                        ObjectNotFoundException
FidoDatabaseException
ObjectNotFoundException

getLinkTo

public java.util.Collection getLinkTo(int objectId,
                                      java.lang.String linkName)
                               throws FidoDatabaseException,
                                      ObjectNotFoundException,
                                      ClassLinkTypeNotFoundException
FidoDatabaseException
ObjectNotFoundException
ClassLinkTypeNotFoundException

containsLinkTo

public boolean containsLinkTo(int objectId,
                              java.lang.String linkName,
                              int linkToObject)
                       throws FidoDatabaseException,
                              ObjectNotFoundException,
                              ClassLinkTypeNotFoundException
FidoDatabaseException
ObjectNotFoundException
ClassLinkTypeNotFoundException

getLinkFrom

public java.util.Collection getLinkFrom(int objectId,
                                        java.lang.String linkName)
                                 throws FidoDatabaseException,
                                        ObjectNotFoundException,
                                        ClassLinkTypeNotFoundException
FidoDatabaseException
ObjectNotFoundException
ClassLinkTypeNotFoundException

getAllLinks

public java.util.Collection getAllLinks(int objectId)
                                 throws FidoDatabaseException,
                                        ObjectNotFoundException
FidoDatabaseException
ObjectNotFoundException

unlinkObjects

public void unlinkObjects(int objectId,
                          java.lang.String linkName,
                          int linkToObject)
                   throws FidoDatabaseException
FidoDatabaseException

deleteLinkType

public void deleteLinkType(java.sql.Statement stmt,
                           java.lang.String linkName)
                    throws java.sql.SQLException
java.sql.SQLException

deleteObject

public void deleteObject(java.sql.Statement stmt,
                         int objectId)
                  throws java.sql.SQLException
java.sql.SQLException

Fido Alpha 3.2