com.ptc.netmarkets.part
Class StandardNmPartService

java.lang.Object
  extended bywt.services.StandardManager
      extended bycom.ptc.netmarkets.part.StandardNmPartService
All Implemented Interfaces:
Manager, NetFactor, NmPartService, Serializable

public class StandardNmPartService
extends StandardManager
implements NmPartService, Serializable

Use the newStandardNmPartService static factory method(s), not the StandardNmPartService constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: false

Extendable: false

See Also:
Serialized Form

Nested Class Summary
(package private)  class StandardNmPartService.CompressUsesKey
           
 
Field Summary
private static String CADDOC_DEP_RESOURCE
           
private static String CLASSNAME
           
private static String CMDCLASSNAME
           
private static boolean displayOrganizationIdentifier
           
private static String DRESOURCE
           
private static String ENTERPRISE_RESOURCE
           
private static String goUpStr
           
private static String J03_ND
           
private static NmHTMLActionModel listActionModel
           
private static String OBJECT_RESOURCE
           
private static String pviewGif
           
private  Vector representedParts
           
private static String RESOURCE
           
private static String SECONDARY_EXCLUDE
           
private static boolean VERBOSE
           
private static VisualizationHelperIfc visHelper
           
private static boolean visualizationEnabled
           
 
Fields inherited from class wt.services.StandardManager
 
Fields inherited from interface wt.services.Manager
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE
 
Constructor Summary
StandardNmPartService()
           
 
Method Summary
private  String _getCADDocDependencyTypeDisplay(int key)
           
private  NmEPMDocument _getEPMDocumentProperties(NmOid oid)
           
private  NmPart _getMinimalPartProperties(NmOid oid)
           
private  NmHTMLTreeNode _getPartMasterTreeNode(WTPartMaster pm, NmOid oid)
           
private  NmPart _getPartProperties(NmOid oid)
           
private  NmHTMLTreeNode _getPartTreeNode(WTPart p, NmOid oid, WTPartUsageLink thisLink)
           
 NmDefaultHTMLTable _listHistoryEPMDocument(NmOid nmOid, EPMDocument doc)
           
 NmDefaultHTMLTable _listHistoryPart(NmOid nmOid, WTPart part, WTContainer currentProject)
           
private  NmModel _viewPart(NmOid oid, WTPart part)
           
private  NmChangeModel[] addDescribedBy(ArrayList foo, ArrayList too)
           
 NmChangeModel[] addDescribedBy(NmCommandBean cb)
          

Supported API: false
 NmChangeModel[] addPartUses(NmCommandBean cb)
          

Supported API: false
private  NmChangeModel[] addPDMLinkReferences(ArrayList foo, ArrayList too)
           
private  NmChangeModel[] addReferences(ArrayList foo, ArrayList too)
           
 NmChangeModel[] addReferences(NmCommandBean cb)
          

Supported API: false
private  NmChangeModel[] addUses(ArrayList foo, ArrayList too)
           
 NmChangeModel[] addUses(NmCommandBean cb)
          

Supported API: false
private  boolean alreadyInTree(NmOid oid, NmHTMLTreeModel treeModel)
           
private  void buildRepresentedParts(EPMDocument doc)
           
private  String buildThumbNailHREF(NmOid nm_oid)
           
private static NmPart checkForEPMDocs(Persistable p, NmPart nmPart)
           
 NmOid create(NmCommandBean cb, NmProject project, String name, String number, String location, String type)
          

Supported API: false
private  NmHTMLTable describedByListWindchillPDM(NmCommandBean cb, boolean showOld)
           
 NmOid doesPartExist(String name, String number, String projectName)
          

Supported API: false
 NmHTMLTable epmAttr(NmCommandBean cb)
           
private  QueryResult filterCADDocUsedBy(QueryResult result)
           
private  Hashtable filterCADDocUses(QueryResult result)
           
