org.dasein.persist.dao
Class LoadTranslator

java.lang.Object
  extended by org.dasein.persist.Execution
      extended by org.dasein.persist.dao.LoadTranslator

public class LoadTranslator
extends Execution

LoadTranslator TODO Document this class.

Last modified: $Date: 2007/02/24 19:27:48 $

Version:
$Revision: 1.4 $
Author:
george

Field Summary
static int ATTRIBUTE
           
static int COUNTRY
           
static int LANGUAGE
           
static int TRANSLATION
           
static int W_OWNER_CLASS
           
static int W_OWNER_ID
           
 
Fields inherited from class org.dasein.persist.Execution
connection, DASEIN_PERSIST_PROPERTIES, data, dsn, PROPERTIES, results, statement
 
Constructor Summary
LoadTranslator()
           
 
Method Summary
 String getStatement()
           
 String getTable()
           
 Map<String,Object> run(Transaction ignore, Map<String,Object> state)
           
 
Methods inherited from class org.dasein.persist.Execution
close, execute, getConnection, getDataSource, getDataSourceName, getDataSourceName, getIdentifier, getIdentifier, getInstance, getQuotes, getState, getStatement, getStatement, isReadOnly, isUpperCase, loadStringTranslations, removeStringTranslations, run, saveStringTranslation, saveStringTranslation, setData, setDsn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTRIBUTE

public static final int ATTRIBUTE
See Also:
Constant Field Values

LANGUAGE

public static final int LANGUAGE
See Also:
Constant Field Values

COUNTRY

public static final int COUNTRY
See Also:
Constant Field Values

TRANSLATION

public static final int TRANSLATION
See Also:
Constant Field Values

W_OWNER_CLASS

public static final int W_OWNER_CLASS
See Also:
Constant Field Values

W_OWNER_ID

public static final int W_OWNER_ID
See Also:
Constant Field Values
Constructor Detail

LoadTranslator

public LoadTranslator()
Method Detail

getStatement

public String getStatement()
                    throws SQLException
Overrides:
getStatement in class Execution
Returns:
the SQL for this event
Throws:
SQLException

getTable

public String getTable()

run

public Map<String,Object> run(Transaction ignore,
                              Map<String,Object> state)
                       throws PersistenceException,
                              SQLException
Overrides:
run in class Execution
Throws:
PersistenceException
SQLException


Copyright © 2011 enStratus Networks LLC. All Rights Reserved.