public class RepositoryItemPurgeProcessor extends GenericService implements PipelineProcessor, ProcessorConstants
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
SERVICE_INFO_KEYSTOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACKPURGE_ITEM, RETCODE_NOT_OK, RETCODE_OKDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
RepositoryItemPurgeProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
doStartService()
Ensure the repository and item descriptor name are set before starting.
|
java.lang.String |
getItemDescriptorName()
Returns item descriptor name
|
MutableRepository |
getRepository()
Returns property Repository
|
int[] |
getRetCodes()
Returns an array of all the return codes that could be returned by this PipelineProcessor.
|
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
This method runs the actual processor and does the work.
|
void |
setItemDescriptorName(java.lang.String pItemDescriptorName)
Sets item descriptor name
|
void |
setRepository(MutableRepository pRepository)
Sets property Repository
|
addLogListener, createAdminServlet, 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 void setRepository(MutableRepository pRepository)
public MutableRepository getRepository()
public java.lang.String getItemDescriptorName()
public void setItemDescriptorName(java.lang.String pItemDescriptorName)
pItemDescriptorName - item descriptor namepublic int[] getRetCodes()
PipelineProcessorgetRetCodes in interface PipelineProcessorpublic int runProcess(java.lang.Object pParam,
PipelineResult pResult)
throws java.lang.Exception
PipelineProcessorrunProcess in interface PipelineProcessorpParam - an optional user parameterpResult - the PipelineResult object which is used to return errors or other datajava.lang.Exceptionpublic void doStartService()
throws ServiceException
doStartService in class GenericServiceServiceException - if the Service had a problem starting up