public class EventSearchHelper extends Object
UsageReport
JSPs use this class to read the resource bundle
and properties files to retrieve event-related information.
This class retrieves the following event information:Constructor and Description |
---|
EventSearchHelper(ResourceBundle res,
Properties props,
List serList)
Given a resource bundle and properties, initializes a services list
with the account's service usage events and constructs an
EventSearchHelper . |
Modifier and Type | Method and Description |
---|---|
List |
getColumnNames(String event)
Gets a list of column names for the event, using properties and resource
file entries to construct the
fieldSpecification . |
Map |
getDetails(String eventName)
Gets an event's details, using properties and resource file entries
to construct the
fieldSpecification . |
String |
getPageTitle(String event)
Gets the URL's page title for the event, using properties and resource file entries
to construct the returned
String . |
Map |
getURLs()
Gets the URLs that have page titles, using properties and resource file entries
to put the titles in viewing order.
|
public EventSearchHelper(ResourceBundle res, Properties props, List serList)
EventSearchHelper
.res
- the resource bundle (WebKitResources.properties)props
- the properties (WebKit.properties)serList
- the services listpublic Map getDetails(String eventName) throws MissingResourceException
fieldSpecification
. If the event name
is "general," includes the list of event types to exclude.eventName
- the event.eventName
entries in the
WebKit.properties fileMap
containing the event details.MissingResourceException
public Map getURLs() throws MissingResourceException
Map
containing the page titles as keys and the URLs as values.MissingResourceException
public List getColumnNames(String event)
fieldSpecification
.event
- the event
entry in the
WebKit.properties fileList
of column names for the event.public String getPageTitle(String event) throws MissingResourceException
String
.event
- the event
entry in the
WebKit.properties fileString
that contains the page's title.MissingResourceException
- thrown for a null event String
Copyright © 2003, 2023, Oracle and/or its affiliates.