com.plumtree.portalpages.admin.ptutilities.migrationutility.imp
Class MigrationImportRepostControl

java.lang.Object
  extended by com.plumtree.uiinfrastructure.form.RepostControl
      extended by com.plumtree.uiinfrastructure.editor.EditorRepostControl
          extended by com.plumtree.portalpages.admin.ptutilities.migrationutility.MigrationUtilityRepostControl
              extended by com.plumtree.portalpages.admin.ptutilities.migrationutility.imp.MigrationImportRepostControl
All Implemented Interfaces:
IControl, IManagedObject, IMVCObject

public class MigrationImportRepostControl
extends MigrationUtilityRepostControl

Author:
jennifersu

Field Summary
static java.lang.String STR_MVC_CLASS_NAME
           
 
Fields inherited from class com.plumtree.portalpages.admin.ptutilities.migrationutility.MigrationUtilityRepostControl
POSTTOSELF_ACTION_MIGRATION_CANCEL, POSTTOSELF_ACTION_MIGRATION_DOUPLOAD, POSTTOSELF_ACTION_MIGRATION_POLL, POSTTOSELF_ACTION_MIGRATION_START, POSTTOSELF_ACTION_REDIRECT_ON_POPUP
 
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
MigrationImportRepostControl()
           
 
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.
protected  void PerformAYSPopup()
          Sets the editor to perform the Are You Sure popup.
 Redirect PollStatus()
          Polls for the status of the currently running migration task.
 
Methods inherited from class com.plumtree.portalpages.admin.ptutilities.migrationutility.MigrationUtilityRepostControl
PerformMigrationPopup
 
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
 

Field Detail

STR_MVC_CLASS_NAME

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

MigrationImportRepostControl

public MigrationImportRepostControl()
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
Specified by:
Create in class MigrationUtilityRepostControl
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 MigrationUtilityRepostControl
Returns:
String

PerformAYSPopup

protected void PerformAYSPopup()
Sets the editor to perform the Are You Sure popup. Takes in an XPArrayList of AYSMessages.

Specified by:
PerformAYSPopup in class MigrationUtilityRepostControl

PerformAction

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

Overrides:
PerformAction in class MigrationUtilityRepostControl
Parameters:
int -

PollStatus

public Redirect PollStatus()
Polls for the status of the currently running migration task. Depending on the status, return an appropriate redirect.

Specified by:
PollStatus in class MigrationUtilityRepostControl
Returns:
Redirect



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