public interface PartOperationImportBuilder extends PartOperationBuilder
PdmSession.createImportOperationBuilder()
Property | Value |
---|---|
ConversionType | AsID |
DefaultAction | Overwrite |
IncludeComponentParts | 1 |
IncludeDependentParts | 0 |
NumberingSource | PartIDGenerator |
UseItemTypeFromPartFile | 0 |
ValidationAbortImportOnFail | 0 |
ValidationMode | Off |
ValidationRuleSetBrowseOption | Native |
ValidationTreatOutdatedAsPass | 0 |
ValidationTreatWarningAsPass | 1 |
Modifier and Type | Interface and Description |
---|---|
static class |
PartOperationImportBuilder.ConversionRule
This enum is used to specify the conversion rule for
PartOperationImportBuilder.NumberingSourceOption.OSFILENAME . |
static class |
PartOperationImportBuilder.DefaultProjectInformationData
This class holds the data returned from
getDefaultProjectInformation() |
static class |
PartOperationImportBuilder.ExistingPartAction
This enum is used to specify the default action for import.
|
static class |
PartOperationImportBuilder.NumberingSourceOption
This enum is used to specify the default behavior for auto assign.
|
static class |
PartOperationImportBuilder.Validation
This enum is used to specify the validation mode.
|
static class |
PartOperationImportBuilder.ValidationRuleSetFileBrowseOption
This enum is used to specify the option to browse the validation rule set file from.
|
PartOperationBuilder.DependentFileSaveAs, PartOperationBuilder.NonMasterSaveAs, PartOperationBuilder.OperationType
Modifier and Type | Method and Description |
---|---|
boolean |
addCAENonMastersToImport()
Returns the add non master to import
License requirements: None. |
boolean |
addDfaMixins()
Returns the add dfa mixins
License requirements: None. |
String[] |
addParts(String[] parts)
Add parts to import
License requirements: assemblies ("ASSEMBLIES MODULE") . |
String[] |
addPartsFromFolder(String folderPath)
Add parts to import from selected folder
License requirements: assemblies ("ASSEMBLIES MODULE") . |
String[] |
addPartsUsingLogFile(String logFilePath)
Add parts using log file either clone log file or import log file
License requirements: assemblies ("ASSEMBLIES MODULE") . |
boolean |
assignAlternateIds()
Returns the method returns the value indicating whether alternate IDs should be created during import
License requirements: None. |
String |
associatedFilesRootDirectory()
Returns the associated files root directory
License requirements: None. |
PartOperationImportBuilder.ConversionRule |
conversionType()
Returns the conversion type
License requirements: None. |
PartOperationImportBuilder.ExistingPartAction |
defaultAction()
Returns the default action
License requirements: None. |
String |
defaultAlternateIdContext()
Returns the method returns the IdContext to be used while assigning alternate IDs during import
License requirements: None. |
String |
defaultAlternateIdType()
Returns the method returns the IdType to be used while assigning alternate IDs during import
License requirements: None. |
String |
defaultDescription()
Returns the default description
License requirements: None. |
String |
defaultItemType()
Returns the default item type
License requirements: None. |
String |
defaultName()
Returns the default name
License requirements: None. |
String |
defaultOwningGroup()
Returns the default owning group
License requirements: None. |
String |
defaultOwningUser()
Returns the default owning user
License requirements: None. |
void |
executeDryRun()
Execute the dry run
License requirements: assemblies ("ASSEMBLIES MODULE") . |
PartOperationImportBuilder.DefaultProjectInformationData |
getDefaultProjectInformation()
Get default projects information
License requirements: assemblies ("ASSEMBLIES MODULE") . |
String[] |
getDfaFiles()
Get the dfa files
License requirements: None. |
LogicalObject |
getLogicalObjectForPart(String partFilename)
Gets the known logical object for the given part filename.
|
LogicalObject[] |
getUpdatedLogicalObjects()
Gets the updated logical object objects for the parts after item type, relation type or
master part for nonmaster is set or changed.
|
boolean |
includeComponentParts()
Returns the include component parts
License requirements: None. |
boolean |
includeDependentParts()
Returns the include dependent parts
License requirements: None. |
String |
numberAttr()
Returns the number attr
License requirements: None. |
PartOperationImportBuilder.NumberingSourceOption |
numberingSource()
Returns the numbering source
License requirements: None. |
String |
outputLogFile()
Returns the output log file
License requirements: None. |
String |
prefixStr()
Returns the prefix str
License requirements: None. |
boolean |
productInterfaces()
Deprecated.
Deprecated in NX10.0.2. It is no longer supported.
|
boolean |
publishOptionalInfo()
Returns the optional information publishing
License requirements: None. |
void |
removeDfaFile(String filename)
Remove the dfa file
License requirements: assemblies ("ASSEMBLIES MODULE") . |
String |
replaceWithStr()
Returns the replace with str
License requirements: None. |
void |
resetAttributes(LogicalObject[] logicalObjects)
Clear all attributes from the selected logical objects
License requirements: assemblies ("ASSEMBLIES MODULE") . |
String |
revisionAttr()
Returns the revision attr
License requirements: None. |
void |
setAddCAENonMastersToImport(boolean addCAENonMasters)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setAddDfaMixins(boolean addDfaMixins)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setAssignAlternateIds(boolean createAlternateIDs)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setAssociatedFilesRootDirectory(String foldername)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setConversionType(PartOperationImportBuilder.ConversionRule conversionType)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setDefaultAction(PartOperationImportBuilder.ExistingPartAction defaultAction)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setDefaultAlternateIdContext(String filename)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setDefaultAlternateIdType(String filename)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setDefaultDescription(String defaultDescription)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setDefaultItemType(String defaultItemType)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setDefaultName(String defaultName)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setDefaultOwningGroup(String defaultOwningGroup)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setDefaultOwningUser(String defaultOwningUser)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setDefaultProjectInformation(String[] projectNames,
Session.ProjectAssignmentState[] assignmentStates)
Set default projects information
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setDfaFiles(String[] dfaFiles)
Set the dfa files
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setExistingPartAttributes(LogicalObject logicalObject,
String existingPartCliSpec)
Set attributes of existing part on the given logical object so that
the part gets imported into specified existing item based on action.
|
void |
setIncludeComponentParts(boolean includeComponentParts)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setIncludeDependentParts(boolean includeDependentParts)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setNumberAttr(String numberAttr)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setNumberingSource(PartOperationImportBuilder.NumberingSourceOption numberingSource)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setOutputLogFile(String filename)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setPrefixStr(String prefixStr)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setProductInterfaces(boolean productInterfaces)
Deprecated.
Deprecated in NX10.0.2. It is no longer supported.
|
void |
setPublishOptionalInfo(boolean publishOptionalInfo)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setReplaceWithStr(String replaceWithStr)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setRevisionAttr(String revisionAttr)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setStringToReplace(String stringToReplace)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setSuffixStr(String suffixStr)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setSyncArrangements(boolean syncArrangements)
Deprecated.
Deprecated in NX10.0.2. It is no longer supported.
|
void |
setUseItemTypeFromPartFile(boolean useItemTypeFromPartFile)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setValidationAbortImportOnFail(boolean validationAbortImportOnFail)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setValidationMode(PartOperationImportBuilder.Validation validationMode)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setValidationRuleSetBrowseOption(PartOperationImportBuilder.ValidationRuleSetFileBrowseOption validationRuleSetBrowseOption)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setValidationRuleSetFile(String filename)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setValidationTreatOutdatedAsPass(boolean validationTreatOutdatedAsPass)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setValidationTreatWarningAsPass(boolean validationTreatWarningAsPass)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
String |
stringToReplace()
Returns the string to replace
License requirements: None. |
String |
suffixStr()
Returns the suffix str
License requirements: None. |
boolean |
syncArrangements()
Deprecated.
Deprecated in NX10.0.2. It is no longer supported.
|
void |
updateTeamcenterInformation(LogicalObject[] logicalObjects)
Update the Teamcenter information string attribute TCIN_IMPORT_TEAMCENTER_INFORMATION on given logical objects
License requirements: assemblies ("ASSEMBLIES MODULE") . |
boolean |
useItemTypeFromPartFile()
Returns the flag to specify if Import can use the Item Type already present in the part during import
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
validateLogicalObjects()
Validate the user inputs for following things:
- Validates whether the input property values are valid according to defined naming rules and specified user exits for the input property
|
boolean |
validationAbortImportOnFail()
Returns the validation abort import on fail
License requirements: None. |
PartOperationImportBuilder.Validation |
validationMode()
Returns the validation mode
License requirements: None. |
PartOperationImportBuilder.ValidationRuleSetFileBrowseOption |
validationRuleSetBrowseOption()
Returns the validation rule set browse option
License requirements: None. |
String |
validationRuleSetFile()
Returns the validation rule set file
License requirements: None. |
boolean |
validationTreatOutdatedAsPass()
Returns the validation treat outdated as pass
License requirements: None. |
boolean |
validationTreatWarningAsPass()
Returns the validation treat warning as pass
License requirements: None. |
addRelatedPartToOperate, clearWarnings, createLogicalObjects, createNonMasterListForLogicalObject, createSpecificationsForLogicalObjects, defaultDestinationFolder, dependentFileSaveAsOption, editNonMasterName, getAlternateIDManager, getDialogOperation, getErrorMessageHandler, getNonMasterCopyOption, getNonMasterList, getOperationFailures, isNonMasterBeingCopied, replaceAllComponents, setDefaultDestinationFolder, setDependentFileSaveAsOption, setDialogOperation, setNonMasterSaveAsOption, setReplaceAllComponents, setSelectedNonMasterToSaveAs, setSelectedParts, validateLogicalObjectsToCommit
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
autoAssignAttributes, autoAssignAttributesWithNamingPattern, createAttributeTitleToNamingPatternMap
String[] addParts(String[] parts) throws NXException, RemoteException
parts
- NXException
RemoteException
String[] addPartsUsingLogFile(String logFilePath) throws NXException, RemoteException
logFilePath
- NXException
RemoteException
String[] addPartsFromFolder(String folderPath) throws NXException, RemoteException
folderPath
- NXException
RemoteException
LogicalObject[] getUpdatedLogicalObjects() throws NXException, RemoteException
NXException
RemoteException
LogicalObject getLogicalObjectForPart(String partFilename) throws NXException, RemoteException
partFilename
- NXException
RemoteException
boolean includeComponentParts() throws NXException, RemoteException
NXException
RemoteException
void setIncludeComponentParts(boolean includeComponentParts) throws NXException, RemoteException
includeComponentParts
- NXException
RemoteException
boolean includeDependentParts() throws NXException, RemoteException
NXException
RemoteException
void setIncludeDependentParts(boolean includeDependentParts) throws NXException, RemoteException
includeDependentParts
- NXException
RemoteException
boolean syncArrangements() throws NXException, RemoteException
NXException
RemoteException
void setSyncArrangements(boolean syncArrangements) throws NXException, RemoteException
syncArrangements
- NXException
RemoteException
boolean productInterfaces() throws NXException, RemoteException
NXException
RemoteException
void setProductInterfaces(boolean productInterfaces) throws NXException, RemoteException
productInterfaces
- NXException
RemoteException
void resetAttributes(LogicalObject[] logicalObjects) throws NXException, RemoteException
logicalObjects
- NXException
RemoteException
void executeDryRun() throws NXException, RemoteException
NXException
RemoteException
PartOperationImportBuilder.ExistingPartAction defaultAction() throws NXException, RemoteException
NXException
RemoteException
void setDefaultAction(PartOperationImportBuilder.ExistingPartAction defaultAction) throws NXException, RemoteException
defaultAction
- NXException
RemoteException
String defaultItemType() throws NXException, RemoteException
NXException
RemoteException
void setDefaultItemType(String defaultItemType) throws NXException, RemoteException
defaultItemType
- NXException
RemoteException
boolean addCAENonMastersToImport() throws NXException, RemoteException
NXException
RemoteException
void setAddCAENonMastersToImport(boolean addCAENonMasters) throws NXException, RemoteException
addCAENonMasters
- NXException
RemoteException
String defaultName() throws NXException, RemoteException
NXException
RemoteException
void setDefaultName(String defaultName) throws NXException, RemoteException
defaultName
- NXException
RemoteException
String defaultDescription() throws NXException, RemoteException
NXException
RemoteException
void setDefaultDescription(String defaultDescription) throws NXException, RemoteException
defaultDescription
- NXException
RemoteException
PartOperationImportBuilder.NumberingSourceOption numberingSource() throws NXException, RemoteException
NXException
RemoteException
void setNumberingSource(PartOperationImportBuilder.NumberingSourceOption numberingSource) throws NXException, RemoteException
numberingSource
- NXException
RemoteException
PartOperationImportBuilder.ConversionRule conversionType() throws NXException, RemoteException
NXException
RemoteException
void setConversionType(PartOperationImportBuilder.ConversionRule conversionType) throws NXException, RemoteException
conversionType
- NXException
RemoteException
String prefixStr() throws NXException, RemoteException
NXException
RemoteException
void setPrefixStr(String prefixStr) throws NXException, RemoteException
prefixStr
- NXException
RemoteException
String suffixStr() throws NXException, RemoteException
NXException
RemoteException
void setSuffixStr(String suffixStr) throws NXException, RemoteException
suffixStr
- NXException
RemoteException
String stringToReplace() throws NXException, RemoteException
NXException
RemoteException
void setStringToReplace(String stringToReplace) throws NXException, RemoteException
stringToReplace
- NXException
RemoteException
String replaceWithStr() throws NXException, RemoteException
NXException
RemoteException
void setReplaceWithStr(String replaceWithStr) throws NXException, RemoteException
replaceWithStr
- NXException
RemoteException
String numberAttr() throws NXException, RemoteException
NXException
RemoteException
void setNumberAttr(String numberAttr) throws NXException, RemoteException
numberAttr
- NXException
RemoteException
String revisionAttr() throws NXException, RemoteException
NXException
RemoteException
void setRevisionAttr(String revisionAttr) throws NXException, RemoteException
revisionAttr
- NXException
RemoteException
String outputLogFile() throws NXException, RemoteException
NXException
RemoteException
void setOutputLogFile(String filename) throws NXException, RemoteException
filename
- NXException
RemoteException
String associatedFilesRootDirectory() throws NXException, RemoteException
NXException
RemoteException
void setAssociatedFilesRootDirectory(String foldername) throws NXException, RemoteException
foldername
- NXException
RemoteException
String defaultOwningUser() throws NXException, RemoteException
NXException
RemoteException
void setDefaultOwningUser(String defaultOwningUser) throws NXException, RemoteException
defaultOwningUser
- NXException
RemoteException
String defaultOwningGroup() throws NXException, RemoteException
NXException
RemoteException
void setPublishOptionalInfo(boolean publishOptionalInfo) throws NXException, RemoteException
publishOptionalInfo
- NXException
RemoteException
boolean publishOptionalInfo() throws NXException, RemoteException
NXException
RemoteException
void setDefaultOwningGroup(String defaultOwningGroup) throws NXException, RemoteException
defaultOwningGroup
- NXException
RemoteException
PartOperationImportBuilder.DefaultProjectInformationData getDefaultProjectInformation() throws NXException, RemoteException
NXException
RemoteException
void setDefaultProjectInformation(String[] projectNames, Session.ProjectAssignmentState[] assignmentStates) throws NXException, RemoteException
projectNames
- names of the projects to assignassignmentStates
- assignment statesNXException
RemoteException
PartOperationImportBuilder.Validation validationMode() throws NXException, RemoteException
NXException
RemoteException
void setValidationMode(PartOperationImportBuilder.Validation validationMode) throws NXException, RemoteException
validationMode
- NXException
RemoteException
PartOperationImportBuilder.ValidationRuleSetFileBrowseOption validationRuleSetBrowseOption() throws NXException, RemoteException
NXException
RemoteException
void setValidationRuleSetBrowseOption(PartOperationImportBuilder.ValidationRuleSetFileBrowseOption validationRuleSetBrowseOption) throws NXException, RemoteException
validationRuleSetBrowseOption
- NXException
RemoteException
String validationRuleSetFile() throws NXException, RemoteException
NXException
RemoteException
void setValidationRuleSetFile(String filename) throws NXException, RemoteException
filename
- NXException
RemoteException
boolean validationTreatWarningAsPass() throws NXException, RemoteException
NXException
RemoteException
void setValidationTreatWarningAsPass(boolean validationTreatWarningAsPass) throws NXException, RemoteException
validationTreatWarningAsPass
- NXException
RemoteException
boolean validationTreatOutdatedAsPass() throws NXException, RemoteException
NXException
RemoteException
void setValidationTreatOutdatedAsPass(boolean validationTreatOutdatedAsPass) throws NXException, RemoteException
validationTreatOutdatedAsPass
- NXException
RemoteException
boolean validationAbortImportOnFail() throws NXException, RemoteException
NXException
RemoteException
void setValidationAbortImportOnFail(boolean validationAbortImportOnFail) throws NXException, RemoteException
validationAbortImportOnFail
- NXException
RemoteException
boolean addDfaMixins() throws NXException, RemoteException
NXException
RemoteException
void setAddDfaMixins(boolean addDfaMixins) throws NXException, RemoteException
addDfaMixins
- NXException
RemoteException
String[] getDfaFiles() throws NXException, RemoteException
NXException
RemoteException
void setDfaFiles(String[] dfaFiles) throws NXException, RemoteException
dfaFiles
- NXException
RemoteException
void removeDfaFile(String filename) throws NXException, RemoteException
filename
- NXException
RemoteException
void setExistingPartAttributes(LogicalObject logicalObject, String existingPartCliSpec) throws NXException, RemoteException
logicalObject
- existingPartCliSpec
- NXException
RemoteException
void validateLogicalObjects() throws NXException, RemoteException
NXException
RemoteException
void updateTeamcenterInformation(LogicalObject[] logicalObjects) throws NXException, RemoteException
logicalObjects
- NXException
RemoteException
void setUseItemTypeFromPartFile(boolean useItemTypeFromPartFile) throws NXException, RemoteException
useItemTypeFromPartFile
- NXException
RemoteException
boolean useItemTypeFromPartFile() throws NXException, RemoteException
NXException
RemoteException
String defaultAlternateIdContext() throws NXException, RemoteException
NXException
RemoteException
void setDefaultAlternateIdContext(String filename) throws NXException, RemoteException
filename
- NXException
RemoteException
String defaultAlternateIdType() throws NXException, RemoteException
NXException
RemoteException
void setDefaultAlternateIdType(String filename) throws NXException, RemoteException
filename
- NXException
RemoteException
boolean assignAlternateIds() throws NXException, RemoteException
NXException
RemoteException
void setAssignAlternateIds(boolean createAlternateIDs) throws NXException, RemoteException
createAlternateIDs
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.