com.jfw.authentication
Class ServicesDB

java.lang.Object
  extended by com.jfw.authentication.ServicesDB
All Implemented Interfaces:
QueryGatewayInterface

public class ServicesDB
extends java.lang.Object
implements QueryGatewayInterface

Get service info form table SERVICE.


Constructor Summary
ServicesDB()
           
 
Method Summary
 void execute(java.util.HashMap outputdata)
          Read service data from database.
 void setData(java.lang.Object data)
          No data need for the query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServicesDB

public ServicesDB()
Method Detail

setData

public void setData(java.lang.Object data)
No data need for the query.

Specified by:
setData in interface QueryGatewayInterface
Parameters:
data - null object.

execute

public void execute(java.util.HashMap outputdata)
             throws DatabaseException
Read service data from database.
The data of every serice are saved in an HashMap and added in parameter outputdata associated with a key created by adding the service name + "_DATA".

Specified by:
execute in interface QueryGatewayInterface
Parameters:
outputdata - database data.
Throws:
DatabaseException