com.jfw.authentication
Class UserGroupServiceAddDB

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

public class UserGroupServiceAddDB
extends java.lang.Object
implements QueryGatewayInterface

Add the services of a user-group in table USER_SERVICE.


Constructor Summary
UserGroupServiceAddDB()
          Create an instance.
UserGroupServiceAddDB(Transaction transaction)
          Create an instance.
 
Method Summary
 void execute(java.util.HashMap outputdata)
          Execute the query.
 void setData(java.lang.Object data)
          Set attribute data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserGroupServiceAddDB

public UserGroupServiceAddDB()
Create an instance.


UserGroupServiceAddDB

public UserGroupServiceAddDB(Transaction transaction)
Create an instance.

Parameters:
transaction - a Transaction object.
Method Detail

setData

public void setData(java.lang.Object data)
Set attribute data.

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

execute

public void execute(java.util.HashMap outputdata)
             throws DatabaseException
Execute the query.

Specified by:
execute in interface QueryGatewayInterface
Parameters:
outputdata - set key QueryGateway.ROWS_CHANGED_KEY with the number of rows changed by the query.
Throws:
DatabaseException