Class IxbHndHelper

java.lang.Object
wt.facade.ixb.IxbHndCommonHelper
wt.ixb.publicforhandlers.IxbHndHelper
All Implemented Interfaces:
wt.facade.ixb.IxbHndHelperConstants

public class IxbHndHelper extends wt.facade.ixb.IxbHndCommonHelper implements wt.facade.ixb.IxbHndHelperConstants
Helper class for Export/Import.

Supported API: true

Extendable: false
  • Method Details

    • exportAttribute

      public static void exportAttribute(Class attrHandlerClz, Object obj, IxbElement fileXML, Exporter exporter) throws WTException
      Exports the attribute.

      Supported API: true
      Parameters:
      attrHandlerClz - Attribute Handler Class.
      obj - The object being exported.
      fileXML -
      exporter -
      Throws:
      WTException
    • checkConflictForAttribute

      public static void checkConflictForAttribute(Class attrHandlerClz, Object existingObj, IxbElement fileXML, Importer importer) throws WTException
      Check the conflicts for the attribute.

      Supported API: true
      Parameters:
      attrHandlerClz - Attribute Handler Class
      existingObj - Object being exported
      fileXML -
      importer -
      Throws:
      WTException
    • importAttribute

      public static Object importAttribute(Class attrHandlerClz, Object obj, IxbElement fileXML, Importer importer) throws WTException
      imports the attribute.

      Supported API: true
      Parameters:
      attrHandlerClz - Attribute Handler Class
      obj - Object being imported
      fileXML -
      importer -
      Returns:
      Throws:
      WTException
    • getIxbProperty

      public static String getIxbProperty(String propertyKey) throws WTException
      Gets the value of the property from context.

      Supported API: true
      Parameters:
      propertyKey -
      Returns:
      String
      Throws:
      WTException
    • getIxbProperty

      public static boolean getIxbProperty(String propertyKey, boolean defaultValue) throws WTException
      Gets the value of the property from context.

      Supported API: true
      Parameters:
      propertyKey -
      defaultValue -
      Returns:
      String
      Throws:
      WTException
    • getIxbProperty

      public static int getIxbProperty(String propertyKey, int defaultValue) throws WTException
      Gets the value of the property from context.

      Supported API: true
      Parameters:
      propertyKey -
      defaultValue -
      Returns:
      String
      Throws:
      WTException