EnsPortal.Template.filteredViewerabstract class EnsPortal.Template.filteredViewer
Comma separated list of subscripts to use in the %session object for saved searches.
Name of column to use for Session ID in links. This is primarily for the MessageBank, which displays the client session but links to the banked session.
Name of the Assistant class to use.
Flag to indicate whether a user may resend messages. Sub classes to implement based on resource required.
URL of dialog window to use for editing Search Criteria.
Name of the current saved search. Should be empty if no saved search is selected. Users can bookmark saved searches by using making use of the SAVEDSEARCH parameter in the URL.
Name of Filter class to use for filtering searches.
Header class to use for queries and display.
Flag to indicate whether the server should check for search warnings. This is set to 1 to avoid issues when first loading the query as part of the page load, and should then be set to 0 for most subsequent searches. It should only be set to 1 when users have read a warning and have chosen to execute a possibly problematic query.
Flag to indicate whether onLoadHandler has been called yet. This is set to 1 initially, and is set to 0 once onLoadHandler is executed. This is checked before the query is executed to ensure that long running queries are not automatically re-run without user approval.
Flag to indicate whether the filter values match the defaults. This is set to 0 initially, and calculated in InitSearchCriteria. This determines whether the filter loaded from the session should run automatically, or if we should wait for the user to click 'Search'
URL of resend page.
Name of SavedSearch class to use for saving searches.
List of warnings regarding the user's current search criteria.
Client-side constructor for EnsPortal.MsgFilter.Condition object.
Create and execute the result set used to drive the results table. Note that
ignoreSearchWarningscontrols whether the warnings in searchWarningsshould be displayed to the user or ignored.
Server side method to actually delete a named search.
Server side method to actually save a named search.
Write out contents of body details panel. pHeaderID is the message id.
Write out contents of details panel. pID is the message id.
Write out the links to show the full contents of a message.
Server-side method to write out the content for the SessionId cells. The main purpose is to ensure that links to the Visual Trace diagram are only included for events which occurred as part of a session.
Client-side constructor for Filter object.
Get the current saved search
Initialise the search criteria for the page.
Load Filter object from the session, or from a saved search if requested.
Save ID values for Resend.
Send the Filter to the server.
Client-side constructor for EnsPortal.MsgFilter.Term object.
Add a criterion and open the Search Criteria editor for the new object.
Add an OR criterion.
Check whether any warnings are present after trying to execute a search.
Helper method to allow Search Criteria dialog to create clones of existing Term and Condition objects.
Helper method to create a new Array object. This is primarily required by the Advanced Search popups -- IE is unhappy about directly invoking constructors on the window.opener object.
Helper method to create a new Condition object. This is primarily required by the Advanced Search popups -- IE is unhappy about directly invoking constructors on the window.opener object.
Delete an existing saved search.
Update the details for a selected message.
Client-side method to render the extended criteria expando.
Open the SearchCriteria popup for a criterion.
Client accessor for the Filter current object.
Use current values of the search criteria and/or selected values to create a URL for the message resend page.
Handle the client-side rendering the of the right hand pane. This is primarily due to IE as it shrinks the contents div without this intervention. The function only adjusts the size of the tab group is not hidden.
Load a named search from the server.
Make sure we check for warnings and update the filter from the server after a search is executed.
Subclass need to include the case "switchNamespace" if it is enabling "Switch" next to namespace.
Notify subclass that a search is being executed.
Callback to indicate the user clicked on an item. Here we simply make sure that the tab content is up to date.
User clicked on a tab, or selected a new item, so we need to fetch the required content from the server.
Callback from the Trace SVG onSVGLoad() callback. The callback is used to ensure that we have the loaded SVG diagram available before we attempt to resize the diagram or highlight the currently selected message.
Adjust sizes of components on the page. The primary purposes of this function are to ensure that the details pane is sized correctly based on whether the tab group is hidden, and to correctly update the expander text and the contents of the tab group.
Ensure that tab behaviour is initialised correctly.
This client event, if present, is fired when the page is unloaded. If this method returns a string value, then that is used as the return value of the HTML page's onbeforeunload handler (if more than one component returns a string, the first one encountered is used).
Remove a criterion from the page.
Save the current search criteria to the server.
Correctly resize the SVG trace diagram to fit into the current SVG frame size.
Shift the Term at index one position forward or back in the array, with direction being specified as either 'up' or 'down'.
Show text of most recent query.
Send the current Filter to the server so it can be saved.
Toggle the display of the "Save As" controls and the list controls.
Update the current Filter based on the form's contents. Extended criteria are saved separately.
Update the form on the page based on an updated Filter object.
Wrapper method to ensure the client state correctly reflects the current criteria, including marking the current search as NOT a saved one.