|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portaluiinfrastructure.search.SearchResultControl
public abstract class SearchResultControl
Field Summary | |
---|---|
protected ISearchResultModel |
_model
|
protected AActivitySpace |
_parent
|
static java.lang.String |
BASIC_FIELDS
|
static java.lang.String |
KEY_DATA
|
static java.lang.String |
PARTIAL_SEARCH
|
static java.lang.String |
RECONSTRUCTION_ARGS_PREFIX
|
static int |
RECONSTRUCTION_PREFIX_LENGTH
|
static java.lang.String |
USER_QUERY
|
Constructor Summary | |
---|---|
SearchResultControl()
|
Method Summary | |
---|---|
protected static void |
addCommonData(ISearchResultModelRO model,
ILink url)
Most subclasses of SearchResultControl have a makeURL() method to generate a link that activates the control; makeURL() should call this method to set common superclass data. |
Redirect |
CheckActionSecurityAndExecute(XPHashtable args)
Execute the control business logic and optionally return a Redirect object pointing to another AActivitySpace. |
abstract java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
protected abstract Redirect |
ExecuteSearchControl(XPHashtable args,
java.lang.String key)
Execute method that subclasses should implement; unlike Execute() it's allowed to throw a SearchExecutionException. |
protected boolean |
expectModelInitialized()
Subclasses should override this method and return false if they don't mind the model being uninitialized on entry. |
abstract java.lang.String |
GetName()
Return the name of the MVC object. |
void |
Init(IModel model,
AActivitySpace space)
Initialize the control with the model it should use and it's parent AActivitySpace. |
protected QueryArguments |
parseQueryArgs(XPHashtable args,
java.lang.String prefix)
Helper method to grab query parameters out of the provided arguments and return them in a temporary QueryArguments structure. |
static boolean |
SpaceNeedsPassthruURL(AActivitySpace space)
Utility function to figure out whether we're in a space that requires a "passthru url" (i.e. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String KEY_DATA
public static final java.lang.String RECONSTRUCTION_ARGS_PREFIX
public static final int RECONSTRUCTION_PREFIX_LENGTH
public static final java.lang.String USER_QUERY
public static final java.lang.String PARTIAL_SEARCH
public static final java.lang.String BASIC_FIELDS
protected AActivitySpace _parent
protected ISearchResultModel _model
Constructor Detail |
---|
public SearchResultControl()
Method Detail |
---|
public Redirect CheckActionSecurityAndExecute(XPHashtable args)
IControl
CheckActionSecurityAndExecute
in interface IControl
com.plumtree.portaluiinfrastructure.activityspace.IControl#Execute()
public abstract java.lang.Object Create()
Create
in interface IManagedObject
public abstract java.lang.String GetName()
IMVCObject
GetName
in interface IMVCObject
com.plumtree.xpshared.activityspace.IControl#GetName()
public void Init(IModel model, AActivitySpace space)
IControl
Init
in interface IControl
com.plumtree.portaluiinfrastructure.activityspace.IControl#Init(IModel, AActivitySpace)
protected static void addCommonData(ISearchResultModelRO model, ILink url)
protected abstract Redirect ExecuteSearchControl(XPHashtable args, java.lang.String key)
protected boolean expectModelInitialized()
protected QueryArguments parseQueryArgs(XPHashtable args, java.lang.String prefix)
public static boolean SpaceNeedsPassthruURL(AActivitySpace space)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |