|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.foundation.SessionImpl | +--com.beasys.commerce.ebusiness.catalog.service.CatalogServiceImpl | +--com.beasys.commerce.ebusiness.catalog.service.data.CustomDataManagerImpl
The implementation class for the CustomDataManager
Session EJB.
This implementation delegates to the service specifed by the following EJB
environment property:
delegateName
- specifies the delegatory CustomDataManager
service.
CustomDataManager
,
CustomDataManagerHome
,
CatalogManager
, Serialized FormFields inherited from class com.beasys.commerce.ebusiness.catalog.service.CatalogServiceImpl |
CATALOG_MANAGER_HOME |
Fields inherited from class com.beasys.commerce.foundation.SessionImpl |
_ctx,
_environmentNamingContext,
_environmentPropertyCache,
_isDirty |
Constructor Summary | |
CustomDataManagerImpl()
|
Method Summary | |
long |
createUniqueId(CatalogRequest request,
java.lang.String jndiHomeName,
java.lang.String pkString)
Create a record for a new ConfigurableEntity, as identified by the given jndiHomeName and pkString. |
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbPostCreate()
|
void |
ejbRemove()
|
java.util.Map |
getProperties(CatalogRequest request,
CatalogItemKey itemKey)
Retrieve all the property values within a namespace |
java.util.Map |
getProperties(CatalogRequest request,
CatalogItemKey itemKey,
java.lang.String namespace)
Retrieve all the property values within a namespace |
java.lang.Object |
getProperty(CatalogRequest request,
CatalogItemKey itemKey,
java.lang.String namespace,
java.lang.String key,
java.lang.Object defaultValue)
Retrieve the value associated with the named key. |
java.lang.Object |
getProperty(CatalogRequest request,
CatalogItemKey itemKey,
java.lang.String propertySetName,
java.lang.String propertySetType,
java.lang.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 with a namespace |
java.lang.Object |
removeProperty(CatalogRequest request,
CatalogItemKey itemKey,
java.lang.String namespace,
java.lang.String key)
Remove the property associated with the named key. |
java.lang.Object |
removeProperty(CatalogRequest request,
CatalogItemKey itemKey,
java.lang.String propertySetName,
java.lang.String propertySetType,
java.lang.String key)
Remove the property associated with the named key. |
void |
setProperty(CatalogRequest request,
CatalogItemKey itemKey,
java.lang.String namespace,
java.lang.String key,
java.lang.Object value)
Associate the specified value with the named key. |
void |
setProperty(CatalogRequest request,
CatalogItemKey itemKey,
java.lang.String propertySetName,
java.lang.String propertySetType,
java.lang.String key,
java.lang.Object value)
Associate the specified value with the named key. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
|
Methods inherited from class com.beasys.commerce.ebusiness.catalog.service.CatalogServiceImpl |
getCatalogManager,
getCatalogManagerJndiName,
validateAuthorization |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public CustomDataManagerImpl()
Method Detail |
public void ejbCreate() throws javax.ejb.CreateException
public void ejbPostCreate() throws javax.ejb.CreateException
public void ejbActivate() throws javax.ejb.EJBException
public void ejbPassivate() throws javax.ejb.EJBException
public void ejbRemove() throws javax.ejb.EJBException
public void setSessionContext(javax.ejb.SessionContext ctx) throws javax.ejb.EJBException
public java.lang.Object getProperty(CatalogRequest request, CatalogItemKey itemKey, java.lang.String namespace, java.lang.String key, java.lang.Object defaultValue) throws java.rmi.RemoteException, CatalogException
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.public java.lang.Object getProperty(CatalogRequest request, CatalogItemKey itemKey, java.lang.String propertySetName, java.lang.String propertySetType, java.lang.String key, boolean returnDefault) throws CatalogException, java.rmi.RemoteException
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.public java.lang.Object removeProperty(CatalogRequest request, CatalogItemKey itemKey, java.lang.String namespace, java.lang.String key) throws java.rmi.RemoteException, CatalogException
request
- The catalog request.itemKey
- The key of the target catalog item.key
- The name of the property to remove.public java.lang.Object removeProperty(CatalogRequest request, CatalogItemKey itemKey, java.lang.String propertySetName, java.lang.String propertySetType, java.lang.String key) throws CatalogException, java.rmi.RemoteException
request
- The catalog request.itemKey
- The key of the target catalog item.key
- The name of the property to remove.public void setProperty(CatalogRequest request, CatalogItemKey itemKey, java.lang.String namespace, java.lang.String key, java.lang.Object value) throws java.rmi.RemoteException, CatalogException
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.public void setProperty(CatalogRequest request, CatalogItemKey itemKey, java.lang.String propertySetName, java.lang.String propertySetType, java.lang.String key, java.lang.Object value) throws java.rmi.RemoteException, CatalogException
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.public java.util.Map getProperties(CatalogRequest request, CatalogItemKey itemKey) throws java.rmi.RemoteException, CatalogException
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.public java.util.Map getProperties(CatalogRequest request, CatalogItemKey itemKey, java.lang.String namespace) throws java.rmi.RemoteException, CatalogException
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.public void removeProperties(CatalogRequest request, CatalogItemKey itemKey) throws java.rmi.RemoteException, CatalogException
request
- The catalog request.itemKey
- The key of the target catalog item.key
- The name of the property to remove.public long createUniqueId(CatalogRequest request, java.lang.String jndiHomeName, java.lang.String pkString) throws java.rmi.RemoteException, CatalogException
request
- The catalog request.jndiHomeName
- the entity's home namepkString
- the entity's identifier string
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |