All Frameworks Class Hierarchy This Framework Previous Next Indexes
ENOVInterfaces Interface CATIEnovUEAffectedObject
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATIEnovUEAffectedObject
Usage: you can freely reimplement this interface.
interface CATIEnovUEAffectedObject
Class for Change Management (ENOVIA_ECO, ENOVIA_ECR, ENOVIA_AFLAction) Affected objects user exit implementation.
Role: This class provides customers the ability to customize the Create, Update and Delete processes of Affected Objects in the Change Management function.
Method Index
- o
ValidateCreateAffAfter(CATIVpmAFLAffectedObject_var&)
- Validate after Affected Object is created and linked to a CR/CO/Action.
- o
ValidateCreateAffBefore(CATIVpmFactoryObject_var&)
- Validate before Affected Object is created and linked to a CR/CO/Action.
- o
ValidateDeleteAffectedObject(CATIVpmAFLAffectedObject_var&)
- Validate Affected Object that is being removed from CO/CR/Action.
- o
ValidateUpdateAffectedObject(CATIVpmAFLAffectedObject_var&)
- Validate Affected Object that is being updated.
Methods
o ValidateCreateAffAfter
public virtual HRESULT ValidateCreateAffAfter( | CATIVpmAFLAffectedObject_var& | iAffObject) = 0 |
-
Validate after Affected Object is created and linked to a CR/CO/Action. This API is called right after
the Affected Object is created and linked to the CR/CO/Action.
- Parameters:
-
- iAffObject
- The Affected Object that is already linked to a CR/CO/Action. From iAffObject there are API
to get handle to the real object (ex: Part, Document etc.,)
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- OK to Create Affected Object
- E_FAIL
- Not OK to Create Affected Object. Push appropriate message when returning E_FAIL
- o ValidateCreateAffBefore
-
public virtual HRESULT ValidateCreateAffBefore( | const CATIVpmFactoryObject_var& | iRealObject) = 0 |
-
Validate before Affected Object is created and linked to a CR/CO/Action. This API is called just before
the Affected Object is created.
- Parameters:
-
- iRealObject
- The real object (ex: Part, Document etc., that is being linked to a CR/CO/Action)
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- OK to Create Affected Object
- E_FAIL
- Not OK to Create Affected Object. Push appropriate message when returning E_FAIL
- o ValidateDeleteAffectedObject
-
public virtual HRESULT ValidateDeleteAffectedObject( | CATIVpmAFLAffectedObject_var& | iAffObject) = 0 |
-
Validate Affected Object that is being removed from CO/CR/Action. This API is called just before the
Affected Object is being removed.
- Parameters:
-
- iAffObject
- The Affected Object that is being removed. From iAffObject there are API to get handle to the
real object (ex: Part, Document etc.,)
- o ValidateUpdateAffectedObject
-
public virtual HRESULT ValidateUpdateAffectedObject( | CATIVpmAFLAffectedObject_var& | iAffObject) = 0 |
-
Validate Affected Object that is being updated. This API is called just before the Affected Object
is being updated.
- Parameters:
-
- iAffObject
- The Affected Object that is being updated. From iAffObject there are API to get handle to the
real object (ex: Part, Document etc.,)
This object is included in the file: CATIEnovUEAffectedObject.h
If needed, your Imakefile.mk should include the module: GUIDENOVInterfaces