com.tootsville.server
Class DoorKey
java.lang.Object
org.starhope.appius.util.ManagedReferenceHolder
org.starhope.appius.sql.SQLPeerDatum
com.tootsville.server.DoorKey
public class DoorKey
- extends SQLPeerDatum
- Author:
- brpocock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoorKey
public DoorKey(String keyCode)
throws NotFoundException
- Throws:
NotFoundException
DoorKey
public DoorKey(Person u,
Room r)
throws DataException
- Create a new Door Key for the specified room & user. The door key will be
valid for 15 minutes.
- Throws:
DataException
- if the key can't be created in the database for some reason