private  QueryResult filterOriginalCopiesInBuildRules(WTPart sourcePart, QueryResult buildRuleLinks)
           
 HashMap getCADDocDetailsModels(NmCommandBean cb, boolean showOld)
          

Supported API: false
private  QueryResult getCADDocUsedBy(EPMDocument epmDoc)
           
private  Hashtable getCADDocUses(EPMDocument epmDoc)
           
 String getCADRefString(NmOid oid)
          

Supported API: false
 String getConceptualClassname()
          Deprecated.  
private  String getContainerDisplayName(WTContained contained)
           
private static EPMDescribeLink[] getDescribesLinksForDocs(EPMDocument doc)
           
private  Vector getDescribesParts(EPMDocument source)
           
 NmEPMDocument getEPMDocumentProperties(NmOid oid)
          

Supported API: false
 NmEPMDocument getEPMDocumentProperties(NmOid oid, boolean viewOld)
          

Supported API: false
private  String getFileSize(ApplicationData file)
          Returns a String containing the size of the given file in Kilobytes.
static Iterated getLatestIteration(Master master)
           
 NmPart getLinkProperties(NmCommandBean cb)
          

Supported API: false
 NmPart getMinimalPartProperties(NmOid oid)
          

Supported API: false
 NmPart getMinimalPartProperties(NmOid oid, Persistable ref)
          

Supported API: false
 NmPart getNmPart(NmOid oid)
          

Supported API: false
private  String getNumberVersionId(EPMDocument doc)
           
private  WTObject getOtherSideObject(Object link, Persistable persistableObj)
           
 HashMap getPartDetailsModels(NmCommandBean cb, boolean showOld)
          

Supported API: false
 ArrayList getPartMasterRowData(NmPart o, boolean isRoot)
           
 NmPart getPartProperties(NmCommandBean cb)
          

Supported API: false
 NmPart getPartProperties(NmOid oid)
          

Supported API: false
 NmPart getPartProperties(NmOid oid, boolean viewOld)
          

Supported API: false
 ArrayList getPartRowData(NmOid oid)
          

Supported API: false
 ArrayList getPartRowData(NmPart o)
           
 ArrayList getPartRowData(NmPart o, boolean isRoot)
           
 NmHTMLTreeNode getPartTreeNode(NmOid oid, WTPartUsageLink thisLink)
          

Supported API: false
 ContentItem getPrimaryContent(EPMDocument doc, ContentHolder holder, boolean isJ03ND)
           
private  String getVersion(Versioned doc)
           
private  NmURL getViewDetailsURL(WTContained contained)
           
private  boolean hasParents(NmOid partOid)
           
 NmChangeModel[] list_delete_described(NmCommandBean cb)
          

Supported API: false
 NmChangeModel[] list_delete_references(NmCommandBean cb)
          

Supported API: false
 NmChangeModel[] list_delete(NmCommandBean cb)
          

Supported API: false
 NmChangeModel[] list_paste_described(NmCommandBean cb)
          

Supported API: false
 NmChangeModel[] list_paste_references(NmCommandBean cb)
          

Supported API: false
 NmChangeModel[] list_paste(NmCommandBean cb)
          

Supported API: false
 NmHTMLTable listCADReferencedBy(NmCommandBean cb, boolean showOld)
           
 NmHTMLTable listCADReferences(NmCommandBean cb, boolean showOld)
          

Supported API: false
 NmHTMLTable listCADUsedBy(NmCommandBean cb, boolean showOld)
          

Supported API: false
 NmHTMLTable listCADUses(NmCommandBean cb, boolean showOld)
          

Supported API: false
 NmHTMLTable listContents(NmCommandBean cb, boolean showOld)
          

Supported API: false
 NmHTMLTable listDescribedBy(NmCommandBean cb, boolean showOld)
          

Supported API: false
 NmHTMLTable listDrawingComponents(NmCommandBean cb)
           
 NmHTMLTable listECADComponents(NmCommandBean cb)
           
 NmDefaultHTMLTable listHistory(NmCommandBean cb)
          

