Package wt.preference
Class LoadPreference
java.lang.Object
wt.preference.LoadPreference
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
Modifier and TypeMethodDescriptionstatic booleanbeginMVPreferenceInstance(Hashtable nv, Hashtable cmd_line, Vector return_objects)
Supported API: true
Extendable: falsestatic booleancreatePreferenceCategory(Hashtable nv, Hashtable cmd_line, Vector return_objects)
Supported API: true
Extendable: falsestatic booleancreatePreferenceClient(Hashtable nv, Hashtable cmd_line, Vector return_objects)
Supported API: true
Extendable: falsestatic booleancreatePreferenceDefinition(Hashtable nv, Hashtable cmd_line, Vector return_objects)
Supported API: true
Extendable: falsestatic booleancreatePreferenceInstance(Hashtable nv, Hashtable cmd_line, Vector return_objects)
Supported API: true
Extendable: falsestatic booleandeleteClientDefinitionLink(Hashtable nv, Hashtable cmd_line, Vector return_objects)
Supported API: true
Extendable: falsestatic booleandeletePreferenceCategory(Hashtable nv, Hashtable cmd_line, Vector return_objects)
Supported API: true
Extendable: falsestatic booleandeletePreferenceClient(Hashtable nv, Hashtable cmd_line, Vector return_objects)
Supported API: true
Extendable: falsestatic booleandeletePreferenceDefinition(Hashtable nv, Hashtable cmd_line, Vector return_objects)
Supported API: true
Extendable: falsestatic booleandeletePreferenceInstance(Hashtable nv, Hashtable cmd_line, Vector return_objects)
Supported API: true
Extendable: falsestatic booleanendMVPreferenceInstance(Hashtable nv, Hashtable cmd_line, Vector return_objects)
Supported API: true
Extendable: falsestatic booleanmvPreferenceInstance(Hashtable nv, Hashtable cmd_line, Vector return_objects)
Supported API: true
Extendable: falsestatic booleansetClientDefinitionLink(Hashtable nv, Hashtable cmd_line, Vector return_objects)
Supported API: true
Extendable: false
-
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 datareturn_objects-Vectorof the object(s) created by this method. Used bywt.load.StandardLoadServicefor accurate user feedback messages.- Returns:
true success false failure
-
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 datareturn_objects-Vectorof the object(s) created by this method. Used bywt.load.StandardLoadServicefor accurate user feedback messages.- Returns:
true success false failure
-
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 datareturn_objects-Vectorof the object(s) created by this method. Used bywt.load.StandardLoadServicefor accurate user feedback messages.- Returns:
true success false failure
-
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 datareturn_objects-Vectorof the object(s) created by this method. Used bywt.load.StandardLoadServicefor accurate user feedback messages.- Returns:
true success false failure
-
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 datareturn_objects-Vectorof the object(s) created by this method. Used bywt.load.StandardLoadServicefor accurate user feedback messages.- Returns:
true success false failure
-
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 datareturn_objects-Vectorof the object(s) created by this method. Used bywt.load.StandardLoadServicefor accurate user feedback messages.- Returns:
true success false failure
-
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 datareturn_objects-Vectorof the object(s) created by this method. Used bywt.load.StandardLoadServicefor accurate user feedback messages.- Returns:
true success false failure
-
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 datareturn_objects-Vectorof the object(s) created by this method. Used bywt.load.StandardLoadServicefor accurate user feedback messages.- Returns:
true success false failure
-
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 datareturn_objects-Vectorof the object(s) created by this method. Used bywt.load.StandardLoadServicefor accurate user feedback messages.- Returns:
true success false failure
-
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 datareturn_objects-Vectorof the object(s) created by this method. Used bywt.load.StandardLoadServicefor accurate user feedback messages.- Returns:
true success false failure
-
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 datareturn_objects-Vectorof the object(s) created by this method. Used bywt.load.StandardLoadServicefor accurate user feedback messages.- Returns:
true success false failure
-
mvPreferenceInstance
Supported API: true
Extendable: false- Parameters:
nv- Name/Value pairs of preference attributes.cmd_line- command line argument that can contain supplemental load datareturn_objects-Vectorof the object(s) created by this method. Used bywt.load.StandardLoadServicefor accurate user feedback messages.- Returns:
true success false failure
-
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 datareturn_objects-Vectorof the object(s) created by this method. Used bywt.load.StandardLoadServicefor accurate user feedback messages.- Returns:
true success false failure
-