Package com.dassault_systemes.ENOVJCESInterfaces.CESJAPIInterface

   
Interface ICESAuthentication

 
Class Hierarchy
com.dassault_systemes.ENOVJCESInterfaces.CESJAPIInterface.ICESAuthentication
Class Location

Framework : ENOJCESInterfaces

Module : CESJAPIInterface

Class Description

public interface ICESAuthentication

This Interface provides methods to handle connection to CES.

Collaborative Enterprise Sourcing (CES) provides an Enterprise-wide Sourcing Catalog for items that may be used in a product design/lifecycle.

The catalog repository in CES is structured in a hierarchical manner such that common attributes of the item is captured at the top level and more specific attributes are captured in the subsequent levels. Each catalog grouping in CES is called as Category. A set of Attributes are defined for each category. A subcategory can inherit attributes from parent category and also define its own set of attributes. Attributes in a category are grouped under a View (a.k.a. Form). Forms can be created/modified to contain attributes that the User would use to search for and view Items in CES. Interestingly, cross-category forms can be created by pulling in attributes from other categories.

Since:
R18 SP1
Author:
PTP
Author:
OIN
Version:
R18, 12/01/2007
Field Summary

Constructor Summary

Method Summary
public boolean isConnected()
Checks if the connection to the CES Server exists and is valid.
public boolean login(String iServerURL, String iDBName, String iUserName, String iPassword)
Creates a session context and a database connection to the CES Server.
public boolean logout()
Disconnects the existing database connection and invalidates the session in the CES Server.


Field Detail

Constructor Detail

Method Detail

isConnected

    public boolean isConnected()

Checks if the connection to the CES Server exists and is valid.

Return:
true if connection exists and is valid.

login

    public boolean login(String iServerURL, String iDBName, String iUserName, String iPassword)

Creates a session context and a database connection to the CES Server. This function has to be executed successfully before any other method in this Interface is used.

Parameters:
iServerURL
Specifies the Server URL on which a LCANav Server or CATJWSInfra server is active.
iDBName
Specifies the CES Database name to create the connection.
iUserName
Specifies the username for the CES Database connection.
iPassword
Specifies the password for the CES Database connection.
Return:
Status of the Login action.

logout

    public boolean logout()

Disconnects the existing database connection and invalidates the session in the CES Server.

Return:
Status of the Logout action.


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