|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.enterprise.BasicTemplateProcessor
wt.notify.PolicyNotificationProcessor
Provides support for the generation of policy notifications.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private String |
event
|
private ObjectIdentifier |
eventSourceId
|
static long |
EXTERNALIZATION_VERSION_UID
|
private String |
messageBody
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
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 | |
PolicyNotificationProcessor()
Supported API: false |
|
PolicyNotificationProcessor(String event,
Object object)
Constructs a template processor that will generate HTML containing information about the target object and event. |
Method Summary | |
void |
event(Properties properties,
Locale locale,
OutputStream os)
|
String |
getEvent()
Gets the value of the attribute: event. |
ObjectIdentifier |
getEventSourceId()
Gets the value of the attribute: eventSourceId; Object identifier of the execution object that generated the event. |
WTObject |
getTarget()
|
void |
handleRequest(HTTPRequest request,
HTTPResponse response)
Supported API: false |
void |
messageBody(Properties parameters,
Locale locale,
OutputStream os)
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(PolicyNotificationProcessor thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setEvent(String a_Event)
Sets the value of the attribute: event. |
void |
setEventSourceId(ObjectIdentifier a_EventSourceId)
Sets the value of the attribute: eventSourceId; Object identifier of the execution object that generated the event. |
void |
setMessageBody(String a_Message)
|
void |
targetDisplayIdentity(Properties parameters,
Locale locale,
OutputStream os)
|
void |
targetObjectLink(Properties parameters,
Locale locale,
OutputStream os)
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private ObjectIdentifier eventSourceId
private String event
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private String messageBody
Constructor Detail |
public PolicyNotificationProcessor()
public PolicyNotificationProcessor(String event, Object object)
event
- object
- Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class BasicTemplateProcessor
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class BasicTemplateProcessor
input
-
IOException
ClassNotFoundException
protected boolean readVersion(PolicyNotificationProcessor thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public ObjectIdentifier getEventSourceId()
public void setEventSourceId(ObjectIdentifier a_EventSourceId)
a_EventSourceId
- public String getEvent()
public void setEvent(String a_Event)
a_Event
- public void handleRequest(HTTPRequest request, HTTPResponse response) throws WTException
handleRequest
in interface TemplateProcessor
request
- response
-
WTException
public void setMessageBody(String a_Message)
public void messageBody(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void event(Properties properties, Locale locale, OutputStream os)
public WTObject getTarget()
public void targetDisplayIdentity(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void targetObjectLink(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 |