com.plumtree.portalpages.admin.ptutilities.localizedstrings
Class LocalizedStringsControl

java.lang.Object
  extended by com.plumtree.uiinfrastructure.form.RepostControl
      extended by com.plumtree.uiinfrastructure.editor.EditorRepostControl
          extended by com.plumtree.portalpages.admin.ptutilities.localizedstrings.LocalizedStringsControl
All Implemented Interfaces:
IControl, IHTTPControl, IManagedObject, IMVCObject

public class LocalizedStringsControl
extends EditorRepostControl
implements IHTTPControl

Author:
MichaelS Controls process the events generated by users. The Interpreter takes the user events and fills out the fields in the control. The control is then executed and returns the next DisplayPage (usually the parent page, unless the control is a go to url control). Controls should encapsulate the business logic of the AActivitySpace. As an MVC component, Views are subject to the strict separation between data, logic, and presentation. Obviously, there should be a good way to refer to controls without having to manually type in a text string. There should be some sort of package identifier used to get these.

Field Summary
static int POSTTOSELF_ACTION_UPLOAD_LOCALIZED
          MES- Custom post actions that we post to ourself- we don't want to conflict with a superclass!
static java.lang.String STR_MVC_CLASS_NAME
           
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorRepostControl
POSTTOSELF_ACTION_ONRETURN_FROM_SUBEDITOR
 
Fields inherited from class com.plumtree.uiinfrastructure.form.RepostControl
HTMLINPUT_PASSTHRU_ARGS, HTMLINPUT_PASSTHRU_CONTROL, HTMLINPUT_POSTTOSELF, HTMLSUBMIT_508_POSTTOSELF, m_asOwner, m_bInitialized, m_htFormData, m_model, m_nAction, m_nPageStatus, m_rRedirect, PAGE_STATUS_INVALID, PAGE_STATUS_VALID, POSTTOSELF_ACTION_APPLY_CHANGES, POSTTOSELF_ACTION_CANCEL, POSTTOSELF_ACTION_FINISH, POSTTOSELF_ACTION_GOTOPAGE, POSTTOSELF_ACTION_IN_PLACE_REFRESH, POSTTOSELF_ACTION_PASSTHRU, POSTTOSELF_ACTION_SIMPLEREPOST, POSTTOSELF_ACTION_UNDEFINED
 
Constructor Summary
LocalizedStringsControl()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 java.lang.String GetName()
          Returns the Class name.
protected  void PerformAction(int _nAction)
          Given the repost action mode, calls the associated method in the model.
 void SetHTTPItems(IXPRequest request, IWebData pageData)
          MES- SetXPRequest is called by the system before calling PerformAction.
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorRepostControl
CheckActionSecurityAndExecute, CheckMandatoryPages, PerformCancelAction, PerformFinishAction, PerformReadOnlyAction, SaveCurrentPage, SetRedirectToCloseSubEditor
 
Methods inherited from class com.plumtree.uiinfrastructure.form.RepostControl
GetPageStatus, GetRepostAction, Init, PerformPassthruAction, SetPageStatus, SetRedirect, SetRepostAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IControl
CheckActionSecurityAndExecute, Init
 

Field Detail

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
See Also:
Constant Field Values

POSTTOSELF_ACTION_UPLOAD_LOCALIZED

public static final int POSTTOSELF_ACTION_UPLOAD_LOCALIZED
MES- Custom post actions that we post to ourself- we don't want to conflict with a superclass!

See Also:
Constant Field Values
Constructor Detail

LocalizedStringsControl

public LocalizedStringsControl()
Method Detail

Create

public java.lang.Object Create()
Description copied from interface: IManagedObject
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Overrides:
Create in class EditorRepostControl
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

GetName

public java.lang.String GetName()
Description copied from class: EditorRepostControl
Returns the Class name.

Specified by:
GetName in interface IMVCObject
Overrides:
GetName in class EditorRepostControl
Returns:
String
See Also:
com.plumtree.portaluiinfrastructure.activityspace.IControl#GetName()

SetHTTPItems

public void SetHTTPItems(IXPRequest request,
                         IWebData pageData)
MES- SetXPRequest is called by the system before calling PerformAction.

Specified by:
SetHTTPItems in interface IHTTPControl
Parameters:
request - is the XPRequest object we're operating on

PerformAction

protected void PerformAction(int _nAction)
Given the repost action mode, calls the associated method in the model.

Overrides:
PerformAction in class EditorRepostControl
Parameters:
_nAction -



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.