com.beasys.commerce.ebusiness.catalog
Class CatalogFactory

java.lang.Object
  extended by com.beasys.commerce.ebusiness.catalog.CatalogFactory

Deprecated See BEA Commerce product offering

@Deprecated
public abstract class CatalogFactory
extends Object

Factory class to create Catalog-related objects. The catalog APIs that are aimed at end-users return immutable objects. This factory class can also be used to create mutable versions of those objects.


Method Summary
static Category createCategory(MutableCategory delegate)
          Deprecated See BEA Commerce product offering
static KeywordQuery createKeywordQuery()
          Deprecated See BEA Commerce product offering
static MutableCategory createMutableCategory(Category category, boolean createCE)
          Deprecated See BEA Commerce product offering
static MutableCategory createMutableCategory(CategoryKey key, boolean createCE)
          Deprecated See BEA Commerce product offering
static MutableProductItem createMutableProductItem(ProductItem item, boolean createCE)
          Deprecated See BEA Commerce product offering
static MutableProductItem createMutableProductItem(ProductItemKey key, boolean createCE)
          Deprecated See BEA Commerce product offering
static ProductItem createProductItem(MutableProductItem delegate)
          Deprecated See BEA Commerce product offering
static ProductItemQuery createProductItemQuery()
          Deprecated See BEA Commerce product offering
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createCategory

public static Category createCategory(MutableCategory delegate)
Deprecated See BEA Commerce product offering

Creates an immutable Category object that uses a mutable delegate object. The mutable object is wrapped in an immutable shell so that it is protected from updates.

Parameters
delegate - The delegate Category object.

createMutableCategory

public static MutableCategory createMutableCategory(CategoryKey key,
                                                    boolean createCE)
Deprecated See BEA Commerce product offering

Creates a mutable Category object for the category with the given key. A MutableCategory can be modified through its setter methods.

Parameters
key - the key for the object

createMutableCategory

public static MutableCategory createMutableCategory(Category category,
                                                    boolean createCE)
Deprecated See BEA Commerce product offering

Creates a mutable Category object - by copying an immutable object.

Parameters
key - the key for the object

createProductItem

public static ProductItem createProductItem(MutableProductItem delegate)
Deprecated See BEA Commerce product offering

Creates a ProductItem object by wrapping a mutable object in an immutable shell so that it is protected from updates.

Parameters
delegate - The delegate ProductItem object.

createMutableProductItem

public static MutableProductItem createMutableProductItem(ProductItemKey key,
                                                          boolean createCE)
Deprecated See BEA Commerce product offering

Creates a MutableProductItem object for the item with the given key.

Parameters
key - the key for the object

createMutableProductItem

public static MutableProductItem createMutableProductItem(ProductItem item,
                                                          boolean createCE)
Deprecated See BEA Commerce product offering

Creates a MutableProductItem object based off an imutable object. The immutable object is copied to ensure the same reference is not modified.

Parameters
item - the immutable object

createKeywordQuery

public static KeywordQuery createKeywordQuery()
Deprecated See BEA Commerce product offering

Creates a KeywordQuery object.


createProductItemQuery

public static ProductItemQuery createProductItemQuery()
Deprecated See BEA Commerce product offering

Creates a ProductItemQuery object.



Copyright © 2008 BEA Systems, Inc. All Rights Reserved