atg.commerce.search
Class IndexedItemsGroup

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.targeting.DynamicContentGroup
              extended by atg.commerce.search.IndexedItemsGroup
All Implemented Interfaces:
NameContextBindingListener, NameContextElement, NameResolver, AdminableService, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, RepositoryItemGroup, atg.targeting.PCCEditableComponent, atg.targeting.RepositoryItemGroupTargeter, atg.targeting.RepositoryTargeter, java.util.EventListener

public class IndexedItemsGroup
extends DynamicContentGroup

This class extends DynamicContentGroup to add a warning message if the members of the group are accessed, but no members are returned. This is meant to short-circuit a common problem where no items are indexed from the catalog because the catalog maintenance services have not been run.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
protected static java.lang.String NO_ITEMS_WARNING
           
protected static java.lang.String sResourceName
          Resource bundle
 
Fields inherited from class atg.targeting.DynamicContentGroup
mGroup, mRepository, mRepositoryViewName, mRules, mRuleStrings, mTargetingSourceMap, mUseNucleusNameResolver
 
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
IndexedItemsGroup()
           
 
Method Summary
 RepositoryItem[] getGroupMembers()
          Get the members of this group.
 
Methods inherited from class atg.targeting.DynamicContentGroup
buildGroup, createGroupConfiguration, doStartService, doStopService, getGroupCount, getGroupDefinition, getGroupName, getGroupQuery, getLogger, getRepository, getRepositoryView, getRepositoryViewName, getRuleNameResolver, getRules, getRuleStrings, getSourceMap, getUseNucleusNameResolver, isGroupMember, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingWarning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logWarning, logWarning, logWarning, setLogger, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingWarning, setRepository, setRepositoryViewName, setRules, setRuleStrings, setSourceMap, setUseNucleusNameResolver, start, stop, updateGroup, zapGroup
 
Methods inherited from class atg.nucleus.GenericService
addLogListener, createAdminServlet, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingTrace, isRunning, logTrace, logTrace, logTrace, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingTrace, 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


sResourceName

protected static final java.lang.String sResourceName
Resource bundle

See Also:
Constant Field Values

NO_ITEMS_WARNING

protected static final java.lang.String NO_ITEMS_WARNING
Constructor Detail

IndexedItemsGroup

public IndexedItemsGroup()
Method Detail

getGroupMembers

public RepositoryItem[] getGroupMembers()
Get the members of this group.

Specified by:
getGroupMembers in interface RepositoryItemGroup
Overrides:
getGroupMembers in class DynamicContentGroup