# com.beasys.commerce.ebusiness.catalog.service.data
EpmCustomDataManagerImpl Class

public class EpmCustomDataManagerImpl
extends `CatalogServiceImpl`

The implementation class for the `EpmCustomDataManager``` Session EJB.

Related Topics

``EpmCustomDataManager``
``EpmCustomDataManagerHome``

Hierarchy
  `Object`
  `SessionImpl`
  `CatalogServiceImpl`
  `EpmCustomDataManagerImpl`

All Implemented Interfaces
  `EnterpriseBean`, `Serializable`, `SessionBean`

## Field Summary

`protected static final `String`` | `CATALOG_PROPERTY_SET_TYPE` String
`protected static final `String`` | `CATEGORY_JNDI_NAME` The JNDI name for the Category ConfigurableEntity home interface.
`protected static final `String`` | `PRODUCT_ITEM_JNDI_NAME` The JNDI name for the ProductItem ConfigurableEntity home interface.

Fields from com.beasys.commerce.ebusiness.catalog.service`.`CatalogServiceImpl``
``CATALOG_MANAGER_HOME``

Fields from com.beasys.commerce.foundation`.`SessionImpl``
``_ctx`, `_environmentNamingContext`, `_environmentPropertyCache`, `_isDirty``

## Constructor Summary

EpmCustomDataManagerImpl()

## Method Summary

`protected `PropertyLocator`` | `createPropertyLocator`(`CatalogItemKey` itemKey, `String` propertySetType)
`protected `PropertyLocator`` | `createPropertyLocator`(`CatalogItemKey` itemKey) Creates a `PropertyLocator` based upon the supplied `CatalogItemKey`.
`public long` | `createUniqueId`(`CatalogRequest` request, `String` jndiHomeName, `String` pkString) Create a record for a new ConfigurableEntity, as identified by the given jndiHomeName and pkString.
`public void` | `ejbActivate`() ejbActivate method.
`public void` | `ejbCreate`() ejbCreate method.
`public void` | `ejbPassivate`() ejbPassivate method.
`public void` | `ejbPostCreate`() ejbPostCreate method.
`public void` | `ejbRemove`() ejbRemove method.
`public `Map`` | `getProperties`(`CatalogRequest` request, `CatalogItemKey` itemKey) Retrieve all the property values within a namespace
`public `Map`` | `getProperties`(`CatalogRequest` request, `CatalogItemKey` itemKey, `String` namespace) Retrieve all the property values within a namespace
`public `Object`` | `getProperty`(`CatalogRequest` request, `CatalogItemKey` itemKey, `String` namespace, `String` key, `Object` defaultValue) Retrieve the value associated with the named key.
`public `Object`` | `getProperty`(`CatalogRequest` request, `CatalogItemKey` itemKey, `String` propertySetName, `String` propertySetType, `String` key, boolean returnDefault) Retrieve the value associated with the named key.
`public void` | `removeProperties`(`CatalogRequest` request, `CatalogItemKey` itemKey) Remove all the properties for an item with a namespace
`public `Object`` | `removeProperty`(`CatalogRequest` request, `CatalogItemKey` itemKey, `String` namespace, `String` key) Remove the property associated with the named key.
`public `Object`` | `removeProperty`(`CatalogRequest` request, `CatalogItemKey` itemKey, `String` propertySetName, `String` propertySetType, `String` key) Remove the property associated with the named key.
`public void` | `setProperty`(`CatalogRequest` request, `CatalogItemKey` itemKey, `String` namespace, `String` key, `Object` value) Associate the specified value with the named key.
`public void` | `setProperty`(`CatalogRequest` request, `CatalogItemKey` itemKey, `String` propertySetName, `String` propertySetType, `String` key, `Object` value) Associate the specified value with the named key.
`public void` | `setSessionContext`(`SessionContext` ctx) setSessionContext method.

Methods from `com.beasys.commerce.ebusiness.catalog.service.`CatalogServiceImpl``
``getCatalogManager`, `getCatalogManagerJndiName`, `validateAuthorization``

Methods from `com.beasys.commerce.foundation.`SessionImpl``
``clearRelationalBinding`, `clearRelationalBinding`, `clearRelationalBinding`, `clearRelationalBinding`, `doRelationalBinding`, `doRelationalBinding`, `doRelationalBindingOnElement`, `doRelationalBindingOnElement`, `doRelationalBindingOnElement`, `doRelationalBindingOnSingleton`, `doRelationalBindingOnSingleton`, `doRelationalBindingOnSingleton`, `doRelationalBindingWithMapKey`, `doRelationalBindingWithMapKey`, `doRelationalBindingWithMapKey`, `ejbActivate`, `ejbCreate`, `ejbPassivate`, `ejbPostCreate`, `ejbRemove`, `enumerateRelationalBinding`, `enumerateRelationalBinding`, `getEnvironmentNamingContext`, `getEnvironmentProperty`, `getEnvironmentProperty`, `getEnvironmentPropertyCache`, `getPersistenceHelperPlugin`, `getSessionContext`, `setSessionContext``

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods from interface `javax.ejb.`SessionBean``
`ejbActivate, ejbPassivate, ejbRemove, setSessionContext`

## Field Detail

### CATALOG_PROPERTY_SET_TYPE

    protected static final String CATALOG_PROPERTY_SET_TYPE

### CATEGORY_JNDI_NAME

    protected static final String CATEGORY_JNDI_NAME

  The JNDI name for the Category ConfigurableEntity home interface.

### PRODUCT_ITEM_JNDI_NAME

    protected static final String PRODUCT_ITEM_JNDI_NAME

  The JNDI name for the ProductItem ConfigurableEntity home interface.

## Constructor Detail

### EpmCustomDataManagerImpl

    public EpmCustomDataManagerImpl()

## Method Detail

### createPropertyLocator(CatalogItemKey, String) Method

    protected PropertyLocator createPropertyLocator(CatalogItemKey itemKey,
                                                    String propertySetType)
         throws RemoteException

#### Exceptions

``RemoteException``

### createPropertyLocator(CatalogItemKey) Method

    protected PropertyLocator createPropertyLocator(CatalogItemKey itemKey)
         throws RemoteException

Creates a `PropertyLocator` based upon the supplied `CatalogItemKey`.

#### Parameters

itemKey
  the key used to create a `PropertyLocator`

#### Returns

a `PropertyLocator` based upon the supplied `CatalogItemKey`

#### Exceptions

``RemoteException``

### createUniqueId(CatalogRequest, String, String) Method

    public 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

#### Exceptions

``RemoteException``
``CatalogException``
  if there is an error

### ejbActivate() Method

    public void ejbActivate()
         throws EJBException

Description copied from `SessionImpl.ejbActivate()`
ejbActivate method.

Overrides
  `CatalogServiceImpl.ejbActivate()`

#### Exceptions

``EJBException``

### ejbCreate() Method

    public void ejbCreate()
         throws CreateException

Description copied from `SessionImpl.ejbCreate()`
ejbCreate method.

Overrides
  `CatalogServiceImpl.ejbCreate()`

#### Exceptions

``CreateException``

### ejbPassivate() Method

    public void ejbPassivate()
         throws EJBException

Description copied from `SessionImpl.ejbPassivate()`
ejbPassivate method.

Overrides
  `CatalogServiceImpl.ejbPassivate()`

#### Exceptions

``EJBException``

### ejbPostCreate() Method

    public void ejbPostCreate()
         throws CreateException

Description copied from `SessionImpl.ejbPostCreate()`
ejbPostCreate method.

Overrides
  `CatalogServiceImpl.ejbPostCreate()`

#### Exceptions

``CreateException``

### ejbRemove() Method

    public void ejbRemove()
         throws EJBException