Supported API: false
 NmHTMLTable listPartUsedBy(NmCommandBean cb, boolean showOld)
          

Supported API: false
 NmHTMLTable listReferences(NmCommandBean cb, boolean showOld)
          

Supported API: false
 NmHTMLTable listRelatedCAD(NmCommandBean cb, boolean showOld)
          

Supported API: false
 NmHTMLTable listRelatedParts(NmCommandBean cb, boolean showOld)
          

Supported API: false
static StandardNmPartService newStandardNmPartService()
          Default factory for the class.
private  NmHTMLTable referenceListWindchillPDM(NmCommandBean cb, boolean showOld)
           
private  NmHTMLTable relatedCADListWindchillPDM(NmCommandBean cb, boolean showOld)
           
private  NmHTMLTable relatedCADListWindchillPDMLink(NmCommandBean cb, boolean showOld)
           
private  NmHTMLTable relatedDocListWindchillPDMLink(NmCommandBean cb, boolean showOld)
           
private  NmHTMLTable relatedPartsList(NmCommandBean cb, boolean showOld)
           
private  NmHTMLTable relatedPartsListWindchillPDMLink(NmCommandBean cb, boolean showOld)
           
private  void removeDescribed(ArrayList foo, ArrayList too)
           
private  void removePDMLinkReferences(ArrayList foo, ArrayList too)
           
private  void removeReferences(ArrayList foo, ArrayList too)
           
 NmChangeModel[] removeReferences(NmCommandBean cb)
          

Supported API: false
private  void removeUses(ArrayList foo, ArrayList too)
           
 NmChangeModel[] removeUses(NmCommandBean cb)
          

Supported API: false
 NmChangeModel[] rename(NmCommandBean cb, String name, String number)
          

Supported API: false
 NmChangeModel[] rename(NmCommandBean cb, String name, String number, NmOid oid)
          

Supported API: false
private  float roundToTwoDecimals(float number)
          Returns the given float rounded to two decimal places.
 NmChangeModel[] update(NmCommandBean cb)
          

Supported API: false
 NmChangeModel[] updateQuantityAndUnits(NmCommandBean cb)
          

Supported API: false
 NmModel view(NmCommandBean cb)
          

Supported API: false
 NmModel viewParent(NmCommandBean cb, ArrayList oids)
          

Supported API: false
 NmModel viewProductStructure(NmCommandBean cb, ArrayList oids)
          

Supported API: false
 
Methods inherited from class wt.services.StandardManager
emergencyShutdown, emergencyShutdownComplete, emergencyShuttingDown, getClassInfo, getManagerService, getManagerStatus, getName, getStartupType, init, initialize, initialize, isStarted, newStandardManager, newStandardManager, performEmergencyShutdownProcess, performShutdownProcess, performStartupProcess, registerEvents, setManagerService, shutdown, shutdownFailure, shutdownSuccess, shuttingDown, started, startedErrors, startingUp, startup, startupFailure, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

CMDCLASSNAME

private static final String CMDCLASSNAME

listActionModel

private static final NmHTMLActionModel listActionModel

DRESOURCE

private static final String DRESOURCE
See Also:
Constant Field Values

OBJECT_RESOURCE

private static final String OBJECT_RESOURCE
See Also:
Constant Field Values

ENTERPRISE_RESOURCE

private static final String ENTERPRISE_RESOURCE
See Also:
Constant Field Values

CADDOC_DEP_RESOURCE

private static final String CADDOC_DEP_RESOURCE
See Also:
Constant Field Values

SECONDARY_EXCLUDE

private static String SECONDARY_EXCLUDE

pviewGif

private static String pviewGif

VERBOSE

private static final boolean VERBOSE

goUpStr

private static final String goUpStr
See Also:
Constant Field Values

representedParts

private Vector representedParts

visualizationEnabled

private static final boolean visualizationEnabled

visHelper

private static VisualizationHelperIfc visHelper

displayOrganizationIdentifier

private static final boolean displayOrganizationIdentifier

J03_ND

