wt.replication.ixbutil
Class ReplIxbImportHandler

java.lang.Object
  extended bywt.ixb.publicforapps.ApplicationImportHandlerTemplate
      extended bywt.replication.ixbutil.ReplIxbImportHandler
All Implemented Interfaces:
ApplicationExpImportHandler, ApplicationImportHandler

public class ReplIxbImportHandler
extends ApplicationImportHandlerTemplate


Field Summary
private  boolean areBaselinesCreated
           
private  boolean createManagedBaseline
           
private  String importFolderPathForBaseline
           
private  boolean isProdStructBaselinable
           
private  ManagedBaseline managedBaseline
           
private  Manifest manifest
           
private  ReplicationBaseline replicationBaseline
           
private  WTUnit unit
           
 
Fields inherited from class wt.ixb.publicforapps.ApplicationImportHandlerTemplate
 
Fields inherited from interface wt.ixb.publicforapps.ApplicationExpImportHandler
IMPORTANCE_LEVEL_DEFAULT
 
Constructor Summary
ReplIxbImportHandler()
           
 
Method Summary
private  void createBaselines()
           
private  void createManagedBaseline(String name, String number, String description, String folderPath)
           
 void finalizeImportObjectNotification(Object object)
          Notifies application about objects after being persisted.
 ApplicationData getContentAsApplicationData(String contentId)
          Returns ApplicationData representing input information for import process.
 WTUnit getUnit()
           
private  void initialize(WTUnit _unit)
           
static ReplIxbImportHandler newReplIxbImportHandler(WTUnit _unit)
           
private static void PP(String s)
           
 void storeLogMessage(String resourceBundle, String messageKey, Object[] textInserts, int importanceLevel)
          Supplies the localized log message for the application.
 
Methods inherited from class wt.ixb.publicforapps.ApplicationImportHandlerTemplate
getContentAsInputStream, importObjectNotification, storeLogMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

unit

private WTUnit unit

manifest

private Manifest manifest

replicationBaseline

private ReplicationBaseline replicationBaseline

managedBaseline

private ManagedBaseline managedBaseline

areBaselinesCreated

private boolean areBaselinesCreated

createManagedBaseline

private boolean createManagedBaseline

isProdStructBaselinable

private boolean isProdStructBaselinable

importFolderPathForBaseline

private String importFolderPathForBaseline
Constructor Detail

ReplIxbImportHandler

public ReplIxbImportHandler()
Method Detail

newReplIxbImportHandler

public static ReplIxbImportHandler newReplIxbImportHandler(WTUnit _unit)

initialize

private void initialize(WTUnit _unit)
                 throws WTException
Throws:
WTException

getUnit

public WTUnit getUnit()

getContentAsApplicationData

public ApplicationData getContentAsApplicationData(String contentId)
                                            throws WTException
Description copied from class: ApplicationImportHandlerTemplate
Returns ApplicationData representing input information for import process. Import application does not have really implement this method. It can simple return null.

Supported API: true

Specified by:
getContentAsApplicationData in interface ApplicationImportHandler
Overrides:
getContentAsApplicationData in class ApplicationImportHandlerTemplate
Parameters:
contentId - The unique id to identify the content data, such as the file name (including the path) in a jar file.
Returns:
ApplicationData
Throws:
WTException

finalizeImportObjectNotification

public void finalizeImportObjectNotification(Object object)
                                      throws WTException
Description copied from class: ApplicationImportHandlerTemplate
Notifies application about objects after being persisted.

Supported API: true

Specified by:
finalizeImportObjectNotification in interface ApplicationImportHandler
Overrides:
finalizeImportObjectNotification in class ApplicationImportHandlerTemplate
Parameters:
object -
Throws:
WTException

storeLogMessage

public void storeLogMessage(String resourceBundle,
                            String messageKey,
                            Object[] textInserts,
                            int importanceLevel)
                     throws WTException
Description copied from class: ApplicationImportHandlerTemplate
Supplies the localized log message for the application.

Supported API: true

Specified by:
storeLogMessage in interface ApplicationExpImportHandler
Overrides:
storeLogMessage in class ApplicationImportHandlerTemplate
Parameters:
resourceBundle -
messageKey -
textInserts -
importanceLevel -
Throws:
WTException

createBaselines

private void createBaselines()
                      throws WTException
Throws:
WTException

createManagedBaseline

private void createManagedBaseline(String name,
                                   String number,
                                   String description,
                                   String folderPath)
                            throws WTException
Throws:
WTException

PP

private static void PP(String s)