All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ENOVInterfaces Interface ENOVIActionEvents

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

Usage: you can freely reimplement this interface.


interface ENOVIActionEvents

Interface to events raised in Change Management.

Role:Class to be implemented by a client who wants to subscribe to events raised in Change Management. Events onBeforeapplyTransition and onAfterapplyTransition will be fired during change status.


Method Index


o onAfterapplyTransition(ENOVIEvent_var&,HRESULT&)
Method called when the event onAfterapplyTransition is emitted at step AFTER.
o onBeforeapplyTransition(ENOVIEvent_var&,HRESULT&)
Method called when the event onBeforeapplyTransition is emitted at step BEFORE.
o onKo(ENOVIEvent_var&,HRESULT&)
Method called when the event onKo is emitted at step BEFORE.

Methods


o onAfterapplyTransition
public virtual HRESULT onAfterapplyTransition( const ENOVIEvent_var& iRaisedEvent,
HRESULT& ioNotifyReturnCode) = 0
Method called when the event onAfterapplyTransition is emitted at step AFTER.
Role: to call back clients which subscribed to onAfterapplyTransition - step after - on the object.
Parameters:
iRaisedEvent
the instance of event which is currently raised.
ioNotifyReturnCode
the status to be returned by the method :
Returns:
S_OK
if everything was right
E_FAIL
if there was a problem
See also:
ENOVIEvent
o onBeforeapplyTransition
public virtual HRESULT onBeforeapplyTransition( const ENOVIEvent_var& iRaisedEvent,
HRESULT& ioNotifyReturnCode) = 0
Method called when the event onBeforeapplyTransition is emitted at step BEFORE.
Role: to call back clients which subscribed to onBeforeapplyTransition - step before - on the object.
Parameters:
iRaisedEvent
the instance of event which is currently raised.
ioNotifyReturnCode
the status to be returned by the method :
Returns:
S_OK
if everything was right
E_FAIL
if there was a problem
See also:
ENOVIEvent
o onKo
public virtual HRESULT onKo( const ENOVIEvent_var& iRaisedEvent,
HRESULT& ioNotifyReturnCode) = 0
Method called when the event onKo is emitted at step BEFORE.
Role: to call back clients which subscribed to onKo - step before - on the object. This step is emitted before creation of the login session is performed.
Parameters:
iRaisedEvent
the instance of event which is currently raised.
ioNotifyReturnCode
the status to be returned by the method :
Returns:
S_OK
if everything was right
E_FAIL
if there was a problem
See also:
ENOVIEvent

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

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