private static final String J03_ND
See Also:
Constant Field Values
Constructor Detail

StandardNmPartService

public StandardNmPartService()
Method Detail

getConceptualClassname

public String getConceptualClassname()
Deprecated.  

Returns the conceptual (modeled) name for the class.

Supported API: false

Specified by:
getConceptualClassname in interface NetFactor
Overrides:
getConceptualClassname in class StandardManager
Returns:
String

newStandardNmPartService

public static StandardNmPartService newStandardNmPartService()
                                                      throws WTException
Default factory for the class.

Supported API: false

Returns:
StandardNmPartService
Throws:
WTException

create

public NmOid create(NmCommandBean cb,
                    NmProject project,
                    String name,
                    String number,
                    String location,
                    String type)
             throws WTException


Supported API: false

Specified by:
create in interface NmPartService
Parameters:
cb -
project -
name -
number -
location -
type -
Returns:
NmOid
Throws:
WTException

addReferences

public NmChangeModel[] addReferences(NmCommandBean cb)
                              throws WTException


Supported API: false

Specified by:
addReferences in interface NmPartService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

addUses

public NmChangeModel[] addUses(NmCommandBean cb)
                        throws WTException


Supported API: false

Specified by:
addUses in interface NmPartService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

view

public NmModel view(NmCommandBean cb)
             throws WTException


Supported API: false

Specified by:
view in interface NmPartService
Parameters:
cb -
Returns:
NmModel
Throws:
WTException

viewProductStructure

public NmModel viewProductStructure(NmCommandBean cb,
                                    ArrayList oids)
                             throws WTException


Supported API: false

Specified by:
viewProductStructure in interface NmPartService
Parameters:
cb -
oids -
Returns:
NmModel
Throws:
WTException

removeReferences

public NmChangeModel[] removeReferences(NmCommandBean cb)
                                 throws WTException


Supported API: false

Specified by:
removeReferences in interface NmPartService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

removeUses

public NmChangeModel[] removeUses(NmCommandBean cb)
                           throws WTException


Supported API: false

Specified by:
removeUses in interface NmPartService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

rename

public NmChangeModel[] rename(NmCommandBean cb,
                              String name,
                              String number)
                       throws WTException


Supported API: false

Specified by:
rename in interface NmPartService
Parameters:
cb -
name -
number -
Returns:
NmChangeModel[]
Throws:
WTException

getPartProperties

public NmPart getPartProperties(NmCommandBean cb)
                         throws WTException


Supported API: false

Specified by:
getPartProperties in interface NmPartService
Parameters:
cb -
Returns:
NmPart
Throws:
WTException

getPartProperties

public NmPart getPartProperties(NmOid oid,
                                boolean viewOld)
                         throws WTException


Supported API: false

Specified by:
getPartProperties in interface NmPartService
Parameters:
oid -
viewOld -
Returns:
NmPart
Throws:
WTException

getEPMDocumentProperties

public NmEPMDocument getEPMDocumentProperties(NmOid oid,
                                              boolean viewOld)
                                       throws WTException


Supported API: false

Specified by:
getEPMDocumentProperties in interface NmPartService
Parameters:
oid -
viewOld -
Returns:
NmEPMDocument
Throws:
WTException

getEPMDocumentProperties

public NmEPMDocument getEPMDocumentProperties(NmOid oid)
                                       throws WTException


Supported API: false

Specified by:
getEPMDocumentProperties in interface NmPartService
Parameters:
oid -
Returns:
NmEPMDocument
Throws:
WTException

updateQuantityAndUnits

public NmChangeModel[] updateQuantityAndUnits(NmCommandBean cb)
                                       throws WTException


Supported API: false

Specified by:
updateQuantityAndUnits in interface NmPartService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

getLinkProperties

public NmPart getLinkProperties(NmCommandBean cb)
                         throws WTException


Supported API: false

Specified by:
getLinkProperties in interface NmPartService
Parameters:
cb -
Returns:
NmPart
Throws:
WTException

