CatalogServiceImpl Class
- public class CatalogServiceImpl
extends SessionImpl
This is the base service implementation for all Catalog-related services.
It contains common functionality that all Catalog services must implement;
therefore, all Catalog service implementations should extend this class.
The CatalogService
exposes an accessor for retrieving an
associated CatalogManager
.
The returned CatalogManager
implementation service is specified
with the ejb/CatalogManager
environment property.
Related Topics
CatalogService
CatalogServiceHome
-
Hierarchy
-
Object
SessionImpl
CatalogServiceImpl
-
All Implemented Interfaces
-
EnterpriseBean
, Serializable
, SessionBean
-
Direct Known Subclasses
-
CatalogManagerImpl
, CatalogQueryManagerImpl
, CategoryManagerImpl
, CustomDataManagerImpl
, EpmCustomDataManagerImpl
, JdbcCatalogServiceImpl
, ProductItemManagerImpl
protected static String |
-
CATALOG_MANAGER_HOME
- The Catalog Manager is used to control access to the services for the Product Catalog.
|
Methods from com.beasys.commerce.foundation.SessionImpl |
clearRelationalBinding , clearRelationalBinding , clearRelationalBinding , clearRelationalBinding , doRelationalBinding , doRelationalBinding , doRelationalBindingOnElement , doRelationalBindingOnElement , doRelationalBindingOnElement , doRelationalBindingOnSingleton , doRelationalBindingOnSingleton , doRelationalBindingOnSingleton , doRelationalBindingWithMapKey , doRelationalBindingWithMapKey , doRelationalBindingWithMapKey , enumerateRelationalBinding , enumerateRelationalBinding , getEnvironmentNamingContext , getEnvironmentProperty , getEnvironmentProperty , getEnvironmentPropertyCache , getPersistenceHelperPlugin , getSessionContext ,
|
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CATALOG_MANAGER_HOME
protected static String
CATALOG_MANAGER_HOME
- The Catalog Manager is used to control access to the services for the Product Catalog.
This constant identifies the environment variable in the deployment descriptor that
allows the deployer to define which session bean to use.
CatalogServiceImpl
public CatalogServiceImpl()
ejbActivate() Method
public void ejbActivate()
throws EJBException
Description copied from SessionImpl.ejbActivate()
ejbActivate method.
-
Overrides
-
SessionImpl.ejbActivate()
Exceptions
-
EJBException
ejbCreate() Method
public void ejbCreate()
throws CreateException
Description copied from SessionImpl.ejbCreate()
ejbCreate method.
-
Overrides
-
SessionImpl.ejbCreate()
Exceptions
-
CreateException
ejbPassivate() Method
public void ejbPassivate()
throws EJBException
Description copied from SessionImpl.ejbPassivate()
ejbPassivate method.
-
Overrides
-
SessionImpl.ejbPassivate()
Exceptions
-
EJBException
ejbPostCreate() Method
public void ejbPostCreate()
throws CreateException
Description copied from SessionImpl.ejbPostCreate()
ejbPostCreate method.
-
Overrides
-
SessionImpl.ejbPostCreate()
Exceptions
-
CreateException
ejbRemove() Method
public void ejbRemove()
throws EJBException
Description copied from SessionImpl.ejbRemove()
ejbRemove method.
-
Overrides
-
SessionImpl.ejbRemove()
Exceptions
-
EJBException
getCatalogManager() Method
public CatalogManager
getCatalogManager()
Returns a instance of the CatalogManager
.
Returns
- An instance of the
CatalogManager
.
getCatalogManagerJndiName() Method
protected String
getCatalogManagerJndiName()
Helper method to retrieve the JNDI name of the Catalog Manager used by
this service. The JNDI name of the CatalogManager is required
by ViewIterators to allow them to lazily contact their
parent services.
setSessionContext(SessionContext) Method
public void setSessionContext(SessionContext
ctx)
throws EJBException
Description copied from SessionImpl.setSessionContext(SessionContext)
setSessionContext method.
-
Overrides
-
SessionImpl.setSessionContext(SessionContext)
Exceptions
-
EJBException
validateAuthorization(CatalogRequest, int) Method
protected void validateAuthorization(CatalogRequest
request,
int code)
throws CatalogException
This method validates that the caller's CatalogRequest
object has the
credentials to peform the operation in the code argument. See CatalogRequest
for a list of the available codes.
Parameters
-
request
- The CatalogRequest object of the caller.
-
code
- the operation code to be authorized.
Exceptions
-
CatalogException
Related Topics
CatalogRequest