net.shrine.sheriff.controller
Class SheriffImpl

java.lang.Object
  extended by net.shrine.sheriff.controller.SheriffImpl
All Implemented Interfaces:
net.shrine.sheriff.model.Sheriff

public class SheriffImpl
extends Object
implements net.shrine.sheriff.model.Sheriff


Field Summary
protected  SheriffDAO dao
           
protected  boolean DEBUG
           
protected  boolean INFO
           
protected  org.apache.log4j.Logger log
           
 
Constructor Summary
SheriffImpl()
           
 
Method Summary
 List<net.shrine.sheriff.model.SheriffEntry> readApprovedEntries(org.spin.tools.crypto.signature.Identity identity)
           
 net.shrine.sheriff.model.SheriffEntry readApprovedTopic(org.spin.tools.crypto.signature.Identity identity, Integer queryTopicID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.apache.log4j.Logger log

DEBUG

protected final boolean DEBUG

INFO

protected final boolean INFO

dao

protected final SheriffDAO dao
Constructor Detail

SheriffImpl

public SheriffImpl()
Method Detail

readApprovedTopic

public net.shrine.sheriff.model.SheriffEntry readApprovedTopic(org.spin.tools.crypto.signature.Identity identity,
                                                               Integer queryTopicID)
                                                        throws net.shrine.sheriff.model.SheriffException
Specified by:
readApprovedTopic in interface net.shrine.sheriff.model.Sheriff
Throws:
net.shrine.sheriff.model.SheriffException

readApprovedEntries

public List<net.shrine.sheriff.model.SheriffEntry> readApprovedEntries(org.spin.tools.crypto.signature.Identity identity)
                                                                throws net.shrine.sheriff.model.SheriffException
Specified by:
readApprovedEntries in interface net.shrine.sheriff.model.Sheriff
Throws:
net.shrine.sheriff.model.SheriffException


Copyright © 2011. All Rights Reserved.