public interface SmartSaveBuilder extends Builder, IAttributeSourceObjectBuilder
PdmSession.createSmartSaveBuilderWithContext(nxopen.pdm.SmartSaveContext)
Modifier and Type | Interface and Description |
---|---|
static class |
SmartSaveBuilder.SaveType
Represents an File Save type .
|
Modifier and Type | Method and Description |
---|---|
void |
assignRemoveProjects(SmartSaveObject[] smartSaveObjects,
String[] projectNames,
Session.ProjectAssignmentState[] assignmentStates)
Assign or remove projects to/from objects
License requirements: None. |
boolean |
canPerformDefaultSave()
Checks whether smart save operation can be performed with default operation type set
License requirements: None. |
void |
clearValidationFailures()
Clears operation failures if any
License requirements: None. |
void |
createSpecificationsForSmartSaveObjects(SmartSaveObject[] smartSaveObjects)
Create new specifications for Logical Objects
License requirements: None. |
boolean |
debugDumpEnabled()
Returns the debug dump enabled
License requirements: None. |
ErrorMessageHandler |
getErrorMessageHandler(boolean refresh)
Returns ErrorMessageHandler
License requirements: None. |
ErrorList |
getOperationFailures()
Returns operation failures
License requirements: None. |
SmartSaveObject[] |
getSmartSaveObjects()
Gets the smart save objects for the modified objects in session.
|
void |
onOperationTypeChanged(SmartSaveObject[] smartSaveObjects,
AttributePropertiesBuilder.OperationType operationType)
Updates the given smart save objects after operation type change.
|
void |
setDebugDumpEnabled(boolean debugDumpEnabled)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setUseNewSortForDebug(boolean useNewSortForDebug)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
updateSmartSaveObjectsOnBuilder()
Updates the smart save objects with valid operation type and dependencies
License requirements: None. |
boolean |
useNewSortForDebug()
Returns the new debug sort enabled
License requirements: None. |
void |
validateSmartSaveObjects()
Validates whether the save operation can be performed on the smart save objects
License requirements: assemblies ("ASSEMBLIES MODULE") . |
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
autoAssignAttributes, autoAssignAttributesWithNamingPattern, createAttributeTitleToNamingPatternMap
SmartSaveObject[] getSmartSaveObjects() throws NXException, RemoteException
NXException
RemoteException
void onOperationTypeChanged(SmartSaveObject[] smartSaveObjects, AttributePropertiesBuilder.OperationType operationType) throws NXException, RemoteException
smartSaveObjects
- the objects for which operation type is changedoperationType
- the new operation typeNXException
RemoteException
ErrorList getOperationFailures() throws NXException, RemoteException
NXException
RemoteException
void clearValidationFailures() throws NXException, RemoteException
NXException
RemoteException
void updateSmartSaveObjectsOnBuilder() throws NXException, RemoteException
NXException
RemoteException
boolean canPerformDefaultSave() throws NXException, RemoteException
NXException
RemoteException
boolean debugDumpEnabled() throws NXException, RemoteException
NXException
RemoteException
void setDebugDumpEnabled(boolean debugDumpEnabled) throws NXException, RemoteException
debugDumpEnabled
- NXException
RemoteException
boolean useNewSortForDebug() throws NXException, RemoteException
NXException
RemoteException
void setUseNewSortForDebug(boolean useNewSortForDebug) throws NXException, RemoteException
useNewSortForDebug
- NXException
RemoteException
void validateSmartSaveObjects() throws NXException, RemoteException
NXException
RemoteException
void createSpecificationsForSmartSaveObjects(SmartSaveObject[] smartSaveObjects) throws NXException, RemoteException
smartSaveObjects
- NXException
RemoteException
ErrorMessageHandler getErrorMessageHandler(boolean refresh) throws NXException, RemoteException
refresh
- NXException
RemoteException
void assignRemoveProjects(SmartSaveObject[] smartSaveObjects, String[] projectNames, Session.ProjectAssignmentState[] assignmentStates) throws NXException, RemoteException
smartSaveObjects
- Array of objects to assign/remove projects toprojectNames
- names of the projects to assignassignmentStates
- assignment statesNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.