Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.search
Class SearchQSYSOperation

java.lang.Object
  extended by WorkspaceModifyOperation
      extended by com.ibm.etools.iseries.rse.ui.search.SearchQSYSOperation

public class SearchQSYSOperation
extends WorkspaceModifyOperation

This class is the runnable that does the actual searching.


Nested Class Summary
protected  class SearchQSYSOperation.runnableErrorMessage
          This class is used to display an ignore "unexpected error" message during a search
 
Field Summary
static String CANCELED
           
static String Copyright
           
 
Constructor Summary
SearchQSYSOperation(String searchString, boolean isCaseSensitive, Object[] targetLibs, Object[] targetFiles, Object[] targetMbrs, Object[] targetConns, int columnSelection, int startColumn, int endColumn, SearchResultInputElement resultSet, boolean doingMbrSearch, boolean doingFileSearch, boolean mixedConnection, boolean fromSearchAction)
          Constructor:
 
Method Summary
protected  void execute(IProgressMonitor monitor)
           
 Object getRunResult()
          Get run result
 boolean getShowResult()
          Return whether the search result should be display or not
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

CANCELED

public static final String CANCELED
See Also:
Constant Field Values
Constructor Detail

SearchQSYSOperation

public SearchQSYSOperation(String searchString,
                           boolean isCaseSensitive,
                           Object[] targetLibs,
                           Object[] targetFiles,
                           Object[] targetMbrs,
                           Object[] targetConns,
                           int columnSelection,
                           int startColumn,
                           int endColumn,
                           SearchResultInputElement resultSet,
                           boolean doingMbrSearch,
                           boolean doingFileSearch,
                           boolean mixedConnection,
                           boolean fromSearchAction)
Constructor:

Parameters:
the - search string
flag - indicating whether search should be case sensitive
the - connection to use
library - name
file - name
member - name
selection - of columns
start - column
end - column
resultSet - to hold the result
index - of file or member being processed
total - number of files or members
Method Detail

execute

protected void execute(IProgressMonitor monitor)
                throws CoreException,
                       InvocationTargetException,
                       InterruptedException
Throws:
CoreException
InvocationTargetException
InterruptedException
See Also:
WorkspaceModifyOperation

getShowResult

public boolean getShowResult()
Return whether the search result should be display or not


getRunResult

public Object getRunResult()
Get run result


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.