net.walend.lyophil.jdbc
Class JDBCTypableKeyDigger

java.lang.Object
  |
  +--net.walend.lyophil.jdbc.JDBCTypableKeyDigger
All Implemented Interfaces:
Digger, TypableKeyDigger

public class JDBCTypableKeyDigger
extends java.lang.Object
implements TypableKeyDigger

This class implements TypableKeyDigger to work over jdbc 2.0 persistence.

Since:
1-29-2001
Author:
David Walend

Field Summary
 
Fields inherited from interface net.walend.lyophil.TypableKeyDigger
ROLE
 
Constructor Summary
JDBCTypableKeyDigger()
           
 
Method Summary
 boolean containsTypableKey(java.lang.String key)
          Returns true if the typable key is in use already.
 HasTypableKey findByTypableKey(java.lang.String key)
          Returns the Freezable that has the typable key
 java.io.Serializable findIDForTypableKey(java.lang.String key)
          Returns the id of the Freezable that has the typable key
protected  Caster getCaster()
           
protected  Freezer getFreezer()
           
protected  JDBCTypableKeyTray getTray()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCTypableKeyDigger

public JDBCTypableKeyDigger()
Method Detail

getTray

protected JDBCTypableKeyTray getTray()

getFreezer

protected Freezer getFreezer()

getCaster

protected Caster getCaster()

findByTypableKey

public HasTypableKey findByTypableKey(java.lang.String key)
                               throws NotInFreezerException
Description copied from interface: TypableKeyDigger
Returns the Freezable that has the typable key

Specified by:
findByTypableKey in interface TypableKeyDigger

findIDForTypableKey

public java.io.Serializable findIDForTypableKey(java.lang.String key)
                                         throws NotInFreezerException
Description copied from interface: TypableKeyDigger
Returns the id of the Freezable that has the typable key

Specified by:
findIDForTypableKey in interface TypableKeyDigger

containsTypableKey

public boolean containsTypableKey(java.lang.String key)
Description copied from interface: TypableKeyDigger
Returns true if the typable key is in use already.

Specified by:
containsTypableKey in interface TypableKeyDigger


Copyright (c) 2000, 2001, David Walend