All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATSchPlatformInterfaces Interface CATISchAppDeleteCheck2

System.IUnknown
  |
  +---CATISchAppDeleteCheck2
 

Usage: you can reimplement this interface by deriving the supplied CATEASchAppDeleteCheck2 adapter class.


interface CATISchAppDeleteCheck2

Interface to enable delete checking behavior of Schematic application objects.
Application must derive its implementation of this interface from CATEASchAppDeleteCheck2. Role: To provide approval information as to if an object can be deleted.

BOA information: this interface CANNOT be implemented using the BOA (Basic Object Adapter). To know more about the BOA, refer to the CAA Encyclopedia home page. Click Middleware at the bottom left, then click the Object Modeler tab page. Several articles deal with the BOA.

This interface should be used in conjunction with CATISchAppDeleteCheck
See also:
CATISchAppDeleteCheck


Method Index


o AppOkToDelete(CATBoolean*)
Reports if an application object can be deleted.
o AppOkToDeleteWithMessage(CATBoolean*,CATUnicodeString&,CATUnicodeString&)
Reports if an application object can be deleted.

Methods


o AppOkToDelete
public virtual HRESULT AppOkToDelete(CATBoolean* oOk) = 0
Reports if an application object can be deleted.
Parameters:
oOK
Pointer to the CATBoolean to receive the ok.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o AppOkToDeleteWithMessage
public virtual HRESULT AppOkToDeleteWithMessage(CATBoolean* oOk,
CATUnicodeString& oUCaption,
CATUnicodeString& oUMessage) = 0
Reports if an application object can be deleted. Also returns the caption and message text to be used as a feedback message for the delete operation.
Parameters:
oOK
Pointer to the CATBoolean to receive the ok.
oCaption
CATUnicodeString used for the caption of the message box.
oMessage
CATUnicodeString used as the feedback message.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed

This object is included in the file: CATISchAppDeleteCheck2.h

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