public class SKUInventoryCollector extends GenericService implements SearchUpdateCollector, MetaPropertyProvider
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
SKUInventoryCollector() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCollectorName()
Name this collector is known by for display and logging purposes.
|
CollectorPropertyService |
getCollectorPropertyService() |
java.util.Set<MetaProperty> |
getProperties(java.util.Set<java.lang.String> pAcceptableTypes)
Gets the set of properties that are available.
|
boolean |
isCollectorEnabled()
Only enabled collectors are used.
|
SearchUpdateOutputProperty[] |
processItem(java.lang.String pId,
RepositoryItemDescriptor pIndexedItemDescriptor)
Asks the collector to return any properties that should be added to the index for the
given repository parameters.
|
void |
setCollectorEnabled(boolean pCollectorEnabled) |
void |
setCollectorName(java.lang.String pCollectorName) |
void |
setCollectorPropertyService(CollectorPropertyService pCollectorPropertyService) |
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, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static final java.lang.String CLASS_VERSION
public void setCollectorPropertyService(CollectorPropertyService pCollectorPropertyService)
public CollectorPropertyService getCollectorPropertyService()
public java.lang.String getCollectorName()
SearchUpdateCollectorgetCollectorName in interface SearchUpdateCollectorpublic void setCollectorName(java.lang.String pCollectorName)
public boolean isCollectorEnabled()
SearchUpdateCollectorisCollectorEnabled in interface SearchUpdateCollectorpublic void setCollectorEnabled(boolean pCollectorEnabled)
public SearchUpdateOutputProperty[] processItem(java.lang.String pId, RepositoryItemDescriptor pIndexedItemDescriptor) throws SearchUpdateException
SearchUpdateCollectorprocessItem in interface SearchUpdateCollectorpId - String repository item idpIndexedItemDescriptor - item descriptorSearchUpdateExceptionpublic java.util.Set<MetaProperty> getProperties(java.util.Set<java.lang.String> pAcceptableTypes)
getProperties in interface MetaPropertyProviderpAcceptableTypes - Set of valid String property data types.