com.ptc.windchill.uwgm.cadx.multieditattr
Class MultiEditAttrDataHandler

java.lang.Object
  extended bycom.ptc.windchill.uwgm.cadx.multieditattr.MultiEditAttrDataHandler
All Implemented Interfaces:
JSDataHandler

public class MultiEditAttrDataHandler
extends Object
implements JSDataHandler


Field Summary
(package private)  Map attributeTypemap
           
private  EPMDocument currentDoc
           
private  WTPart currentWTPart
           
protected  JSDataUtility dataUtility
           
private  String folderOID
           
private  Vector ibaNames
           
private  boolean inWildfire
           
private  boolean isConnected
           
private  String location
           
private  String masterOID
           
private static HashSet multiEditDataAttributes
           
private  String serverStatus
           
protected  EPMWorkspace workspace
           
 
Constructor Summary
MultiEditAttrDataHandler()
           
MultiEditAttrDataHandler(EPMWorkspace workspace, boolean isConnected)
           
MultiEditAttrDataHandler(JSDataUtility dataUtility, EPMWorkspace workspace, boolean isConnected)
           
 
Method Summary
private  JSStringPropertyValue getAttrFoldeOID(Object persistable)
           
private  JSStringPropertyValue getAttrLocation(Object persistable)
           
private  JSStringPropertyValue getAttrMasterOID(Object persistable)
           
private  JSStringPropertyValue getAttrServerStatus(Object persistable)
           
 void getAttrTypeMap(EPMDocument persistable)
           
 void getIBANames(Object persistable, Locale locale)
           
 String getIBAValues(String attribute, Object persistable, Locale locale, String attrValue, String attrType, String attrFileType)
           
 JSPropertyValue getJSPropertyValue(String attribute, Locale locale, EPMDocument persistable)
           
 JSPropertyValue getJSPropertyValue(String attribute, Locale locale, EPMDocumentMaster persistable)
           
 JSPropertyValue getJSPropertyValue(String attribute, Locale locale, Object object, JSDataObject jsObject)
           
 JSPropertyValue getJSPropertyValue(String attribute, Locale locale, WTPart persistable)
           
 JSPropertyValue getJSPropertyValue(String attribute, Locale locale, WTPartMaster persistable)
           
 HashSet getMultiEditDataAttributes(HashSet in_multiEditDataAttributes)
           
private  void getObj_Location_Folder_PDMStatus(Object persistable)
           
 void init(String attribute, Locale locale, List dataObjects)
           
private  void initDataWTPart(WTPart persistable, Locale locale)
           
 void initIbaMap(EPMDocument persistable, Locale locale)
           
 boolean isMultiEditDataHandlerAttribute(String attribute)
           
 void setMultiEditDataAttributes(HashSet in_multiEditDataAttributes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataUtility

protected JSDataUtility dataUtility

workspace

protected EPMWorkspace workspace

ibaNames

private Vector ibaNames

inWildfire

private boolean inWildfire

attributeTypemap

Map attributeTypemap

isConnected

private boolean isConnected

currentDoc

private EPMDocument currentDoc

currentWTPart

private WTPart currentWTPart

folderOID

private String folderOID

location

private String location

serverStatus

private String serverStatus

masterOID

private String masterOID

multiEditDataAttributes

private static HashSet multiEditDataAttributes
Constructor Detail

MultiEditAttrDataHandler

public MultiEditAttrDataHandler()

MultiEditAttrDataHandler

public MultiEditAttrDataHandler(JSDataUtility dataUtility,
                                EPMWorkspace workspace,
                                boolean isConnected)

MultiEditAttrDataHandler

public MultiEditAttrDataHandler(EPMWorkspace workspace,
                                boolean isConnected)
Method Detail

setMultiEditDataAttributes

public void setMultiEditDataAttributes(HashSet in_multiEditDataAttributes)

getMultiEditDataAttributes

public HashSet getMultiEditDataAttributes(HashSet in_multiEditDataAttributes)

isMultiEditDataHandlerAttribute

public boolean isMultiEditDataHandlerAttribute(String attribute)

init

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

initIbaMap

public void initIbaMap(EPMDocument persistable,
                       Locale locale)

initDataWTPart

private void initDataWTPart(WTPart persistable,
                            Locale locale)

getJSPropertyValue

public JSPropertyValue getJSPropertyValue(String attribute,
                                          Locale locale,
                                          Object object,
                                          JSDataObject jsObject)
Specified by:
getJSPropertyValue in interface JSDataHandler

getJSPropertyValue

public JSPropertyValue getJSPropertyValue(String attribute,
                                          Locale locale,
                                          WTPart persistable)
                                   throws WTException
Throws:
WTException

getJSPropertyValue

public JSPropertyValue getJSPropertyValue(String attribute,
                                          Locale locale,
                                          WTPartMaster persistable)
                                   throws WTException
Throws:
WTException

getJSPropertyValue

public JSPropertyValue getJSPropertyValue(String attribute,
                                          Locale locale,
                                          EPMDocumentMaster persistable)
                                   throws WTException
Throws:
WTException

getJSPropertyValue

public JSPropertyValue getJSPropertyValue(String attribute,
                                          Locale locale,
                                          EPMDocument persistable)
                                   throws WTException
Throws:
WTException

getIBAValues

public String getIBAValues(String attribute,
                           Object persistable,
                           Locale locale,
                           String attrValue,
                           String attrType,
                           String attrFileType)

getIBANames

public void getIBANames(Object persistable,
                        Locale locale)

getAttrTypeMap

public void getAttrTypeMap(EPMDocument persistable)

getAttrServerStatus

private JSStringPropertyValue getAttrServerStatus(Object persistable)

getAttrMasterOID

private JSStringPropertyValue getAttrMasterOID(Object persistable)

getAttrFoldeOID

private JSStringPropertyValue getAttrFoldeOID(Object persistable)

getAttrLocation

private JSStringPropertyValue getAttrLocation(Object persistable)

getObj_Location_Folder_PDMStatus

private void getObj_Location_Folder_PDMStatus(Object persistable)