orc.orchard
Class DbAccounts

java.lang.Object
  extended by orc.orchard.AbstractAccounts
      extended by orc.orchard.DbAccounts

public class DbAccounts
extends AbstractAccounts


Field Summary
 
Fields inherited from class orc.orchard.AbstractAccounts
guest
 
Constructor Summary
DbAccounts(java.lang.String url)
           
 
Method Summary
 Account getAccount(java.lang.String devKey)
          Get an account by developer key.
 
Methods inherited from class orc.orchard.AbstractAccounts
getAccount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbAccounts

public DbAccounts(java.lang.String url)
Method Detail

getAccount

public Account getAccount(java.lang.String devKey)
Get an account by developer key. If the developer key cannot be found, a guest account will be returned, so you can assume that this will never return null.

Specified by:
getAccount in class AbstractAccounts