list_paste

public NmChangeModel[] list_paste(NmCommandBean cb)
                           throws WTException


Supported API: false

Specified by:
list_paste in interface NmPartService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

list_delete

public NmChangeModel[] list_delete(NmCommandBean cb)
                            throws WTException


Supported API: false

Specified by:
list_delete in interface NmPartService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

getNmPart

public NmPart getNmPart(NmOid oid)
                 throws WTException


Supported API: false

Specified by:
getNmPart in interface NmPartService
Parameters:
oid -
Returns:
NmPart
Throws:
WTException

listHistory

public NmDefaultHTMLTable listHistory(NmCommandBean cb)
                               throws WTException


Supported API: false

Specified by:
listHistory in interface NmPartService
Parameters:
cb -
Returns:
NmDefaultHTMLTable
Throws:
WTException

addPartUses

public NmChangeModel[] addPartUses(NmCommandBean cb)
                            throws WTException


Supported API: false

Specified by:
addPartUses in interface NmPartService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

getPartRowData

public ArrayList getPartRowData(NmOid oid)
                         throws WTException


Supported API: false

Specified by:
getPartRowData in interface NmPartService
Parameters:
oid -
Returns:
ArrayList
Throws:
WTException

getPartTreeNode

public NmHTMLTreeNode getPartTreeNode(NmOid oid,
                                      WTPartUsageLink thisLink)
                               throws WTException


Supported API: false

Specified by:
getPartTreeNode in interface NmPartService
Parameters:
oid -
thisLink -
Returns:
NmHTMLTreeNode
Throws:
WTException

getPartProperties

public NmPart getPartProperties(NmOid oid)
                         throws WTException


Supported API: false

Specified by:
getPartProperties in interface NmPartService
Parameters:
oid -
Returns:
NmPart
Throws:
WTException

viewParent

public NmModel viewParent(NmCommandBean cb,
                          ArrayList oids)
                   throws WTException


Supported API: false

Specified by:
viewParent in interface NmPartService
Parameters:
cb -
oids -
Returns:
NmModel
Throws:
WTException

getMinimalPartProperties

public NmPart getMinimalPartProperties(NmOid oid)
                                throws WTException


Supported API: false

Specified by:
getMinimalPartProperties in interface NmPartService
Parameters:
oid -
Returns:
NmPart
Throws:
WTException

getMinimalPartProperties

public NmPart getMinimalPartProperties(NmOid oid,
                                       Persistable ref)
                                throws WTException


Supported API: false

Specified by:
getMinimalPartProperties in interface NmPartService
Parameters:
oid -
ref -
Returns:
NmPart
Throws:
WTException

getCADRefString

public String getCADRefString(NmOid oid)
                       throws WTException


Supported API: false

Specified by:
getCADRefString in interface NmPartService
Parameters:
oid -
Returns:
String
Throws:
WTException

doesPartExist

public NmOid doesPartExist(String name,
                           String number,
                           String projectName)
                    throws WTException


Supported API: false

Specified by:
doesPartExist in interface NmPartService
Parameters:
name -
number -
projectName -
Returns:
NmOid
Throws:
WTException

rename

public NmChangeModel[] rename(NmCommandBean cb,
                              String name,
                              String number,
                              NmOid oid)
                       throws WTException


Supported API: false

Specified by:
rename in interface NmPartService
Parameters:
cb -
name -
number -
oid -
Returns:
NmChangeModel[]
Throws:
WTException

listRelatedCAD

public NmHTMLTable listRelatedCAD(NmCommandBean cb,
                                  boolean showOld)
                           throws WTException


Supported API: false

Specified by:
listRelatedCAD in interface NmPartService
Parameters:
cb -
showOld -
Returns:
NmHTMLTable
Throws:
WTException

listReferences

public NmHTMLTable listReferences(NmCommandBean cb,
                                  boolean showOld)
                           throws WTException


Supported API: false

