com.plumtree.portalpages.common.joblogs
Class JobLogRepostControl

java.lang.Object
  extended by com.plumtree.uiinfrastructure.form.RepostControl
      extended by com.plumtree.portalpages.common.joblogs.JobLogRepostControl
All Implemented Interfaces:
IControl, IManagedObject, IMVCObject

public class JobLogRepostControl
extends RepostControl

Performs repost actions for the Job history and job log helper package

Author:
JohnH

Field Summary
static int FILTERMODE
          Filter mode
protected  AActivitySpace m_asOwner
           
protected  IModel m_model
           
static int POSTTOSELF_ACTION_ABORT
          Abort job action
static int POSTTOSELF_ACTION_DELETEHISTORY
          Delete history repost action
static int POSTTOSELF_ACTION_DOWNLOAD
          Download file action
static int POSTTOSELF_ACTION_EXITSEARCH
          Exit the search view
static int POSTTOSELF_ACTION_FIRSTHISTORYPAGE
          Move to the first history page
static int POSTTOSELF_ACTION_FIRSTLOGPAGE
          Move to the first log page
static int POSTTOSELF_ACTION_JOBDETAIL_POPUP
          Pop up the job detail window
static int POSTTOSELF_ACTION_JUMPTOPAGE
          Jump to a page in the job log
static int POSTTOSELF_ACTION_LASTHISTORYPAGE
          Move to the last history page
static int POSTTOSELF_ACTION_LASTLOGPAGE
          Move to the last log page
static int POSTTOSELF_ACTION_LOGSEARCH
          Search the job log
static int POSTTOSELF_ACTION_NEXTHISTORYPAGE
          Move to the next history page
static int POSTTOSELF_ACTION_NEXTLOGPAGE
          Move to the next log page
static int POSTTOSELF_ACTION_PREVIOUSHISTORYPAGE
          Move to the previous history page
static int POSTTOSELF_ACTION_PREVIOUSLOGPAGE
          Move to the previous log page
static java.lang.String STR_MVC_CLASS_NAME
          The unique identifier for the class
 
Fields inherited from class com.plumtree.uiinfrastructure.form.RepostControl
HTMLINPUT_PASSTHRU_ARGS, HTMLINPUT_PASSTHRU_CONTROL, HTMLINPUT_POSTTOSELF, HTMLSUBMIT_508_POSTTOSELF, m_bInitialized, m_htFormData, 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
JobLogRepostControl()
           
 
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.
 void Init(IModel model, AActivitySpace space)
          Inits the class with the associated model and activity space.
 void MyPerformReadOnlyAction(int _nAction, XPHashtable m_htFormData_Copy)
           
protected  void PerformAction(int _nAction)
          Switch between the action modes and call the associated method for each action.
 void PublicPerformAction(int _nAction)
           
protected  void SetRepostAction()
          Get the repost action mode from the form data hashtable and set it in the member variable.
 
Methods inherited from class com.plumtree.uiinfrastructure.form.RepostControl
CheckActionSecurityAndExecute, GetPageStatus, GetRepostAction, PerformPassthruAction, SaveCurrentPage, SetPageStatus, SetRedirect
 
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
The unique identifier for the class

See Also:
Constant Field Values

POSTTOSELF_ACTION_DELETEHISTORY

public static final int POSTTOSELF_ACTION_DELETEHISTORY
Delete history repost action

See Also:
Constant Field Values

POSTTOSELF_ACTION_FIRSTHISTORYPAGE

public static final int POSTTOSELF_ACTION_FIRSTHISTORYPAGE
Move to the first history page

See Also:
Constant Field Values

POSTTOSELF_ACTION_PREVIOUSHISTORYPAGE

public static final int POSTTOSELF_ACTION_PREVIOUSHISTORYPAGE
Move to the previous history page

See Also:
Constant Field Values

POSTTOSELF_ACTION_NEXTHISTORYPAGE

public static final int POSTTOSELF_ACTION_NEXTHISTORYPAGE
Move to the next history page

See Also:
Constant Field Values

POSTTOSELF_ACTION_LASTHISTORYPAGE

public static final int POSTTOSELF_ACTION_LASTHISTORYPAGE
Move to the last history page

See Also:
Constant Field Values

POSTTOSELF_ACTION_JOBDETAIL_POPUP

public static final int POSTTOSELF_ACTION_JOBDETAIL_POPUP
Pop up the job detail window

See Also:
Constant Field Values

POSTTOSELF_ACTION_FIRSTLOGPAGE

public static final int POSTTOSELF_ACTION_FIRSTLOGPAGE
Move to the first log page

See Also:
Constant Field Values

POSTTOSELF_ACTION_PREVIOUSLOGPAGE

public static final int POSTTOSELF_ACTION_PREVIOUSLOGPAGE
Move to the previous log page

See Also:
Constant Field Values

POSTTOSELF_ACTION_NEXTLOGPAGE

public static final int POSTTOSELF_ACTION_NEXTLOGPAGE
Move to the next log page

See Also:
Constant Field Values

POSTTOSELF_ACTION_LASTLOGPAGE

public static final int POSTTOSELF_ACTION_LASTLOGPAGE
Move to the last log page

See Also:
Constant Field Values

POSTTOSELF_ACTION_LOGSEARCH

public static final int POSTTOSELF_ACTION_LOGSEARCH
Search the job log

See Also:
Constant Field Values

POSTTOSELF_ACTION_JUMPTOPAGE

public static final int POSTTOSELF_ACTION_JUMPTOPAGE
Jump to a page in the job log

See Also:
Constant Field Values

POSTTOSELF_ACTION_ABORT

public static final int POSTTOSELF_ACTION_ABORT
Abort job action

See Also:
Constant Field Values

POSTTOSELF_ACTION_DOWNLOAD

public static final int POSTTOSELF_ACTION_DOWNLOAD
Download file action

See Also:
Constant Field Values

POSTTOSELF_ACTION_EXITSEARCH

public static final int POSTTOSELF_ACTION_EXITSEARCH
Exit the search view

See Also:
Constant Field Values

FILTERMODE

public static final int FILTERMODE
Filter mode

See Also:
Constant Field Values

m_asOwner

protected AActivitySpace m_asOwner

m_model

protected IModel m_model
Constructor Detail

JobLogRepostControl

public JobLogRepostControl()
Method Detail

Init

public void Init(IModel model,
                 AActivitySpace space)
Description copied from class: RepostControl
Inits the class with the associated model and activity space. If this method is overridden in a sub-class, this version of Init must be called as super.Init();

Specified by:
Init in interface IControl
Overrides:
Init in class RepostControl
See Also:
IControl.Init(IModel, AActivitySpace)

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

SetRepostAction

protected void SetRepostAction()
Description copied from class: RepostControl
Get the repost action mode from the form data hashtable and set it in the member variable.

Overrides:
SetRepostAction in class RepostControl

PublicPerformAction

public void PublicPerformAction(int _nAction)

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 -

MyPerformReadOnlyAction

public void MyPerformReadOnlyAction(int _nAction,
                                    XPHashtable m_htFormData_Copy)



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