wt.preference
Class LoadPreference

java.lang.Object
  extended by 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 Summary
static boolean createPreferenceCategory(Hashtable nv, Hashtable cmd_line, Vector return_objects)
          

Supported API: true

Extendable: false
static boolean createPreferenceClient(Hashtable nv, Hashtable cmd_line, Vector return_objects)
          

Supported API: true

Extendable: false
static boolean createPreferenceDefinition(Hashtable nv, Hashtable cmd_line, Vector return_objects)
          

Supported API: true

Extendable: false
static boolean createPreferenceInstance(Hashtable nv, Hashtable cmd_line, Vector return_objects)
          

Supported API: true

Extendable: false
static boolean deleteClientDefinitionLink(Hashtable nv, Hashtable cmd_line, Vector return_objects)
          

Supported API: true

Extendable: false
static boolean deletePreferenceCategory(Hashtable nv, Hashtable cmd_line, Vector return_objects)
          

Supported API: true

Extendable: false
static boolean deletePreferenceClient(Hashtable nv, Hashtable cmd_line, Vector return_objects)
          

Supported API: true

Extendable: false
static boolean deletePreferenceDefinition(Hashtable nv, Hashtable cmd_line, Vector return_objects)
          

Supported API: true

Extendable: false
static boolean deletePreferenceInstance(Hashtable nv, Hashtable cmd_line, Vector return_objects)
          

Supported API: true

Extendable: false
static boolean setClientDefinitionLink(Hashtable nv, Hashtable cmd_line, Vector return_objects)
          

Supported API: true

Extendable: false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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