|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
com.ptc.netmarkets.part.StandardNmPartService
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
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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String CMDCLASSNAME
private static final NmHTMLActionModel listActionModel
private static final String DRESOURCE
private static final String OBJECT_RESOURCE
private static final String ENTERPRISE_RESOURCE
private static final String CADDOC_DEP_RESOURCE
private static String SECONDARY_EXCLUDE
private static String pviewGif
private static final boolean VERBOSE
private static final String goUpStr
private Vector representedParts
private static final boolean visualizationEnabled
private static VisualizationHelperIfc visHelper
private static final boolean displayOrganizationIdentifier
private static final String J03_ND
Constructor Detail |
public StandardNmPartService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
public static StandardNmPartService newStandardNmPartService() throws WTException
WTException
public NmOid create(NmCommandBean cb, NmProject project, String name, String number, String location, String type) throws WTException
create
in interface NmPartService
cb
- project
- name
- number
- location
- type
-
WTException
public NmChangeModel[] addReferences(NmCommandBean cb) throws WTException
addReferences
in interface NmPartService
cb
-
WTException
public NmChangeModel[] addUses(NmCommandBean cb) throws WTException
addUses
in interface NmPartService
cb
-
WTException
public NmModel view(NmCommandBean cb) throws WTException
view
in interface NmPartService
cb
-
WTException
public NmModel viewProductStructure(NmCommandBean cb, ArrayList oids) throws WTException
viewProductStructure
in interface NmPartService
cb
- oids
-
WTException
public NmChangeModel[] removeReferences(NmCommandBean cb) throws WTException
removeReferences
in interface NmPartService
cb
-
WTException
public NmChangeModel[] removeUses(NmCommandBean cb) throws WTException
removeUses
in interface NmPartService
cb
-
WTException
public NmChangeModel[] rename(NmCommandBean cb, String name, String number) throws WTException
rename
in interface NmPartService
cb
- name
- number
-
WTException
public NmPart getPartProperties(NmCommandBean cb) throws WTException
getPartProperties
in interface NmPartService
cb
-
WTException
public NmPart getPartProperties(NmOid oid, boolean viewOld) throws WTException
getPartProperties
in interface NmPartService
oid
- viewOld
-
WTException
public NmEPMDocument getEPMDocumentProperties(NmOid oid, boolean viewOld) throws WTException
getEPMDocumentProperties
in interface NmPartService
oid
- viewOld
-
WTException
public NmEPMDocument getEPMDocumentProperties(NmOid oid) throws WTException
getEPMDocumentProperties
in interface NmPartService
oid
-
WTException
public NmChangeModel[] updateQuantityAndUnits(NmCommandBean cb) throws WTException
updateQuantityAndUnits
in interface NmPartService
cb
-
WTException
public NmPart getLinkProperties(NmCommandBean cb) throws WTException
getLinkProperties
in interface NmPartService
cb
-
WTException
public NmChangeModel[] list_paste(NmCommandBean cb) throws WTException
list_paste
in interface NmPartService
cb
-
WTException
public NmChangeModel[] list_delete(NmCommandBean cb) throws WTException
list_delete
in interface NmPartService
cb
-
WTException
public NmPart getNmPart(NmOid oid) throws WTException
getNmPart
in interface NmPartService
oid
-
WTException
public NmDefaultHTMLTable listHistory(NmCommandBean cb) throws WTException
listHistory
in interface NmPartService
cb
-
WTException
public NmChangeModel[] addPartUses(NmCommandBean cb) throws WTException
addPartUses
in interface NmPartService
cb
-
WTException
public ArrayList getPartRowData(NmOid oid) throws WTException
getPartRowData
in interface NmPartService
oid
-
WTException
public NmHTMLTreeNode getPartTreeNode(NmOid oid, WTPartUsageLink thisLink) throws WTException
getPartTreeNode
in interface NmPartService
oid
- thisLink
-
WTException
public NmPart getPartProperties(NmOid oid) throws WTException
getPartProperties
in interface NmPartService
oid
-
WTException
public NmModel viewParent(NmCommandBean cb, ArrayList oids) throws WTException
viewParent
in interface NmPartService
cb
- oids
-
WTException
public NmPart getMinimalPartProperties(NmOid oid) throws WTException
getMinimalPartProperties
in interface NmPartService
oid
-
WTException
public NmPart getMinimalPartProperties(NmOid oid, Persistable ref) throws WTException
getMinimalPartProperties
in interface NmPartService
oid
- ref
-
WTException
public String getCADRefString(NmOid oid) throws WTException
getCADRefString
in interface NmPartService
oid
-
WTException
public NmOid doesPartExist(String name, String number, String projectName) throws WTException
doesPartExist
in interface NmPartService
name
- number
- projectName
-
WTException
public NmChangeModel[] rename(NmCommandBean cb, String name, String number, NmOid oid) throws WTException
rename
in interface NmPartService
cb
- name
- number
- oid
-
WTException
public NmHTMLTable listRelatedCAD(NmCommandBean cb, boolean showOld) throws WTException
listRelatedCAD
in interface NmPartService
cb
- showOld
-
WTException
public NmHTMLTable listReferences(NmCommandBean cb, boolean showOld) throws WTException
listReferences
in interface NmPartService
cb
- showOld
-
WTException
public NmChangeModel[] addDescribedBy(NmCommandBean cb) throws WTException
addDescribedBy
in interface NmPartService
cb
-
WTException
public NmHTMLTable listDescribedBy(NmCommandBean cb, boolean showOld) throws WTException
listDescribedBy
in interface NmPartService
cb
- showOld
-
WTException
public NmChangeModel[] list_paste_described(NmCommandBean cb) throws WTException
list_paste_described
in interface NmPartService
cb
-
WTException
public NmChangeModel[] list_delete_described(NmCommandBean cb) throws WTException
list_delete_described
in interface NmPartService
cb
-
WTException
public NmChangeModel[] list_paste_references(NmCommandBean cb) throws WTException
list_paste_references
in interface NmPartService
cb
-
WTException
public NmChangeModel[] list_delete_references(NmCommandBean cb) throws WTException
list_delete_references
in interface NmPartService
cb
-
WTException
public NmHTMLTable listContents(NmCommandBean cb, boolean showOld) throws WTException
listContents
in interface NmPartService
cb
- showOld
-
WTException
public NmHTMLTable listRelatedParts(NmCommandBean cb, boolean showOld) throws WTException
listRelatedParts
in interface NmPartService
cb
- showOld
-
WTException
public NmHTMLTable listCADReferences(NmCommandBean cb, boolean showOld) throws WTException
listCADReferences
in interface NmPartService
cb
- showOld
-
WTException
public NmHTMLTable listCADUses(NmCommandBean cb, boolean showOld) throws WTException
listCADUses
in interface NmPartService
cb
- showOld
-
WTException
public NmHTMLTable listCADUsedBy(NmCommandBean cb, boolean showOld) throws WTException
listCADUsedBy
in interface NmPartService
cb
- showOld
-
WTException
public NmHTMLTable listPartUsedBy(NmCommandBean cb, boolean showOld) throws WTException
listPartUsedBy
in interface NmPartService
cb
- showOld
-
WTException
public NmChangeModel[] update(NmCommandBean cb) throws WTException
update
in interface NmPartService
cb
-
WTException
public HashMap getCADDocDetailsModels(NmCommandBean cb, boolean showOld) throws WTException
getCADDocDetailsModels
in interface NmPartService
cb
- showOld
-
WTException
public HashMap getPartDetailsModels(NmCommandBean cb, boolean showOld) throws WTException
getPartDetailsModels
in interface NmPartService
cb
- showOld
-
WTException
private void removeUses(ArrayList foo, ArrayList too) throws WTException
WTException
private void removeReferences(ArrayList foo, ArrayList too) throws WTException
WTException
private void removePDMLinkReferences(ArrayList foo, ArrayList too) throws WTException
WTException
private void removeDescribed(ArrayList foo, ArrayList too) throws WTException
WTException
private NmChangeModel[] addUses(ArrayList foo, ArrayList too) throws WTException
WTException
private NmChangeModel[] addReferences(ArrayList foo, ArrayList too) throws WTException
WTException
private NmChangeModel[] addPDMLinkReferences(ArrayList foo, ArrayList too) throws WTException
WTException
private String buildThumbNailHREF(NmOid nm_oid) throws WTException
WTException
private static NmPart checkForEPMDocs(Persistable p, NmPart nmPart) throws WTException
WTException
public ArrayList getPartRowData(NmPart o) throws WTException
WTException
public ArrayList getPartRowData(NmPart o, boolean isRoot) throws WTException
WTException
public ArrayList getPartMasterRowData(NmPart o, boolean isRoot) throws WTException
WTException
private NmPart _getPartProperties(NmOid oid) throws WTException
WTException
private NmEPMDocument _getEPMDocumentProperties(NmOid oid) throws WTException
WTException
private NmModel _viewPart(NmOid oid, WTPart part) throws WTException
WTException
public NmDefaultHTMLTable _listHistoryPart(NmOid nmOid, WTPart part, WTContainer currentProject) throws WTException
WTException
public NmHTMLTable listECADComponents(NmCommandBean cb) throws WTException
WTException
public NmHTMLTable epmAttr(NmCommandBean cb) throws WTException
WTException
public NmDefaultHTMLTable _listHistoryEPMDocument(NmOid nmOid, EPMDocument doc) throws WTException
WTException
public NmHTMLTable listDrawingComponents(NmCommandBean cb) throws WTException
WTException
private void buildRepresentedParts(EPMDocument doc) throws WTException
WTException
public static Iterated getLatestIteration(Master master) throws WTException, VersionControlException
WTException
VersionControlException
private boolean hasParents(NmOid partOid) throws WTException
WTException
private boolean alreadyInTree(NmOid oid, NmHTMLTreeModel treeModel) throws WTException
WTException
private NmPart _getMinimalPartProperties(NmOid oid) throws WTException
WTException
private NmHTMLTable referenceListWindchillPDM(NmCommandBean cb, boolean showOld) throws WTException
WTException
private NmHTMLTable describedByListWindchillPDM(NmCommandBean cb, boolean showOld) throws WTException
WTException
private NmHTMLTable relatedDocListWindchillPDMLink(NmCommandBean cb, boolean showOld) throws WTException
WTException
private NmHTMLTable relatedCADListWindchillPDM(NmCommandBean cb, boolean showOld) throws WTException
WTException
private NmHTMLTable relatedCADListWindchillPDMLink(NmCommandBean cb, boolean showOld) throws WTException
WTException
private NmHTMLTable relatedPartsList(NmCommandBean cb, boolean showOld) throws WTException
WTException
private NmHTMLTable relatedPartsListWindchillPDMLink(NmCommandBean cb, boolean showOld) throws WTException
WTException
private NmChangeModel[] addDescribedBy(ArrayList foo, ArrayList too) throws WTException
WTException
private QueryResult filterOriginalCopiesInBuildRules(WTPart sourcePart, QueryResult buildRuleLinks)
private WTObject getOtherSideObject(Object link, Persistable persistableObj)
private Vector getDescribesParts(EPMDocument source) throws WTException
WTException
private static EPMDescribeLink[] getDescribesLinksForDocs(EPMDocument doc) throws WTException
WTException
private String getFileSize(ApplicationData file) throws WTException
file
- the ApplicationData item whose size is returned
WTException
private float roundToTwoDecimals(float number)
number
- the float to be rounded
private NmURL getViewDetailsURL(WTContained contained) throws WTException
WTException
private Hashtable getCADDocUses(EPMDocument epmDoc) throws WTException
WTException
private Hashtable filterCADDocUses(QueryResult result) throws WTException
WTException
private QueryResult getCADDocUsedBy(EPMDocument epmDoc) throws WTException
WTException
private QueryResult filterCADDocUsedBy(QueryResult result) throws WTException
WTException
private String getNumberVersionId(EPMDocument doc) throws WTException
WTException
private String getVersion(Versioned doc) throws WTException
WTException
private NmHTMLTreeNode _getPartTreeNode(WTPart p, NmOid oid, WTPartUsageLink thisLink) throws WTException
WTException
private NmHTMLTreeNode _getPartMasterTreeNode(WTPartMaster pm, NmOid oid) throws WTException
WTException
private String _getCADDocDependencyTypeDisplay(int key) throws WTException
WTException
public NmHTMLTable listCADReferencedBy(NmCommandBean cb, boolean showOld) throws WTException
WTException
private String getContainerDisplayName(WTContained contained)
public ContentItem getPrimaryContent(EPMDocument doc, ContentHolder holder, boolean isJ03ND)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |