public interface PartFromPartBuilder extends PartBuilder
PartOperationCopyBuilder
.
This class will not support Save As if there are duplicate item ids in database.
Modifier and Type | Interface and Description |
---|---|
static class |
PartFromPartBuilder.FileSaveAs
This enum is used to specify which non-master parts and dependent files
should be saved during the save as operation.
|
PartBuilder.Operation, PartBuilder.PartFileNameData, PartBuilder.PartNumberData, PartBuilder.PartRevisionData
Modifier and Type | Method and Description |
---|---|
void |
commit()
Creates the new part that has been fully-specified by calling methods on this
builder.
|
void |
createNonmasterList()
Initializes the list of non-master parts that can be saved during the
save as operation.
|
PartFromPartBuilder.FileSaveAs |
dependentFileSaveAsOption()
Returns the dependent files to save during the save as operation
Deprecated in NX10 for "Save As of master parts" operation. |
boolean |
editNonmasterNameToSaveAs(String oldName,
String newName)
Sets the name the non-master part will get saved as.
|
String[] |
getNonmasterList()
Gets the list of non-master parts.
|
boolean |
getNonmasterToSaveAs(String partName)
Returns whether or not the non-master part specified will actually
get saved during the save as operation.
|
PartFromPartBuilder.FileSaveAs |
nonmasterSaveAsOption()
Returns the non-master parts to save during the save as operation
Deprecated in NX10 for "Save As of master parts" operation. |
void |
setDependentFileSaveAsOption(PartFromPartBuilder.FileSaveAs saveOption)
Sets the dependent files to save during the save as operation
Deprecated in NX10 for "Save As of master parts" operation. |
void |
setNonmasterSaveAsOption(PartFromPartBuilder.FileSaveAs saveOption)
Sets the non-master parts to save during the save as operation
Deprecated in NX10 for "Save As of master parts" operation. |
void |
setNonmasterToSaveAs(String partName,
boolean doSaveAs)
Sets whether or not the non-master part specified will actually
get saved during the save as operation.
|
assignPartFileName, assignPartFileName, assignPartNumber, assignPartNumber, assignPartRevision, assignPartRevision, createPartCreationObject, createPartSpec, newAlternateIdManager, newDatabaseAttributeManager, setAssignPartNumber, setAssignPartType, setContextOperation
_value, dispose, printTestData, printTestData
void setNonmasterSaveAsOption(PartFromPartBuilder.FileSaveAs saveOption) throws NXException, RemoteException
PartOperationCopyBuilder.getCopyNonMasterPartsOption(nxopen.pdm.LogicalObject)
.
saveOption
- NXException
RemoteException
PartFromPartBuilder.FileSaveAs nonmasterSaveAsOption() throws NXException, RemoteException
PartOperationCopyBuilder.getCopyNonMasterPartsOption(nxopen.pdm.LogicalObject)
.
NXException
RemoteException
void setDependentFileSaveAsOption(PartFromPartBuilder.FileSaveAs saveOption) throws NXException, RemoteException
PartOperationCopyBuilder.dependentFilesToCopyOption()
.
saveOption
- NXException
RemoteException
PartFromPartBuilder.FileSaveAs dependentFileSaveAsOption() throws NXException, RemoteException
PartOperationCopyBuilder.dependentFilesToCopyOption()
.
NXException
RemoteException
void createNonmasterList() throws NXException, RemoteException
PartOperationCopyBuilder.createNonMasterListForCopyLogicalObject(nxopen.pdm.LogicalObject)
.
NXException
RemoteException
String[] getNonmasterList() throws NXException, RemoteException
PartOperationCopyBuilder.getNonMasterListForCopyLogicalObject(nxopen.pdm.LogicalObject)
.
NXException
RemoteException
boolean getNonmasterToSaveAs(String partName) throws NXException, RemoteException
PartOperationCopyBuilder.isNonMasterForLogicalObjectBeingCopied(nxopen.pdm.LogicalObject, java.lang.String)
.
partName
- the non-master part that the caller
wants to save or not save NXException
RemoteException
void setNonmasterToSaveAs(String partName, boolean doSaveAs) throws NXException, RemoteException
PartOperationCopyBuilder.setSelectedNonMasterToCopy(nxopen.pdm.LogicalObject, java.lang.String)
.
partName
- the non-master part whose save option is being set here doSaveAs
- True means that this non-master part will be saved.
False means that this non-master part will not be saved.NXException
RemoteException
boolean editNonmasterNameToSaveAs(String oldName, String newName) throws NXException, RemoteException
PartOperationCopyBuilder.editNonMasterToCopyName(nxopen.pdm.LogicalObject, java.lang.String, java.lang.String)
.
oldName
- the non-master part whose save as name is being set here newName
- the new name NXException
RemoteException
void commit() throws NXException, RemoteException
Builder.commit()
instead.
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.