CustomDataManagerImpl Class
- public class CustomDataManagerImpl
extends CatalogServiceImpl
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.
Related Topics
CustomDataManager
CustomDataManagerHome
CatalogManager
-
Hierarchy
-
Object
SessionImpl
CatalogServiceImpl
CustomDataManagerImpl
-
All Implemented Interfaces
-
EnterpriseBean
, Serializable
, SessionBean
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.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 |
CustomDataManagerImpl
public CustomDataManagerImpl()
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 RemoteException
, CatalogException
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
-
RemoteException
-
CatalogException
- on general error.
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 RemoteException
, CatalogException
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
-
RemoteException
-
CatalogException
- on general error.
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 RemoteException
, CatalogException
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
-
RemoteException
-
CatalogException
- on general error.
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