com.ptc.windchill.uwgm.cadx.autoassociate
Class AutoAssociateJSDataHandler

java.lang.Object
  extended bycom.ptc.windchill.uwgm.cadx.autoassociate.AutoAssociateJSDataHandler
All Implemented Interfaces:
JSDataHandler

public class AutoAssociateJSDataHandler
extends Object
implements JSDataHandler


Field Summary
private  boolean autoNumberingEnabled
           
private  boolean checkForAutoNumbering
           
private  WTContainer container
           
private  HashMap drwRefDocPartNameMap
           
private  HashMap drwRefDocPartNumberMap
           
private  boolean isExistingPartsTableHandler
           
private  Locale locale
           
private static Log log
           
private  String quantityValues
           
static String RESOURCE
           
private  String sourceValues
           
private  HTTPState state
           
private  EPMWorkspace workspace
           
 
Constructor Summary
(package private) AutoAssociateJSDataHandler(WTContainer cont, HTTPState st, boolean existPartTable)
           
 
Method Summary
private  String getDocAssocPartProperty(AutoAssociateExistingPartsFormProcessor.DocAssocInfo docAssocInfo, String attribute, Object key)
           
 JSPropertyValue getJSPropertyValue(String attribute, Locale locale, Object wtObject, JSDataObject rowobj)
           
 void init(String attribute, Locale locale, List dataObjects)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static Log log

container

private WTContainer container

workspace

private EPMWorkspace workspace

isExistingPartsTableHandler

private boolean isExistingPartsTableHandler

quantityValues

private String quantityValues

sourceValues

private String sourceValues

checkForAutoNumbering

private boolean checkForAutoNumbering

autoNumberingEnabled

private boolean autoNumberingEnabled

locale

private Locale locale

state

private HTTPState state

RESOURCE

public static final String RESOURCE
See Also:
Constant Field Values

drwRefDocPartNumberMap

private HashMap drwRefDocPartNumberMap

drwRefDocPartNameMap

private HashMap drwRefDocPartNameMap
Constructor Detail

AutoAssociateJSDataHandler

AutoAssociateJSDataHandler(WTContainer cont,
                           HTTPState st,
                           boolean existPartTable)
Method Detail

init

public void init(String attribute,
                 Locale locale,
                 List dataObjects)
          throws WTException
Specified by:
init in interface JSDataHandler
Throws:
WTException

getJSPropertyValue

public JSPropertyValue getJSPropertyValue(String attribute,
                                          Locale locale,
                                          Object wtObject,
                                          JSDataObject rowobj)
                                   throws WTException
Specified by:
getJSPropertyValue in interface JSDataHandler
Throws:
WTException

getDocAssocPartProperty

private String getDocAssocPartProperty(AutoAssociateExistingPartsFormProcessor.DocAssocInfo docAssocInfo,
                                       String attribute,
                                       Object key)