Interface representing a means to load data from the Hub into V5.
DNBIAMHIOpenAccess is implemented on Application.
Applications and CAA partners should NOT implement this interface.
Methods
Sub ConnectToPPRHub( iUsername, iPassword)
This method establishes a connection to the PPRHub
Parameters:
iUsername
[in] User Login name
dd>
iPassword
[in] User password
dd>
Returns:
S_OK if connection established OK
S_FALSE if connection is already established for user
E_FAIL if connection could not be established
dd>
Func CreateLoadParameters() As
This method creates an object which will contain all the necessary information
required for loading an object (and its structure) from a PPR Hub into V5
Parameters:
oLoadParameters
[out] Interface to the created Load Parameters object
dd>
Returns:
S_OK if object created ok and interface returned OK
E_FAIL on error
dd>
Func LoadFromPPRHub( iLoadParameters, iCreateDefaultWindow, iIsReadOnly, oErrorMessages) As
This method loads an object (and it structure) from a PPR Hub project into V5
Note: All Tools->Options settings will be respected during the load
Parameters:
iLoadParameters
[in] The object which contains all the necessary information for the load
dd>
iCreateDefaultWindow
[in] Option to indicate whether a window needs to be created for the document or not
If no window is created, then caller is responsible for life cycle of document
dd>
iIsReadOnly
[in] Option to indicate if document is to loaded in read-only mode
dd>
oLoadedDoc
[out] The V5 document into which data from the Hub is loaded
dd>
oErrorMessages
[out] The list of message about invalid or insufficient agruments passed to the method
dd>
Returns:
S_OK if everything ran OK
E_FAIL on error
dd>
Sub SetEnvironmentForVBSLaunch( iObjId, iFilter, iParentId, iProjectId, iUserName, iPwd, oErrorMessages)
This method sets the environment required for Direct Launch
Through given VB Script
Parameters:
iObjId
[in] process object ECB ID. Which needs to be opened in DPM
dd>