|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.nucleus.TimedOperationService
atg.nucleus.servlet.ServletService
atg.nucleus.servlet.HttpServletService
atg.servlet.DynamoServlet
atg.projects.store.recommendations.droplet.RecommendationAlternativeSiteIdsDroplet
@Service(requiredProperties={"siteGroupManager","siteContextManager"}) public class RecommendationAlternativeSiteIdsDroplet
This droplet returns the list of alternative store IDs in the order of preference that will be used to lookup product link, price, etc. The first sites in the list will be sites from the same site sharing group as the current site, then the rest sites will go. The input parameters:
siteId
is not provided the current site ID
will be used.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
static atg.nucleus.naming.ParameterName |
EXCLUDE_INPUT_SITE
ParameterName for excludeInputSite |
static atg.nucleus.naming.ParameterName |
INCLUDE_ACTIVE_SITES
ParameterName for includeActiveSites |
protected boolean |
mExcludeInputSite
ExcludeInputSite |
protected boolean |
mIncludeActiveSites
IncludeActiveSites |
protected java.lang.String |
mShareableTypeId
ShareableTypeId |
protected atg.multisite.SiteContextManager |
mSiteContextManager
SiteContextManager |
protected atg.multisite.SiteGroupManager |
mSiteGroupManager
SiteGroupManager |
static atg.nucleus.naming.ParameterName |
OUTPUT
ParameterName for output |
static atg.nucleus.naming.ParameterName |
SHAREABLE_TYPE_ID
ParameterName for shareableTypeId |
static atg.nucleus.naming.ParameterName |
SITE_ID
ParameterName for siteId |
static java.lang.String |
SITES_IDS_PROP_NAME
Parameter name for site |
Fields inherited from class atg.servlet.DynamoServlet |
---|
mAllowCleanupRequest, mParameters |
Fields inherited from class atg.nucleus.servlet.ServletService |
---|
SERVLET_INFO_KEY |
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 | |
---|---|
RecommendationAlternativeSiteIdsDroplet()
|
Method Summary | |
---|---|
java.lang.String |
getShareableTypeId()
|
atg.multisite.SiteContextManager |
getSiteContextManager()
Gets the SiteContextManager. |
atg.multisite.SiteGroupManager |
getSiteGroupManager()
Returns the SiteGroupManager. |
boolean |
isExcludeInputSite()
|
boolean |
isIncludeActiveSites()
Returns the includeActiveSites parameter, determining whether only active sites should be retrieved |
void |
service(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Services the output oparam if a the list of sites can be determined. |
void |
setExcludeInputSite(boolean pExcludeInputSite)
|
void |
setIncludeActiveSites(boolean pIncludeActiveSites)
Sets the includeActiveSites parameter, determining whether only active site should be retrieved |
void |
setShareableTypeId(java.lang.String pShareableTypeId)
|
void |
setSiteContextManager(atg.multisite.SiteContextManager pSiteContextManager)
Sets the SiteContextManager |
void |
setSiteGroupManager(atg.multisite.SiteGroupManager pSiteGroupManager)
Sets the SiteGroupManager |
Methods inherited from class atg.servlet.DynamoServlet |
---|
doDelete, doGet, doPost, doPut, getParameter, getParameters, getServletContext, service, service, setParameter |
Methods inherited from class atg.nucleus.servlet.ServletService |
---|
destroy, getServletConfig, getServletInfo, init, setServletInfo |
Methods inherited from class atg.nucleus.TimedOperationService |
---|
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatistics |
Methods inherited from class atg.nucleus.GenericService |
---|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, 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, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, 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 |
---|
public static java.lang.String CLASS_VERSION
public static final atg.nucleus.naming.ParameterName SITE_ID
public static final atg.nucleus.naming.ParameterName SHAREABLE_TYPE_ID
public static final atg.nucleus.naming.ParameterName EXCLUDE_INPUT_SITE
public static final atg.nucleus.naming.ParameterName INCLUDE_ACTIVE_SITES
public static final atg.nucleus.naming.ParameterName OUTPUT
public static final java.lang.String SITES_IDS_PROP_NAME
protected atg.multisite.SiteGroupManager mSiteGroupManager
protected atg.multisite.SiteContextManager mSiteContextManager
protected java.lang.String mShareableTypeId
protected boolean mExcludeInputSite
protected boolean mIncludeActiveSites
Constructor Detail |
---|
public RecommendationAlternativeSiteIdsDroplet()
Method Detail |
---|
public atg.multisite.SiteGroupManager getSiteGroupManager()
public void setSiteGroupManager(atg.multisite.SiteGroupManager pSiteGroupManager)
pSiteGroupManager
- the siteGroupManager to setpublic atg.multisite.SiteContextManager getSiteContextManager()
public void setSiteContextManager(atg.multisite.SiteContextManager pSiteContextManager)
pSiteContextManager
- the siteContextManager to setpublic java.lang.String getShareableTypeId()
public void setShareableTypeId(java.lang.String pShareableTypeId)
mShareableTypeId
- the mShareableTypeId to setpublic boolean isExcludeInputSite()
public void setExcludeInputSite(boolean pExcludeInputSite)
pExcludeInputSite
- the excludeInputSite to setpublic boolean isIncludeActiveSites()
The default value for this property is false
.
public void setIncludeActiveSites(boolean pIncludeActiveSites)
The default value for this property is false
.
pIncludeActiveSites
- the activeOnly to setpublic void service(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
service
in class atg.servlet.DynamoServlet
pRequest
- The requestpResponse
- The response
javax.servlet.ServletException
java.io.IOException
DynamoServlet.service(atg.servlet.DynamoHttpServletRequest,
atg.servlet.DynamoHttpServletResponse)
,
SiteGroupManager.findSharingSites(String, String, boolean, boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |