|
|||||||||||
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.ScheduleLinksProcessor
This class provides object properties template processors.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CODEBASE
|
private int |
iOperationType
|
private int |
iProcessStatus
|
private String |
pOID
|
private static WTProperties |
properties
|
private static String |
RESOURCE
|
private String |
sAction
|
private String |
sItem
|
private String |
sOperationType
|
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 | |
ScheduleLinksProcessor()
A no argument constructor with no side effects. |
Method Summary | |
void |
confirmAction(Properties parameters,
Locale locale,
OutputStream os)
Report the results via a confirmation page. |
HTMLTemplate |
getTemplate(Vector preferences)
Return an initialized HTMLTemplate. |
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 ScheduleLinksProcessor instance. |
void |
processAction(Properties parameters,
Locale locale,
OutputStream os)
Handle modification links for schedule item. |
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 String sAction
private String sItem
private String sOperationType
private int iOperationType
private int iProcessStatus
Constructor Detail |
public ScheduleLinksProcessor()
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.
Supported API: false
req
- HTTPRequestresp
- HTTPResponse
WTException
URLProcessor
public HTMLTemplate getTemplate(Vector preferences) throws WTException
WTException
public void processAction(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void confirmAction(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void showTitle(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |