com.plumtree.portalpages.portlets.jobhistory
Class JobHistoryPortletControl

java.lang.Object
  extended by com.plumtree.portaluiinfrastructure.intrinsicportlets.IntrinsicPortletControl
      extended by com.plumtree.portalpages.portlets.jobhistory.JobHistoryPortletControl
All Implemented Interfaces:
IControl, IManagedObject, IMVCObject

public class JobHistoryPortletControl
extends IntrinsicPortletControl

This class implements the control for the Job History intrinsic portlet

Author:
JohnH

Field Summary
static int FILTERMODE
          Filter mode
static int POSTTOSELF_ACTION_ABORT
          Abort job action
static int POSTTOSELF_ACTION_FIRSTHISTORYPAGE
          Move to the first history page
static int POSTTOSELF_ACTION_JOBDETAIL_POPUP
          Pop up the job detail window
static int POSTTOSELF_ACTION_LASTHISTORYPAGE
          Move to the last history page
static int POSTTOSELF_ACTION_NEXTHISTORYPAGE
          Move to the next history page
static int POSTTOSELF_ACTION_PREVIOUSHISTORYPAGE
          Move to the previous history page
static java.lang.String STR_MVC_CLASS_NAME
          Class name for the control.
 
Fields inherited from class com.plumtree.portaluiinfrastructure.intrinsicportlets.IntrinsicPortletControl
m_asOwner, m_model
 
Constructor Summary
JobHistoryPortletControl()
           
 
Method Summary
 Redirect CheckActionSecurityAndExecute(XPHashtable arguments)
          Execute the control business logic and optionally return a Redirect object pointing to another AActivitySpace.
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 java.lang.String GetName()
          Returns the name for the control
 void PerformRepostAction(int _nAction, XPHashtable _htFormData)
          This method is a dispatcher.
 
Methods inherited from class com.plumtree.portaluiinfrastructure.intrinsicportlets.IntrinsicPortletControl
Init
 
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
Class name for the control. For intrinsic portlets, the control must have the same class name as the model.

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_ABORT

public static final int POSTTOSELF_ACTION_ABORT
Abort job action

See Also:
Constant Field Values

FILTERMODE

public static final int FILTERMODE
Filter mode

See Also:
Constant Field Values
Constructor Detail

JobHistoryPortletControl

public JobHistoryPortletControl()
Method Detail

CheckActionSecurityAndExecute

public Redirect CheckActionSecurityAndExecute(XPHashtable arguments)
Description copied from interface: IControl
Execute the control business logic and optionally return a Redirect object pointing to another AActivitySpace. Returning null means that the user should return to the parent AActivitySpace's current page. This method is designed to check that the user has access to perform the actions with the given parameters. If the user does not, a redirect object which has had Redirect.SetRedirectToLogin(true) called on it. If the user is the Guest, this will bounce to the login page and back to the Redirect after the user has logged on. If the user is already logged on, they will be redirected to an error page. In general, the error redirect that is returned should contain all of the query string parameters that made up the URL that originally led to the control. Checking whether or not a particular user ever has any access to the space, page, and control should be done in IPTActivitySpace.CheckBasicAccess().

Specified by:
CheckActionSecurityAndExecute in interface IControl
Specified by:
CheckActionSecurityAndExecute in class IntrinsicPortletControl
Parameters:
arguments -
Returns:
See Also:
com.plumtree.portaluiinfrastructure.activityspace.IControl#Execute()

Create

public java.lang.Object Create()
Description copied from class: IntrinsicPortletControl
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 IntrinsicPortletControl
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 name for the control

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

PerformRepostAction

public void PerformRepostAction(int _nAction,
                                XPHashtable _htFormData)
Description copied from class: IntrinsicPortletControl
This method is a dispatcher. For each repost action it should perform the right action.

Specified by:
PerformRepostAction in class IntrinsicPortletControl
Parameters:
_nAction -
_htFormData -



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