Package com.dassault_systemes.enovaultclientjava.vdk0vaultclient

   
Class ENOVIVaultSessionFactory

 
Class Hierarchy
java.lang.Object
  |
  +-com.dassault_systemes.enovaultclientjava.vdk0vaultclient.ENOVIVaultSessionFactory
Class Location

Framework : ENOVaultClientJAVA

Module : VDK0VaultClient

Class Description

public class ENOVIVaultSessionFactory

This class supplies methods to manage VaultSession object.

Field Summary
Vector _VaultSessions
boolean _isInBrowser

Constructor Summary
ENOVIVaultSessionFactory()

Method Summary
ENOVIVaultSession getVaultSession(ServerTokenProvider iIServerTokenProvider, boolean iIsTransactionMaster)
ENOVIVaultSession getVaultSession(byte[] ibvVaultSessionOId, boolean iIsTransactionMaster)
ENOVIVaultSession getVaultSession(String iTransactionMasterServerMarker, String iTransactionMasterHostName, int iTransactionMasterListenPort, boolean iIsTransactionMaster)
ENOVIVaultSession getVaultSession(String iSessionName, String iTransactionMasterServerMarker, String iTransactionMasterHostName, int iTransactionMasterListenPort, boolean iIsTransactionMaster)
void endVaultSession(ENOVIVaultSession Isession)
void endVaultSession(ENOVIVaultSession Isession, boolean ibvIsTransPropagate)
void endVaultSessionProxy(ENOVIVaultSession Isession)
String getDefaultAliasName()
Enumeration getVaultAliasNames()
ENOVIVaultSession createVaultSession(String iTransactionMasterServerMarker, String iTransactionMasterHostName, int iTransactionMasterListenPort, boolean iIsTransactionMaster)
void removeVaultSession(VaultSession ipVaultSession)


Field Detail

_VaultSessions

    Vector _VaultSessions


_isInBrowser

    boolean _isInBrowser


Constructor Detail

ENOVIVaultSessionFactory

    ENOVIVaultSessionFactory()


Method Detail

getVaultSession

    ENOVIVaultSession getVaultSession(ServerTokenProvider iIServerTokenProvider, boolean iIsTransactionMaster)

Supplies the VaultSession object pertainning to the given parameters. If the VaultSession Object doesn't exist yet, it will be created.

Parameters:
iIServerTokenProvider
interface server token provider.
iIsTransactionMaster
specifies if this process is transaction master.
Returns:
ENOVIVaultSession Object.

getVaultSession

    ENOVIVaultSession getVaultSession(byte[] ibvVaultSessionOId, boolean iIsTransactionMaster)

Supplies the VaultSession object pertainning to the given parameters. If the VaultSession Object doesn't exist yet, it will be created.

Parameters:
ibvVaultSessionOId
VaultSession Object Identifier.
iIsTransactionMaster
specifies if this process is transaction master.
Returns:
ENOVIVaultSession Object.

getVaultSession

    ENOVIVaultSession getVaultSession(String iTransactionMasterServerMarker, String iTransactionMasterHostName, int iTransactionMasterListenPort, boolean iIsTransactionMaster)

Supplies the VaultSession object pertainning to the given parameters. If the VaultSession Object doesn't exist yet, it will be created.

Parameters:
iTransactionMasterHostName
Hostname of the transaction manager process.
iTransactionMasterListenPort
Listen port on which call the transaction manager process.
iIsTransactionMaster
specifies if this process is transaction master.
iSessionOId
Session Object Identifier.
Returns:
ENOVIVaultSession Object.

getVaultSession

    ENOVIVaultSession getVaultSession(String iSessionName, String iTransactionMasterServerMarker, String iTransactionMasterHostName, int iTransactionMasterListenPort, boolean iIsTransactionMaster)

Supplies the VaultSession object pertainning to the given parameters. If the VaultSession Object doesn't exist yet, it will be created.

Parameters:
iSessionName
Vault Session Name.
iTransactionMasterHostName
Hostname of the transaction manager process.
iTransactionMasterListenPort
Listen port on which call the transaction manager process.
iIsTransactionMaster
specifies if this process is transaction master.
iSessionOId
Session Object Identifier.
Returns:
ENOVIVaultSession Object.

endVaultSession

    void endVaultSession(ENOVIVaultSession Isession)


endVaultSession

    void endVaultSession(ENOVIVaultSession Isession, boolean ibvIsTransPropagate)

Ends the VaultSession

Parameters:
session
specifies the ENOVIVaultSession

endVaultSessionProxy

    void endVaultSessionProxy(ENOVIVaultSession Isession)

Ends the Vault Session proxy object

Parameters:
session
specifies the ENOVIVaultSession

getDefaultAliasName

    String getDefaultAliasName()

Supplies the default Vault Server Alias Name.

Returns:
the default Vault Server Alias Name.

getVaultAliasNames

    Enumeration getVaultAliasNames()

Supplies the Vault Server Alias Name enumeration.

Returns:
the Vault Server Alias Name enumeration.

createVaultSession

    ENOVIVaultSession createVaultSession(String iTransactionMasterServerMarker, String iTransactionMasterHostName, int iTransactionMasterListenPort, boolean iIsTransactionMaster)

Create the VaultSession object pertainning to the given parameters.

Parameters:
iTransactionMasterHostName
Hostname of the transaction manager process.
iTransactionMasterListenPort
Listen port on which call the transaction manager process.
iIsTransactionMaster
specifies if this process is transaction master.
iSessionOId
Session Object Identifier.
Returns:
oppVaultSession VaultSession Object.

removeVaultSession

    void removeVaultSession(VaultSession ipVaultSession)

Remove a VaultSession object.

Parameters:
ipVaultSession
Vault Session Object to remove.


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