All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ENOVInterfaces Interface ENOVITransfer

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---ENOVITransfer
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface ENOVITransfer

Interface to transfer the ownership of an object.
Role: Transfer the ownership for an object.


Method Index


o Transfer(CATUnicodeString&,CATUnicodeString&,CATUnicodeString&,CATUnicodeString&,boolean,CATUnicodeString&)
Transfer an object to a new owner(iUser, iOrganization, iProject).

Methods


o Transfer
public virtual HRESULT Transfer( const CATUnicodeString& iUser,
const CATUnicodeString& iOrgnization,
const CATUnicodeString& iProject,
const CATUnicodeString& iDescription,
const boolean iSendEmail,
CATUnicodeString& oErrorMessage)= 0
Transfer an object to a new owner(iUser, iOrganization, iProject).
Parameters:
iUser
The user ID for the new owner
iOrgnization
The orgnization ID for the new owner
iProject
The project ID for the new owner
iDescription
The description that goes for the transfer
iSendEmail
The boolean (CATBoolean) value. If TRUE, an email is sent to the new owner
oErrorMessage
The error description if the transfer fails
Returns:
Legal values:
S_OK
Success - The object has been transferred to the new owner
E_FAIL
Failure - The transfer failed. Check oErrorMessage for the error description

This object is included in the file: ENOVITransfer.h
If needed, your Imakefile.mk should include the module: GUIDENOVInterfaces

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