atg.projects.store.profile
Class SessionBean

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.projects.store.profile.SessionBean
All Implemented Interfaces:
atg.naming.NameContextBindingListener, atg.naming.NameContextElement, atg.naming.NameResolver, atg.nucleus.AdminableService, atg.nucleus.logging.ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, atg.nucleus.logging.VariableArgumentApplicationLogging, atg.nucleus.naming.ComponentNameResolver, atg.nucleus.Service, atg.nucleus.ServiceListener, java.util.EventListener

public class SessionBean
extends atg.nucleus.GenericService

A session scoped bean containing only a map property.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string.
static java.lang.String COMMERCE_ITEM_ID_PROPERTY_NAME
           
static java.lang.String GIFTLIST_ID_PROPERTY_NAME
           
static java.lang.String PRODUCT_ID_TO_GIFTLIST_PROPERTY_NAME
           
static java.lang.String QUANTITY_TO_ADD_TO_GIFTLIST_PROPERTY_NAME
           
static java.lang.String REDIRECT_AFTER_LOGIN_URL_PROPERTY_NAME
           
static java.lang.String SKU_ID_TO_GIFTLIST_PROPERTY_NAME
           
 
Fields inherited from class atg.nucleus.GenericService
SERVICE_INFO_KEY
 
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging
DEFAULT_LOG_TRACE_STATUS
 
Fields inherited from interface atg.nucleus.logging.ApplicationLogging
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
 
Constructor Summary
SessionBean()
           
 
Method Summary
 java.lang.String[] getSearchSiteIds()
          This property contains site IDs using by the user for search.
 java.lang.String getSkuIdToAdd()
          skuIdToAdd property contains SKU id to be added into shopping cart.
 java.lang.String[] getSkuIdToAddArray()
          skuIdToAdd property in form of String array.
 java.util.HashMap getValues()
          A map containing miscellaneous session values.
 void setSearchSiteIds(java.lang.String[] pSearchSiteIds)
           
 void setSkuIdToAdd(java.lang.String pSkuIdToAdd)
           
 
Methods inherited from class atg.nucleus.GenericService
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
 
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string.


SKU_ID_TO_GIFTLIST_PROPERTY_NAME

public static final java.lang.String SKU_ID_TO_GIFTLIST_PROPERTY_NAME
See Also:
Constant Field Values

COMMERCE_ITEM_ID_PROPERTY_NAME

public static final java.lang.String COMMERCE_ITEM_ID_PROPERTY_NAME
See Also:
Constant Field Values

PRODUCT_ID_TO_GIFTLIST_PROPERTY_NAME

public static final java.lang.String PRODUCT_ID_TO_GIFTLIST_PROPERTY_NAME
See Also:
Constant Field Values

QUANTITY_TO_ADD_TO_GIFTLIST_PROPERTY_NAME

public static final java.lang.String QUANTITY_TO_ADD_TO_GIFTLIST_PROPERTY_NAME
See Also:
Constant Field Values

GIFTLIST_ID_PROPERTY_NAME

public static final java.lang.String GIFTLIST_ID_PROPERTY_NAME
See Also:
Constant Field Values

REDIRECT_AFTER_LOGIN_URL_PROPERTY_NAME

public static final java.lang.String REDIRECT_AFTER_LOGIN_URL_PROPERTY_NAME
See Also:
Constant Field Values
Constructor Detail

SessionBean

public SessionBean()
Method Detail

getValues

public java.util.HashMap getValues()
A map containing miscellaneous session values.

Returns:
the values.

getSkuIdToAdd

public java.lang.String getSkuIdToAdd()
skuIdToAdd property contains SKU id to be added into shopping cart. This property added in order to set two form handlers' property from a single HTML element.


getSkuIdToAddArray

public java.lang.String[] getSkuIdToAddArray()
skuIdToAdd property in form of String array.


setSkuIdToAdd

public void setSkuIdToAdd(java.lang.String pSkuIdToAdd)

getSearchSiteIds

public java.lang.String[] getSearchSiteIds()
This property contains site IDs using by the user for search. This property should be updated each time the user runs new ATG search.

Returns:
site IDs of current search process.

setSearchSiteIds

public void setSearchSiteIds(java.lang.String[] pSearchSiteIds)