Plumtree Portal UI  
 

SearchResultControl Methods

The methods of the SearchResultControl class are listed below. For a complete list of SearchResultControl class members, see the SearchResultControl Members topic.

Public Static Methods

SpaceNeedsPassthruURL Utility function to figure out whether we're in a space that requires a "passthru url" (i.e. a link that is actually javascript to direct the request through the repost control, so that the page gets saved before the search link is followed).

Protected Static Methods

addCommonData 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.

Public Instance Methods

CheckActionSecurityAndExecute 
Create This method is used by the ASManager to return new instances of managed objects.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetName 
GetType (inherited from Object)Gets the Type of the current instance.
Init 
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

ExecuteSearchControl 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.
expectModelInitialized Subclasses should override this method and return false if they don't mind the model being uninitialized on entry.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
parseQueryArgs Helper method to grab query parameters out of the provided arguments and return them in a temporary QueryArguments structure. The argument names may be prepended with the provided prefix. If no args were found or the query could not be reconstructed, this method should return null.

See Also

SearchResultControl Class | com.plumtree.portaluiinfrastructure.search Namespace