com.plumtree.portalpages.browsing.search.results
Class SaveSearchControl

java.lang.Object
  extended by com.plumtree.portaluiinfrastructure.search.SearchResultControl
      extended by com.plumtree.portalpages.browsing.search.results.SaveSearchControl
All Implemented Interfaces:
IControl, IManagedObject, IMVCObject

public class SaveSearchControl
extends SearchResultControl

Author:
CraigS

Field Summary
static int ERRORCODE_ALREADY_EXISTS
           
static int ERRORCODE_GENERAL_FAILURE
           
static int ERRORCODE_NO_NAME_ENTERED
           
static java.lang.String HI_508_CANCEL
           
static java.lang.String HI_508_SAVE
           
static int INTRINSIC_PORTLET_ID
           
static java.lang.String NAME_DATA
           
static java.lang.String STR_MVC_CLASS_NAME
           
 
Fields inherited from class com.plumtree.portaluiinfrastructure.search.SearchResultControl
_model, _parent, BASIC_FIELDS, KEY_DATA, PARTIAL_SEARCH, RECONSTRUCTION_ARGS_PREFIX, RECONSTRUCTION_PREFIX_LENGTH, USER_QUERY
 
Constructor Summary
SaveSearchControl()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
protected  void DoBeforeSavePEI(SavedSearchData ssd, boolean bIsBefore)
           
protected  Redirect ExecuteSearchControl(XPHashtable args, java.lang.String key)
          Execute method that subclasses should implement; unlike Execute() it's allowed to throw a SearchExecutionException.
 java.lang.String GetName()
          Return the name of the MVC object.
protected  boolean is508()
           
 
Methods inherited from class com.plumtree.portaluiinfrastructure.search.SearchResultControl
addCommonData, CheckActionSecurityAndExecute, expectModelInitialized, Init, parseQueryArgs, SpaceNeedsPassthruURL
 
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

NAME_DATA

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

INTRINSIC_PORTLET_ID

public static final int INTRINSIC_PORTLET_ID
See Also:
Constant Field Values

HI_508_SAVE

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

HI_508_CANCEL

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

ERRORCODE_NO_NAME_ENTERED

public static final int ERRORCODE_NO_NAME_ENTERED
See Also:
Constant Field Values

ERRORCODE_ALREADY_EXISTS

public static final int ERRORCODE_ALREADY_EXISTS
See Also:
Constant Field Values

ERRORCODE_GENERAL_FAILURE

public static final int ERRORCODE_GENERAL_FAILURE
See Also:
Constant Field Values
Constructor Detail

SaveSearchControl

public SaveSearchControl()
Method Detail

Create

public java.lang.Object Create()
Description copied from class: SearchResultControl
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 SearchResultControl
Returns:

GetName

public java.lang.String GetName()
Description copied from interface: IMVCObject
Return the name of the MVC object.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class SearchResultControl
Returns:
See Also:
com.plumtree.xpshared.activityspace.IControl#GetName()

ExecuteSearchControl

protected Redirect ExecuteSearchControl(XPHashtable args,
                                        java.lang.String key)
Description copied from class: SearchResultControl
Execute method that subclasses should implement; unlike Execute() it's allowed to throw a SearchExecutionException. The key argument indicates the page on which this control's URL was located; this lets us handle the case where the user hits BACK before clicking on something, and (for example) drills down into a different set of categories than the set being displayed on the current page.

Specified by:
ExecuteSearchControl in class SearchResultControl
Parameters:
args -
key -
Returns:
Throws:
SearchExecutionException

is508

protected boolean is508()
Returns:

DoBeforeSavePEI

protected void DoBeforeSavePEI(SavedSearchData ssd,
                               boolean bIsBefore)



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