|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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 FormField Summary |
Fields 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,
String jndiHomeName,
String pkString)
Create a record for a new ConfigurableEntity, as identified by the given jndiHomeName and pkString. |
void |
ejbActivate()
ejbActivate method. |
void |
ejbCreate()
ejbCreate method. |
void |
ejbPassivate()
ejbPassivate method. |
void |
ejbPostCreate()
ejbPostCreate method. |
void |
ejbRemove()
ejbRemove method. |
Map |
getProperties(CatalogRequest request,
CatalogItemKey itemKey)
Retrieve all the property values within a namespace |
Map |
getProperties(CatalogRequest request,
CatalogItemKey itemKey,
String namespace)
Retrieve all the property values within a namespace |
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 with a namespace |
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. |
void |
setSessionContext(SessionContext ctx)
setSessionContext method. |
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 long createUniqueId(CatalogRequest request, String jndiHomeName, String pkString) throws RemoteException, CatalogException
request
- The catalog request.jndiHomeName
- the entity's home namepkString
- the entity's identifier string
CatalogException
- if there is an error
RemoteException
public void ejbActivate() throws EJBException
SessionImpl
ejbActivate
in interface SessionBean
ejbActivate
in class CatalogServiceImpl
EJBException
public void ejbCreate() throws CreateException
SessionImpl
ejbCreate
in class CatalogServiceImpl
CreateException
public void ejbPassivate() throws EJBException
SessionImpl
ejbPassivate
in interface SessionBean
ejbPassivate
in class CatalogServiceImpl
EJBException
public void ejbPostCreate() throws CreateException
SessionImpl
ejbPostCreate
in class CatalogServiceImpl
CreateException
public void ejbRemove() throws EJBException
SessionImpl
ejbRemove
in interface SessionBean
ejbRemove
in class CatalogServiceImpl
EJBException
public Map getProperties(CatalogRequest request, CatalogItemKey itemKey) throws RemoteException, CatalogException
request
- The catalog request.itemKey
- The key of the target catalog item.
CatalogException
- on general error.
RemoteException
public Map getProperties(CatalogRequest request, CatalogItemKey itemKey, String namespace) throws RemoteException, CatalogException
request
- The catalog request.itemKey
- The key of the target catalog item.
CatalogException
- on general error.
RemoteException
public Object getProperty(CatalogRequest request, CatalogItemKey itemKey, String namespace, String key, Object defaultValue) throws 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.
CatalogException
- on general error.
RemoteException
public Object getProperty(CatalogRequest request, CatalogItemKey itemKey, String propertySetName, String propertySetType, String key, boolean returnDefault) throws CatalogException, RemoteException
request
- The catalog request.itemKey
- The key of the target catalog item.key
- The name of the property to retrieve.
CatalogException
- on general error.
RemoteException
public void removeProperties(CatalogRequest request, CatalogItemKey itemKey) throws RemoteException, CatalogException
request
- The catalog request.itemKey
- The key of the target catalog item.
CatalogException
- on general error.
RemoteException
public Object removeProperty(CatalogRequest request, CatalogItemKey itemKey, String namespace, String key) throws RemoteException, CatalogException
request
- The catalog request.itemKey
- The key of the target catalog item.key
- The name of the property to remove.
CatalogException
- on general error.
RemoteException
public Object removeProperty(CatalogRequest request, CatalogItemKey itemKey, String propertySetName, String propertySetType, String key) throws CatalogException, RemoteException
request
- The catalog request.itemKey
- The key of the target catalog item.key
- The name of the property to remove.
CatalogException
- on general error.
RemoteException
public void setProperty(CatalogRequest request, CatalogItemKey itemKey, String namespace, String key, Object value) throws RemoteException, CatalogException
request
- The catalog request.itemKey
- The key of the target catalog item.value
- The value to associate with the name.
CatalogException
- on general error.
RemoteException
public void setProperty(CatalogRequest request, CatalogItemKey itemKey, String propertySetName, String propertySetType, String key, Object value) throws RemoteException, CatalogException
request
- The catalog request.itemKey
- The key of the target catalog item.value
- The value to associate with the name.
CatalogException
- on general error.
RemoteException
public void setSessionContext(SessionContext ctx) throws EJBException
SessionImpl
setSessionContext
in interface SessionBean
setSessionContext
in class CatalogServiceImpl
EJBException
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |