|
|||||||||||
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.SendUnitNextProcessor
This class provides object properties template processors.
Supported API: false
Extendable: false
Field Summary | |
private boolean |
bEMBPipe
|
private boolean |
bScheduled
|
private static String |
CODEBASE
|
private int |
iProcessStatus
|
private String |
pOID
|
private static WTProperties |
properties
|
private static String |
RESOURCE
|
private String |
sDescription
|
private String |
sDomain
|
private String |
sEMBFolder
|
private String |
sFullTeamTemplateName
|
private static boolean |
SHOW_LOCAL_SITE
|
private String |
sItem
|
private String |
sLink
|
private String |
sRecord
|
private String |
sSite
|
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 | |
SendUnitNextProcessor()
A no argument constructor with no side effects. |
Method Summary | |
void |
confirmAction(Properties parameters,
Locale locale,
OutputStream os)
Attempt to send the unit to the target. |
void |
createActionsBar(Properties parameters,
Locale locale,
OutputStream os)
Override creatActionBar in order to set highted item in menu bar. |
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 SendUnitNextProcessor instance. |
void |
processAction(Properties parameters,
Locale locale,
OutputStream os)
Schedule unit for send. |
void |
scheduleUnit(Properties parameters,
Locale locale,
OutputStream os)
Presents the send unit table. |
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 sLink
private String sItem
private boolean bEMBPipe
private String sSite
private String sRecord
private String sFullTeamTemplateName
private String sEMBFolder
private boolean bScheduled
private String sStartTime
private String sStartDate
private String sDomain
private String sDescription
private int iProcessStatus
private static final boolean SHOW_LOCAL_SITE
Constructor Detail |
public SendUnitNextProcessor()
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 SendUnitTemplateFactory.
Supported API: false
req
- HTTPRequestresp
- HTTPResponse
WTException
URLProcessor
,
wt.enterprise.SendUnitTemplateFactory
public HTMLTemplate getTemplate(Vector preferences) throws WTException
WTException
public void scheduleUnit(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void showTitle(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void createActionsBar(Properties parameters, Locale locale, OutputStream os) throws WTException
createActionsBar
in class BasicTemplateProcessor
parameters
- the Properties which contains parameter values
specified in the script call. Can contain values for the link color and
background color of the table cells.locale
- the locale in which the links will be displayedos
- the OutputStream to write the table of links to.
WTException
- if an error occurs building the links to the actionspublic void processAction(Properties parameters, Locale locale, OutputStream os) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public void confirmAction(Properties parameters, Locale locale, OutputStream os) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |