Package com.dassault_systemes.enovaultclientjava.vdk0vaultclient

   
Class ENOVIVaultSessionForBrowserFactory

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

Framework : ENOVaultClientJAVA

Module : VDK0VaultClient

Class Description

public class ENOVIVaultSessionForBrowserFactory

This class supplies methods to manage VaultSession object.

Version:
V5R8
Field Summary

Constructor Summary
ENOVIVaultSessionForBrowserFactory()

Method Summary
public static synchronized void endVaultSession(ENOVIVaultSession Isession)
public static synchronized void endVaultSession(ENOVIVaultSession Isession, boolean ibvIsTransPropagate)
Ends the VaultSession
public static synchronized void endVaultSessionProxy(ENOVIVaultSession Isession)
Ends the Vault Session proxy object
public static synchronized String getDefaultAliasName()
Supplies the default Vault Server Alias Name.
public static synchronized Enumeration getVaultAliasNames()
Supplies the Vault Server Alias Name enumeration.
public static synchronized ENOVIVaultSession getVaultSession(byte[] ibvVaultSessionOId, boolean iIsTransactionMaster)
Supplies the VaultSession object pertainning to the given parameters.
public static synchronized ENOVIVaultSession getVaultSession(ServerTokenProvider iIServerTokenProvider, boolean iIsTransactionMaster)
Supplies the VaultSession object pertainning to the given parameters.
public static synchronized ENOVIVaultSession getVaultSession(String iTransactionMasterServerMarker, String iTransactionMasterHostName, int iTransactionMasterListenPort, boolean iIsTransactionMaster)
Supplies the VaultSession object pertainning to the given parameters.
public static synchronized ENOVIVaultSession getVaultSession(String iSessionName, String iTransactionMasterServerMarker, String iTransactionMasterHostName, int iTransactionMasterListenPort, boolean iIsTransactionMaster)
Supplies the VaultSession object pertainning to the given parameters.


Field Detail

Constructor Detail

ENOVIVaultSessionForBrowserFactory

    ENOVIVaultSessionForBrowserFactory()


Method Detail

endVaultSession

    public static synchronized void endVaultSession(ENOVIVaultSession Isession)


endVaultSession

    public static synchronized void endVaultSession(ENOVIVaultSession Isession, boolean ibvIsTransPropagate)

Ends the VaultSession

Parameters:
session
specifies the ENOVIVaultSession
Throws:
ENOVIVaultError -
Since:
V5R7

endVaultSessionProxy

    public static synchronized void endVaultSessionProxy(ENOVIVaultSession Isession)

Ends the Vault Session proxy object

Parameters:
session
specifies the ENOVIVaultSession
Throws:
ENOVIVaultError -
Since:
V5R11

getDefaultAliasName

    public static synchronized String getDefaultAliasName()

Supplies the default Vault Server Alias Name.

Return:
the default Vault Server Alias Name.
Throws:
ENOVIVaultError -
Since:
V5R8

getVaultAliasNames

    public static synchronized Enumeration getVaultAliasNames()

Supplies the Vault Server Alias Name enumeration.

Return:
the Vault Server Alias Name enumeration.
Throws:
ENOVIVaultError -
Since:
V5R8

getVaultSession

    public static synchronized 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.
Return:
ENOVIVaultSession Object.
Throws:
ENOVIVaultError -
Since:
V5R11

getVaultSession

    public static synchronized 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.
Return:
ENOVIVaultSession Object.
Throws:
ENOVIVaultError -
Since:
V5R11

getVaultSession

    public static synchronized 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.
Return:
ENOVIVaultSession Object.
Throws:
ENOVIVaultError -
Since:
V5R8 deprecated V5R11

getVaultSession

    public static synchronized 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.
Return:
ENOVIVaultSession Object.
Throws:
ENOVIVaultError -
Since:
V5R8


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