Description copied from `SessionImpl.ejbRemove()`
ejbRemove method.

Overrides
  `CatalogServiceImpl.ejbRemove()`

#### Exceptions

``EJBException``

### getProperties(CatalogRequest, CatalogItemKey) Method

    public Map getProperties(CatalogRequest request,
                             CatalogItemKey itemKey)
         throws RemoteException, CatalogException

Retrieve all the property values within a namespace

#### Parameters

request
  The catalog request.

itemKey
  The key of the target catalog item.

#### Exceptions

``RemoteException``
``CatalogException``
  on general error.

### getProperties(CatalogRequest, CatalogItemKey, String) Method

    public Map getProperties(CatalogRequest request,
                             CatalogItemKey itemKey,
                             String namespace)
         throws RemoteException, CatalogException

Retrieve all the property values within a namespace

#### Parameters

request
  The catalog request.

itemKey
  The key of the target catalog item.

namespace
  The name of the property to retrieve.

#### Exceptions

``RemoteException``
``CatalogException``
  on general error.

### getProperty(CatalogRequest, CatalogItemKey, String, String, Object) Method

    public Object getProperty(CatalogRequest request,
                              CatalogItemKey itemKey,
                              String namespace,
                              String key,
                              Object defaultValue)
         throws CatalogException, RemoteException

Retrieve the value associated with the named key.

#### Parameters

request
  The catalog request.

itemKey
  The key of the target catalog item.

namespace
  The name of the property to retrieve.

key
  The value to return if that property is not set.

#### Exceptions

``CatalogException``
  on general error.
``RemoteException``

### getProperty(CatalogRequest, CatalogItemKey, String, String, String, boolean) Method

    public 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.

propertySetName
  The name of the property to retrieve.

propertySetType
  The value to return if that property is not set.

#### Exceptions

``CatalogException``
  on general error.
``RemoteException``

### removeProperties(CatalogRequest, CatalogItemKey) Method

    public void removeProperties(CatalogRequest request,
                                 CatalogItemKey itemKey)
         throws RemoteException, CatalogException

Remove all the properties for an item with a namespace

#### Parameters

request
  The catalog request.

itemKey
  The key of the target catalog item.

#### Exceptions

``RemoteException``
``CatalogException``
  on general error.

### removeProperty(CatalogRequest, CatalogItemKey, String, String) Method

    public Object removeProperty(CatalogRequest request,
                                 CatalogItemKey itemKey,
                                 String namespace,
                                 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.

namespace
  The name of the property to remove.

#### Exceptions

``CatalogException``
  on general error.
``RemoteException``

### removeProperty(CatalogRequest, CatalogItemKey, String, String, String) Method

    public 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.

propertySetName
  The name of the property to remove.

#### Exceptions

``CatalogException``
  on general error.
``RemoteException``

### setProperty(CatalogRequest, CatalogItemKey, String, String, Object) Method

    public void setProperty(CatalogRequest request,
                            CatalogItemKey itemKey,
                            String namespace,
                            String key,
                            Object value)
         throws CatalogException, RemoteException

Associate the specified value with the named key.

#### Parameters

request
  The catalog request.

itemKey
  The key of the target catalog item.

namespace
  The name to associate the value with.

key
  The value to associate with the name.

#### Exceptions

``CatalogException``
  on general error.
``RemoteException``

### setProperty(CatalogRequest, CatalogItemKey, String, String, String, Object) Method

    public 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.

propertySetName
  The name to associate the value with.

propertySetType
  The value to associate with the name.

#### Exceptions

``RemoteException``
``CatalogException``
  on general error.

### setSessionContext(SessionContext) Method

    public void setSessionContext(SessionContext ctx)
         throws EJBException

Description copied from `SessionImpl.setSessionContext(SessionContext)`
setSessionContext method.

Overrides
  `CatalogServiceImpl.setSessionContext(SessionContext)`

#### Exceptions

``EJBException``