public interface WaveQuery extends TransientObject
Modifier and Type | Interface and Description |
---|---|
static class |
WaveQuery.PartPreviewData
This class holds the data returned from
getPartPreview(java.lang.String, int) |
Modifier and Type | Method and Description |
---|---|
boolean |
areAssemblyConstraintsDelayed()
Returns true if update of assembly constraints is delayed
License requirements: wave ("WAVE FUNCTIONALITY") . |
String |
getAllSelectedPartsXml(boolean includeOnlyWithLinks)
Gets all the parts in the current selection list in the NX session.
|
String |
getChildPartRelationsXml(String parentPartSpec,
int parentPartIdentifier,
boolean walkAll)
Gets the child parts for a given part.
|
AssembliesChildRevisionOptions |
getChildRevisionOption()
Returns the child revision option
License requirements: wave ("WAVE FUNCTIONALITY") . |
String |
getInSessionPartsXml(boolean includeOnlyWithLinks)
Gets the parts that are in-session.
|
String |
getInterPartLinksXml(String partSpec,
int partIdentifier)
Gets the inter-part links and their sources for a given part.
|
String |
getParentPartRelationsXml(String childPartSpec,
int childPartIdentifier,
boolean walkAll)
Gets the parent parts for a given part.
|
String |
getPartFeatureDependenciesXml(String partSpec,
int partIdentifier)
Gets the feature dependency lists for a fully loaded part.
|
WaveQuery.PartPreviewData |
getPartPreview(String partSpec,
int partIdentifier)
Gets the part's preview image.
|
String |
getPartsInContextAssemblyXml(boolean includeOnlyWithLinks)
Gets the parts that are in the context assembly.
|
String |
getProductInterfacesXml(String partSpec,
int partIdentifier)
Gets the product interfaces and their references for a given part.
|
String |
getReferencesToProductInterfaceXml(String owningPartSpec,
int owningPartIdentifier,
String prodintHandle,
int prodintIdentifier)
Gets a product interface's referencing objects.
|
String |
getSpecifiedPartRelationsXml(String[] partSpecs,
int[] partIdentifiers,
boolean includeOnlyWithLinks)
Gets information about the specified parts.
|
String |
getWorkPartWithPartRelationsXml()
Gets the current work part.
|
int |
handleApplicationEvents(AssembliesEventTypes eventType,
String eventDescription,
String[] entitySpecs,
int[] entityIdentifiers)
Provides application (e.g. the graphical browser) event processing by NX.
|
void |
setChildRevisionOption(AssembliesChildRevisionOptions optionType)
Specifies what child revisions to fetch from Teamcenter
License requirements: wave ("WAVE FUNCTIONALITY") . |
_value, dispose, printTestData, printTestData
WaveQuery.PartPreviewData getPartPreview(String partSpec, int partIdentifier) throws NXException, RemoteException
partSpec
- the part's specification partIdentifier
- part's in-session identifierNXException
RemoteException
String getInSessionPartsXml(boolean includeOnlyWithLinks) throws NXException, RemoteException
includeOnlyWithLinks
- true if only parts that own inter-part links are returnedNXException
RemoteException
String getPartsInContextAssemblyXml(boolean includeOnlyWithLinks) throws NXException, RemoteException
includeOnlyWithLinks
- true if only parts that own inter-part links are returnedNXException
RemoteException
String getAllSelectedPartsXml(boolean includeOnlyWithLinks) throws NXException, RemoteException
includeOnlyWithLinks
- true if only parts that own inter-part links are returnedNXException
RemoteException
String getWorkPartWithPartRelationsXml() throws NXException, RemoteException
NXException
RemoteException
String getChildPartRelationsXml(String parentPartSpec, int parentPartIdentifier, boolean walkAll) throws NXException, RemoteException
parentPartSpec
- the part's specification parentPartIdentifier
- part's in-session identifierwalkAll
- true if children of all descendants are obtainedNXException
RemoteException
String getParentPartRelationsXml(String childPartSpec, int childPartIdentifier, boolean walkAll) throws NXException, RemoteException
childPartSpec
- the part's specification childPartIdentifier
- part's in-session identifierwalkAll
- true if parents of all ancestors are obtainedNXException
RemoteException
String getProductInterfacesXml(String partSpec, int partIdentifier) throws NXException, RemoteException
partSpec
- the part's specification partIdentifier
- part's in-session identifierNXException
RemoteException
String getInterPartLinksXml(String partSpec, int partIdentifier) throws NXException, RemoteException
partSpec
- the part's specification partIdentifier
- part's in-session identifierNXException
RemoteException
String getReferencesToProductInterfaceXml(String owningPartSpec, int owningPartIdentifier, String prodintHandle, int prodintIdentifier) throws NXException, RemoteException
owningPartSpec
- the owning part's specification owningPartIdentifier
- owning part's in-session identifierprodintHandle
- the product interface's handle prodintIdentifier
- product interface's in-session identifierNXException
RemoteException
int handleApplicationEvents(AssembliesEventTypes eventType, String eventDescription, String[] entitySpecs, int[] entityIdentifiers) throws NXException, RemoteException
eventType
- type of event for processingeventDescription
- textual description of the event for reporting entitySpecs
- the NX part specifications or the handles of the objects entityIdentifiers
- the NX part or object identifiersNXException
RemoteException
String getPartFeatureDependenciesXml(String partSpec, int partIdentifier) throws NXException, RemoteException
partSpec
- the part's specification partIdentifier
- part's in-session identifierNXException
RemoteException
boolean areAssemblyConstraintsDelayed() throws NXException, RemoteException
NXException
RemoteException
String getSpecifiedPartRelationsXml(String[] partSpecs, int[] partIdentifiers, boolean includeOnlyWithLinks) throws NXException, RemoteException
partSpecs
- the NX part specifications partIdentifiers
- the NX part identifiersincludeOnlyWithLinks
- true if only parts that own inter-part links are returnedNXException
RemoteException
void setChildRevisionOption(AssembliesChildRevisionOptions optionType) throws NXException, RemoteException
optionType
- what child revisions to fetch from TeamcenterNXException
RemoteException
AssembliesChildRevisionOptions getChildRevisionOption() throws NXException, RemoteException
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.