com.beasys.commerce.ebusiness.catalog.util
Class CatalogSchemaManager

java.lang.Object
  extended by com.beasys.commerce.ebusiness.catalog.util.CatalogSchemaManager

Deprecated See BEA Commerce product offering

@Deprecated
public class CatalogSchemaManager
extends Object

Utility class used for accessing named Product Catalog schema definition resources within a named ResourceBundle resource file.

By default, the wlcs-catalog resource file is used.

See Also
ResourceBundle

Constructor Summary
CatalogSchemaManager(String bundle)
          Deprecated See BEA Commerce product offering
 
Method Summary
 Integer getInteger(String key)
          Deprecated See BEA Commerce product offering
 Enumeration getKeys()
          Deprecated See BEA Commerce product offering
 Object getObject(String key)
          Deprecated See BEA Commerce product offering
 PreparedStatement getPreparedStatement(Connection con, String key)
          Deprecated See BEA Commerce product offering
 String getString(String key)
          Deprecated See BEA Commerce product offering
 String[] getStringArray(String key)
          Deprecated See BEA Commerce product offering
protected  void loadResourceBundle()
          Deprecated See BEA Commerce product offering
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogSchemaManager

public CatalogSchemaManager(String bundle)
Deprecated See BEA Commerce product offering

This is an abstract class.

Method Detail

loadResourceBundle

protected void loadResourceBundle()
                           throws MissingResourceException
Deprecated See BEA Commerce product offering

Load the resource bundle.

Throws
MissingResourceException - if the resource bundle could not be found

getString

public String getString(String key)
                 throws MissingResourceException
Deprecated See BEA Commerce product offering

Get a string resource referenced by a key.

Parameters
key - the name of the resource
Returns
the resource as a String
Throws
MissingResourceException - if the resource bundle could not be found

getInteger

public Integer getInteger(String key)
                   throws MissingResourceException,
                          NumberFormatException
Deprecated See BEA Commerce product offering

Get an Integer resource referenced by a key.

Parameters
key - the name of the resource
Returns
the resource as an Integer
Throws
MissingResourceException - if the resource bundle could not be found
NumberFormatException - if the resource specified by the key is not valid

getPreparedStatement

public PreparedStatement getPreparedStatement(Connection con,
                                              String key)
                                       throws MissingResourceException,
                                              SQLException
Deprecated See BEA Commerce product offering

Create a PreparedStatemetn from a string resource referenced by a key.

Parameters
con - the Database Connection
key - the name of the resource
Returns
the resource as a String
Throws
MissingResourceException - if the resource bundle could not be found
SQLException - on statement preparation error

getStringArray

public String[] getStringArray(String key)
                        throws MissingResourceException
Deprecated See BEA Commerce product offering

Get a string array resource referenced by a key.

Parameters
key - the name of the resource
Returns
the resource as a String[]
Throws
MissingResourceException - if the resource bundle could not be found

getObject

public Object getObject(String key)
                 throws MissingResourceException
Deprecated See BEA Commerce product offering

Get an Object resource referenced by a key.

Parameters
key - the name of the resource
Returns
the resource as an Object
Throws
MissingResourceException - if the resource bundle could not be found

getKeys

public Enumeration getKeys()
                    throws MissingResourceException
Deprecated See BEA Commerce product offering

Get all the keys for the resource bundle.

Returns
the Enumeration of keys.
Throws
MissingResourceException - if the resource bundle could not be found


Copyright © 2008 BEA Systems, Inc. All Rights Reserved