All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ProductStructureInterfaces Interface CATIPrdPLMPersistency

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

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


interface CATIPrdPLMPersistency

Provide PDM information for product document.


Method Index


o get_PersistencyHost(PersistencyHost&)
Returns the type of the PDM server that manage the persistency of the document.
o get_PersistencyMode(PersistencyMode&)
Returns the Persistency mode associated to the document.

Enumerated Type Index


o PersistencyHost
Type of the PDM server that hosts the document.
o PersistencyMode
Modes available to store a document into the selected PMD server.

Methods


o get_PersistencyHost
public virtual HRESULT get_PersistencyHost(PersistencyHost& oHost)= 0
Returns the type of the PDM server that manage the persistency of the document.
Parameters:
oHost
Type of the PMD server that hosts the document
Returns:
E_FAIL When any internal error occurs S_OK otherwise.
o get_PersistencyMode
public virtual HRESULT get_PersistencyMode(PersistencyMode& oMode)= 0
Returns the Persistency mode associated to the document.
Parameters:
oMode
Persistency mode of the document
Returns:
E_FAIL When any internal error occurs S_OK otherwise.

Enumerated Types


o PersistencyHost
enum PersistencyHost {
  VPM4,
  VPM5,
  Unknown
}
Type of the PDM server that hosts the document.
Parameters:
VPM4
ENOVIA VMP
VPM4
ENOVIA LCA
Unknown
Can be: file system, smarteam ....
o PersistencyMode
enum PersistencyMode {
  WorkpackageOrFile,
  VolatileExposed
}
Modes available to store a document into the selected PMD server.
Parameters:
WorkpackageOrFile
Document is keep as a single object.
VolatileExposed
All the information stored into the document are exposed.

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

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