|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.enterprise.BasicTemplateProcessor
wt.replication.unit.htmlGeneration.DoReceiveUnitProcessor
This class provides object properties template processors.
Supported API: false
Extendable: false
Field Summary | |
private boolean |
bSchedule
|
private static String |
CODEBASE
|
private int |
iProcessStatus
|
private Locale |
locale
|
private String |
pOID
|
private static WTProperties |
properties
|
private static String |
RESOURCE
|
private String |
sDescription
|
private String |
sItem
|
private String |
sLink
|
private String |
sStartDate
|
private String |
sStartTime
|
private static boolean |
VERBOSE
|
Fields inherited from interface wt.templateutil.processor.ContextTranslator |
CONTEXT_LIST_IN, CONTEXT_LIST_OUT |
Fields inherited from interface wt.templateutil.processor.ContextHolder |
CONTEXT_ACTION, CONTEXT_CLASS_NAME, CONTEXT_OBJ, CONTEXT_PROPERTIES, FORM_DATA, QUERY_DATA, RESPONSE_EXCEPTIONS, RESPONSE_FOOTERS, RESPONSE_HEADERS, RESPONSE_MESSAGES, RESPONSE_STRING, STATUS |
Constructor Summary | |
DoReceiveUnitProcessor()
A no argument constructor with no side effects. |
Method Summary | |
private String |
confirmAction()
Report the results via a confirmation page. |
void |
handleRequest(HTTPRequest req,
HTTPResponse resp)
This method handles HTTP GET requests to produce an HTML page which describes properties of the contextual object of an DoReceiveUnitProcessor instance. |
void |
processAction()
Schedule unit to be received. |
private void |
redirectURL(HTTPResponse resp)
|
void |
showTitle(Properties parameters,
Locale locale,
OutputStream os)
Display title |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static WTProperties properties
private static String CODEBASE
private static boolean VERBOSE
private static final String RESOURCE
private String pOID
private boolean bSchedule
private String sStartTime
private String sStartDate
private String sLink
private String sItem
private String sDescription
private int iProcessStatus
private Locale locale
Constructor Detail |
public DoReceiveUnitProcessor()
Method Detail |
public void handleRequest(HTTPRequest req, HTTPResponse resp) throws WTException
It is expected that this method will be called via the URLProcessor which would have been invoked via a URL created using an objectActionLink (defined by the BasicTemplateProcessor class) script call within an HTML template file.
The format of the HTML that is output is determined by an HTML template file. The template that is used is chosen from the templates directory based on the class of the contextual object, the locale and the parameters passed to the objectProperties call. The template file is chosen using the ExportUnitTemplateFactory.
Supported API: false
req
- HTTPRequestresp
- HTTPResponse
WTException
URLProcessor
public void processAction() throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private String confirmAction() throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public void showTitle(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
private void redirectURL(HTTPResponse resp) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |