public class BusinessProcessServices extends GenericService implements BusinessProcessConstants
BusinessProcessManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
protected BusinessProcessManager |
mBusinessProcessManager |
SERVICE_INFO_KEY
BUSINESS_PROCESS_RESOURCE_NAME, sBusinessProcessResourceBundle
ALLOW_DUPLICATES, ANY_VALUE, DEFAULT_MARKER_ID_PROPERTY_NAME, DEFAULT_MARKER_ITEM_TYPE, DEFAULT_MARKER_PROPERTY_NAME, DEFAULT_MARKER_SORT_PROPERTY_NAME, MARKER_CREATIONDATE_PROPERTY_NAME, MARKER_DATA_PROPERTY_NAME, MARKER_DUPLICATIONMODE_PROPERTY_NAME, MARKER_KEY_PROPERTY_NAME, MARKER_OWNER_PROPERTY_NAME, MARKER_RESOURCE_NAME, MARKER_VALUE_PROPERTY_NAME, NO_DUPLICATES, PARAM_DATA, PARAM_DUPMODE, PARAM_EXTENDED_PROPERTIES, PARAM_ITEM, PARAM_ITEM_ID, PARAM_KEY, PARAM_MARKED_ITEM_TYPE, PARAM_MARKER_ITEM_TYPE, PARAM_MARKER_MANAGER, PARAM_MARKER_PROPERTY_NAME, PARAM_VALUE, REPLACE_DUPLICATES, sResourceBundle
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
BusinessProcessServices() |
Modifier and Type | Method and Description |
---|---|
boolean |
addBusinessProcessStage(java.lang.String pBusinessProcessName,
java.lang.String pBusinessProcessStage)
Adds a business process marker to the item defined by the
business process configuration.
|
void |
doStartService()
Verifies the business process manager property is
configured.
|
BusinessProcessManager |
getBusinessProcessManager() |
boolean |
hasBusinessProcessStage(java.lang.String pBusinessProcessName,
java.lang.String pBusinessProcessStage)
Use this method to test for a business process marker.
|
boolean |
matchMostRecentBusinessProcessStage(java.lang.String pBusinessProcessName,
java.lang.String pBusinessProcessStage)
Use this method to match the most recent marker for a business process.
|
int |
removeBusinessProcessStage(java.lang.String pBusinessProcessName,
java.lang.String pBusinessProcessStage)
Use this method to remove business process markers.
|
void |
setBusinessProcessManager(BusinessProcessManager pBusinessProcessManager)
Sets the Business Process Manager used for all business process
functions.
|
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, stopService
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static java.lang.String CLASS_VERSION
protected BusinessProcessManager mBusinessProcessManager
public BusinessProcessManager getBusinessProcessManager()
public void setBusinessProcessManager(BusinessProcessManager pBusinessProcessManager)
public void doStartService() throws ServiceException
doStartService
in class GenericService
is
- throw if the businessProcessManager property is null.ServiceException
- if the Service had a problem starting uppublic boolean addBusinessProcessStage(java.lang.String pBusinessProcessName, java.lang.String pBusinessProcessStage) throws BusinessProcessException, MarkerException
BusinessProcessException
MarkerException
BusinessProcessManager.addBusinessProcessStage(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.lang.String)
public int removeBusinessProcessStage(java.lang.String pBusinessProcessName, java.lang.String pBusinessProcessStage) throws BusinessProcessException, MarkerException
BusinessProcessException
MarkerException
BusinessProcessManager.removeBusinessProcessStage(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map)
public boolean hasBusinessProcessStage(java.lang.String pBusinessProcessName, java.lang.String pBusinessProcessStage) throws BusinessProcessException, MarkerException
BusinessProcessException
MarkerException
BusinessProcessManager.hasBusinessProcessStage(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map)
public boolean matchMostRecentBusinessProcessStage(java.lang.String pBusinessProcessName, java.lang.String pBusinessProcessStage) throws BusinessProcessException, MarkerException
BusinessProcessException
MarkerException
BusinessProcessManager.matchMostRecentBusinessProcessStage(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map)