Specified by:
listReferences in interface NmPartService
Parameters:
cb -
showOld -
Returns:
NmHTMLTable
Throws:
WTException

addDescribedBy

public NmChangeModel[] addDescribedBy(NmCommandBean cb)
                               throws WTException


Supported API: false

Specified by:
addDescribedBy in interface NmPartService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

listDescribedBy

public NmHTMLTable listDescribedBy(NmCommandBean cb,
                                   boolean showOld)
                            throws WTException


Supported API: false

Specified by:
listDescribedBy in interface NmPartService
Parameters:
cb -
showOld -
Returns:
NmHTMLTable
Throws:
WTException

list_paste_described

public NmChangeModel[] list_paste_described(NmCommandBean cb)
                                     throws WTException


Supported API: false

Specified by:
list_paste_described in interface NmPartService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

list_delete_described

public NmChangeModel[] list_delete_described(NmCommandBean cb)
                                      throws WTException


Supported API: false

Specified by:
list_delete_described in interface NmPartService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

list_paste_references

public NmChangeModel[] list_paste_references(NmCommandBean cb)
                                      throws WTException


Supported API: false

Specified by:
list_paste_references in interface NmPartService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

list_delete_references

public NmChangeModel[] list_delete_references(NmCommandBean cb)
                                       throws WTException


Supported API: false

Specified by:
list_delete_references in interface NmPartService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

listContents

public NmHTMLTable listContents(NmCommandBean cb,
                                boolean showOld)
                         throws WTException


Supported API: false

Specified by:
listContents in interface NmPartService
Parameters:
cb -
showOld -
Returns:
NmHTMLTable
Throws:
WTException

listRelatedParts

public NmHTMLTable listRelatedParts(NmCommandBean cb,
                                    boolean showOld)
                             throws WTException


Supported API: false

Specified by:
listRelatedParts in interface NmPartService
Parameters:
cb -
showOld -
Returns:
NmHTMLTable
Throws:
WTException

listCADReferences

public NmHTMLTable listCADReferences(NmCommandBean cb,
                                     boolean showOld)
                              throws WTException


Supported API: false

Specified by:
listCADReferences in interface NmPartService
Parameters:
cb -
showOld -
Returns:
NmHTMLTable
Throws:
WTException

listCADUses

public NmHTMLTable listCADUses(NmCommandBean cb,
                               boolean showOld)
                        throws WTException


Supported API: false

Specified by:
listCADUses in interface NmPartService
Parameters:
cb -
showOld -
Returns:
NmHTMLTable
Throws:
WTException

listCADUsedBy

public NmHTMLTable listCADUsedBy(NmCommandBean cb,
                                 boolean showOld)
                          throws WTException


Supported API: false

Specified by:
listCADUsedBy in interface NmPartService
Parameters:
cb -
showOld -
Returns:
NmHTMLTable
Throws:
WTException

listPartUsedBy

public NmHTMLTable listPartUsedBy(NmCommandBean cb,
                                  boolean showOld)
                           throws WTException


Supported API: false

Specified by:
listPartUsedBy in interface NmPartService
Parameters:
cb -
showOld -
Returns:
NmHTMLTable
Throws:
WTException

update

public NmChangeModel[] update(NmCommandBean cb)
                       throws WTException


Supported API: false

Specified by:
update in interface NmPartService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

getCADDocDetailsModels

public HashMap getCADDocDetailsModels(NmCommandBean cb,
                                      boolean showOld)
                               throws WTException


Supported API: false

Specified by:
getCADDocDetailsModels in interface NmPartService
Parameters:
cb -
showOld -
Returns:
HashMap
Throws:
WTException

getPartDetailsModels

public HashMap getPartDetailsModels(NmCommandBean cb,
                                    boolean showOld)
                             throws WTException


Supported API: false

Specified by:
getPartDetailsModels in interface NmPartService
Parameters:
cb -
showOld -
Returns:
HashMap
Throws:
WTException

removeUses

private void removeUses(ArrayList foo,
                        ArrayList too)
                 throws WTException
