Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.view.objtable.viewInput
Class OTVInput

java.lang.Object
  extended by com.ibm.etools.iseries.rse.ui.view.objtable.viewInput.OTVInput
All Implemented Interfaces:
IObjectTableViewInput
Direct Known Subclasses:
OTVInputEmpty, OTVInputInitialText, OTVInputResource, OTVInputResourceFile, OTVInputString, OTVInputSystemFilterReference

public abstract class OTVInput
extends Object
implements IObjectTableViewInput


Field Summary
static String copyright
           
 Object[] newResults
           
protected  boolean refreshJobScheduled
           
protected  boolean restoreFromMemento
           
 ObjectTableView tableView
          Note: The input subclasses are also responsible for setting the ObjectTableVCiew.savedView* fields as they are constructed.
 
Method Summary
 void clearElements()
           
protected  String getAliasLabel()
          Common internal method for fetching the connection alias name label for appending to the History Name.
 Object[] getElements()
           
 String getFileName()
           
abstract  IBMiConnection getIBMiConnection()
          Note: The input subclasses are also responsible for setting the ObjectTableVCiew.savedView* fields as they are constructed.
 IQSYSResource getInputResource()
          A convenience method to extract the IQSYSResource from certain subclass types.
 String getLibraryName()
          These methods may only apply to some types
 QSYSObjectSubSystem getObjectSubSystem()
           
 ISystemFilter getSystemFilter()
          May return null.
 ISystemFilterReference getSystemFilterReference()
          May return null.
 void navigateTableViewUp(ObjectTableView tableView)
          Will do nothing for some subclasses
 Object[] retrieveInput(IProgressMonitor monitor)
          Expected to be overriden by the subclasses use the associated job to retrieve the elements.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.etools.iseries.rse.ui.view.objtable.viewInput.IObjectTableViewInput
getHistoryEntryName, getSaveFilterString, getTitle
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

tableView

public ObjectTableView tableView
Note: The input subclasses are also responsible for setting the ObjectTableVCiew.savedView* fields as they are constructed.


restoreFromMemento

protected boolean restoreFromMemento

newResults

public Object[] newResults

refreshJobScheduled

protected volatile boolean refreshJobScheduled
Method Detail

getIBMiConnection

public abstract IBMiConnection getIBMiConnection()
Description copied from interface: IObjectTableViewInput
Note: The input subclasses are also responsible for setting the ObjectTableVCiew.savedView* fields as they are constructed.

Specified by:
getIBMiConnection in interface IObjectTableViewInput

getObjectSubSystem

public QSYSObjectSubSystem getObjectSubSystem()
Specified by:
getObjectSubSystem in interface IObjectTableViewInput

getAliasLabel

protected String getAliasLabel()
Common internal method for fetching the connection alias name label for appending to the History Name.


getElements

public Object[] getElements()
Specified by:
getElements in interface IObjectTableViewInput

clearElements

public void clearElements()
Specified by:
clearElements in interface IObjectTableViewInput

retrieveInput

public Object[] retrieveInput(IProgressMonitor monitor)
Expected to be overriden by the subclasses use the associated job to retrieve the elements.


getLibraryName

public String getLibraryName()
These methods may only apply to some types

Specified by:
getLibraryName in interface IObjectTableViewInput

getFileName

public String getFileName()
Specified by:
getFileName in interface IObjectTableViewInput

getSystemFilter

public ISystemFilter getSystemFilter()
May return null. Does not apply to all subclasses.

Specified by:
getSystemFilter in interface IObjectTableViewInput

getSystemFilterReference

public ISystemFilterReference getSystemFilterReference()
May return null. Does not apply to all subclasses.

Specified by:
getSystemFilterReference in interface IObjectTableViewInput

getInputResource

public IQSYSResource getInputResource()
A convenience method to extract the IQSYSResource from certain subclass types. For OTVInputResource: Returns IQSYSResource For OTVInputResourceFile: Returns IQSYSResource For others: Returns null

Specified by:
getInputResource in interface IObjectTableViewInput

navigateTableViewUp

public void navigateTableViewUp(ObjectTableView tableView)
Will do nothing for some subclasses

Specified by:
navigateTableViewUp in interface IObjectTableViewInput

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.