com.beasys.commerce.ebusiness.catalog.service.data
Interface EpmCustomDataManager

All Superinterfaces
BusinessSmartComponent, CatalogService, Serializable, Session

public interface EpmCustomDataManager
extends CatalogService

CustomDataManager service implementation. This implementation utilizes the EntityPropertyManager service to provide custom attribute support for Product Catalog items.

See Also
EpmCustomDataManagerHome, EpmCustomDataManagerImpl

Method Summary
 long createUniqueId(CatalogRequest request, String jndiHomeName, String pkString)
          Create a record for a new ConfigurableEntity, as identified by the given jndiHomeName and pkString.
 Map getProperties(CatalogRequest request, CatalogItemKey itemKey)
          Retrieve all the property values
 Object getProperty(CatalogRequest request, CatalogItemKey itemKey, String namespace, String key, Object defaultValue)
          Retrieve the value associated with the named key.
 Object getProperty(CatalogRequest request, CatalogItemKey itemKey, String propertySetName, String propertySetType, String key, boolean returnDefault)
          Retrieve the value associated with the named key.
 void removeProperties(CatalogRequest request, CatalogItemKey itemKey)
          Remove all the properties for an item
 Object removeProperty(CatalogRequest request, CatalogItemKey itemKey, String namespace, String key)
          Remove the property associated with the named key.
 Object removeProperty(CatalogRequest request, CatalogItemKey itemKey, String propertySetName, String propertySetType, String key)
          Remove the property associated with the named key.
 void setProperty(CatalogRequest request, CatalogItemKey itemKey, String namespace, String key, Object value)
          Associate the specified value with the named key.
 void setProperty(CatalogRequest request, CatalogItemKey itemKey, String propertySetName, String propertySetType, String key, Object value)
          Associate the specified value with the named key.
 
Methods inherited from interface com.beasys.commerce.ebusiness.catalog.service.CatalogService
getCatalogManager
 

Method Detail

getProperty

Object getProperty(CatalogRequest request,
                   CatalogItemKey itemKey,
                   String namespace,
                   String key,
                   Object defaultValue)
                   throws RemoteException,
                          CatalogException
Retrieve the value associated with the named key.

Parameters
request - The catalog request.
itemKey - The key of the target catalog item.
key - The name of the property to retrieve.
defaultValue - The value to return if that property is not set.
Throws
CatalogException - on general error.
RemoteException

getProperty

Object getProperty(CatalogRequest request,
                   CatalogItemKey itemKey,
                   String propertySetName,
                   String propertySetType,
                   String key,
                   boolean returnDefault)
                   throws CatalogException,
                          RemoteException
Retrieve the value associated with the named key.

Parameters
request - The catalog request.
itemKey - The key of the target catalog item.
key - The name of the property to retrieve.
defaultValue - The value to return if that property is not set.
Throws
CatalogException - on general error.
RemoteException

setProperty

void setProperty(CatalogRequest request,
                 CatalogItemKey itemKey,
                 String namespace,
                 String key,
                 Object value)
                 throws RemoteException,
                        CatalogException
Associate the specified value with the named key.

Parameters
request - The catalog request.
itemKey - The key of the target catalog item.
name - The name to associate the value with.
value - The value to associate with the name.
Throws
CatalogException - on general error.
RemoteException

setProperty

void setProperty(CatalogRequest request,
                 CatalogItemKey itemKey,
                 String propertySetName,
                 String propertySetType,
                 String key,
                 Object value)
                 throws RemoteException,
                        CatalogException
Associate the specified value with the named key.

Parameters
request - The catalog request.
itemKey - The key of the target catalog item.
name - The name to associate the value with.
value - The value to associate with the name.
Throws
CatalogException - on general error.
RemoteException

getProperties

Map getProperties(CatalogRequest request,
                  CatalogItemKey itemKey)
                  throws RemoteException,
                         CatalogException
Retrieve all the property values

Parameters
request - The catalog request.
itemKey - The key of the target catalog item.
key - The name of the property to retrieve.
defaultValue - The value to return if that property is not set.
Throws
CatalogException - on general error.
RemoteException

removeProperty

Object removeProperty(CatalogRequest request,
                      CatalogItemKey itemKey,
                      String namespace,
                      String key)
                      throws RemoteException,
                             CatalogException
Remove the property associated with the named key.

Parameters
request - The catalog request.
itemKey - The key of the target catalog item.
key - The name of the property to remove.
Throws
CatalogException - on general error.
RemoteException

removeProperty

Object removeProperty(CatalogRequest request,
                      CatalogItemKey itemKey,
                      String propertySetName,
                      String propertySetType,
                      String key)
                      throws CatalogException,
                             RemoteException
Remove the property associated with the named key.

Parameters
request - The catalog request.
itemKey - The key of the target catalog item.
key - The name of the property to remove.
Throws
CatalogException - on general error.
RemoteException

removeProperties

void removeProperties(CatalogRequest request,
                      CatalogItemKey itemKey)
                      throws RemoteException,
                             CatalogException
Remove all the properties for an item

Parameters
request - The catalog request.
itemKey - The key of the target catalog item.
key - The name of the property to remove.
Throws
CatalogException - on general error.
RemoteException

createUniqueId

long createUniqueId(CatalogRequest request,
                    String jndiHomeName,
                    String pkString)
                    throws RemoteException,
                           CatalogException
Create a record for a new ConfigurableEntity, as identified by the given jndiHomeName and pkString.

Parameters
request - The catalog request.
jndiHomeName - the entity's home name
pkString - the entity's identifier string
Returns
the newly created entity id
Throws
CatalogException - if there is an error
RemoteException


Copyright © 2006 BEA Systems, Inc. All Rights Reserved