|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.nucleus.TimedOperationService atg.nucleus.servlet.ServletService atg.nucleus.servlet.HttpServletService atg.servlet.DynamoServlet atg.markers.droplet.MarkerDroplet atg.markers.bp.droplet.BusinessProcessDroplet atg.markers.bp.droplet.MostRecentBusinessProcessStage
public class MostRecentBusinessProcessStage
This droplet can be used to determine if the most recent marker for a business process has a particular stage.
For example, you could use this droplet in a page to conditionally change
behavior if the most recent stage reached for process x is stage y.
input params
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.markers.bp.droplet.BusinessProcessDroplet |
---|
BPNAME_PARAM, BPSTAGE_PARAM, mBusinessProcessManager, mDefaultBusinessProcessName |
Fields inherited from class atg.markers.droplet.MarkerDroplet |
---|
DATA_PARAM, DUPLICATION_MODE_PARAM, EMPTY_OPARAM, ERROR_MSG_PARAM, ERROR_OPARAM, FALSE_OPARAM, ITEM_ID_PARAM, ITEM_PARAM, KEY_PARAM, MARKED_ITEM_TYPE_PARAM, MARKER_COUNT, MARKER_ELEMENT, MARKER_EXTPROPS_PARAM, MARKER_ITEM_TYPE_PARAM, MARKER_MANAGER_PARAM, MARKER_PROPERTY_NAME_PARAM, MARKERS_ELEMENT, mRepositoryMarkerManager, mTransactionManager, OUTPUT_OPARAM, TRUE_OPARAM, VALUE_PARAM |
Fields inherited from class atg.servlet.DynamoServlet |
---|
mAllowCleanupRequest, mParameters |
Fields inherited from class atg.nucleus.servlet.ServletService |
---|
SERVLET_INFO_KEY |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.markers.bp.BusinessProcessConstants |
---|
BUSINESS_PROCESS_RESOURCE_NAME, sBusinessProcessResourceBundle |
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 | |
---|---|
MostRecentBusinessProcessStage()
|
Method Summary | |
---|---|
java.lang.String |
doService(DynamoHttpServletRequest req,
DynamoHttpServletResponse res)
This method calls the BusinessProcessManager to test the last business process marker with a given business process name. |
Methods inherited from class atg.markers.bp.droplet.BusinessProcessDroplet |
---|
getBusinessProcessManager, getBusinessProcessName, getBusinessProcessStage, getDefaultBusinessProcessName, setBusinessProcessManager, setDefaultBusinessProcessName, validateInput |
Methods inherited from class atg.servlet.DynamoServlet |
---|
doDelete, doGet, doPost, doPut, getParameter, getParameters, getServletContext, service, service, setParameter |
Methods inherited from class atg.nucleus.servlet.ServletService |
---|
destroy, getServletConfig, getServletInfo, init, setServletInfo |
Methods inherited from class atg.nucleus.TimedOperationService |
---|
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatistics |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, 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 |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public MostRecentBusinessProcessStage()
Method Detail |
---|
public java.lang.String doService(DynamoHttpServletRequest req, DynamoHttpServletResponse res) throws MarkerException, javax.servlet.ServletException, java.io.IOException
Sets the "marker" output parameter if the marker is found.
doService
in class MarkerDroplet
MarkerException
- is thrown for any errors that occur. The superclass
will catch them and set the errorMsg output parameter and render the error oparam
javax.servlet.ServletException
java.io.IOException
MarkerDroplet.doService(atg.servlet.DynamoHttpServletRequest, atg.servlet.DynamoHttpServletResponse)
,
MarkerDroplet.TRUE_OPARAM
,
MarkerDroplet.FALSE_OPARAM
,
MarkerDroplet.MARKER_ELEMENT
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |