wt.replication.imp
Class StandardImportService

java.lang.Object
  extended bywt.services.StandardManager
      extended bywt.replication.imp.StandardImportService
All Implemented Interfaces:
ImportService, ImportServiceSrv, Manager, NetFactor, Serializable

public class StandardImportService
extends StandardManager
implements ImportService, ImportServiceSrv, Serializable

Use the newStandardImportService static factory method(s), not the StandardImportService constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
          Deprecated.  
private static String RESOURCE
          Deprecated.  
private static boolean SCHEDULE_ITEM_ENABLED
          Deprecated.  
private static boolean VERBOSE
          Deprecated.  
 
Fields inherited from class wt.services.StandardManager
 
Fields inherited from interface wt.services.Manager
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE
 
Constructor Summary
StandardImportService()
          Deprecated.  
 
Method Summary
protected  void dispatchVetoableEvent(String eventType, WTUnit unit)
          Deprecated.  
static void doScheduledImport(UnitImportRecord uir, Locale locale)
          Deprecated. Routine that can be called from the scheduler to import a unit.
static UnitImportRecord enableScheduleItem(WTUnit unit)
          Deprecated. This method is called by the workflow processes to allow the currently active import operation for the replication unit to proceed.
 String getConceptualClassname()
          Deprecated.  
static StandardImportService newStandardImportService()
          Deprecated.  
protected  void performStartupProcess()
          Deprecated.  
 void registerEvents(ManagerService manager)
          Deprecated.  
 void scheduleImportOperation(WTUnit wtUnit, Timestamp tStamp, String sDescription, byte[] rules, Locale locale)
          Deprecated.  
 
Methods inherited from class wt.services.StandardManager
emergencyShutdown, emergencyShutdownComplete, emergencyShuttingDown, getClassInfo, getManagerService, getManagerStatus, getName, getStartupType, init, initialize, initialize, isStarted, newStandardManager, newStandardManager, performEmergencyShutdownProcess, performShutdownProcess, setManagerService, shutdown, shutdownFailure, shutdownSuccess, shuttingDown, started, startedErrors, startingUp, startup, startupFailure, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
Deprecated. 
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Deprecated. 

SCHEDULE_ITEM_ENABLED

private static boolean SCHEDULE_ITEM_ENABLED
Deprecated. 

VERBOSE

private static boolean VERBOSE
Deprecated. 
Constructor Detail

StandardImportService

public StandardImportService()
Deprecated. 
Method Detail

getConceptualClassname

public String getConceptualClassname()
Deprecated.  

Returns the conceptual (modeled) name for the class.

Supported API: false

Specified by:
getConceptualClassname in interface NetFactor
Overrides:
getConceptualClassname in class StandardManager
Returns:
String

newStandardImportService

public static StandardImportService newStandardImportService()
                                                      throws WTException
Deprecated.  



Supported API: false

Returns:
StandardImportService
Throws:
WTException

performStartupProcess

protected void performStartupProcess()
                              throws ManagerException
Deprecated.  

Initialization tasks performed by the engine service. Includes queue activation and event subscription.

Supported API: false

Overrides:
performStartupProcess in class StandardManager
Throws:
ManagerException

registerEvents

public void registerEvents(ManagerService manager)
Deprecated.  



Supported API: false

Specified by:
registerEvents in interface Manager
Overrides:
registerEvents in class StandardManager
Parameters:
manager -

dispatchVetoableEvent

protected void dispatchVetoableEvent(String eventType,
                                     WTUnit unit)
                              throws WTException
Deprecated.  



Supported API: false

Parameters:
eventType -
unit -
Throws:
WTException

scheduleImportOperation

public void scheduleImportOperation(WTUnit wtUnit,
                                    Timestamp tStamp,
                                    String sDescription,
                                    byte[] rules,
                                    Locale locale)
                             throws WTException,
                                    PropertyVetoException,
                                    FileNotFoundException,
                                    IOException
Deprecated.  



Supported API: false

Specified by:
scheduleImportOperation in interface ImportService
Parameters:
wtUnit -
tStamp -
sDescription -
rules -
locale -
Throws:
WTException
PropertyVetoException
FileNotFoundException
IOException

doScheduledImport

public static void doScheduledImport(UnitImportRecord uir,
                                     Locale locale)
                              throws WTException,
                                     WTPropertyVetoException
Deprecated. 
Routine that can be called from the scheduler to import a unit.

Supported API: false

Throws:
wt.replication.util.expimp.ExpImpException
WTException
WTPropertyVetoException

enableScheduleItem

public static UnitImportRecord enableScheduleItem(WTUnit unit)
Deprecated. 
This method is called by the workflow processes to allow the currently active import operation for the replication unit to proceed. The arguments and return type for this method should not be changed because that will break existing workflow templates.

Supported API: true

Parameters:
unit - The replication unit whose import operation is to be enabled.
Returns:
The currently active UnitImportRecord that has been enabled