Package wt.preference

Class LoadPreference

java.lang.Object
wt.preference.LoadPreference

public class LoadPreference extends Object
Creates and persists preference objects based on input from a comma seperated value (csv) file. Method names and parameters are defined in csvmapfile.txt. wt.load.StandardLoadService.load reads records from a .csv file and passes the fields in a hashtable to methods defined in this class.

The load methods use a wt.load.StandardLoadService cache to cache preference masters and preference version objects to improve performance of creating assemblies and updating attrbiutes.

Supported API: true

Extendable: false

See Also:
  • StandardLoadService
  • Method Details

    • createPreferenceCategory

      public static boolean createPreferenceCategory(Hashtable nv, Hashtable cmd_line, Vector return_objects)


      Supported API: true

      Extendable: false
      Parameters:
      nv - Name/Value pairs of preference attributes.
      cmd_line - command line argument that can contain supplemental load data
      return_objects - Vector of the object(s) created by this method. Used by wt.load.StandardLoadService for accurate user feedback messages.
      Returns:
      truesuccess
      falsefailure
    • deletePreferenceCategory

      public static boolean deletePreferenceCategory(Hashtable nv, Hashtable cmd_line, Vector return_objects)


      Supported API: true

      Extendable: false
      Parameters:
      nv - Name/Value pairs of preference attributes.
      cmd_line - command line argument that can contain supplemental load data
      return_objects - Vector of the object(s) created by this method. Used by wt.load.StandardLoadService for accurate user feedback messages.
      Returns:
      truesuccess
      falsefailure
    • createPreferenceClient

      public static boolean createPreferenceClient(Hashtable nv, Hashtable cmd_line, Vector return_objects)


      Supported API: true

      Extendable: false
      Parameters:
      nv - Name/Value pairs of preference attributes.
      cmd_line - command line argument that can contain supplemental load data
      return_objects - Vector of the object(s) created by this method. Used by wt.load.StandardLoadService for accurate user feedback messages.
      Returns:
      truesuccess
      falsefailure
    • deletePreferenceClient

      public static boolean deletePreferenceClient(Hashtable nv, Hashtable cmd_line, Vector return_objects)


      Supported API: true

      Extendable: false
      Parameters:
      nv - Name/Value pairs of preference attributes.
      cmd_line - command line argument that can contain supplemental load data
      return_objects - Vector of the object(s) created by this method. Used by wt.load.StandardLoadService for accurate user feedback messages.
      Returns:
      truesuccess
      falsefailure
    • createPreferenceDefinition

      public static boolean createPreferenceDefinition(Hashtable nv, Hashtable cmd_line, Vector return_objects)


      Supported API: true

      Extendable: false
      Parameters:
      nv - Name/Value pairs of preference attributes.
      cmd_line - command line argument that can contain supplemental load data
      return_objects - Vector of the object(s) created by this method. Used by wt.load.StandardLoadService for accurate user feedback messages.
      Returns:
      truesuccess
      falsefailure
    • deletePreferenceDefinition

      public static boolean deletePreferenceDefinition(Hashtable nv, Hashtable cmd_line, Vector return_objects)


      Supported API: true

      Extendable: false
      Parameters:
      nv - Name/Value pairs of preference attributes.
      cmd_line - command line argument that can contain supplemental load data
      return_objects - Vector of the object(s) created by this method. Used by wt.load.StandardLoadService for accurate user feedback messages.
      Returns:
      truesuccess
      falsefailure
    • setClientDefinitionLink

      public static boolean setClientDefinitionLink(Hashtable nv, Hashtable cmd_line, Vector return_objects)


      Supported API: true

      Extendable: false
      Parameters:
      nv - Name/Value pairs of preference attributes.
      cmd_line - command line argument that can contain supplemental load data
      return_objects - Vector of the object(s) created by this method. Used by wt.load.StandardLoadService for accurate user feedback messages.
      Returns:
      truesuccess
      falsefailure
    • deleteClientDefinitionLink

      public static boolean deleteClientDefinitionLink(Hashtable nv, Hashtable cmd_line, Vector return_objects)


      Supported API: true

      Extendable: false
      Parameters:
      nv - Name/Value pairs of preference attributes.
      cmd_line - command line argument that can contain supplemental load data
      return_objects - Vector of the object(s) created by this method. Used by wt.load.StandardLoadService for accurate user feedback messages.
      Returns:
      truesuccess
      falsefailure
    • createPreferenceInstance

      public static boolean createPreferenceInstance(Hashtable nv, Hashtable cmd_line, Vector return_objects)


      Supported API: true

      Extendable: false
      Parameters:
      nv - Name/Value pairs of preference attributes.
      cmd_line - command line argument that can contain supplemental load data
      return_objects - Vector of the object(s) created by this method. Used by wt.load.StandardLoadService for accurate user feedback messages.
      Returns:
      truesuccess
      falsefailure
    • deletePreferenceInstance

      public static boolean deletePreferenceInstance(Hashtable nv, Hashtable cmd_line, Vector return_objects)


      Supported API: true

      Extendable: false
      Parameters:
      nv - Name/Value pairs of preference attributes.
      cmd_line - command line argument that can contain supplemental load data
      return_objects - Vector of the object(s) created by this method. Used by wt.load.StandardLoadService for accurate user feedback messages.
      Returns:
      truesuccess
      falsefailure
    • beginMVPreferenceInstance

      public static boolean beginMVPreferenceInstance(Hashtable nv, Hashtable cmd_line, Vector return_objects)


      Supported API: true

      Extendable: false
      Parameters:
      nv - Name/Value pairs of preference attributes.
      cmd_line - command line argument that can contain supplemental load data
      return_objects - Vector of the object(s) created by this method. Used by wt.load.StandardLoadService for accurate user feedback messages.
      Returns:
      truesuccess
      falsefailure
    • mvPreferenceInstance

      public static boolean mvPreferenceInstance(Hashtable nv, Hashtable cmd_line, Vector return_objects)


      Supported API: true

      Extendable: false
      Parameters:
      nv - Name/Value pairs of preference attributes.
      cmd_line - command line argument that can contain supplemental load data
      return_objects - Vector of the object(s) created by this method. Used by wt.load.StandardLoadService for accurate user feedback messages.
      Returns:
      truesuccess
      falsefailure
    • endMVPreferenceInstance

      public static boolean endMVPreferenceInstance(Hashtable nv, Hashtable cmd_line, Vector return_objects)


      Supported API: true

      Extendable: false
      Parameters:
      nv - Name/Value pairs of preference attributes.
      cmd_line - command line argument that can contain supplemental load data
      return_objects - Vector of the object(s) created by this method. Used by wt.load.StandardLoadService for accurate user feedback messages.
      Returns:
      truesuccess
      falsefailure