Indexes   

MHISaveAccess (Object)

Interface representing a means to (1) Save data to the Hub (2) Retrieve certain information on the loaded document

DNBIAMHISaveAccess is implemented on Document.
Applications and CAA partners should NOT implement this interface.


Method Index

GetDetailingNames
Gets the name of the currently loaded detailing and the names of all the other detailings that exist for the loaded object.
GetLoadParameters
Gets the interface to the Load Parameters object that contains all the information pertaining to the load of the document
SaveToPPRHub
This method saves a document from V5 to the PPR Hub Note: All Tools->Options settings will be respected during the save

Methods


o Func GetDetailingNames( oCurrentlyLoadedDetailing) As
Gets the name of the currently loaded detailing and the names of all the other detailings that exist for the loaded object.
Parameters:
oCurrentlyLoadedDetailing
[inout] The name of the currently loaded detailing. This will be empty if no detailing was loaded
oListDetailingNames
[out] The names of all the detailings that exist on the loaded object
Returns:
S_OK if names returned OK S_FALSE if no detailings exist for the loaded object E_FAIL on error
o Func GetLoadParameters() As
Gets the interface to the Load Parameters object that contains all the information pertaining to the load of the document
Parameters:
oLoadParameters
[out] Interface to the Load Parameters object
Returns:
S_OK if everything ran OK E_FAIL on error
o Func SaveToPPRHub( iDetailingName,
iOverwriteDetailing) As
This method saves a document from V5 to the PPR Hub Note: All Tools->Options settings will be respected during the save
Parameters:
iDetailingName
[in] The name of the detailing to save Note: If the Tools->Options 'Save Without Detailing' is checked ON, then NO detailing will be saved. This argument will be ignored and only the exposed data will be saved to the Hub
iOverwriteDetailing
[in] Option to indicate if a detailing with the same name needs to overwritten If this argument is FALSE and a detailing with the same name exists, then the save will be aborted (Neither detailing nor exposed data will be saved)
oListErrorMessages
[out] List of error messages about invalid or incorrect arguments (for example Tools->Options settings conflicting with input arguments to method). Note: This will not contain the error messages that occured during the save (for e.g., failure to save an object/relation in the database)
Returns:
S_OK if everything ran OK E_FAIL on error

Copyright © 2006, Dassault Systèmes. All rights reserved.