Package com.ptc.windchill.esi.esidoc
Class ESIEPMDocumentRenderer
java.lang.Object
com.ptc.windchill.esi.rnd.BasicESIRenderer
com.ptc.windchill.esi.esidoc.ESIAbstractDocumentsRenderer
com.ptc.windchill.esi.esidoc.ESIEPMDocumentRenderer
- All Implemented Interfaces:
ESIRenderer,ESIDocumentsRendererInterface
public class ESIEPMDocumentRenderer
extends ESIAbstractDocumentsRenderer
implements ESIDocumentsRendererInterface
This class renders a CAD Document structure.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ptc.windchill.esi.esidoc.ESIAbstractDocumentsRenderer
ESIAbstractDocumentsRenderer.DiffStatus, ESIAbstractDocumentsRenderer.LinkAndRoleBObject -
Field Summary
Fields inherited from class com.ptc.windchill.esi.esidoc.ESIAbstractDocumentsRenderer
docUtility, enforceOrgs, filterUnchangedObjects, multiLevel, navCriteria, navigator, obid, provideDelta, referenceFactory, renderReferencedDocuments, rootDoc, savedFilter, targetUtility, taskUri, transactionUtility, treeNavigationOptionsFields inherited from class com.ptc.windchill.esi.rnd.BasicESIRenderer
adapterName, authentication, currentTarget, DELIMITER, objectTypeDefs, OPTIONSVARIANTS_HELPER_CLASS_STRING, SEPARATOR, taskHelper, XML_META_NAME -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDocumentsToRenderRepresentations(Set<Persistable>[] documentDiffArray) Adds document nodes for rendering associated representations.protected com.infoengine.object.factory.ElementadjustRepresentationElement(com.infoengine.object.factory.Element element, String groupName, Representation representation, Representable representable, Collection<ESITarget> targets) Allows subclasses to fix the contents of an element before it is added to the output group(s).protected voidBuilds the renderer output.Set<Persistable>[]compareDocuments(Document currentIteration, Document previousIteration) Compares two iterations of a CAD Document.protected static Set<Persistable>[]compareEPMDocuments(EPMDocument currentIteration, EPMDocument previousIteration) Compares two iterations of a CAD Document.protected StringReturns the Logical group name for the AddedDocument Reference Links group.protected StringReturns the Logical group name for the AddedDocuments group.protected StringReturns the Logical group name for the AddedDocument Member Links group.protected StringgetAssemblyHeaderReleaseClass(Persistable cadAssemblyHeader) Returns the Release Class for CAD document assembly objects
Supported API: trueprotected StringReturns the Logical group name for the ChangedDocument Reference Links group.protected StringReturns the Logical group name for the ChangedDocuments group.protected StringReturns the Logical group name for the ChangedDocument Member Links group.protected StringReturns the Logical group name for the DeletdDocuments group.protected StringReturns the Logical group name for the DeletedDocument Reference Links group.protected StringReturns the Logical group name for the DeletedDocument Member Links group.protected StringReturns the delta flag name on the target for the CAD Document i.e ESIEPMDocument_DeltaFlag.com.infoengine.object.IeCollectiongetDocument(String objectID, ESITransactionFacade txn, Collection<? extends ESITargetFacade> targets, Map<? extends ESITargetFacade, Map<String, Object>> paramMap, String auth, String wcAdapter) Returns the rendered output as an Info*Engine collection to the caller.voidgetDocument(Document document, Map<? extends ESITargetFacade, Map<String, Object>> paramMap, String auth, String wcAdapter, VdbBuilder vdbBuilder) Adds the rendered output VdbBuilder specified by the caller.com.infoengine.object.IeCollectiongetEPMDocument(String objectID, ESITransaction txn, Collection<ESITarget> targets, Map<ESITarget, Map<String, Object>> paramMap, String auth, String wcAdapter) Renders the input EPM document structure and returns the output as an Info*Engine collection to the caller.protected StringReturns the flag name on the target for the CAD Document that specified saved filter to be used for CAD structure to be rendered i.e ESIEPMDocument_SavedFilter.protected StringgetIsAssemblyAttValue(Document document) Returns 'true' when specified document is EPMDocument is assembly otherwise 'false'.protected StringReturns the Release Class for leaf Objects
Supported API: trueprotected StringReturns the flag name on the target for the CAD Document that governs number of levels CAD structure to be rendered i.e ESIEPMDocument_MultiLevelFlag.protected StringReturns the flag name on the target for the CAD Document that specified whether or not reference CAD Document should be rendered while rendering CAD Document i.e ESIEPMReferenceDocument_Flag.protected Class<? extends ObjectToObjectLink> Returns the association class that defines referenced association.protected Class<? extends ObjectToObjectLink> Returns the association class that defines structure.protected StringReturns the Logical group name for the UnchangedDocument Reference Links group.protected StringReturns the Logical group name for the UnchangedDocuments group.protected StringReturns the Logical group name for the UnchangedDocument Member Links group.protected com.infoengine.object.factory.ElementmapRepresentationElement(String groupName, Representation representation, Representable representable, com.infoengine.object.factory.Element representationElem, Collection<ESITarget> targets) Performs the required mapping of attributes for the given representation.protected voidrenderAssemblyNodes(Set<Persistable>[] assemblyNodeDiffArray, Map<Persistable, Persistable> currentAndPreviousExpObjects) Overrides renderAssemblyNodes method of ESIAbstractDocumentsRenderer to collect document objects for which representations need to be rendered.protected voidrenderLeaves(Set<Persistable>[] leafDiffArray, Map<Persistable, Persistable> currentAndPreviousExpObjects) Overrides renderLeaves method of ESIAbstractDocumentsRenderer to collect document objects for which representations need to be rendered.protected voidrenderRepresentations(Set<EPMDocument> epmDocs) Renders all the representations associated with the input EPM documents.protected voidsetData(Object objectInfo, ESITarget target, Map<String, Object> paramsMap, String auth, String wcAdapter, String txnNumber) Establishes the state of the renderer.Methods inherited from class com.ptc.windchill.esi.esidoc.ESIAbstractDocumentsRenderer
adjustDocumentElement, adjustDocumentLinkElement, adjustDocumentLinkElement, compareAssemblyNodes, compareLeafNodes, gatherWorkingCopyDocuments, getDocUtility, getInfoEngineElements, getLinksWithRoleBObjects, getPreviousExportedIterations, getRootDoc, getTreeNavigator, mapDocumentElement, mapDocumentStructureLink, mapReferencedLink, postRenderAssemblyNode, postRenderLeaf, processLinks, renderDocumentLinks, renderDocuments, setData, updateRoleAToLinkMap, validateMethods inherited from class com.ptc.windchill.esi.rnd.BasicESIRenderer
addAtt, adjustConfigurableAndCollapsibleAtts, adjustDateEffCxt, adjustDateEffectivities, adjustEffectivities, adjustLotNumberEffCxt, adjustLotNumberEffectivities, adjustObjectID, adjustSerialNumberEffCxt, adjustSerialNumberEffectivities, adjustTargets, buildUfidString, evaluateBussinessRule, fetchLatestEffectivities, formatDateEffectivityElement, getAdapterName, getAssignedVariantSpec, getAssignedVariantSpec, getAUMRenderer, getAuth, getBuilder, getEffectivityElementMap, getEffectivityHandler, getEffectivityTargetAttributes, getElements, getERPMaterialAttributeList, getERPMaterialAttributeList, getERPMaterialTargetAttributes, getFormatedDate, getGroupInfo, getGroupInfo, getGroupInfo, getMap, getMap, getMapInfo, getMapInfo, getMapInfo, getNavigationFilter, getObjectTypeDefs, getPlantSpecificAttributeList, getPlantSpecificAttributeList, getPlantSpecificTargetAttributes, getPreviousObject, getPreviousPublishedEffectivity, getTargetsFromAssns, getTargetUtility, getTransactionUtility, getUnwantedAttributes, getVersionRefObjectRefMap, getWCAttributeList, getWCAttributeList, initEffectivityHandler, initializeElementForGroup, invokeQueryTask, invokeQueryTask, invokeQueryTask, invokeQueryTaskForObjects, isExpressionToBePublished, isGroupAvailable, isPublishAssocOptionSetFlagEnabled, mapDateEffectivities, mapEffectivities, mapEffectivityAttributes, mapEffectivityElement, mapEffectivityParentElement, mapElement, mapElement, mapElement, mapElementWithEffectivityAttrs, mapLotNumberEffectivities, mapObject, mapObject, mapSerialNumberEffectivities, mergeElements, overrideAttrValue, populateDateEffectivityInfo, populateEffectivityInfo, processBussinessRulesWithAnd, processBussinessRuleValidationResultSet, processNoMatchingVersionFound, removeAttributesNotRequired, removeUnwantedEffectivityAttributes, render, renderAssociatedSkinnyVariantSpec, renderAssociatedVariantSpec, renderAssocOptionSetLinks, renderAssocSkinnyVariantSpec, renderAssocVariantSpec, renderATONavigationFilter, renderChoiceRules, renderEffectivities, renderEffectivities, renderExpressions, renderOptionSets, renderRoleBObjectOfModuleVariantLink, setAttrValue, setAttrValue, setAttrValues, setBuilder, setCurrentTarget, setCurrentTarget, setCurrentTargetFromTgtAssocs, setEffectivityHandler, setObjectTypeDefs, setObjectTypeDefs, setObjectTypeDefsFromObj, setStartEndEffAttr, setTransactionUtility, shallPublishAssocOptionSet, shouldRenderEffectivityElementInPartElement, shouldUseOldEffectivityBehaviour, storeCurrentAndItsPreviousObject, storeCurrentAndItsPreviousObject
-
Method Details
-
getEPMDocument
public com.infoengine.object.IeCollection getEPMDocument(String objectID, ESITransaction txn, Collection<ESITarget> targets, Map<ESITarget, Map<String, throws ESIRendererException, WTExceptionObject>> paramMap, String auth, String wcAdapter) Renders the input EPM document structure and returns the output as an Info*Engine collection to the caller. Additionally it creates release activities for each of the distribution targets in targets collection if the transaction parameter is not a null.
Supported API: true- Parameters:
objectID- - UFID of the header of the CAD document structure to be rendered.txn- - ESITransaction object that represents the delivery of data to the distribution targets in targets collection; if null, release activities will not be created.targets- - Collection of distribution targets that represent a given destination, such as an ERP instance.paramMap- - Map holding ESITarget objects as keys and certain Maps as values; each value Map holds the names of certain parameters (that are used for navigating the CAD document structure and for generating the ESI response) and their values. If a certain parameter is not found in the value Map, its value is fetched from the corresponding target.
The value Map holds the following parameter names as keys:
- ESIEPMDocument_DeltaFlag - Specifies whether or not incremental changes to the CAD document structure need to be calculated; can take a value "true" or "false".
- ESIEPMDocument_MultiLevelFlag - The number of levels in the CAD document structure to be rendered.
- ESIEPMDocument_ContentSelection - The type of the content to be rendered. Valid values are denoted by the constants ESIConst.EPMDOC_ALLCONTENT, ESIConst.EPMDOC_CADCONTENT, ESIConst.EPMDOC_REPRESENTATIONS.
- ESIEPMDocument_RepresentationCollectionFilter - Filter to be applied on representations. Any string is a valid value.
- ESIEPMDocument_SavedFilter - Navigation criteria to be applied on the CAD structure.
- ESIEPMDocument_UseDefaultRepresentations - Specifies whether or not to fetch only default representations.
auth- - Authentication information required for executing certain Windchill adapter webjects as part of the rendering process.wcAdapter- - Name of the Windchill adapter instance.- Returns:
- The Info*Engine collection that holds the ESI response.
- Throws:
ESIRendererException- if any of the invoked methods throws this exception.WTException- if any of the invoked methods throws this exception.
-
setData
protected void setData(Object objectInfo, ESITarget target, Map<String, Object> paramsMap, String auth, String wcAdapter, String txnNumber) throws WTExceptionEstablishes the state of the renderer. It sets the values of the various member variables used for navigating and rendering a CAD structure.
Supported API: true- Parameters:
objectInfo- - UFID/document object of the header of the CAD structure to be rendered.target- - Distribution target object to be used for fetching various attributes required for navigating and rendering the CAD structure.paramsMap- - Used to pass in various parameters required for navigating and rendering EPM structure. If a certain parameter is not found in this map, then it will be fetched from the target. Check the Javadoc ofgetDocument(String, ESITransactionFacade, Collection, Map, String, String)&getDocument(Document, Map, String, String, VdbBuilder)method for all the valid parameters.auth- - Authentication information required for executing certain Windchill adapter webjects as part of the rendering process.wcAdapter- - Name of the Windchill adapter instance.txnNumber- - Number of the ESITransaction object.- Throws:
WTException- if any of the invoked methods throws this exception.
-
buildGroups
Builds the renderer output. Does the following:- Obtains the list of assembly nodes from the CAD structure. Uses the services of a TreeNavigator if multiLevel > 0.
- For each EPM document obtained:
- Fetches the latest released version for each associated target.
- For each fetched version, current version pair, obtains the difference from object comparison framework. If there is no previous version, that object is considered as getting published for the first time. Hence difference wont be calculated.
- Calls buildGroups() method of ESIAbstractDocumentsRenderer.
- Overrides renderAssemblyNodes() method for processing the assembly nodes to render representations.
- Overrides renderLeaves() method for processing the leaf nodes to render representations.
- Calls renderRepresentations() method for processing Representations.
Supported API: true- Overrides:
buildGroupsin classESIAbstractDocumentsRenderer- Throws:
ESIRendererException- Throws ESI Renderer exception if filed to render specified object.- See Also:
-
renderAssemblyNodes
protected void renderAssemblyNodes(Set<Persistable>[] assemblyNodeDiffArray, Map<Persistable, Persistable> currentAndPreviousExpObjects) throws ESIRendererExceptionOverrides renderAssemblyNodes method of ESIAbstractDocumentsRenderer to collect document objects for which representations need to be rendered.
- Calls renderAssemblyNodes() of ESIAbstractDocumentsRenderer
- Updates internal collection to render representation by calling addDocumentsToRenderRepresentations
Supported API: true- Overrides:
renderAssemblyNodesin classESIAbstractDocumentsRenderer- Parameters:
assemblyNodeDiffArray- - An array of Persistable object set each element in array represents objects as follows.
0th element in array contains all added assembly nodes.
1st element in array contains all changed assembly nodes.
2nd element in array contains all unchanged assembly nodes.currentAndPreviousExpObjects- - The map containing current iteration as key and previously published iteration as value.- Throws:
ESIRendererException- See Also:
-
addDocumentsToRenderRepresentations
Adds document nodes for rendering associated representations.
Supported API: true- Parameters:
documentDiffArray- - An array of set containing candidate documents for rendering reprentations
-
renderLeaves
protected void renderLeaves(Set<Persistable>[] leafDiffArray, Map<Persistable, Persistable> currentAndPreviousExpObjects) throws ESIRendererExceptionOverrides renderLeaves method of ESIAbstractDocumentsRenderer to collect document objects for which representations need to be rendered.
*- Calls renderLeaves() of ESIAbstractDocumentsRenderer
- Updates internal collection to render representation by calling addDocumentsToRenderRepresentations
Supported API: true- Overrides:
renderLeavesin classESIAbstractDocumentsRenderer- Parameters:
leafDiffArray- - An array of Persistable object set each element in array represents objects as follows.
0th element in array contains all added leaf nodes.
1st element in array contains all changed leaf nodes.
2nd element in array contains all unchanged leaf nodes.currentAndPreviousExpObjects- - The map containing current iteration as key and previously published iteration as value.
Supported API: true- Throws:
ESIRendererException- See Also:
-
renderRepresentations
Renders all the representations associated with the input EPM documents. Finds all the representations associated with the input documents and for each such representation, it invokes mapRepresentationElement() and adds the returned InfoEngine element to the VdbBuilder instance associated with this renderer.
Supported API: true- Parameters:
epmDocs- - Set of EPMDocuments for which representation need to be rendered.- Throws:
WTException
-
mapRepresentationElement
protected com.infoengine.object.factory.Element mapRepresentationElement(String groupName, Representation representation, Representable representable, com.infoengine.object.factory.Element representationElem, Collection<ESITarget> targets) throws ESIRendererException Performs the required mapping of attributes for the given representation.
Supported API: true- Parameters:
groupName- - Name of the group in the ESI response for which to perform the mapping.representation- - Representation instance for which to perform the attribute mapping.representable- - Representable object.representationElem- - An InfoEngine elements of the representation objects.targets- - Collection of ESITarget instances. These will be used to add distribution target related attributes to the output I*E element.- Returns:
- InfoEngine element having required attributes and their values for the input representation object.
- Throws:
ESIRendererException
-
adjustRepresentationElement
protected com.infoengine.object.factory.Element adjustRepresentationElement(com.infoengine.object.factory.Element element, String groupName, Representation representation, Representable representable, Collection<ESITarget> targets) Allows subclasses to fix the contents of an element before it is added to the output group(s). Default behavior is to simply return the argument.
Supported API: true- Parameters:
element- - InfoEngine element whose contents are to be fixed.groupName- - InfoEngine group name. The input element will be added to this group in the ESI response.representation- - Representation object.representable- - Representable object.targets- - Collection of ESITarget objects.- Returns:
- InfoEngine element having fixed data.
-
compareEPMDocuments
protected static Set<Persistable>[] compareEPMDocuments(EPMDocument currentIteration, EPMDocument previousIteration) throws WTException Compares two iterations of a CAD Document. In the returned array of HashSets, the elements at indices 0, 1, 2 and 3 contain all the added, deleted, changed and unchanged links respectively. This method returns wt.epm.structure.EPMMemberLink and wt.epm.structure.EPMReferenceLink objects only.
Supported API: true- Parameters:
currentIteration- - Currently published iteration of a CAD Document.previousIteration- - A previously published iteration of a CAD Document.- Returns:
- An array of Sets containing the difference information between the input CAD document iterations.
- Throws:
WTException
-
getDocument
public com.infoengine.object.IeCollection getDocument(String objectID, ESITransactionFacade txn, Collection<? extends ESITargetFacade> targets, Map<? extends ESITargetFacade, Map<String, throws WTExceptionObject>> paramMap, String auth, String wcAdapter) Returns the rendered output as an Info*Engine collection to the caller. CallsgetEPMDocument(String, ESITransaction, Collection, Map, String, String)method.
Supported API: true- Specified by:
getDocumentin interfaceESIDocumentsRendererInterface- Parameters:
objectID- - UFID of the header of the CAD document structure to be rendered.txn- - ESITransaction object that represents the delivery of data to the distribution targets in targets collection; if null, release activities will not be created.targets- - Collection of distribution targets that represent a given destination, such as an ERP instance.paramMap- - Map holding ESITarget objects as keys and certain Maps as values; each value Map holds the names of certain parameters (that are used for navigating the CAD document structure and for generating the ESI response) and their values. If a certain parameter is not found in the value Map, its value is fetched from the corresponding target.
The value Map holds the following parameter names as keys:
- ESIEPMDocument_DeltaFlag - Specifies whether or not incremental changes to the CAD document structure need to be calculated; can take a value "true" or "false".
- ESIEPMDocument_MultiLevelFlag - The number of levels in the CAD document structure to be rendered.
- ESIEPMDocument_ContentSelection - The type of the content to be rendered. Valid values are denoted by the constants ESIConst.EPMDOC_ALLCONTENT, ESIConst.EPMDOC_CADCONTENT, ESIConst.EPMDOC_REPRESENTATIONS.
- ESIEPMDocument_RepresentationCollectionFilter - Filter to be applied on representations. Any string is a valid value.
- ESIEPMDocument_SavedFilter - Navigation criteria to be applied on the CAD structure.
- ESIEPMDocument_UseDefaultRepresentations - Specifies whether or not to fetch only default representations.
auth- - Authentication information required for executing certain Windchill adapter webjects as part of the rendering process.wcAdapter- - Name of the Windchill adapter instance.- Returns:
- The Info*Engine collection that holds the ESI response.
- Throws:
WTException- if any of the invoked methods throws this exception. (non-Javadoc)- See Also:
-
getDocument
public void getDocument(Document document, Map<? extends ESITargetFacade, Map<String, throws WTExceptionObject>> paramMap, String auth, String wcAdapter, VdbBuilder vdbBuilder) Adds the rendered output VdbBuilder specified by the caller. This method is typically called by other renderer to render CAD document structure along with other caller object
Supported API: true- Parameters:
document- - The header CAD document of the CAD document structure to be rendered.paramMap- - Map holding ESITarget objects as keys and certain Maps as values; each value Map holds the names of certain parameters (that are used for navigating the CAD document structure and for generating the ESI response) and their values. If a certain parameter is not found in the value Map, its value is fetched from the corresponding target.
The value Map holds the following parameter names as keys:
- ESIEPMDocument_DeltaFlag - Specifies whether or not incremental changes to the CAD document structure need to be calculated; can take a value "true" or "false".
- ESIEPMDocument_MultiLevelFlag - The number of levels in the CAD document structure to be rendered.
- ESIEPMDocument_ContentSelection - The type of the content to be rendered. Valid values are denoted by the constants ESIConst.EPMDOC_ALLCONTENT, ESIConst.EPMDOC_CADCONTENT, ESIConst.EPMDOC_REPRESENTATIONS.
- ESIEPMDocument_RepresentationCollectionFilter - Filter to be applied on representations. Any string is a valid value.
- ESIEPMDocument_SavedFilter - Navigation criteria to be applied on the CAD structure.
- ESIEPMDocument_UseDefaultRepresentations - Specifies whether or not to fetch only default representations.
auth- - Authentication information required for executing certain Windchill adapter webjects as part of the rendering process.wcAdapter- - Name of the Windchill adapter instance.vdbBuilder- - An instance of VdbBuilder from other renderer.- Throws:
WTException- if any of the invoked methods throws this exception.- See Also:
-
compareDocuments
public Set<Persistable>[] compareDocuments(Document currentIteration, Document previousIteration) throws WTException Compares two iterations of a CAD Document. In the returned array of HashSets, the elements at indices 0, 1, 2 and 3 contain all the added, deleted, changed and unchanged links respectively. This method returns wt.epm.structure.EPMMemberLink and wt.epm.structure.EPMReferenceLink objects only.
Supported API: true- Specified by:
compareDocumentsin classESIAbstractDocumentsRenderer- Parameters:
currentIteration- - Currently published iteration of a CAD Document.previousIteration- - A previously published iteration of a CAD Document.- Returns:
- An array of Sets containing the difference information between the input CAD document iterations.
- Throws:
WTException- See Also:
-
getDeltaFlagName
Returns the delta flag name on the target for the CAD Document i.e ESIEPMDocument_DeltaFlag.
Supported API: true- Specified by:
getDeltaFlagNamein classESIAbstractDocumentsRenderer- Returns:
- The delta flag name.
- See Also:
-
getNumberOfLevelsFlagName
Returns the flag name on the target for the CAD Document that governs number of levels CAD structure to be rendered i.e ESIEPMDocument_MultiLevelFlag.
Supported API: true- Specified by:
getNumberOfLevelsFlagNamein classESIAbstractDocumentsRenderer- Returns:
- The number of levels flag name.
- See Also:
-
getFilterFlagName
Returns the flag name on the target for the CAD Document that specified saved filter to be used for CAD structure to be rendered i.e ESIEPMDocument_SavedFilter.
Supported API: true- Specified by:
getFilterFlagNamein classESIAbstractDocumentsRenderer- Returns:
- The navigation filter flag name.
- See Also:
-
getReferencedDocumentFlagName
Returns the flag name on the target for the CAD Document that specified whether or not reference CAD Document should be rendered while rendering CAD Document i.e ESIEPMReferenceDocument_Flag.
Supported API: true- Specified by:
getReferencedDocumentFlagNamein classESIAbstractDocumentsRenderer- Returns:
- The reference document flag name.
- See Also:
-
getAssemblyHeaderReleaseClass
Returns the Release Class for CAD document assembly objects
Supported API: true- Specified by:
getAssemblyHeaderReleaseClassin classESIAbstractDocumentsRenderer- Parameters:
cadAssemblyHeader- - The CAD document assembly object.- Returns:
- The Release Class for CAD document assembly Objects
- Throws:
WTException
-
getLeafReleaseClass
Returns the Release Class for leaf Objects
Supported API: true- Specified by:
getLeafReleaseClassin classESIAbstractDocumentsRenderer- Parameters:
leaf- - The leaf object.- Returns:
- The Release Class for leaf Objects
- Throws:
WTException
-
getStructureLinkClass
Returns the association class that defines structure. As this is a CAD Document structure returns class forEPMMemberLink
Supported API: true- Specified by:
getStructureLinkClassin classESIAbstractDocumentsRenderer- Returns:
- The link class that defines structure.
- See Also:
-
getReferencedLinkClass
Returns the association class that defines referenced association. As this is a CAD Document returns class forEPMReferenceLink
Supported API: true- Specified by:
getReferencedLinkClassin classESIAbstractDocumentsRenderer- Returns:
- The link class that defines reference association.
- See Also:
-
getAddedDocumentsGroupName
Returns the Logical group name for the AddedDocuments group.
Supported API: true- Specified by:
getAddedDocumentsGroupNamein classESIAbstractDocumentsRenderer- Returns:
- the group name for the added documents objects.
- See Also:
-
getChangedDocumentsGroupName
Returns the Logical group name for the ChangedDocuments group.
Supported API: true- Specified by:
getChangedDocumentsGroupNamein classESIAbstractDocumentsRenderer- Returns:
- the group name for the changed documents objects.
- See Also:
-
getUnchangedDocumentsGroupName
Returns the Logical group name for the UnchangedDocuments group.
Supported API: true- Specified by:
getUnchangedDocumentsGroupNamein classESIAbstractDocumentsRenderer- Returns:
- the group name for the unchanged documents objects.
- See Also:
-
getDeletdDocumentsGroupName
Returns the Logical group name for the DeletdDocuments group.
Supported API: true- Specified by:
getDeletdDocumentsGroupNamein classESIAbstractDocumentsRenderer- Returns:
- the group name for the deleted documents objects.
- See Also:
-
getAddedDocumentStructLinksGroupName
Returns the Logical group name for the AddedDocument Member Links group.
Supported API: true- Specified by:
getAddedDocumentStructLinksGroupNamein classESIAbstractDocumentsRenderer- Returns:
- the group name for the added document's structure links objects.
- See Also:
-
getChangedDocumentStructLinksGroupName
Returns the Logical group name for the ChangedDocument Member Links group.
Supported API: true- Specified by:
getChangedDocumentStructLinksGroupNamein classESIAbstractDocumentsRenderer- Returns:
- the group name for the changed document's structure links objects.
- See Also:
-
getUnchangedDocumentStructLinksGroupName
Returns the Logical group name for the UnchangedDocument Member Links group.
Supported API: true- Specified by:
getUnchangedDocumentStructLinksGroupNamein classESIAbstractDocumentsRenderer- Returns:
- the group name for the unchanged document's structure links objects.
- See Also:
-
getDeletedDocumentStructLinksGroupName
Returns the Logical group name for the DeletedDocument Member Links group.
Supported API: true- Specified by:
getDeletedDocumentStructLinksGroupNamein classESIAbstractDocumentsRenderer- Returns:
- the group name for the deleted document's structure links objects.
- See Also:
-
getAddedDocumentRefLinksGroupName
Returns the Logical group name for the AddedDocument Reference Links group.
Supported API: true- Specified by:
getAddedDocumentRefLinksGroupNamein classESIAbstractDocumentsRenderer- Returns:
- the group name for the added document's reference links objects.
- See Also:
-
getChangedDocumentRefLinksGroupName
Returns the Logical group name for the ChangedDocument Reference Links group.
Supported API: true- Specified by:
getChangedDocumentRefLinksGroupNamein classESIAbstractDocumentsRenderer- Returns:
- the group name for the changed document's reference links objects.
- See Also:
-
getUnchangedDocumentRefLinksGroupName
Returns the Logical group name for the UnchangedDocument Reference Links group.
Supported API: true- Specified by:
getUnchangedDocumentRefLinksGroupNamein classESIAbstractDocumentsRenderer- Returns:
- the group name for the unchanged document's reference links objects.
- See Also:
-
getDeletedDocumentRefLinksGroupName
Returns the Logical group name for the DeletedDocument Reference Links group.
Supported API: true- Specified by:
getDeletedDocumentRefLinksGroupNamein classESIAbstractDocumentsRenderer- Returns:
- the group name for the deleted document's reference links objects.
- See Also:
-
getIsAssemblyAttValue
Returns 'true' when specified document is EPMDocument is assembly otherwise 'false'.
Supported API: true- Specified by:
getIsAssemblyAttValuein classESIAbstractDocumentsRenderer- Parameters:
document- - The document for which it needs to determine value for IsAssembly attribute- Returns:
- the value that need to be set for 'IsAssembly' attribute
- See Also:
-