Throws:
WTException

removeReferences

private void removeReferences(ArrayList foo,
                              ArrayList too)
                       throws WTException
Throws:
WTException

removePDMLinkReferences

private void removePDMLinkReferences(ArrayList foo,
                                     ArrayList too)
                              throws WTException
Throws:
WTException

removeDescribed

private void removeDescribed(ArrayList foo,
                             ArrayList too)
                      throws WTException
Throws:
WTException

addUses

private NmChangeModel[] addUses(ArrayList foo,
                                ArrayList too)
                         throws WTException
Throws:
WTException

addReferences

private NmChangeModel[] addReferences(ArrayList foo,
                                      ArrayList too)
                               throws WTException
Throws:
WTException

addPDMLinkReferences

private NmChangeModel[] addPDMLinkReferences(ArrayList foo,
                                             ArrayList too)
                                      throws WTException
Throws:
WTException

buildThumbNailHREF

private String buildThumbNailHREF(NmOid nm_oid)
                           throws WTException
Throws:
WTException

checkForEPMDocs

private static NmPart checkForEPMDocs(Persistable p,
                                      NmPart nmPart)
                               throws WTException
Throws:
WTException

getPartRowData

public ArrayList getPartRowData(NmPart o)
                         throws WTException
Throws:
WTException

getPartRowData

public ArrayList getPartRowData(NmPart o,
                                boolean isRoot)
                         throws WTException
Throws:
WTException

getPartMasterRowData

public ArrayList getPartMasterRowData(NmPart o,
                                      boolean isRoot)
                               throws WTException
Throws:
WTException

_getPartProperties

private NmPart _getPartProperties(NmOid oid)
                           throws WTException
Throws:
WTException

_getEPMDocumentProperties

private NmEPMDocument _getEPMDocumentProperties(NmOid oid)
                                         throws WTException
Throws:
WTException

_viewPart

private NmModel _viewPart(NmOid oid,
                          WTPart part)
                   throws WTException
Throws:
WTException

_listHistoryPart

public NmDefaultHTMLTable _listHistoryPart(NmOid nmOid,
                                           WTPart part,
                                           WTContainer currentProject)
                                    throws WTException
Throws:
WTException

listECADComponents

public NmHTMLTable listECADComponents(NmCommandBean cb)
                               throws WTException
Throws:
WTException

epmAttr

public NmHTMLTable epmAttr(NmCommandBean cb)
                    throws WTException
Throws:
WTException

_listHistoryEPMDocument

public NmDefaultHTMLTable _listHistoryEPMDocument(NmOid nmOid,
                                                  EPMDocument doc)
                                           throws WTException
Throws:
WTException

listDrawingComponents

public NmHTMLTable listDrawingComponents(NmCommandBean cb)
                                  throws WTException
Throws:
WTException

buildRepresentedParts

private void buildRepresentedParts(EPMDocument doc)
                            throws WTException
Throws:
WTException

getLatestIteration

public static Iterated getLatestIteration(Master master)
                                   throws WTException,
                                          VersionControlException
Throws:
WTException
VersionControlException

hasParents

private boolean hasParents(NmOid partOid)
                    throws WTException
Throws:
WTException

alreadyInTree

private boolean alreadyInTree(NmOid oid,
                              NmHTMLTreeModel treeModel)
                       throws WTException
Throws:
WTException

_getMinimalPartProperties

private NmPart _getMinimalPartProperties(NmOid oid)
                                  throws WTException
Throws:
WTException

referenceListWindchillPDM

private NmHTMLTable referenceListWindchillPDM(NmCommandBean cb,
                                              boolean showOld)
                                       throws WTException
Throws:
WTException

describedByListWindchillPDM

private NmHTMLTable describedByListWindchillPDM(NmCommandBean cb,
                                                boolean showOld)
                                         throws WTException
Throws:
WTException

relatedDocListWindchillPDMLink

private NmHTMLTable relatedDocListWindchillPDMLink(NmCommandBean cb,
                                                   boolean showOld)
                                            throws WTException
