ICommonspace Class Reference

Inherits ITransactional.

Inheritance diagram for ICommonspace:

Inheritance graph
[legend]
List of all members.

Detailed Description

Represent a connection to Pro/INTRALINK.

There can be at most one connection per process, so this class can be instantiated at most once (through IServer::Commonspace()).


Public Member Functions

HRESULT Connect ([in] BSTR in_user_name,[in] BSTR in_password,[in, defaultvalue(VARIANT_TRUE)] VARIANT_BOOL in_allow_reconnect,[out, retval] VARIANT_BOOL *out_retval)
 Connects or re-connects to Pro/INTRALINK Commonspace.
HRESULT CreateRTPFormInfo ([in] BSTR in_name,[in] BSTR in_description,[in] IFolder *in_folder,[out, retval] IRTPFormInfo **out_retval)
 Begins process of RTP creation.
HRESULT Disconnect ()
 Disconnects from Pro/INTRALINK and releases license. Does nothing if we are not connected.
HRESULT GetFolderPath ([in] BSTR in_path,[in, defaultvalue(VARIANT_FALSE)] VARIANT_BOOL in_must_exist,[out, retval, satype(VARIANT)] SAFEARRAY **out_retval)
 Retrieves all components of the given folder path.
HRESULT GetRTPByName ([in] BSTR in_name,[out, retval] IRTP **out_retval)
HRESULT GroupAttributeDefined ([in] BSTR in_name,[out, retval] VARIANT_BOOL *out_retval)
 Checks if group attribute with given name is defined.
HRESULT ProductItemAttributeDefined ([in] BSTR in_name,[out, retval] VARIANT_BOOL *out_retval)
HRESULT ReleaseLicense ()
 Releases license. This can be used to release license while we are still connected.
HRESULT TakeLicense ()
 Grabs one license, without necessarily connecting to Pro/INTRALINK.

Properties

VARIANT_BOOL Connected [get]
 VARIANT_TRUE if we are already connected to Pro/INTRALINK Commonspace.
ICommonspaceProductItems ProductItems [get]
 PIs that were retrieved from the Commonspace so far.
IFolder RootFolder [get]
 The root folder of this Commonspace.
IUser User [get]
 Currently logged user. NULL is we we are not connected.


Generated on Tue Jan 23 22:15:19 2007 for ACI for Pro/INTRALINK by  doxygen 1.5.1-p1