com.plumtree.portaluiinfrastructure.editor.saveobject
Class SaveObjectRepostControl

java.lang.Object
  extended by com.plumtree.uiinfrastructure.form.RepostControl
      extended by com.plumtree.portaluiinfrastructure.editor.saveobject.SaveObjectRepostControl
All Implemented Interfaces:
IControl, IHTTPControl, IManagedObject, IMVCObject

public class SaveObjectRepostControl
extends RepostControl
implements IHTTPControl

Author:
Julie Fournier

Field Summary
static int POSTTOSELF_ACTION_CHANGETAB
          Repost Action: To change tab.
static int POSTTOSELF_ACTION_GOTO_FOLDERTREETAB
          Repost Action: To redirect the body frame to the folder tree.
static int POSTTOSELF_ACTION_GOTO_SECURITYTAB
          Repost Action: To redirect the body frame to the security page.
static int POSTTOSELF_ACTION_REPOST_TREE
          Repost Action: Repost tree frame
static int POSTTOSELF_ACTION_REPOST_TREE_AND_SAVE
          Repost Action: Repost tree frame and save object
static int POSTTOSELF_ACTION_SAVENAME_AND_DESCRIPTION
          Repost Action: Simple repost to sasve the name and description frame.
static int POSTTOSELF_ACTION_SAVEOBJECT
          Repost Action: To save the object.
static java.lang.String STR_MVC_CLASS_NAME
          Class name for the activity space
 
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
SaveObjectRepostControl()
           
 
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)
          Switch between the action modes and call the associated method for each action.
 void SetHTTPItems(IXPRequest _xpRequest, IWebData _webdata)
          Inits this Control with the HTTP Request and the Web Data object.
 
Methods inherited from class com.plumtree.uiinfrastructure.form.RepostControl
CheckActionSecurityAndExecute, GetPageStatus, GetRepostAction, Init, PerformPassthruAction, SaveCurrentPage, 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
Class name for the activity space

See Also:
Constant Field Values

POSTTOSELF_ACTION_SAVEOBJECT

public static final int POSTTOSELF_ACTION_SAVEOBJECT
Repost Action: To save the object.

See Also:
Constant Field Values

POSTTOSELF_ACTION_GOTO_SECURITYTAB

public static final int POSTTOSELF_ACTION_GOTO_SECURITYTAB
Repost Action: To redirect the body frame to the security page.

See Also:
Constant Field Values

POSTTOSELF_ACTION_GOTO_FOLDERTREETAB

public static final int POSTTOSELF_ACTION_GOTO_FOLDERTREETAB
Repost Action: To redirect the body frame to the folder tree.

See Also:
Constant Field Values

POSTTOSELF_ACTION_SAVENAME_AND_DESCRIPTION

public static final int POSTTOSELF_ACTION_SAVENAME_AND_DESCRIPTION
Repost Action: Simple repost to sasve the name and description frame.

See Also:
Constant Field Values

POSTTOSELF_ACTION_CHANGETAB

public static final int POSTTOSELF_ACTION_CHANGETAB
Repost Action: To change tab.

See Also:
Constant Field Values

POSTTOSELF_ACTION_REPOST_TREE

public static final int POSTTOSELF_ACTION_REPOST_TREE
Repost Action: Repost tree frame

See Also:
Constant Field Values

POSTTOSELF_ACTION_REPOST_TREE_AND_SAVE

public static final int POSTTOSELF_ACTION_REPOST_TREE_AND_SAVE
Repost Action: Repost tree frame and save object

See Also:
Constant Field Values
Constructor Detail

SaveObjectRepostControl

public SaveObjectRepostControl()
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 RepostControl
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

GetName

public java.lang.String GetName()
Returns the Class name.

Specified by:
GetName in interface IMVCObject
Overrides:
GetName in class RepostControl
Returns:
String

SetHTTPItems

public void SetHTTPItems(IXPRequest _xpRequest,
                         IWebData _webdata)
Inits this Control with the HTTP Request and the Web Data object.

Specified by:
SetHTTPItems in interface IHTTPControl
Parameters:
_xpRequest -
_webdata -

PerformAction

protected void PerformAction(int _nAction)
Switch between the action modes and call the associated method for each action.

Overrides:
PerformAction in class RepostControl
Parameters:
_nAction -



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