public class ProductInventoryCollector extends GenericService implements SearchUpdateCollector, MetaPropertyProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
ProductInventoryCollector() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCollectorName()
Name this collector is known by for display and logging purposes.
|
CollectorPropertyService |
getCollectorPropertyService() |
protected java.util.EnumMap<CollectorPropertyService.AvailabilityStatus,java.lang.Integer> |
getOrderedMap() |
java.util.Set<MetaProperty> |
getProperties(java.util.Set<java.lang.String> pAcceptableTypes)
Gets the set of properties that are available.
|
java.lang.String[] |
getSummaryLogicStatuses() |
boolean |
isCollectorEnabled()
Only enabled collectors are used.
|
boolean |
isNotDependOnMissedSku() |
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) |
void |
setNotDependOnMissedSku(boolean pNotDependOnMissedSku) |
void |
setSummaryLogicStatuses(java.lang.String[] pSummaryLogicStatuses) |
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
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static final java.lang.String CLASS_VERSION
public boolean isNotDependOnMissedSku()
public void setNotDependOnMissedSku(boolean pNotDependOnMissedSku)
public void setCollectorPropertyService(CollectorPropertyService pCollectorPropertyService)
public CollectorPropertyService getCollectorPropertyService()
public void setSummaryLogicStatuses(java.lang.String[] pSummaryLogicStatuses)
public java.lang.String[] getSummaryLogicStatuses()
public java.lang.String getCollectorName()
SearchUpdateCollector
getCollectorName
in interface SearchUpdateCollector
public void setCollectorName(java.lang.String pCollectorName)
public boolean isCollectorEnabled()
SearchUpdateCollector
isCollectorEnabled
in interface SearchUpdateCollector
public void setCollectorEnabled(boolean pCollectorEnabled)
public SearchUpdateOutputProperty[] processItem(java.lang.String pId, RepositoryItemDescriptor pIndexedItemDescriptor) throws SearchUpdateException
SearchUpdateCollector
processItem
in interface SearchUpdateCollector
pId
- String repository item idpIndexedItemDescriptor
- item descriptorSearchUpdateException
public java.util.Set<MetaProperty> getProperties(java.util.Set<java.lang.String> pAcceptableTypes)
getProperties
in interface MetaPropertyProvider
pAcceptableTypes
- Set of valid String property data types.protected java.util.EnumMap<CollectorPropertyService.AvailabilityStatus,java.lang.Integer> getOrderedMap()