ThinkUI SQL Client 1.1.3 API

thinkui.sqlclient.commands
Class ViewSQLQueryCommand

java.lang.Object
  extended bythinkui.db.AbstractDataObject
      extended bythinkui.command.AbstractCommand
          extended bythinkui.desktop.AbstractSwingCommand
              extended bythinkui.sqlclient.AbstractSQLClientCommand
                  extended bythinkui.sqlclient.commands.ViewSQLQueryCommand
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 ViewSQLQueryCommand
extends AbstractSQLClientCommand

Command to view the SQL query viewer on the currently selected db connection.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class thinkui.desktop.AbstractSwingCommand
DATA_CLASS
 
Fields inherited from interface thinkui.command.Command
NO_RESULT
 
Fields inherited from interface thinkui.db.DataObject
INDEX_SEPARATOR, NAME_SEPARATOR
 
Constructor Summary
ViewSQLQueryCommand()
          ViewSQLQueryCommand constructor.
 
Method Summary
 java.lang.Object execute(thinkui.command.CommandContext context)
          Execute the command with the specified context.
 thinkui.desktop.DelegateFrameViewer getParentFrameViewer()
           
 void setParentFrameViewer(thinkui.desktop.DelegateFrameViewer parentFrameViewer)
          Sets the parent frame viewer to use or null to use default behaviour.
 
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, getDataClass, getLabel, getSelectedObject, getSelectedObjects, setCommandManager, setLabel
 
Methods inherited from class thinkui.command.AbstractCommand
abort, equals, getData, getExecutionState, getInitCommand, getNextCommand, getObjectClassName, isAbortable, isAbortRequested, isEnabled, isPrecondition, 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
 

Constructor Detail

ViewSQLQueryCommand

public ViewSQLQueryCommand()
ViewSQLQueryCommand 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

getParentFrameViewer

public final thinkui.desktop.DelegateFrameViewer getParentFrameViewer()
Returns:
the parent frame viewer to use or null.

setParentFrameViewer

public final void setParentFrameViewer(thinkui.desktop.DelegateFrameViewer parentFrameViewer)
Sets the parent frame viewer to use or null to use default behaviour.


ThinkUI SQL Client 1.1.3 API

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