ThinkUI SQL Client 1.1.3 API

thinkui.sqlclient.commands
Class LoadDataFileCommand

java.lang.Object
  extended bythinkui.db.AbstractDataObject
      extended bythinkui.command.AbstractCommand
          extended bythinkui.desktop.AbstractSwingCommand
              extended bythinkui.sqlclient.AbstractSQLClientCommand
                  extended bythinkui.sqlclient.commands.LoadDataFileCommand
All Implemented Interfaces:
thinkui.common.Abortable, thinkui.common.CaptionSupport, thinkui.common.ClassNameSupport, java.lang.Cloneable, thinkui.command.Command, thinkui.command.CommandErrorHandler, java.lang.Comparable, thinkui.db.DataClassSupport, DataObject, java.io.Serializable

public class LoadDataFileCommand
extends AbstractSQLClientCommand

Command to export the data model for the selected tables.

See Also:
Serialized Form

Field Summary
static DataClass DATA_CLASS
           
static java.lang.String FILE_NAME
           
static java.lang.String FILE_TYPE
           
static java.lang.String MAX_NUM_RECORDS
           
static java.lang.String PARSER_CLASS_NAME
           
static java.lang.String START_ROW
           
 
Fields inherited from interface thinkui.command.Command
NO_RESULT
 
Fields inherited from interface thinkui.db.DataObject
INDEX_SEPARATOR, NAME_SEPARATOR
 
Constructor Summary
LoadDataFileCommand()
          LoadDataFileCommand constructor.
 
Method Summary
 java.lang.Object execute(thinkui.command.CommandContext context)
          Execute the command with the specified context.
 DataClass getDataClass()
           
 boolean isPrecondition(thinkui.command.CommandContext commandContext)
           
 
Methods inherited from class thinkui.sqlclient.AbstractSQLClientCommand
canTranslateToDataClass, canTranslateToTableData, filterDataObjects, getDataObjectManager, getMetaDataManager, handleError, isUseApplicationDataObjectManager, postExecute, preExecute, setUseApplicationDataObjectManager, translateToDataClass, translateToTableData, translateToTableData, translateToTableData, translateToTableData
 
Methods inherited from class thinkui.desktop.AbstractSwingCommand
getCommandManager, getLabel, getSelectedObject, getSelectedObjects, setCommandManager, setLabel
 
Methods inherited from class thinkui.command.AbstractCommand
abort, equals, getData, getExecutionState, getInitCommand, getNextCommand, getObjectClassName, isAbortable, isAbortRequested, isEnabled, setAbortRequested, setData, setEnabled, setExecutionState, setInitCommand, setNextCommand
 
Methods inherited from class thinkui.db.AbstractDataObject
clearValue, clearValues, compareTo, copy, copyFrom, copyFrom, copyFrom, copyNonEmptyValuesFrom, getAsString, getAttribute, getBigDecimal, getBigInteger, getBoolean, getCaption, getCharacter, getDate, getInteger, getLong, getModifiedAttrNames, getName, getNumber, getPersistentState, getPrimaryKey, getShort, getString, getTimestamp, getValue, getValuesMap, hashCode, initFrom, initFrom, initFrom, initValue, isAttribute, isModified, isModified, isNew, isOverridden, isReadOnly, isReadOnly, isValueEmpty, isValueSet, override, setModifiedAttrNames, setName, setPersistentState, setReadOnly, setValue, setValuesMap, toString, validate
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface thinkui.db.DataObject
clearValue, clearValues, copy, copyFrom, copyFrom, copyFrom, getAsString, getAttribute, getBigDecimal, getBigInteger, getBoolean, getCharacter, getDate, getInteger, getLong, getModifiedAttrNames, getName, getPersistentState, getPrimaryKey, getShort, getString, getTimestamp, getValue, getValuesMap, hashCode, initFrom, initFrom, initFrom, initValue, isAttribute, isModified, isModified, isNew, isOverridden, isReadOnly, isReadOnly, isValueEmpty, isValueSet, override, setModifiedAttrNames, setName, setPersistentState, setReadOnly, setValue, setValuesMap, toString, validate
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface thinkui.common.CaptionSupport
getCaption
 

Field Detail

DATA_CLASS

public static final DataClass DATA_CLASS

FILE_NAME

public static final java.lang.String FILE_NAME
See Also:
Constant Field Values

FILE_TYPE

public static final java.lang.String FILE_TYPE
See Also:
Constant Field Values

MAX_NUM_RECORDS

public static final java.lang.String MAX_NUM_RECORDS
See Also:
Constant Field Values

PARSER_CLASS_NAME

public static final java.lang.String PARSER_CLASS_NAME
See Also:
Constant Field Values

START_ROW

public static final java.lang.String START_ROW
See Also:
Constant Field Values
Constructor Detail

LoadDataFileCommand

public LoadDataFileCommand()
LoadDataFileCommand constructor.

Method Detail

execute

public final java.lang.Object execute(thinkui.command.CommandContext context)
                               throws java.lang.Exception
Execute the command with the specified context.

Throws:
java.lang.Exception

getDataClass

public final DataClass getDataClass()

isPrecondition

public final boolean isPrecondition(thinkui.command.CommandContext commandContext)
Returns:
whether or not the precondition for the command has been met.

ThinkUI SQL Client 1.1.3 API

Copyright © 2007-2009. ThinkUI Software Inc. All rights reserved.