All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ENOVInterfaces Interface ENOVIFilterVersion

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

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


interface ENOVIFilterVersion

Interface to Version ProductSpecifications and Config Handlers.
Role: The ENOVIFilterVersion enables you to:


Method Index


o CreateNewVersion(CATBaseUnknown_var&)
Creates a New version.
o GetAllVersions(CATLISTV(CATBaseUnknown_var)&)
Gets all the versions of the ProductSpecification or ConfigHandler including the one on which this method is called.
o GetFirstVersion(CATBaseUnknown_var&)
Gets the first(original) version of the ProductSpecification or ConfigHandler.
o GetLatestVersion(CATBaseUnknown_var&)
Gets the latest version of the ProductSpecification or ConfigHandler.

Methods


o CreateNewVersion
public virtual HRESULT CreateNewVersion(CATBaseUnknown_var& oFilterVersion)=0
Creates a New version.
Parameters:
oFilterVersion
Output value - The CATBaseUnknown_var pointer of the object(ProductSpec or ConfigHandler) being versioned
Returns:
An HRESULT
Legal values:
S_OK
The objects is successfully revisioned and the interface pointer is successfully returned
E_FAIL
Failed to version the Object
o GetAllVersions
public virtual HRESULT GetAllVersions(CATLISTV(CATBaseUnknown_var)& oList)=0
Gets all the versions of the ProductSpecification or ConfigHandler including the one on which this method is called.
Parameters:
oList
Output value - The list CATBaseUnknown_var pointer of the each existing version(ProductSpec or ConfigHandler)
Returns:
An HRESULT
Legal values:
S_OK
The objects are successfully retrieved and the interface pointers are successfully returned
E_FAIL
Failed to retrieve the Object
o GetFirstVersion
public virtual HRESULT GetFirstVersion(CATBaseUnknown_var& oFilterVersion)=0
Gets the first(original) version of the ProductSpecification or ConfigHandler.
Parameters:
oFilterVersion
Output value - The CATBaseUnknown_var pointer of the first version(ProductSpec or ConfigHandler)
Returns:
An HRESULT
Legal values:
S_OK
The object is successfully retrieved and the interface pointer is successfully returned
E_FAIL
Failed to retrieve the Object
o GetLatestVersion
public virtual HRESULT GetLatestVersion(CATBaseUnknown_var& oFilterVersion)=0
Gets the latest version of the ProductSpecification or ConfigHandler.
Parameters:
oFilterVersion
Output value - The CATBaseUnknown_var pointer of the latest version(ProductSpec or ConfigHandler)
Returns:
An HRESULT
Legal values:
S_OK
The object is successfully retrieved and the interface pointer is successfully returned
E_FAIL
Failed to retrieve the Object

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

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