com.intel.gpe.client2.common.utils
Class SwingGridBeanClientImpl

java.lang.Object
  extended by com.intel.gpe.client2.common.utils.AbstractGridBeanClient
      extended by com.intel.gpe.client2.common.utils.SwingGridBeanClientImpl
All Implemented Interfaces:
GridBeanClient, GridBeanLoader

public class SwingGridBeanClientImpl
extends AbstractGridBeanClient


Constructor Summary
SwingGridBeanClientImpl(GPESecurityManager securityManager, java.lang.ClassLoader classLoader, OutcomeProvider outcomeProvider, SelectionClient selectionClient, FileProvider fileProvider, AsyncClient asyncClient, ListClient listClient, MessageProvider messageProvider, IPreferences userDefaults)
           
 
Method Summary
 void applyInputPanelValues()
           
 void fetchOutcome(ClientWrapper<com.intel.gpe.clients.api.JobClient,?> job, com.intel.gpe.util.observer.IObserver observer)
           
 SwingGridBeanInputPanel getGridBeanInputPanel()
           
 SwingGridBeanOutputPanel getGridBeanOutputPanel()
           
 FileImportPanel getInputParametersPanel()
           
 java.lang.String getJobName()
           
 SwingGridBeanOutputPanel getSelectedGridBeanOutputPanel(ClientWrapper<com.intel.gpe.clients.api.JobClient,?> job)
           
protected  java.lang.String getTmpDirectory()
          Get the root directory for job outcome
 void loadJob(java.lang.String fileName, com.intel.gpe.util.observer.IObserver observer)
          Load job from file
 void reconstructInput(ClientWrapper<com.intel.gpe.clients.api.JobClient,?> job, com.intel.gpe.util.observer.IObserver observer)
           
 void reloadInputPanel(com.intel.gpe.util.observer.IObserver observer)
           
 void setGridBean(GridBean gridBean)
           
 void setJobName(java.lang.String name)
           
 ErrorSet validateJob()
          Validate job before the submit.
 
Methods inherited from class com.intel.gpe.client2.common.utils.AbstractGridBeanClient
containsJob, executeRequest, fetchOutcome, getClient, getGridBean, getGridBeanInfo, getGridBeanJob, getGridBeanJob, getGridBeanJobWrapper, getGridBeanPlugin, loadGridBean, loadGridBean, resolve, saveJob, setClient, setGridBeanInfo, setGridBeanJob, setGridBeanJobWrapper, setGridBeanPlugin, showException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingGridBeanClientImpl

public SwingGridBeanClientImpl(GPESecurityManager securityManager,
                               java.lang.ClassLoader classLoader,
                               OutcomeProvider outcomeProvider,
                               SelectionClient selectionClient,
                               FileProvider fileProvider,
                               AsyncClient asyncClient,
                               ListClient listClient,
                               MessageProvider messageProvider,
                               IPreferences userDefaults)
                        throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getInputParametersPanel

public FileImportPanel getInputParametersPanel()

applyInputPanelValues

public void applyInputPanelValues()
                           throws DataSetException,
                                  TranslationException
Throws:
DataSetException
TranslationException

validateJob

public ErrorSet validateJob()
Description copied from interface: GridBeanClient
Validate job before the submit.

Returns:
ErrorSet for the job.

getGridBeanInputPanel

public SwingGridBeanInputPanel getGridBeanInputPanel()

reloadInputPanel

public void reloadInputPanel(com.intel.gpe.util.observer.IObserver observer)

getTmpDirectory

protected java.lang.String getTmpDirectory()
Description copied from class: AbstractGridBeanClient
Get the root directory for job outcome

Specified by:
getTmpDirectory in class AbstractGridBeanClient
Returns:
the root directory for job outcome

setGridBean

public void setGridBean(GridBean gridBean)
                 throws java.lang.Exception
Overrides:
setGridBean in class AbstractGridBeanClient
Throws:
java.lang.Exception

setJobName

public void setJobName(java.lang.String name)
                throws DataSetException,
                       TranslationException
Throws:
DataSetException
TranslationException

getJobName

public java.lang.String getJobName()

getSelectedGridBeanOutputPanel

public SwingGridBeanOutputPanel getSelectedGridBeanOutputPanel(ClientWrapper<com.intel.gpe.clients.api.JobClient,?> job)

getGridBeanOutputPanel

public SwingGridBeanOutputPanel getGridBeanOutputPanel()

fetchOutcome

public void fetchOutcome(ClientWrapper<com.intel.gpe.clients.api.JobClient,?> job,
                         com.intel.gpe.util.observer.IObserver observer)
Overrides:
fetchOutcome in class AbstractGridBeanClient

loadJob

public void loadJob(java.lang.String fileName,
                    com.intel.gpe.util.observer.IObserver observer)
Description copied from interface: GridBeanClient
Load job from file

Specified by:
loadJob in interface GridBeanClient
Overrides:
loadJob in class AbstractGridBeanClient
Parameters:
fileName - the file path
observer - the action observer

reconstructInput

public void reconstructInput(ClientWrapper<com.intel.gpe.clients.api.JobClient,?> job,
                             com.intel.gpe.util.observer.IObserver observer)
Overrides:
reconstructInput in class AbstractGridBeanClient


Copyright © 2008. All Rights Reserved.