com.jfw.update
Class AppVersionDB

java.lang.Object
  extended by com.jfw.update.AppVersionDB
All Implemented Interfaces:
QueryGatewayInterface

public class AppVersionDB
extends java.lang.Object
implements QueryGatewayInterface

Query table app_version to get the current application version.


Field Summary
static java.lang.String VERSION_DB_KEY
          Key for HashMap with output data.
static java.lang.String VERSION_DESC_KEY
          Key for HashMap with output data.
static java.lang.String VERSION_FS_KEY
          Key for HashMap with output data.
static java.lang.String VERSION_JAVA_KEY
          Key for HashMap with output data.
static java.lang.String VERSION_NUMBER_KEY
          Key for HashMap with output data.
static java.lang.String VERSION_UPDATE_DATE_EU_KEY
          Key for HashMap with output data.
static java.lang.String VERSION_UPDATE_DATE_US_KEY
          Key for HashMap with output data.
 
Constructor Summary
AppVersionDB()
           
 
Method Summary
 void execute(java.util.HashMap outputdata)
          Execute the query.
 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
 

Field Detail

VERSION_NUMBER_KEY

public static final java.lang.String VERSION_NUMBER_KEY
Key for HashMap with output data.

See Also:
Constant Field Values

VERSION_DESC_KEY

public static final java.lang.String VERSION_DESC_KEY
Key for HashMap with output data.

See Also:
Constant Field Values

VERSION_JAVA_KEY

public static final java.lang.String VERSION_JAVA_KEY
Key for HashMap with output data.

See Also:
Constant Field Values

VERSION_DB_KEY

public static final java.lang.String VERSION_DB_KEY
Key for HashMap with output data.

See Also:
Constant Field Values

VERSION_FS_KEY

public static final java.lang.String VERSION_FS_KEY
Key for HashMap with output data.

See Also:
Constant Field Values

VERSION_UPDATE_DATE_EU_KEY

public static final java.lang.String VERSION_UPDATE_DATE_EU_KEY
Key for HashMap with output data.

See Also:
Constant Field Values

VERSION_UPDATE_DATE_US_KEY

public static final java.lang.String VERSION_UPDATE_DATE_US_KEY
Key for HashMap with output data.

See Also:
Constant Field Values
Constructor Detail

AppVersionDB

public AppVersionDB()
Method Detail

setData

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

Specified by:
setData in interface QueryGatewayInterface
Parameters:
data - no data need for the query.

execute

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

Specified by:
execute in interface QueryGatewayInterface
Parameters:
outputdata - the data returned by the query.
Throws:
DatabaseException