wt.federation.admin
Class UpdateIETranslationsDelegate

java.lang.Object
  extended bywt.federation.admin.UpdateIETranslationsDelegate
All Implemented Interfaces:
FormActionDelegate

public class UpdateIETranslationsDelegate
extends Object
implements FormActionDelegate


Field Summary
private  Object actionObject
           
private static String FEDERATION_RESOURCE
           
private static String RESOURCE
           
private static boolean VERBOSE
           
 
Fields inherited from interface wt.enterprise.FormActionDelegate
ACTION_OBJECT
 
Constructor Summary
UpdateIETranslationsDelegate()
           
 
Method Summary
 Object getActionObject()
          Gets the object for the association that plays role: ACTION_OBJECT.
 Properties processAction(Properties props, ContentHTTPStream contentStream, Locale locale)
          This method will process an action invoked from the FormProcessor.
 void setActionObject(Object a_ActionObject)
          Sets the object for the association that plays role: ACTION_OBJECT.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

FEDERATION_RESOURCE

private static final String FEDERATION_RESOURCE
See Also:
Constant Field Values

actionObject

private Object actionObject

VERBOSE

private static boolean VERBOSE
Constructor Detail

UpdateIETranslationsDelegate

public UpdateIETranslationsDelegate()
Method Detail

getActionObject

public Object getActionObject()
Description copied from interface: FormActionDelegate
Gets the object for the association that plays role: ACTION_OBJECT.

Supported API: false

Specified by:
getActionObject in interface FormActionDelegate
Returns:
Object

setActionObject

public void setActionObject(Object a_ActionObject)
                     throws WTPropertyVetoException
Description copied from interface: FormActionDelegate
Sets the object for the association that plays role: ACTION_OBJECT.

Supported API: false

Specified by:
setActionObject in interface FormActionDelegate
Parameters:
a_ActionObject -
Throws:
WTPropertyVetoException

processAction

public Properties processAction(Properties props,
                                ContentHTTPStream contentStream,
                                Locale locale)
                         throws Exception
Description copied from interface: FormActionDelegate
This method will process an action invoked from the FormProcessor.

The Properties arguement will always contain name value pairs of those things based on the query string to the FormProcessor.

The contents of the Properties arguement is the based on the contents of the form when invoking the processForm method in the FormProcessor. It consists of the name value pairs up to the point of the beginning of content of the form. Then the rest of the form stream is placed in an instance of the ContentHttpStream class.

When invoking the invokeAction method in the FormProcessor class the ContentHttpStream arguement will always be null.

This method is intended to perform the action based on information pased. Any exception thrown will be displayed in the web browser to the user. It is best if the properties returned is a copy of the properties passed plus any



Supported API: false

Supported API: true

Specified by:
processAction in interface FormActionDelegate
Parameters:
props -
contentStream -
locale -
Returns:
Properties
Throws:
Exception
See Also:
FormProcessor, wt.content.ContentHttpStream