CATFunctionalModelerUseItf CATFctDeleteServices

Usage: you must use this class as is. You should never derive it.


public class CATFctDeleteServices

Class providing services enabling deletion of Functional PLM Components from database.

Role: This class provides services to delete Functional PLM Components (in a short transaction) from database.


Method Index


o DeleteFunctionalReferences(CATLISTP(CATIAdpPLMIdentificator)&)
Deletes a set of Functional References from database.

Methods


o DeleteFunctionalReferences
public static DeleteFunctionalReferences( iLReferencesToDelete)
Deletes a set of Functional References from database.
Role: This method deletes a set of Functional References from the database given their PLM Identificators (@see CATIAdpPLMIdentificator).
PLM Identificators can be retrieved from the result of a Query in the database.

A Reference can be deleted if it meets the following conditions:

Deletes a Functional Reference implies the following operations:

If any of the Functional References cannot be deleted, no modification will be performed.
Deletion is done in short transaction: once done, no rollback is possible.
Parameters:
iLReferencesToDelete
A list of PLM Identificator of the Functional References to delete.
Input Parameter
Returns:
S_OK if the methods succeeds and the provided Functional References and all the objects belonging to the scope deletion have been deleted from the database.
E_INVALIDARG if the input list iLReferencesToDelete is empty or any of the provided elements is not a Functional Reference.
E_FAIL if at least one of the Functional References can not be deleted from the database.
In this case, no Functional Reference is deleted. The blocking error can be accessed through protocol.

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

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.