Throws:
WTException

relatedCADListWindchillPDM

private NmHTMLTable relatedCADListWindchillPDM(NmCommandBean cb,
                                               boolean showOld)
                                        throws WTException
Throws:
WTException

relatedCADListWindchillPDMLink

private NmHTMLTable relatedCADListWindchillPDMLink(NmCommandBean cb,
                                                   boolean showOld)
                                            throws WTException
Throws:
WTException

relatedPartsList

private NmHTMLTable relatedPartsList(NmCommandBean cb,
                                     boolean showOld)
                              throws WTException
Throws:
WTException

relatedPartsListWindchillPDMLink

private NmHTMLTable relatedPartsListWindchillPDMLink(NmCommandBean cb,
                                                     boolean showOld)
                                              throws WTException
Throws:
WTException

addDescribedBy

private NmChangeModel[] addDescribedBy(ArrayList foo,
                                       ArrayList too)
                                throws WTException
Throws:
WTException

filterOriginalCopiesInBuildRules

private QueryResult filterOriginalCopiesInBuildRules(WTPart sourcePart,
                                                     QueryResult buildRuleLinks)

getOtherSideObject

private WTObject getOtherSideObject(Object link,
                                    Persistable persistableObj)

getDescribesParts

private Vector getDescribesParts(EPMDocument source)
                          throws WTException
Throws:
WTException

getDescribesLinksForDocs

private static EPMDescribeLink[] getDescribesLinksForDocs(EPMDocument doc)
                                                   throws WTException
Throws:
WTException

getFileSize

private String getFileSize(ApplicationData file)
                    throws WTException
Returns a String containing the size of the given file in Kilobytes. The string returned also contains the units (e.g "100 KB").

Supported API: false

Parameters:
file - the ApplicationData item whose size is returned
Returns:
a String containing the size of the file and the units.
Throws:
WTException

roundToTwoDecimals

private float roundToTwoDecimals(float number)
Returns the given float rounded to two decimal places.

Supported API: false

Parameters:
number - the float to be rounded
Returns:
the given number rounded to two decimal places

getViewDetailsURL

private NmURL getViewDetailsURL(WTContained contained)
                         throws WTException
Throws:
WTException

getCADDocUses

private Hashtable getCADDocUses(EPMDocument epmDoc)
                         throws WTException
Throws:
WTException

filterCADDocUses

private Hashtable filterCADDocUses(QueryResult result)
                            throws WTException
Throws:
WTException

getCADDocUsedBy

private QueryResult getCADDocUsedBy(EPMDocument epmDoc)
                             throws WTException
Throws:
WTException

filterCADDocUsedBy

private QueryResult filterCADDocUsedBy(QueryResult result)
                                throws WTException
Throws:
WTException

getNumberVersionId

private String getNumberVersionId(EPMDocument doc)
                           throws WTException
Throws:
WTException

getVersion

private String getVersion(Versioned doc)
                   throws WTException
Throws:
WTException

_getPartTreeNode

private NmHTMLTreeNode _getPartTreeNode(WTPart p,
                                        NmOid oid,
                                        WTPartUsageLink thisLink)
                                 throws WTException
Throws:
WTException

_getPartMasterTreeNode

private NmHTMLTreeNode _getPartMasterTreeNode(WTPartMaster pm,
                                              NmOid oid)
                                       throws WTException
Throws:
WTException

_getCADDocDependencyTypeDisplay

private String _getCADDocDependencyTypeDisplay(int key)
                                        throws WTException
Throws:
WTException

listCADReferencedBy

public NmHTMLTable listCADReferencedBy(NmCommandBean cb,
                                       boolean showOld)
                                throws WTException
Throws:
WTException

getContainerDisplayName

private String getContainerDisplayName(WTContained contained)

getPrimaryContent

public ContentItem getPrimaryContent(EPMDocument doc,
                                     ContentHolder holder,
                                     boolean isJ03ND)