Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.io.schema
Class SchemaImportAdvisor

java.lang.Object
  extended by eu.esdihumboldt.hale.common.core.io.impl.AbstractIOAdvisor<T>
      extended by eu.esdihumboldt.hale.ui.io.DefaultIOAdvisor<SchemaReader>
          extended by eu.esdihumboldt.hale.ui.io.schema.SchemaImportAdvisor
All Implemented Interfaces:
IOAdvisor<SchemaReader>
Direct Known Subclasses:
SourceSchemaImportAdvisor, TargetSchemaImportAdvisor

public class SchemaImportAdvisor
extends DefaultIOAdvisor<SchemaReader>

Advisor for schema import to the SchemaService

Since:
2.5
Author:
Simon Templer

Constructor Summary
SchemaImportAdvisor(SchemaSpaceID spaceID)
          Create a schema import advisor
 
Method Summary
 void handleResults(SchemaReader provider)
          Process the results after the execution.
 void prepareProvider(SchemaReader provider)
          Prepare the I/O provider when it is created.
 
Methods inherited from class eu.esdihumboldt.hale.common.core.io.impl.AbstractIOAdvisor
updateConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaImportAdvisor

public SchemaImportAdvisor(SchemaSpaceID spaceID)
Create a schema import advisor

Parameters:
spaceID - the schema space ID, either SchemaSpaceID.SOURCE or SchemaSpaceID.TARGET
Method Detail

prepareProvider

public void prepareProvider(SchemaReader provider)
Description copied from interface: IOAdvisor
Prepare the I/O provider when it is created. This may be executed even if for the provider no execution takes place.

This for instance allows configuration pages on IOWizards to base on this preparation.

Specified by:
prepareProvider in interface IOAdvisor<SchemaReader>
Overrides:
prepareProvider in class DefaultIOAdvisor<SchemaReader>
Parameters:
provider - the I/O provider
See Also:
IOAdvisor.prepareProvider(IOProvider)

handleResults

public void handleResults(SchemaReader provider)
Description copied from interface: IOAdvisor
Process the results after the execution.

Specified by:
handleResults in interface IOAdvisor<SchemaReader>
Overrides:
handleResults in class AbstractIOAdvisor<SchemaReader>
Parameters:
provider - the I/O provider
See Also:
IOAdvisor.handleResults(IOProvider)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d