|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| 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
@Deprecated public class CatalogServiceImpl
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.
CatalogService,
CatalogServiceHome,
Serialized Form| Field Summary | |
|---|---|
protected static String |
CATALOG_MANAGER_HOME
Deprecated The Catalog Manager is used to control access to the services for the Product Catalog. |
protected static String |
CATALOG_QUERY_DELEGATE
Deprecated |
protected static String |
CATEGORY_DELEGATE
Deprecated |
protected static String |
CUSTOM_DATA_DELEGATE
Deprecated |
protected static String |
PRODUCT_ITEM_DELEGATE
Deprecated |
| Fields inherited from class com.beasys.commerce.foundation.SessionImpl |
|---|
_ctx, _environmentNamingContext, _environmentPropertyCache, _isDirty |
| Constructor Summary | |
|---|---|
CatalogServiceImpl()
Deprecated |
|
| Method Summary | |
|---|---|
void |
ejbActivate()
Deprecated ejbActivate method. |
void |
ejbCreate()
Deprecated ejbCreate method. |
void |
ejbPassivate()
Deprecated ejbPassivate method. |
void |
ejbPostCreate()
Deprecated ejbPostCreate method. |
void |
ejbRemove()
Deprecated ejbRemove method. |
CatalogManager |
getCatalogManager()
Deprecated Returns a instance of the CatalogManager. |
protected String |
getCatalogManagerJndiName()
Deprecated Helper method to retrieve the JNDI name of the Catalog Manager used by this service. |
protected com.beasys.commerce.ebusiness.catalog.cm.config.CommerceConfigBean |
getConfigBean()
Deprecated This need to be initialized in the create method |
protected void |
setDelegateName(String type,
String delegateName)
Deprecated |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Deprecated setSessionContext method. |
protected void |
validateAuthorization(CatalogRequest request,
int code)
Deprecated This method validates that the caller's CatalogRequest object has the
credentials to peform the operation in the code argument. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String CATEGORY_DELEGATE
protected static final String PRODUCT_ITEM_DELEGATE
protected static final String CATALOG_QUERY_DELEGATE
protected static final String CUSTOM_DATA_DELEGATE
protected static String CATALOG_MANAGER_HOME
| Constructor Detail |
|---|
public CatalogServiceImpl()
| Method Detail |
|---|
public void ejbCreate()
throws javax.ejb.CreateException
SessionImpl
ejbCreate in class SessionImpljavax.ejb.CreateException
public void ejbPostCreate()
throws javax.ejb.CreateException
SessionImpl
ejbPostCreate in class SessionImpljavax.ejb.CreateException
public void ejbActivate()
throws javax.ejb.EJBException
SessionImpl
ejbActivate in interface javax.ejb.SessionBeanejbActivate in class SessionImpljavax.ejb.EJBException
public void ejbPassivate()
throws javax.ejb.EJBException
SessionImpl
ejbPassivate in interface javax.ejb.SessionBeanejbPassivate in class SessionImpljavax.ejb.EJBException
public void ejbRemove()
throws javax.ejb.EJBException
SessionImpl
ejbRemove in interface javax.ejb.SessionBeanejbRemove in class SessionImpljavax.ejb.EJBException
public void setSessionContext(javax.ejb.SessionContext ctx)
throws javax.ejb.EJBException
SessionImpl
setSessionContext in interface javax.ejb.SessionBeansetSessionContext in class SessionImpljavax.ejb.EJBExceptionpublic CatalogManager getCatalogManager()
CatalogManager.
CatalogManager.
RemoteException - on remote error.
protected void validateAuthorization(CatalogRequest request,
int code)
throws CatalogException
CatalogRequest object has the
credentials to peform the operation in the code argument. See CatalogRequest
for a list of the available codes.
request - The CatalogRequest object of the caller.code - the operation code to be authorized.
CatalogOperationNotAuthorizedException - if the caller does not have sufficient
credentials to perform the operation.
CatalogExceptionCatalogRequestprotected String getCatalogManagerJndiName()
protected com.beasys.commerce.ebusiness.catalog.cm.config.CommerceConfigBean getConfigBean()
protected void setDelegateName(String type,
String delegateName)
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||