A B C D E F G H I K L M N O P Q R S T U V W X Y Z

A

ASC_DATE_COMPARATOR - Static variable in class com.mycompany.expense.ReportHandler
 
ASC_OWNER_COMPARATOR - Static variable in class com.mycompany.expense.ReportHandler
 
ASC_STATUS_COMPARATOR - Static variable in class com.mycompany.expense.ReportHandler
 
ASC_TITLE_COMPARATOR - Static variable in class com.mycompany.expense.ReportHandler
 
ASC_TOTAL_COMPARATOR - Static variable in class com.mycompany.expense.ReportHandler
 
AccessControlFilter - class com.mycompany.messages.AccessControlFilter.
This class provides access control for all requests in the Project Billboard application, by looking for the authentication token in the session and forwarding to the login page if not found.
AccessControlFilter() - Constructor for class com.mycompany.messages.AccessControlFilter
 
AuthenticateAction - class com.mycompany.messages.AuthenticateAction.
This class performs authentication in the Project Billboard application.
AuthenticateAction() - Constructor for class com.mycompany.messages.AuthenticateAction
 
accept() - Method in class com.mycompany.expense.ReportHandler
Accepts the current report, or queues an error message if the current user isn't allowed to do that or the registry throws an exception.
add() - Method in class com.mycompany.expense.EntryHandler
Adds the current entry to the current report by calling the addEntry() method on the ReportHandler.
addActionListener(ActionListener) - Method in class com.mycompany.jsf.component.UITabLabel
Throws "UnsupportedOperationException" to disable the use of ActionListener instances.
addChild(TreeNode) - Method in class com.mycompany.jsf.model.TreeNode
Adds the provided node as a child of this node.
addComponentNodes(FacesContext, TreeNode, UIComponent) - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Creates nodes for properties and attributes of the provided component and adds them as branches under the provided node, and then recursively calls itself for each child and facet of the provided component.
addDefaultItems() - Method in class com.mycompany.messages.NewsBean
Creates sample news items and adds them to the list.
addEntry(ReportEntry) - Method in class com.mycompany.expense.Report
Sets the "id" property of the provided ReportEntry and saves a copy of the ReportEntry (so that changes to the provided instance doesn't change the content of the report).
addEntry(ReportEntry) - Method in class com.mycompany.expense.ReportHandler
Adds an entry to the current report, or queues an error message if the current user isn't allowed to do that or the registry throws an exception.
addLeafNodes(TreeNode, Map) - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Add a TreeNode instance for each entry in the Map, with the entry key (converted to a String) as the node name, the entry value (converted to a String) as the node value, and with the "leafNode" property set to "true".
addMessage(String, Object) - Method in class com.mycompany.expense.ReportHandler
Adds the message matching the key in the application's resource bundle, formatted with the parameters (if any), the the JSF message queue as a global message.
addReport(Report) - Method in class com.mycompany.expense.FileReportRegistry
Adds a copy of the report to the registry.
addReport(Report) - Method in class com.mycompany.expense.ReportRegistry
Adds a copy of the report to the registry.
afterPhase(PhaseEvent) - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Saves the view state after the regular processing of the view in the current phase by calling capturePhaseData().
amount - Variable in class com.mycompany.expense.ReportEntry
 
application - Variable in class com.mycompany.jsf.pl.XMLViewHandler.ViewSpecHandler
 
ascending - Variable in class com.mycompany.expense.ReportHandler
 
authenticate() - Method in class com.mycompany.messages.AuthenticateAction
Autheticates a user with help from the EmployeeRegistryBean.
authenticate(String, String) - Method in class com.mycompany.messages.EmployeeRegistryBean
Returns an EmployeeBean if the specified user name and password match an employee in the database, otherwise null.

B

BarRenderer - class com.mycompany.jsf.renderer.BarRenderer.
This class is a JSF Renderer for the "javax.faces.Data" component type.
BarRenderer() - Constructor for class com.mycompany.jsf.renderer.BarRenderer
 
beforePhase(PhaseEvent) - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Saves the view state before the regular processing of the view in the current phase by calling capturePhaseData(), unless the current phase is Restore View (there's no view available in this case).
broadcast(FacesEvent) - Method in class com.mycompany.jsf.component.UITabLabel
Disables all standard UICommand event handling and calls processAction() to process the event if it's an ActionEvent.
broadcast(FacesEvent) - Method in class com.mycompany.jsf.component.UITree
If the event is a ChildEvent, unwraps the real event, calls setNodeId() with the node ID in the ChildEvent and delegates the processing to the real event source.

C

COMPONENT_FAMILY - Static variable in class com.mycompany.jsf.component.UITabLabel
 
COMPONENT_FAMILY - Static variable in class com.mycompany.jsf.component.UITree
 
COMPONENT_TYPE - Static variable in class com.mycompany.jsf.component.UITabLabel
 
COMPONENT_TYPE - Static variable in class com.mycompany.jsf.component.UITree
 
CaptureStatePhaseListener - class com.mycompany.jsf.event.CaptureStatePhaseListener.
This class is a JSF PhaseListener that captures view state before and after each request processing lifecycle phase.
CaptureStatePhaseListener() - Constructor for class com.mycompany.jsf.event.CaptureStatePhaseListener
 
ClassViewHandler - class com.mycompany.jsf.pl.ClassViewHandler.
This class is a JSF ViewHandler that works with views created by classes implementing the View interface.
ClassViewHandler(ViewHandler) - Constructor for class com.mycompany.jsf.pl.ClassViewHandler
Creates an instance and saves a reference to the previously registered ViewHandler.
calculateLocale(FacesContext) - Method in class com.mycompany.jsf.pl.ClassViewHandler
Delegates the call to the previously registered ViewHandler.
calculateRenderKitId(FacesContext) - Method in class com.mycompany.jsf.pl.ClassViewHandler
Delegates the call to the previously registered ViewHandler.
canAccept(String, boolean, Report) - Method in class com.mycompany.expense.Rules
Returns "true" if the user is a manager and the report is "submitted".
canDelete(String, boolean, Report) - Method in class com.mycompany.expense.Rules
Returns "true" if the user is the report owner and the report isn't locked.
canEdit(String, boolean, Report) - Method in class com.mycompany.expense.Rules
Returns "true" if the user is the report owner and the report isn't locked.
canReject(String, boolean, Report) - Method in class com.mycompany.expense.Rules
Returns "true" if the user is a manager and the report is "submitted".
canSubmit(String, boolean, Report) - Method in class com.mycompany.expense.Rules
Returns "true" if the user is the report owner and the report isn't locked.
canView(String, boolean, Report) - Method in class com.mycompany.expense.Rules
Returns "true" if the user is a manager or the report owner.
capturePhaseData(String, FacesContext) - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Creates nodes for the view.
captureRequestData(FacesContext) - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Creates nodes for the request data.
category - Variable in class com.mycompany.messages.NewsItemBean
 
category - Variable in class com.mycompany.messages.StoreMsgAction
 
characters(char[], int, int) - Method in class com.mycompany.jsf.pl.XMLViewHandler.TemplateHandler
Buffer the characters until an end or start element is encountered.
checkExists(Report) - Method in class com.mycompany.expense.FileReportRegistry
Tries to locate a report with the ID of the provided report, and throws an IllegalStateException if there's no such report.
children - Variable in class com.mycompany.jsf.model.TreeNode
 
city - Variable in class com.mycompany.expense.UserProfile
 
com.mycompany.beans - package com.mycompany.beans
 
com.mycompany.expense - package com.mycompany.expense
 
com.mycompany.jsf.component - package com.mycompany.jsf.component
 
com.mycompany.jsf.event - package com.mycompany.jsf.event
 
com.mycompany.jsf.model - package com.mycompany.jsf.model
 
com.mycompany.jsf.pl - package com.mycompany.jsf.pl
 
com.mycompany.jsf.renderer - package com.mycompany.jsf.renderer
 
com.mycompany.jsf.servlets - package com.mycompany.jsf.servlets
 
com.mycompany.jsf.taglib - package com.mycompany.jsf.taglib
 
com.mycompany.jsf.validator - package com.mycompany.jsf.validator
 
com.mycompany.messages - package com.mycompany.messages
 
com.mycompany.newsservice.handlers - package com.mycompany.newsservice.handlers
 
com.mycompany.newsservice.models - package com.mycompany.newsservice.models
 
com.mycompany.newsservice.views - package com.mycompany.newsservice.views
 
com.mycompany.poll - package com.mycompany.poll
 
config - Variable in class com.mycompany.messages.AccessControlFilter
 
context - Variable in class com.mycompany.jsf.pl.XMLViewHandler.TemplateHandler
 
copyEntries() - Method in class com.mycompany.expense.Report
Returns a Map with copies of all entries.
create() - Method in class com.mycompany.expense.ReportHandler
Creates a new Report and makes it the current report.
createComponent(Application, Attributes) - Method in class com.mycompany.jsf.pl.XMLViewHandler.ViewSpecHandler
Creates and returns a component of the type specified by the "type" attribute, configured based on all the other attributes.
createNewReport() - Method in class com.mycompany.expense.ReportHandler
Creates a new Report instance initialized with the current user as the owner, and resets the cached entries DataModel.
createValidator() - Method in class com.mycompany.jsf.taglib.ValidateLaterThanTag
Returns a new instance of the validator registered under the name "com.mycompany.jsf.validator.LATER_THAN", configured with the "than" property value.
createView(FacesContext, String) - Method in class com.mycompany.jsf.pl.ClassViewHandler
Returns the UIViewRoot for the specified view ID, created by the createViewRoot() method, with the "locale" and "renderKitId" properties initialized.
createView(FacesContext) - Method in interface com.mycompany.jsf.pl.View
 
createView(FacesContext) - Method in class com.mycompany.newsservice.views.SubscribeView
 
createViewRoot(FacesContext, String) - Method in class com.mycompany.jsf.pl.ClassViewHandler
Returns the UIViewRoot for the view created by the View instance matching the view ID.
createViewRoot(FacesContext, String) - Method in class com.mycompany.jsf.pl.XMLViewHandler
Returns the UIViewRoot for the specified view, by parsing the view specification file and processing the elements in the specification with an instance of the ViewSpecHandler class.
currentEntry - Variable in class com.mycompany.expense.EntryHandler
 
currentEntryId - Variable in class com.mycompany.expense.Report
 
currentNode - Variable in class com.mycompany.jsf.model.TreeModel
 
currentReport - Variable in class com.mycompany.expense.ReportHandler
 
currentReportId - Variable in class com.mycompany.expense.FileReportRegistry
 
currentUser - Variable in class com.mycompany.expense.ReportHandler
 

D

DESC_DATE_COMPARATOR - Static variable in class com.mycompany.expense.ReportHandler
 
DESC_OWNER_COMPARATOR - Static variable in class com.mycompany.expense.ReportHandler
 
DESC_STATUS_COMPARATOR - Static variable in class com.mycompany.expense.ReportHandler
 
DESC_TITLE_COMPARATOR - Static variable in class com.mycompany.expense.ReportHandler
 
DESC_TOTAL_COMPARATOR - Static variable in class com.mycompany.expense.ReportHandler
 
DataBarTag - class com.mycompany.jsf.taglib.DataBarTag.
This class is a tag handler that creates and configures a "javax.faces.Data" component with a "com.mycompany.Bar" renderer.
DataBarTag() - Constructor for class com.mycompany.jsf.taglib.DataBarTag
 
DatePickerRenderer - class com.mycompany.jsf.renderer.DatePickerRenderer.
This class is a JSF Renderer for the "javax.faces.Input" component type.
DatePickerRenderer() - Constructor for class com.mycompany.jsf.renderer.DatePickerRenderer
 
dataSource - Variable in class com.mycompany.messages.EmployeeRegistryBean
 
date - Variable in class com.mycompany.expense.ReportEntry
 
decode(FacesContext, UIComponent) - Method in class com.mycompany.jsf.renderer.DatePickerRenderer
Creates a Map to hold the year, month and day values from the request parameters and saves it as the submitted value for the component.
decode(FacesContext, UIComponent) - Method in class com.mycompany.jsf.renderer.TabbedRenderer
Loops over all children and calls processDecodes() on the child's "label" facet for all children with the "rendered" property set to "false" (the one with "rendered" set to "true" is decoded by the default processing).
delete() - Method in class com.mycompany.expense.ReportHandler
Deletes the current report, or queues an error message if the current user isn't allowed to do that or the registry throws an exception.
dept - Variable in class com.mycompany.messages.EmployeeBean
 
destroy() - Method in class com.mycompany.messages.AccessControlFilter
Resets the instance variable.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.mycompany.messages.AccessControlFilter
Looks for the authentication token in the session and forwards to the login page if not found.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.mycompany.jsf.servlets.ShowViewStateServlet
If invoked without a "viewId" parameter, renders a response with links back to itself for all views available in the session scope variable "com.mycompany.debug".

E

EmployeeBean - class com.mycompany.messages.EmployeeBean.
This class contains information about an employee.
EmployeeBean() - Constructor for class com.mycompany.messages.EmployeeBean
 
EmployeeRegistryBean - class com.mycompany.messages.EmployeeRegistryBean.
This class is an example of an application specific interface to a data source (faked here, but it could be a database).
EmployeeRegistryBean() - Constructor for class com.mycompany.messages.EmployeeRegistryBean
 
EntryHandler - class com.mycompany.expense.EntryHandler.
This class contains properties and methods for the JSF components in the report entry area of the sample expense report aplication.
EntryHandler() - Constructor for class com.mycompany.expense.EntryHandler
 
emailAddr - Variable in class com.mycompany.messages.EmployeeBean
 
emailAddr - Variable in class com.mycompany.newsservice.models.Subscriber
 
empDate - Variable in class com.mycompany.messages.EmployeeBean
 
empReg - Variable in class com.mycompany.messages.AuthenticateAction
 
empReg - Variable in class com.mycompany.messages.UpdateProfileAction
 
encodeBegin(FacesContext) - Method in class com.mycompany.jsf.component.UITree
Before delegating to the superclass, resets the saved per-node state for facet input components unless it is needed to rerender the current page with errors, as determined by the keepSaved() method.
encodeBegin(FacesContext, UIComponent) - Method in class com.mycompany.jsf.renderer.DatePickerRenderer
Renders selection lists for the year, month and day value.
encodeBegin(FacesContext, UIComponent) - Method in class com.mycompany.jsf.renderer.TabbedRenderer
Ensures that only one child has "rendered" set to "true", renders an HTML table with one row and one cell per child "label" facet, with a "class" attribute for the "table" element set to the "labelAreaClass" component attribute value, and one of "selectedLabelClass" or "unselectedLabelClass" as the "class" attribute value for the "td" elements.
encodeChildren(FacesContext, UIComponent) - Method in class com.mycompany.jsf.renderer.BarRenderer
Renders the component by letting its UIColumn children process one row at a time, starting with the row specified by the "first" attribute for the number of rows specified by the "rows" attribute, or until the lasy row is reached.
encodeChildren(FacesContext, UIComponent) - Method in class com.mycompany.jsf.renderer.TabbedRenderer
Calls the appropriate encode methods for the child with the "rendered" property set to "true".
encodeChildren(FacesContext, UIComponent) - Method in class com.mycompany.jsf.renderer.TreeRenderer
Calls encodeNodes() to write the HTML elements for all nodes, within a "span" element with an "id" attribute set to the component's client ID if explicitly set.
encodeNodes(FacesContext, ResponseWriter, UITree, String, int) - Method in class com.mycompany.jsf.renderer.TreeRenderer
Iterates over all expanded nodes in the model and processes the appropriate facet for each node.
encodeRecursive(FacesContext, UIComponent) - Method in class com.mycompany.jsf.renderer.BarRenderer
Calls the appropriate encoding methods on the component and calls itself recursively for all component children.
encodeRecursive(FacesContext, UIComponent) - Method in class com.mycompany.jsf.renderer.TabbedRenderer
Calls the appropriate encoding methods on the component and calls itself recursively for all component children.
encodeRecursive(FacesContext, UIComponent) - Method in class com.mycompany.jsf.renderer.TreeRenderer
Calls the appropriate encoding methods on the component and calls itself recursively for all component children.
endElement(String, String, String) - Method in class com.mycompany.jsf.pl.XMLViewHandler.TemplateHandler
Writes buffered text, if any.
endElement(String, String, String) - Method in class com.mycompany.jsf.pl.XMLViewHandler.ViewSpecHandler
Pops the top component off the stach.
entries - Variable in class com.mycompany.expense.Report
 
entriesModel - Variable in class com.mycompany.expense.ReportHandler
 
errorComp - Variable in class com.mycompany.beans.MyBean
 
event - Variable in class com.mycompany.jsf.component.UITree.ChildEvent
 
expenseTypeChoices - Variable in class com.mycompany.expense.EntryHandler
 
expenseTypes - Variable in class com.mycompany.expense.EntryHandler
 

F

FileReportRegistry - class com.mycompany.expense.FileReportRegistry.
This class is an implementation of the ReportRegistry for the sample expense report application that uses the file system for permanent storage.
FileReportRegistry() - Constructor for class com.mycompany.expense.FileReportRegistry
Creates an instance and loads the current content, if any, from the file system by calling the load() method.
findAndConfigure(String, Attributes) - Method in class com.mycompany.jsf.pl.XMLViewHandler.TemplateHandler
Returns the component matching the ID, configured based on the attributes.
first - Variable in class com.mycompany.jsf.taglib.DataBarTag
 
firstName - Variable in class com.mycompany.expense.UserProfile
 
firstName - Variable in class com.mycompany.messages.EmployeeBean
 
firstRowIndex - Variable in class com.mycompany.expense.ReportHandler
 
fontSize - Variable in class com.mycompany.expense.UserProfile
 
fontStyle - Variable in class com.mycompany.expense.UserProfile
 
format(Iterator) - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Returns a String with comma-separated list of the values represented by the Iterator.
format(Map) - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Returns a String with comma-separated list of the Map entries, with each entry as "key = value".
formatDate(Date, FacesContext, UIComponent) - Method in class com.mycompany.jsf.validator.LaterThanValidator
Returns the provided Date formatted with the converter attached to the component, if any, or with toString() otherwise.
from - Variable in class com.mycompany.expense.ReportHandler
 

G

getAction() - Method in class com.mycompany.jsf.component.UITabLabel
Returns "null", because this component can't be configured with an action method.
getActionListener() - Method in class com.mycompany.jsf.component.UITabLabel
Returns "null", because this component can't be configured with an action listener method.
getActionListeners() - Method in class com.mycompany.jsf.component.UITabLabel
Returns an empty array, because this component can't be configured with ActionListener instances.
getActionURL(FacesContext, String) - Method in class com.mycompany.jsf.pl.ClassViewHandler
Delegates the call to the previously registered ViewHandler.
getAmount() - Method in class com.mycompany.expense.ReportEntry
Returns the entry amount.
getCategory() - Method in class com.mycompany.messages.NewsItemBean
Returns the category property value.
getCategory() - Method in class com.mycompany.messages.StoreMsgAction
 
getChildren() - Method in class com.mycompany.jsf.model.TreeNode
Returns all children of this node.
getCity() - Method in class com.mycompany.expense.UserProfile
Returns the city name.
getClientId(FacesContext) - Method in class com.mycompany.jsf.component.UITree
Returns a client ID composed from the regular client ID (returned by the superclass getClientId() method) and the current node ID (if any) separated by a colon.
getClosedNode() - Method in class com.mycompany.jsf.component.UITree
Returns the "closedNode" facet.
getComponentType() - Method in class com.mycompany.jsf.taglib.DataBarTag
Returns "javax.faces.Data".
getComponentType() - Method in class com.mycompany.jsf.taglib.InputDatePickerTag
Returns "javax.faces.Input".
getComponentType() - Method in class com.mycompany.jsf.taglib.PanelTabbedTag
Returns "javax.facet.Panel".
getComponentType() - Method in class com.mycompany.jsf.taglib.TabLabelTag
Returns "com.mycompany.TabLabel".
getComponentType() - Method in class com.mycompany.jsf.taglib.TreeTag
Returns "com.mycompany.Tree".
getContextRelativeURI(HttpServletRequest) - Method in class com.mycompany.messages.AccessControlFilter
Returns a context-relative path for the request, including the query string, if any.
getConvertedValue(FacesContext, UIComponent, Object) - Method in class com.mycompany.jsf.renderer.DatePickerRenderer
Returns a Date instance created from the year, month and day values held by the Map submitted value.
getCurrentChoices() - Method in class com.mycompany.expense.EntryHandler
Returns a List with SelectItem instances for the expense type choices, including the special choices if the "includeSpecial" flag is set to "true".
getCurrentEntry() - Method in class com.mycompany.expense.EntryHandler
Returns the current ReportEntry instance, or a new instance if there's no current instance.
getCurrentEntryId() - Method in class com.mycompany.expense.Report
Returns the current ID value.
getCurrentPage() - Method in class com.mycompany.expense.ReportHandler
Returns the index for the page matching the currently rendered set of reports in the reports list.
getCurrentReport() - Method in class com.mycompany.expense.ReportHandler
Returns the current Report instance, or a new instance if there's no current instance.
getCurrentReportEntries() - Method in class com.mycompany.expense.ReportHandler
Returns a List with the ReportEntry instances for the current Report, sorted on the entry dates.
getCurrentUser() - Method in class com.mycompany.expense.ReportHandler
Returns the username of the current, authenticated user.
getDataModel() - Method in class com.mycompany.jsf.component.UITree
Returns the cached model, if any, or the components value, as-is if it's a TreeModel or wrapped in a new TreeModel if it's a TreeNode, saving a reference in the "model" variable.
getDate() - Method in class com.mycompany.expense.ReportEntry
Returns the entry date.
getDays() - Method in class com.mycompany.jsf.renderer.DatePickerRenderer
Returns a List with SelectItem instances representing 31 days.
getDept() - Method in class com.mycompany.messages.EmployeeBean
Returns the dept property value.
getEmailAddr() - Method in class com.mycompany.messages.EmployeeBean
Returns the emailAddr property value.
getEmailAddr() - Method in class com.mycompany.newsservice.models.Subscriber
 
getEmpDate() - Method in class com.mycompany.messages.EmployeeBean
Returns the empDate property value.
getEmployee(String) - Method in class com.mycompany.messages.EmployeeRegistryBean
Returns an EmployeeBean initialized with the information found in the database for the specified employee, or null if not found.
getEndDate() - Method in class com.mycompany.expense.Report
Returns the report end date.
getEntries() - Method in class com.mycompany.expense.Report
Returns a List with copies of all entries.
getEntriesSortedByDate() - Method in class com.mycompany.expense.Report
Returns all entries sorted by date.
getEntry(int) - Method in class com.mycompany.expense.Report
Returns a copy of the entry with the specified ID.
getErrorComp() - Method in class com.mycompany.beans.MyBean
 
getExpenseTypeChoices() - Method in class com.mycompany.expense.EntryHandler
Returns a List with SelectItem instances for the standard expense type choices.
getFacesEvent() - Method in class com.mycompany.jsf.component.UITree.ChildEvent
 
getFamily() - Method in class com.mycompany.jsf.component.UITabLabel
Returns the COMPONENT_TYPE value.
getFamily() - Method in class com.mycompany.jsf.component.UITree
Returns the COMPONENT_TYPE value.
getFirstName() - Method in class com.mycompany.expense.UserProfile
Returns the first name.
getFirstName() - Method in class com.mycompany.messages.EmployeeBean
Returns the firstName property value.
getFirstPageIndex() - Method in class com.mycompany.expense.ReportHandler
Returns the index for the first page link to render.
getFirstRowIndex() - Method in class com.mycompany.expense.ReportHandler
Returns the index for the first row in the reports table.
getFontSize() - Method in class com.mycompany.expense.UserProfile
Returns the preferred font size.
getFontStyle() - Method in class com.mycompany.expense.UserProfile
Returns the preferred font style.
getForwardURI(HttpServletRequest) - Method in class com.mycompany.messages.AccessControlFilter
Returns the context-relative path to the login page, with the parameters used by the login page.
getFrom() - Method in class com.mycompany.expense.ReportHandler
Returns the from date, or a Date representing the previous month if no from date is set.
getI18nChoices() - Method in class com.mycompany.expense.EntryHandler
Returns a List with SelectItem instances matching the standard expense type choices with labels localized for the view's locale, from a resource bundle with the base name "entryTypes".
getId() - Method in class com.mycompany.expense.Report
Returns the report ID.
getId() - Method in class com.mycompany.expense.ReportEntry
Returns the entry ID.
getId() - Method in class com.mycompany.messages.NewsItemBean
Returns the id property value.
getLastName() - Method in class com.mycompany.expense.UserProfile
Returns the last name.
getLastName() - Method in class com.mycompany.messages.EmployeeBean
Returns the lastName property value.
getLeafNode() - Method in class com.mycompany.jsf.component.UITree
Returns the "leafNode" facet.
getLocale() - Method in class com.mycompany.expense.UserProfile
Returns the preferred locale, or "en" if none is set.
getMonths() - Method in class com.mycompany.jsf.renderer.DatePickerRenderer
Returns a List with SelectItem instances representing all months.
getMsg() - Method in class com.mycompany.messages.NewsItemBean
Returns the msg property value.
getMsg() - Method in class com.mycompany.messages.StoreMsgAction
 
getName() - Method in class com.mycompany.jsf.model.TreeNode
Returns the node name.
getNewsItems() - Method in class com.mycompany.messages.NewsBean
Returns an array of all items.
getNoOfPageLinks() - Method in class com.mycompany.expense.ReportHandler
Returns the number of links to render in the navigation bar.
getNoOfRows() - Method in class com.mycompany.expense.ReportHandler
Returns the number of rows to show in the reports table.
getNode() - Method in class com.mycompany.jsf.component.UITree
Returns the current node from the TreeModel, or "null" if no node is currently processed.
getNode() - Method in class com.mycompany.jsf.model.TreeModel
Returns the current node, or null if no node is selected.
getNodeId() - Method in class com.mycompany.jsf.component.UITree.ChildEvent
 
getNodeId() - Method in class com.mycompany.jsf.component.UITree
Returns the current node ID, or "null" if no node is currently processed.
getNodeToggler() - Method in class com.mycompany.jsf.component.UITree
Returns the single instance of the NodeToggler, creating it if needed.
getNumber() - Method in class com.mycompany.expense.ReportHandler.Page
 
getOpenNode() - Method in class com.mycompany.jsf.component.UITree
Returns the "openNode" facet.
getOrigURL() - Method in class com.mycompany.messages.AuthenticateAction
Returns the originally requested URL, or null if none is set.
getOwner() - Method in class com.mycompany.expense.Report
Returns the report owner.
getPages() - Method in class com.mycompany.expense.ReportHandler
Returns a List with Page instances for each page of reports.
getParent() - Method in class com.mycompany.jsf.model.TreeNode
Returns the parent of this node.
getPassword() - Method in class com.mycompany.messages.AuthenticateAction
Returns the current password, or the value of a "password" cookie if no username is set.
getPassword() - Method in class com.mycompany.messages.EmployeeBean
Returns the password property value.
getPath() - Method in class com.mycompany.jsf.model.TreeNode
Returns a String representing the path to this node, with the names of each parent node separated by a slash and ending with the name of the current node.
getPhaseId() - Method in class com.mycompany.jsf.component.UITree.ChildEvent
 
getPhaseId() - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Returns PhaseId.ANY_PHASE to announce that this listener must be invoked in all phases.
getPostedBy() - Method in class com.mycompany.messages.NewsItemBean
Returns the postedBy property value.
getPostedDate() - Method in class com.mycompany.messages.NewsItemBean
Returns the postedDate property value.
getPreviousMonth(Date) - Method in class com.mycompany.expense.ReportHandler
Returns a Date one month prior to the provided Date.
getProjects() - Method in class com.mycompany.messages.EmployeeBean
Returns the projects property value.
getProjects() - Method in class com.mycompany.messages.UpdateProfileAction
 
getRegistry() - Method in class com.mycompany.messages.UpdateProfileAction
 
getRemember() - Method in class com.mycompany.messages.AuthenticateAction
Returns the "remember" property value, or "true" if this property isn't set and a "password" cookie has a value.
getRendererType() - Method in class com.mycompany.jsf.taglib.DataBarTag
Returns "com.mycompany.Bar".
getRendererType() - Method in class com.mycompany.jsf.taglib.InputDatePickerTag
Returns "com.mycompany.DatePicker".
getRendererType() - Method in class com.mycompany.jsf.taglib.PanelTabbedTag
Returns "com.mycompany.Tabbed".
getRendererType() - Method in class com.mycompany.jsf.taglib.TabLabelTag
Returns "javax.faces.Link".
getRendererType() - Method in class com.mycompany.jsf.taglib.TreeTag
Returns "com.mycompany.Tree".
getRendersChildren() - Method in class com.mycompany.jsf.renderer.BarRenderer
Returns "true".
getRendersChildren() - Method in class com.mycompany.jsf.renderer.TabbedRenderer
Returns "true".
getRendersChildren() - Method in class com.mycompany.jsf.renderer.TreeRenderer
Returns "true".
getReport(int) - Method in class com.mycompany.expense.FileReportRegistry
Returns a copy of the report with the specified ID, or null if there's no matching report in the registry.
getReport(int) - Method in class com.mycompany.expense.ReportRegistry
Returns a copy of the report with the specified ID, or null if there's no matching report in the registry.
getReportEntriesModel() - Method in class com.mycompany.expense.ReportHandler
Returns a DataModel with the ReportEntry instances for the current Report, sorted on the entry dates.
getReports(String, Date, Date, int[]) - Method in class com.mycompany.expense.FileReportRegistry
Returns a List with copies of all reports matching the search criteria.
getReports() - Method in class com.mycompany.expense.ReportHandler
Returns a List with Report instances matching the filtering criteria.
getReports(String, Date, Date, int[]) - Method in class com.mycompany.expense.ReportRegistry
Returns a List with copies of all reports matching the search criteria.
getReportsModel() - Method in class com.mycompany.expense.ReportHandler
Returns a DataModel with Report instances matching the filtering criteria.
getRequestMethod() - Method in class com.mycompany.messages.UpdateProfileAction
 
getResource(ResourceBundle, String) - Method in class com.mycompany.expense.EntryHandler
Returns the resource matching the provided key after replacing all spaces with underscores, or a String containing the key embedded in question marks if no resource matches the key.
getResourceURL(FacesContext, String) - Method in class com.mycompany.jsf.pl.ClassViewHandler
Delegates the call to the previously registered ViewHandler.
getRoot(FacesContext) - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Returns the TreeNode for the tree root, from the Map saved as a session scope variable named "com.mycompany.debug" or a new instance if it's not found or the found instance is for a previous request.
getShowScore() - Method in class com.mycompany.poll.PollBean
 
getSortedReportsModel() - Method in class com.mycompany.expense.ReportHandler
Returns a DataModel with Report instances matching the filtering criteria, sorted according to the current sort column and order.
getSpecialChoices() - Method in class com.mycompany.expense.EntryHandler
Returns a List with SelectItem instances for the special expense type choices.
getStartDate() - Method in class com.mycompany.expense.Report
Returns the report start date.
getState() - Method in class com.mycompany.expense.UserProfile
Returns the state name.
getStatus() - Method in class com.mycompany.expense.Report
Returns the report status.
getStatus() - Method in class com.mycompany.expense.ReportHandler
Returns the status codes for displayed reports, or the code for "Submitted" if no status code is set and the current user is a manager, or all status codes if no status code is set and the current user isn't a manager.
getStore() - Method in class com.mycompany.expense.FileReportRegistry
Returns a File instance for a file named ".expense/store.ser" in the home directory for the account running the JVM.
getStreet() - Method in class com.mycompany.expense.UserProfile
Returns the street address.
getSubmittedValue() - Method in class com.mycompany.jsf.component.UITree.SavedState
 
getSubscriptionIds() - Method in class com.mycompany.newsservice.models.Subscriber
 
getTitle() - Method in class com.mycompany.expense.Report
Returns the report title.
getTo() - Method in class com.mycompany.expense.ReportHandler
Returns the to date, or a Date representing today if no to date is set.
getTotal() - Method in class com.mycompany.expense.Report
Returns the total of all entry amounts.
getTotal() - Method in class com.mycompany.poll.PollBean
 
getType() - Method in class com.mycompany.expense.ReportEntry
Returns the entry type.
getUsername() - Method in class com.mycompany.messages.AuthenticateAction
Returns the current username, or the value of a "username" cookie if no username is set.
getUsername() - Method in class com.mycompany.messages.EmployeeBean
Returns the username property value.
getValidUser() - Method in class com.mycompany.messages.UpdateProfileAction
 
getValue() - Method in class com.mycompany.jsf.component.UITree.SavedState
 
getValue() - Method in class com.mycompany.jsf.component.UITree
Returns the component value, set explicitly or through a ValueBinding, or null if the value isn't set.
getValue() - Method in class com.mycompany.jsf.model.TreeNode
Returns the node value.
getVar() - Method in class com.mycompany.jsf.component.UITree
Returns the name of the request scope through which the data object for the current node is exposed.
getVarNodeToggler() - Method in class com.mycompany.jsf.component.UITree
Returns the name of the request scope through which the NodeToggler is exposed.
getViewId(FacesContext) - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Returns the view ID for the view held by the provided FacesContext, adjusted if needed.
getVote1Score() - Method in class com.mycompany.poll.PollBean
 
getVote2Score() - Method in class com.mycompany.poll.PollBean
 
getVote3Score() - Method in class com.mycompany.poll.PollBean
 
getYears(int, int) - Method in class com.mycompany.jsf.renderer.DatePickerRenderer
Returns a List with SelectItem instances representing the specified number of years, starting with the specified start year.
getZip() - Method in class com.mycompany.expense.UserProfile
Returns the postal code (e.g., ZIP code).

H

handleTextIfNeeded() - Method in class com.mycompany.jsf.pl.XMLViewHandler.TemplateHandler
Creates a String containing the buffered characters and another String representing the element structure the characters belong to and lets the subclass handle it.
handler - Variable in class com.mycompany.expense.ReportHandler.Page
 

I

InputDatePickerTag - class com.mycompany.jsf.taglib.InputDatePickerTag.
This class is a tag handler that creates and configures a "javax.faces.Input" component with a "com.mycompany.DatePicker" renderer.
InputDatePickerTag() - Constructor for class com.mycompany.jsf.taglib.InputDatePickerTag
 
id - Variable in class com.mycompany.expense.Report
 
id - Variable in class com.mycompany.expense.ReportEntry
 
id - Variable in class com.mycompany.messages.NewsItemBean
 
idSequence - Variable in class com.mycompany.messages.NewsBean
 
includeSpecial - Variable in class com.mycompany.expense.EntryHandler
 
indent(int) - Method in class com.mycompany.jsf.servlets.ShowViewStateServlet
Returns a blank String of the appropriate length for the indention level.
init(FilterConfig) - Method in class com.mycompany.messages.AccessControlFilter
Reads the "loginPage" filter init parameter and saves the value in an instance variable.
isAcceptDisabled() - Method in class com.mycompany.expense.ReportHandler
Returns "true" if the current report is new (no entries yet) or the current user isn't allowed to accept the report.
isAcceptRendered() - Method in class com.mycompany.expense.ReportHandler
Returns "true" if the current user is a manager.
isAppropriateListener(FacesListener) - Method in class com.mycompany.jsf.component.UITree.ChildEvent
 
isAuthenticated(HttpServletRequest) - Method in class com.mycompany.messages.AccessControlFilter
Returns true if the session contains the authentication token.
isDeleteDisabled() - Method in class com.mycompany.expense.ReportHandler
Returns "true" if the current report is new (no entries yet) or the current user isn't allowed to delete the report.
isDisabledOrReadOnly(UIComponent) - Method in class com.mycompany.jsf.renderer.DatePickerRenderer
Returns true if one or both of the HTML attributes "disabled" or "readonly" are set to true.
isEditDisabled() - Method in class com.mycompany.expense.ReportHandler
Returns "true" if the current report isn't new (no entries yet) and the current user isn't allowed to edit the report.
isExpanded - Variable in class com.mycompany.jsf.model.TreeNode
 
isExpanded() - Method in class com.mycompany.jsf.model.TreeNode
Returns "true" if the node is expanded,
isLeafNode - Variable in class com.mycompany.jsf.model.TreeNode
 
isLeafNode() - Method in class com.mycompany.jsf.model.TreeNode
Returns "true" if this is a leaf node.
isLocalValueSet() - Method in class com.mycompany.jsf.component.UITree.SavedState
 
isLocked(Report) - Method in class com.mycompany.expense.Rules
Returns "true" if the report is either "submitted" or "accepted".
isManager - Variable in class com.mycompany.expense.ReportHandler
 
isManager() - Method in class com.mycompany.expense.ReportHandler
Returns "true" if the current user is associated with the "manager" role.
isNewDisabled() - Method in class com.mycompany.expense.ReportHandler
Returns "true" if the current report is new (no entries yet).
isRejectDisabled() - Method in class com.mycompany.expense.ReportHandler
Returns "true" if the current report is new (no entries yet) or the current user isn't allowed to reject the report.
isRejectRendered() - Method in class com.mycompany.expense.ReportHandler
Returns "true" if the current user is a manager.
isReportNew() - Method in class com.mycompany.expense.ReportHandler
Returns "true" if the current report has status "new".
isScrollFirstDisabled() - Method in class com.mycompany.expense.ReportHandler
Returns "true" if the first page of reports is displayed.
isScrollLastDisabled() - Method in class com.mycompany.expense.ReportHandler
Returns "true" if the last page of reports is displayed.
isScrollNextDisabled() - Method in class com.mycompany.expense.ReportHandler
Returns "true" if there aren't enough rows to scroll forward one page.
isScrollPreviousDisabled() - Method in class com.mycompany.expense.ReportHandler
Returns "true" if the first page is displayed.
isSubmitDisabled() - Method in class com.mycompany.expense.ReportHandler
Returns "true" if the current report is new (no entries yet) or the current user isn't allowed to submit the report.
isValid() - Method in class com.mycompany.jsf.component.UITree.SavedState
 

K

keepSaved(FacesContext) - Method in class com.mycompany.jsf.component.UITree
Returns "true" if there's at least one error message queued for a client ID matching one of the nodes.

L

LaterThanValidator - class com.mycompany.jsf.validator.LaterThanValidator.
This class is a JSF Validator that validates that the java.util.Date value of the component it's attached to is later than the java.util.Date value of another component.
LaterThanValidator() - Constructor for class com.mycompany.jsf.validator.LaterThanValidator
 
labelAreaClass - Variable in class com.mycompany.jsf.taglib.PanelTabbedTag
 
lastName - Variable in class com.mycompany.expense.UserProfile
 
lastName - Variable in class com.mycompany.messages.EmployeeBean
 
load() - Method in class com.mycompany.expense.FileReportRegistry
Loads the registry from the file returned by the getStore() method.
localValueSet - Variable in class com.mycompany.jsf.component.UITree.SavedState
 
locale - Variable in class com.mycompany.expense.UserProfile
 
loginPage - Variable in class com.mycompany.messages.AccessControlFilter
 

M

MyBean - class com.mycompany.beans.MyBean.
 
MyBean() - Constructor for class com.mycompany.beans.MyBean
 
matchesCriteria(Report, String, Date, Date, int[]) - Method in class com.mycompany.expense.FileReportRegistry
Returns true if the report matches the non-null parameter values.
model - Variable in class com.mycompany.jsf.component.UITree
The TreeModel used by this component, either set explicitly as the value of created as a wrapper around a TreeNode value.
msg - Variable in class com.mycompany.messages.NewsItemBean
 
msg - Variable in class com.mycompany.messages.StoreMsgAction
 

N

NewsBean - class com.mycompany.messages.NewsBean.
This class maintains a list of NewsItemBean objects.
NewsBean() - Constructor for class com.mycompany.messages.NewsBean
Creates a new instance and fills it with a few sample news items.
NewsItemBean - class com.mycompany.messages.NewsItemBean.
This class holds information about one news item.
NewsItemBean() - Constructor for class com.mycompany.messages.NewsItemBean
 
name - Variable in class com.mycompany.jsf.model.TreeNode
 
newsBean - Variable in class com.mycompany.messages.StoreMsgAction
 
newsItems - Variable in class com.mycompany.messages.NewsBean
 
noOfPageLinks - Variable in class com.mycompany.expense.ReportHandler
 
noOfRows - Variable in class com.mycompany.expense.ReportHandler
 
nodeId - Variable in class com.mycompany.jsf.component.UITree.ChildEvent
 
nodeId - Variable in class com.mycompany.jsf.component.UITree
The current node ID.
nodeToggler - Variable in class com.mycompany.jsf.component.UITree
The NodeToggler instance.
number - Variable in class com.mycompany.expense.ReportHandler.Page
 

O

origURL - Variable in class com.mycompany.messages.AuthenticateAction
 
origViewHandler - Variable in class com.mycompany.jsf.pl.ClassViewHandler
 
out - Variable in class com.mycompany.jsf.pl.XMLViewHandler.TemplateHandler
 
owner - Variable in class com.mycompany.expense.Report
 

P

PanelTabbedTag - class com.mycompany.jsf.taglib.PanelTabbedTag.
This class is a tag handler that creates and configures a "javax.faces.Panel" component with a "com.mycompany.Tabbed" renderer.
PanelTabbedTag() - Constructor for class com.mycompany.jsf.taglib.PanelTabbedTag
 
PollBean - class com.mycompany.poll.PollBean.
This class is a simple bean used for the quick poll example.
PollBean() - Constructor for class com.mycompany.poll.PollBean
 
parent - Variable in class com.mycompany.jsf.model.TreeNode
 
password - Variable in class com.mycompany.messages.AuthenticateAction
 
password - Variable in class com.mycompany.messages.EmployeeBean
 
pdCache - Variable in class com.mycompany.jsf.event.CaptureStatePhaseListener
 
peerId - Variable in class com.mycompany.jsf.taglib.ValidateLaterThanTag
 
peerId - Variable in class com.mycompany.jsf.validator.LaterThanValidator
 
postedBy - Variable in class com.mycompany.messages.NewsItemBean
 
postedDate - Variable in class com.mycompany.messages.NewsItemBean
 
processAction(ActionEvent) - Method in class com.mycompany.jsf.component.UITabLabel
Locates the component's grandparent (holding all components acting as tabs), gets all its children (the tab components), and sets the "rendered" property to "true" for this component's parenent and to "false" for all others.
processDecodes(FacesContext) - Method in class com.mycompany.jsf.component.UITree
If "rendered" is true, resets the cached model and saved per-node state, calls processNodes() with a PhaseId for this phase, resets the node ID, and calls the decode() method.
processListener(FacesListener) - Method in class com.mycompany.jsf.component.UITree.ChildEvent
 
processNodes(FacesContext, PhaseId, String, int) - Method in class com.mycompany.jsf.component.UITree
Recursively process all nodes at the root of the tree and all nodes under an open node for the provided phase, i.e., by calling processDecodes(), processValidators() or processUpdates() on the facet representing the node type.
processUpdates(FacesContext) - Method in class com.mycompany.jsf.component.UITree
If "rendered" is true, calls processNodes() with a PhaseId for this phase, resets the node ID, and calls the decode() method.
processValidators(FacesContext) - Method in class com.mycompany.jsf.component.UITree
If "rendered" is true, calls processNodes() with a PhaseId for this phase, resets the node ID, and calls the decode() method.
projects - Variable in class com.mycompany.messages.EmployeeBean
 
projects - Variable in class com.mycompany.messages.UpdateProfileAction
 

Q

queueEvent(FacesEvent) - Method in class com.mycompany.jsf.component.UITree
Wraps the event in a ChildEvent and calls the superclass method add it to the queue with this component as the event source.

R

RegistryException - exception com.mycompany.expense.RegistryException.
This exception signals an error reading or writing a report in the ReportRegistry.
RegistryException() - Constructor for class com.mycompany.expense.RegistryException
 
RegistryException(String) - Constructor for class com.mycompany.expense.RegistryException
 
RegistryException(String, Throwable) - Constructor for class com.mycompany.expense.RegistryException
 
RegistryException(Throwable) - Constructor for class com.mycompany.expense.RegistryException
 
Report - class com.mycompany.expense.Report.
This class represents a report in the ReportRegistry.
Report() - Constructor for class com.mycompany.expense.Report
Creates a new, empty instance.
Report(Report) - Constructor for class com.mycompany.expense.Report
Creates an instance that is a copy of the provided instance.
ReportEntry - class com.mycompany.expense.ReportEntry.
This class represents an entry in a Report.
ReportEntry() - Constructor for class com.mycompany.expense.ReportEntry
Creates a new, empty instance.
ReportEntry(ReportEntry) - Constructor for class com.mycompany.expense.ReportEntry
Creates an instance that is a copy of the provided instance.
ReportHandler - class com.mycompany.expense.ReportHandler.
This class contains properties and methods for the JSF components in the report area of the sample expense report application.
ReportHandler() - Constructor for class com.mycompany.expense.ReportHandler
Creates a new instance, initialized with a new Report and information about the current user.
ReportHandler.Page - class com.mycompany.expense.ReportHandler.Page.
This class represents a page in the page navigation bar model.
ReportHandler.Page(int, ReportHandler) - Constructor for class com.mycompany.expense.ReportHandler.Page
 
ReportRegistry - class com.mycompany.expense.ReportRegistry.
This abstract class represents the report registry for the sample expense report application.
ReportRegistry() - Constructor for class com.mycompany.expense.ReportRegistry
 
Rules - class com.mycompany.expense.Rules.
This class contains methods encoding the rules for how a report in the sample expense report application may be handled by the current user.
Rules() - Constructor for class com.mycompany.expense.Rules
 
refreshCache() - Method in class com.mycompany.expense.ReportHandler
If the current report isn't new (i.e., not yet stored), refreshes the current report with a copy from the registry to ensure the local copy is the latest version.
registry - Variable in class com.mycompany.expense.ReportHandler
 
reject() - Method in class com.mycompany.expense.ReportHandler
Rejects the current report, or queues an error message if the current user isn't allowed to do that or the registry throws an exception.
remember - Variable in class com.mycompany.messages.AuthenticateAction
 
rememberSet - Variable in class com.mycompany.messages.AuthenticateAction
 
removeActionListener(ActionListener) - Method in class com.mycompany.jsf.component.UITabLabel
Throws "UnsupportedOperationException" to disable the use of ActionListener instances.
removeEntry(int) - Method in class com.mycompany.expense.Report
Removes the entry with the specified ID.
removeEntry() - Method in class com.mycompany.expense.ReportHandler
Removes the entry represented by the current row in the entries DataModel from the current report, or queues an error message if the current user isn't allowed to do that or the registry throws an exception.
removeEntry(int) - Method in class com.mycompany.expense.ReportHandler
Removes the specified entry from the current report, or queues an error message if the current user isn't allowed to do that or the registry throws an exception.
removeNewsItem(int) - Method in class com.mycompany.messages.NewsBean
Removes the news item with the specified id.
removeReport(Report) - Method in class com.mycompany.expense.FileReportRegistry
Removes an existing report in the registry with ID of the provided report.
removeReport(Report) - Method in class com.mycompany.expense.ReportRegistry
Removes an existing report in the registry with ID of the provided report.
renderDocument(TreeNode, PrintWriter, String, String) - Method in class com.mycompany.jsf.servlets.ShowViewStateServlet
Renders the "html", "head" and "body" elements and calls the renderTreeNode() method to render the tree.
renderLinks(Map, PrintWriter, String) - Method in class com.mycompany.jsf.servlets.ShowViewStateServlet
Renders a response with links for all views in the Map.
renderMenu(ResponseWriter, List, int, String, String, UIComponent) - Method in class com.mycompany.jsf.renderer.DatePickerRenderer
Writes a "select" element with "option" elements based on the List with SelectItem instances, with a "selected" attribute for the SelectItem matching the selected value.
renderResponse(FacesContext, UIComponent) - Method in class com.mycompany.jsf.pl.ClassViewHandler
Recursively renders the provided component and all its children by calling encodeBegin(), encodeChildren() (if the component renders its children) and encodeEnd().
renderResponse(FacesContext, UIComponent) - Method in class com.mycompany.jsf.pl.XMLViewHandler
Renders the view represented by the provided root component by parsing the template file for the view and processing the elements in the template with an instance of the TemplateHandler class.
renderTreeNode(TreeNode, PrintWriter, String, String, int, String, int) - Method in class com.mycompany.jsf.servlets.ShowViewStateServlet
Renders the node, as "name=value" if it's a leaf node or as a link for expanding or collapsing the node otherwise.
renderView(FacesContext, UIViewRoot) - Method in class com.mycompany.jsf.pl.ClassViewHandler
Gets the view state to save, if any, and puts a reference to the state in a request scope variable where it can be picked up by the writeState() method, and renders the view represented by the provided UIViewRoot instance by calling renderResponse().
reportHandler - Variable in class com.mycompany.expense.EntryHandler
 
reports - Variable in class com.mycompany.expense.FileReportRegistry
 
reportsModel - Variable in class com.mycompany.expense.ReportHandler
 
requestMethod - Variable in class com.mycompany.messages.StoreMsgAction
 
requestMethod - Variable in class com.mycompany.messages.UpdateProfileAction
 
restoreDescendantState() - Method in class com.mycompany.jsf.component.UITree
Restores state information for all facets by calling the restoreDescendantState(UIComponent, FacesContext) method on each facet.
restoreDescendantState(UIComponent, FacesContext) - Method in class com.mycompany.jsf.component.UITree
Restore state information for the specified component and its children from the previously saved state, if any.
restoreState(FacesContext, Object) - Method in class com.mycompany.jsf.component.UITree
Restores the component to the provided state, previously returned by the saveState() method.
restoreView(FacesContext, String) - Method in class com.mycompany.jsf.pl.ClassViewHandler
Returns the UIViewRoot for the restored view identified by the provided view ID, or null if no state is available.
root - Variable in class com.mycompany.jsf.model.TreeModel
 
root - Variable in class com.mycompany.jsf.pl.XMLViewHandler.TemplateHandler
 
rows - Variable in class com.mycompany.jsf.taglib.DataBarTag
 
rules - Variable in class com.mycompany.expense.ReportHandler
 

S

SEPARATOR - Static variable in class com.mycompany.jsf.model.TreeModel
 
SORT_BY_DATE - Static variable in class com.mycompany.expense.ReportHandler
 
SORT_BY_OWNER - Static variable in class com.mycompany.expense.ReportHandler
 
SORT_BY_STATUS - Static variable in class com.mycompany.expense.ReportHandler
 
SORT_BY_TITLE - Static variable in class com.mycompany.expense.ReportHandler
 
SORT_BY_TOTAL - Static variable in class com.mycompany.expense.ReportHandler
 
STATE_VAR - Static variable in class com.mycompany.jsf.pl.ClassViewHandler
 
STATUS_ACCEPTED - Static variable in class com.mycompany.expense.Report
 
STATUS_NEW - Static variable in class com.mycompany.expense.Report
 
STATUS_OPEN - Static variable in class com.mycompany.expense.Report
 
STATUS_REJECTED - Static variable in class com.mycompany.expense.Report
 
STATUS_SUBMITTED - Static variable in class com.mycompany.expense.Report
 
ShowViewStateServlet - class com.mycompany.jsf.servlets.ShowViewStateServlet.
This class is a servlet that produces a response showing the state captured by the CaptureStatePhaseListener, as a tree with links for opening and closing nodes.
ShowViewStateServlet() - Constructor for class com.mycompany.jsf.servlets.ShowViewStateServlet
 
StoreMsgAction - class com.mycompany.messages.StoreMsgAction.
This class stores a new message in the Project Billboard application.
StoreMsgAction() - Constructor for class com.mycompany.messages.StoreMsgAction
 
SubscribeView - class com.mycompany.newsservice.views.SubscribeView.
This class is an example of a pure Java view representation for a fictitious newsletter subscription service subscription interface, used by the example ClassViewHandler implementation.
SubscribeView() - Constructor for class com.mycompany.newsservice.views.SubscribeView
 
Subscriber - class com.mycompany.newsservice.models.Subscriber.
This class is an example of a JSF-independent business logic class.
Subscriber() - Constructor for class com.mycompany.newsservice.models.Subscriber
 
SubscriberHandler - class com.mycompany.newsservice.handlers.SubscriberHandler.
This class is an example of the type of class that acts as an adaptor for JSF-independent business logic classes (such as Subscriber) to make them accessible to JSF components.
SubscriberHandler() - Constructor for class com.mycompany.newsservice.handlers.SubscriberHandler
 
save() - Method in class com.mycompany.expense.FileReportRegistry
Saves the registry to the file returned by the getStore() method.
save() - Method in class com.mycompany.newsservice.models.Subscriber
 
saveDescendantState() - Method in class com.mycompany.jsf.component.UITree
Saves state information for all facets by calling the saveDescendantState(UIComponent, FacesContext) method on each facet.
saveDescendantState(UIComponent, FacesContext) - Method in class com.mycompany.jsf.component.UITree
Saves state information for the specified component, if it implements the EditableValueHolder interface, and its children.
saveEmployee(EmployeeBean) - Method in class com.mycompany.messages.EmployeeRegistryBean
Inserts the information about the specified employee, or updates the information if it's already defined.
saveReport() - Method in class com.mycompany.expense.ReportHandler
If the current report is new, changes its status to "open" and add it to the registry; otherwise, updates the report in the registry.
saveState(FacesContext) - Method in class com.mycompany.jsf.component.UITree
Returns the component state to be saved as part of the view state.
saveSubscriber() - Method in class com.mycompany.newsservice.handlers.SubscriberHandler
 
saved - Variable in class com.mycompany.jsf.component.UITree
This map contains SavedState instances for each node in the tree, keyed by the client identifier of the component representing node, which contains the nodeId value for uniqueness.
scrollFirst() - Method in class com.mycompany.expense.ReportHandler
Sets the index for the first row to display in the reports list to zero.
scrollLast() - Method in class com.mycompany.expense.ReportHandler
Sets the index for the first row to display in the reports list to the index of the top row for the last page.
scrollNext() - Method in class com.mycompany.expense.ReportHandler
Sets the index for the first row to display in the reports table to the index of the top row for the next page, or to zero if there is no more page.
scrollPrevious() - Method in class com.mycompany.expense.ReportHandler
Sets the index for the first row to display in the reports table to the index of the top row for the previou page, or to zero if there is no more page.
select() - Method in class com.mycompany.expense.ReportHandler.Page
 
select() - Method in class com.mycompany.expense.ReportHandler
Makes the report at the current row in the reports DataModel the current report, or queues an error message if the current user isn't allowed to do that or the registry throws an exception.
selectedLabelClass - Variable in class com.mycompany.jsf.taglib.PanelTabbedTag
 
setAction(MethodBinding) - Method in class com.mycompany.jsf.component.UITabLabel
Throws "UnsupportedOperationException" to disable the use of an action method.
setActionListener(MethodBinding) - Method in class com.mycompany.jsf.component.UITabLabel
Throws "UnsupportedOperationException" to disable the use of an action listener method.
setAmount(double) - Method in class com.mycompany.expense.ReportEntry
Sets the entry amount.
setCategory(String) - Method in class com.mycompany.messages.NewsItemBean
Sets the category property value.
setCategory(String) - Method in class com.mycompany.messages.StoreMsgAction
 
setCity(String) - Method in class com.mycompany.expense.UserProfile
Sets the city name.
setClosedNode(UIComponent) - Method in class com.mycompany.jsf.component.UITree
Sets the "openNode" facet.
setCurrentEntryId(int) - Method in class com.mycompany.expense.Report
Sets the current ID value.
setCurrentPage(int) - Method in class com.mycompany.expense.ReportHandler
Sets the index for the first row in the reports table to match the specified page number.
setCurrentReport(Report) - Method in class com.mycompany.expense.ReportHandler
Makes the provided Report the current report, and resets the cached entries DataModel.
setDataSource(Map) - Method in class com.mycompany.messages.EmployeeRegistryBean
Sets the dataSource property value.
setDate(Date) - Method in class com.mycompany.expense.ReportEntry
Sets the entry date.
setDept(String) - Method in class com.mycompany.messages.EmployeeBean
Sets the dept property value.
setEmailAddr(String) - Method in class com.mycompany.messages.EmployeeBean
Sets the emailAddr property value.
setEmailAddr(String) - Method in class com.mycompany.newsservice.models.Subscriber
 
setEmpDate(Date) - Method in class com.mycompany.messages.EmployeeBean
Sets the empDate property value.
setEntries(Map) - Method in class com.mycompany.expense.Report
Sets the entries.
setErrorComp(HtmlOutputText) - Method in class com.mycompany.beans.MyBean
 
setExpanded(boolean) - Method in class com.mycompany.jsf.model.TreeNode
Sets the "expanded" property value.
setExpenseTypes(Map) - Method in class com.mycompany.expense.EntryHandler
Sets the standard expense type choice values.
setFirst(String) - Method in class com.mycompany.jsf.taglib.DataBarTag
Sets the value of the "first" property, i.e., the index for the first row in the component's model to process.
setFirstName(String) - Method in class com.mycompany.expense.UserProfile
Sets the first name.
setFirstName(String) - Method in class com.mycompany.messages.EmployeeBean
Sets the firstName property value.
setFontSize(String) - Method in class com.mycompany.expense.UserProfile
Sets the preferred font size.
setFontStyle(String) - Method in class com.mycompany.expense.UserProfile
Sets the preferred font style.
setFrom(Date) - Method in class com.mycompany.expense.ReportHandler
Sets the from date.
setId(int) - Method in class com.mycompany.expense.Report
Sets the report ID.
setId(int) - Method in class com.mycompany.expense.ReportEntry
Sets the entry ID.
setId(int) - Method in class com.mycompany.messages.NewsItemBean
Sets the id property value.
setLabelAreaClass(String) - Method in class com.mycompany.jsf.taglib.PanelTabbedTag
Sets the CSS class used for the rendered "table" element holding the cells with labels.
setLastName(String) - Method in class com.mycompany.expense.UserProfile
Sets the last name.
setLastName(String) - Method in class com.mycompany.messages.EmployeeBean
Sets the lastName property value.
setLeafNode(UIComponent) - Method in class com.mycompany.jsf.component.UITree
Sets the "leafNode" facet.
setLeafNode(boolean) - Method in class com.mycompany.jsf.model.TreeNode
Sets the "leafNode" property value.
setLocalValueSet(boolean) - Method in class com.mycompany.jsf.component.UITree.SavedState
 
setLocale(String) - Method in class com.mycompany.expense.UserProfile
Sets the preferred locale.
setLoginCookies(FacesContext, boolean, String, String) - Method in class com.mycompany.messages.AuthenticateAction
Set or "delete" the login cookies, depending on the value of the "remember" parameter.
setMsg(String) - Method in class com.mycompany.messages.NewsItemBean
Sets the msg property value.
setMsg(String) - Method in class com.mycompany.messages.StoreMsgAction
 
setName(String) - Method in class com.mycompany.jsf.model.TreeNode
Sets the node name.
setNewsBean(NewsBean) - Method in class com.mycompany.messages.StoreMsgAction
 
setNewsItem(NewsItemBean) - Method in class com.mycompany.messages.NewsBean
Adds a news item to the list.
setNoOfRows(int) - Method in class com.mycompany.expense.ReportHandler
Sets the number of rows to show in the reports table.
setNodeId(String) - Method in class com.mycompany.jsf.component.UITree
Sets the node ID, saving the state of all facet components for the previous node ID and restoring it for the new if it was saved for the new node ID previously, and exposes the node for the new node ID and the NodeToggler through their request scope variables.
setNodeId(String) - Method in class com.mycompany.jsf.model.TreeModel
Selects the node matching the specified node ID, or deselects the current node if the node ID is null.
setOpenNode(UIComponent) - Method in class com.mycompany.jsf.component.UITree
Sets the "openNode" facet.
setOrigURL(String) - Method in class com.mycompany.messages.AuthenticateAction
Sets the originally requested URL.
setOwner(String) - Method in class com.mycompany.expense.Report
Sets the report owner.
setParent(TreeNode) - Method in class com.mycompany.jsf.model.TreeNode
Sets the parent of this node, called by the addChild() method.
setPassword(String) - Method in class com.mycompany.messages.AuthenticateAction
Sets the password.
setPassword(String) - Method in class com.mycompany.messages.EmployeeBean
Sets the password property value.
setPeerId(String) - Method in class com.mycompany.jsf.validator.LaterThanValidator
Sets the ID for the peer component the main component's value is compared to.
setPhaseId(PhaseId) - Method in class com.mycompany.jsf.component.UITree.ChildEvent
 
setPostedBy(String) - Method in class com.mycompany.messages.NewsItemBean
Sets the postedBy property value.
setProject(String) - Method in class com.mycompany.messages.EmployeeBean
 
setProjects(String[]) - Method in class com.mycompany.messages.EmployeeBean
Sets the projects property value.
setProjects(String[]) - Method in class com.mycompany.messages.UpdateProfileAction
 
setProperties(UIComponent) - Method in class com.mycompany.jsf.taglib.DataBarTag
Configures the component based on the tag handler property values.
setProperties(UIComponent) - Method in class com.mycompany.jsf.taglib.InputDatePickerTag
Configures the component based on the tag handler property values.
setProperties(UIComponent) - Method in class com.mycompany.jsf.taglib.PanelTabbedTag
Configures the component based on the tag handler property values.
setProperties(UIComponent) - Method in class com.mycompany.jsf.taglib.TreeTag
Configures the component based on the tag handler property values.
setRegistry(EmployeeRegistryBean) - Method in class com.mycompany.messages.AuthenticateAction
Sets the registry holding user information.
setRegistry(EmployeeRegistryBean) - Method in class com.mycompany.messages.UpdateProfileAction
 
setRemember(boolean) - Method in class com.mycompany.messages.AuthenticateAction
Sets the "remember" property value.
setReportHandler(ReportHandler) - Method in class com.mycompany.expense.EntryHandler
Sets a reference to the ReportHandler that this instance interacts with.
setReportRegistry(ReportRegistry) - Method in class com.mycompany.expense.ReportHandler
Sets the ReportRegistry instance used by this application.
setRequestMethod(String) - Method in class com.mycompany.messages.StoreMsgAction
 
setRequestMethod(String) - Method in class com.mycompany.messages.UpdateProfileAction
 
setRows(String) - Method in class com.mycompany.jsf.taglib.DataBarTag
Sets the value of the "rows" property, i.e., the number of rows in the component's model to process.
setSelectedLabelClass(String) - Method in class com.mycompany.jsf.taglib.PanelTabbedTag
Sets the CSS class used for the "td" element holding the currently selected "label" facet.
setSpecialTypes(Map) - Method in class com.mycompany.expense.EntryHandler
Sets the special expense type choice values.
setStartYear(String) - Method in class com.mycompany.jsf.taglib.InputDatePickerTag
Sets the first year to include in the year selection list.
setState(String) - Method in class com.mycompany.expense.UserProfile
Sets the state name.
setStatus(int) - Method in class com.mycompany.expense.Report
Sets the report status.
setStatus(String[]) - Method in class com.mycompany.expense.ReportHandler
Sets the status codes to display.
setStreet(String) - Method in class com.mycompany.expense.UserProfile
Sets the street address.
setStyleClass(String) - Method in class com.mycompany.jsf.taglib.InputDatePickerTag
Sets the CSS class for the rendered "select" elements.
setSubmittedValue(Object) - Method in class com.mycompany.jsf.component.UITree.SavedState
 
setSubscriber(Subscriber) - Method in class com.mycompany.newsservice.handlers.SubscriberHandler
 
setSubscriptionIds(String[]) - Method in class com.mycompany.newsservice.models.Subscriber
 
setThan(String) - Method in class com.mycompany.jsf.taglib.ValidateLaterThanTag
Sets the client ID for the component holding the value to compare the value of the component with this validator to.
setTitle(String) - Method in class com.mycompany.expense.Report
Sets the report title.
setTo(Date) - Method in class com.mycompany.expense.ReportHandler
Sets the to date.
setType(int) - Method in class com.mycompany.expense.ReportEntry
Sets the entry type.
setUnselectedLabelClass(String) - Method in class com.mycompany.jsf.taglib.PanelTabbedTag
Sets the CSS class used for the "td" element holding the "label" facets other than the selected facet.
setUsername(String) - Method in class com.mycompany.messages.AuthenticateAction
Sets the username.
setUsername(String) - Method in class com.mycompany.messages.EmployeeBean
Sets the username property value.
setValid(boolean) - Method in class com.mycompany.jsf.component.UITree.SavedState
 
setValidUser(EmployeeBean) - Method in class com.mycompany.messages.StoreMsgAction
 
setValidUser(EmployeeBean) - Method in class com.mycompany.messages.UpdateProfileAction
 
setValue(Object) - Method in class com.mycompany.jsf.component.UITree.SavedState
 
setValue(Object) - Method in class com.mycompany.jsf.component.UITree
Sets the component value, either a TreeModel or a TreeNode, and resets the previously cached model, if any.
setValue(Object) - Method in class com.mycompany.jsf.model.TreeNode
Sets the node value.
setValue(String) - Method in class com.mycompany.jsf.taglib.DataBarTag
Sets the component's model value, which must be a JSF value binding expression for a "javax.faces.model.DataModel" instance or a data type for which there is a wrapper model.
setValue(String) - Method in class com.mycompany.jsf.taglib.InputDatePickerTag
Sets the component's value.
setValue(String) - Method in class com.mycompany.jsf.taglib.TreeTag
Sets the component's value, which must be a JSF value binding expression for a "com.mycompany.jsf.model.TreeModel" or a "com.mycompany.jsf.model.TreeNode" instance.
setValueBinding(String, ValueBinding) - Method in class com.mycompany.jsf.component.UITree
Throws an IllegalArgumentException if the name is "var", "varToggler" or "nodeId" (these properties must be set to explicit values); otherwise, delegates to the superclass.
setVar(String) - Method in class com.mycompany.jsf.component.UITree
Sets the name of the request-scope variable through which the data object for the current node is exposed.
setVar(String) - Method in class com.mycompany.jsf.taglib.DataBarTag
Sets the value of the "var" property, i.e., the name of the request scope variable that holds the current row being processed.
setVar(String) - Method in class com.mycompany.jsf.taglib.TreeTag
Sets the value of the "var" property, i.e., the name of the request scope variable that holds the current node being processed.
setVarNodeToggler(String) - Method in class com.mycompany.jsf.component.UITree
Sets the name of the request scope through which the NodeToggler is exposed.
setVarNodeToggler(String) - Method in class com.mycompany.jsf.taglib.TreeTag
Sets the value of the "varNodeToggler" property, i.e., the name of the request scope variable that holds an instance of a class with a toggleExpanded() action method that toggles the value of the "expanded" property for the node it's bound to.
setYears(String) - Method in class com.mycompany.jsf.taglib.InputDatePickerTag
Set the number of years to include in the year selection list.
setZip(String) - Method in class com.mycompany.expense.UserProfile
Sets the postal code (e.g., ZIP code).
setupResponseWriter(FacesContext) - Method in class com.mycompany.jsf.pl.ClassViewHandler
Asks the current RenderKit to create a ResponseWriter around the OutputStream for the response body and sets the Content-Type response header to the MIME type selected by the ResponseWriter from the alternatives listed in the Accept request header.
showScore - Variable in class com.mycompany.poll.PollBean
 
sortBy - Variable in class com.mycompany.expense.ReportHandler
 
sortByDate() - Method in class com.mycompany.expense.ReportHandler
Sets the sorting column for the reports list to the "date" column, reversing the order if the table is already sorted by this column.
sortByOwner() - Method in class com.mycompany.expense.ReportHandler
Sets the sorting column for the reports list to the "owner" column, reversing the order if the table is already sorted by this column.
sortByStatus() - Method in class com.mycompany.expense.ReportHandler
Sets the sorting column for the reports list to the "status" column, reversing the order if the table is already sorted by this column.
sortByTitle() - Method in class com.mycompany.expense.ReportHandler
Sets the sorting column for the reports list to the "title" column, reversing the order if the table is already sorted by this column.
sortByTotal() - Method in class com.mycompany.expense.ReportHandler
Sets the sorting column for the reports list to the "total" column, reversing the order if the table is already sorted by this column.
sortReports(List) - Method in class com.mycompany.expense.ReportHandler
Sorts the reports according to the current sort column and order.
specialChoices - Variable in class com.mycompany.expense.EntryHandler
 
specialTypes - Variable in class com.mycompany.expense.EntryHandler
 
stack - Variable in class com.mycompany.jsf.pl.XMLViewHandler.TemplateHandler
 
stack - Variable in class com.mycompany.jsf.pl.XMLViewHandler.ViewSpecHandler
 
startElement(String, String, String, Attributes) - Method in class com.mycompany.jsf.pl.XMLViewHandler.TemplateHandler
Writes buffered text, if any, and tries to locate a component with the ID defined by the "id" attribute by calling the findComponent() method on the root component.
startElement(String, String, String, Attributes) - Method in class com.mycompany.jsf.pl.XMLViewHandler.ViewSpecHandler
If the element is a "component" element, calls createComponent() to create the corresponding component, adds it as a child of the component at the top of the stack, and pushes the new component onto the stack.
startYear - Variable in class com.mycompany.jsf.taglib.InputDatePickerTag
 
state - Variable in class com.mycompany.expense.UserProfile
 
status - Variable in class com.mycompany.expense.Report
 
status - Variable in class com.mycompany.expense.ReportHandler
 
store() - Method in class com.mycompany.messages.StoreMsgAction
Creates a new NewsItemBean and sets its properties based on the "category" and "msg" request parameters, plus the firstName and lastName properties of the authenticated user (an EmployeeBean accessible as the "validUser" session attribute).
street - Variable in class com.mycompany.expense.UserProfile
 
styleClass - Variable in class com.mycompany.jsf.taglib.InputDatePickerTag
 
submit() - Method in class com.mycompany.expense.ReportHandler
Submits the current report, or queues an error message if the current user isn't allowed to do that or the registry throws an exception.
submittedValue - Variable in class com.mycompany.jsf.component.UITree.SavedState
 
subscriber - Variable in class com.mycompany.newsservice.handlers.SubscriberHandler
 
subscriptionIds - Variable in class com.mycompany.newsservice.models.Subscriber
 
suppressTemplate - Variable in class com.mycompany.jsf.pl.XMLViewHandler.TemplateHandler
 
suppressTemplate(UIComponent) - Method in class com.mycompany.jsf.pl.XMLViewHandler.TemplateHandler
 

T

TabLabelTag - class com.mycompany.jsf.taglib.TabLabelTag.
This class is a tag handler that creates and configures a "com.mycompany.TabLabel" component with a "javax.faces.Link" renderer.
TabLabelTag() - Constructor for class com.mycompany.jsf.taglib.TabLabelTag
 
TabbedRenderer - class com.mycompany.jsf.renderer.TabbedRenderer.
This class is a JSF Renderer for the "javax.faces.Panel" component type.
TabbedRenderer() - Constructor for class com.mycompany.jsf.renderer.TabbedRenderer
 
TreeModel - class com.mycompany.jsf.model.TreeModel.
This class represents a tree of nodes, used as the model for the UITree component.
TreeModel(TreeNode) - Constructor for class com.mycompany.jsf.model.TreeModel
Create a model with the provided TreeNode as the root.
TreeNode - class com.mycompany.jsf.model.TreeNode.
This class represents a node in a tree of nodes.
TreeNode() - Constructor for class com.mycompany.jsf.model.TreeNode
 
TreeRenderer - class com.mycompany.jsf.renderer.TreeRenderer.
This class is a JSF Renderer for the "com.mycompany.Tree" component type.
TreeRenderer() - Constructor for class com.mycompany.jsf.renderer.TreeRenderer
 
TreeTag - class com.mycompany.jsf.taglib.TreeTag.
This class is a tag handler that creates and configures a "com.mycompany.Tree" component with a "com.mycompany.Tree" renderer.
TreeTag() - Constructor for class com.mycompany.jsf.taglib.TreeTag
 
textBuff - Variable in class com.mycompany.jsf.pl.XMLViewHandler.TemplateHandler
 
title - Variable in class com.mycompany.expense.Report
 
to - Variable in class com.mycompany.expense.ReportHandler
 
toObjects(boolean[]) - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Returns an Object array with the values of the array.
toObjects(byte[]) - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Returns an Object array with the values of the array.
toObjects(char[]) - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Returns an Object array with the values of the array.
toObjects(double[]) - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Returns an Object array with the values of the array.
toObjects(float[]) - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Returns an Object array with the values of the array.
toObjects(int[]) - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Returns an Object array with the values of the array.
toObjects(short[]) - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Returns an Object array with the values of the array.
toObjects(long[]) - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Returns an Object array with the values of the array.
toString() - Method in class com.mycompany.expense.Report
Returns a String with all report properties.
toString() - Method in class com.mycompany.expense.ReportEntry
Returns a String with all entry properties.
toString(Object) - Method in class com.mycompany.jsf.event.CaptureStatePhaseListener
Returns the value as a String in an appropriate format depending on the data type.
toggleExpanded() - Method in class com.mycompany.jsf.component.UITree.NodeToggler
 
toggleExpanded(String, TreeNode) - Method in class com.mycompany.jsf.servlets.ShowViewStateServlet
Locates the node with the specified path in the tree and flips its "expanded" flag.
toggleTypes() - Method in class com.mycompany.expense.EntryHandler
Toggles the value of the "includeSpecial" flag.
toggleTypes(ValueChangeEvent) - Method in class com.mycompany.expense.EntryHandler
Toggles the value of the "includeSpecial" flag.
total - Variable in class com.mycompany.poll.PollBean
 
tree - Variable in class com.mycompany.jsf.component.UITree.NodeToggler
 
type - Variable in class com.mycompany.expense.ReportEntry
 

U

UITabLabel - class com.mycompany.jsf.component.UITabLabel.
This class is a JSF component that represents a clickable tab control label.
UITabLabel() - Constructor for class com.mycompany.jsf.component.UITabLabel
Creates an instance and sets the renderer type to "javax.faces.Link".
UITree - class com.mycompany.jsf.component.UITree.
This class is a JSF component that represents a tree control.
UITree() - Constructor for class com.mycompany.jsf.component.UITree
Creates an instance and sets the renderer type to "com.mycompany.Tree".
UITree.ChildEvent - class com.mycompany.jsf.component.UITree.ChildEvent.
Private class to wrap an event with a node ID.
UITree.ChildEvent(UIComponent, FacesEvent, String) - Constructor for class com.mycompany.jsf.component.UITree.ChildEvent
 
UITree.NodeToggler - class com.mycompany.jsf.component.UITree.NodeToggler.
A class with an action method that toggles the "expanded" property value of the current node.
UITree.NodeToggler(UITree) - Constructor for class com.mycompany.jsf.component.UITree.NodeToggler
 
UITree.SavedState - class com.mycompany.jsf.component.UITree.SavedState.
Private class to represent saved state information.
UITree.SavedState() - Constructor for class com.mycompany.jsf.component.UITree.SavedState
 
UpdateProfileAction - class com.mycompany.messages.UpdateProfileAction.
This class updates a user profile in the Project Billboard application.
UpdateProfileAction() - Constructor for class com.mycompany.messages.UpdateProfileAction
 
UserHandler - class com.mycompany.expense.UserHandler.
This class contains the single method for the user preferences screens for the sample expense report aplication.
UserHandler() - Constructor for class com.mycompany.expense.UserHandler
 
UserProfile - class com.mycompany.expense.UserProfile.
This class holds the user preferences that can be set for the sample expense report application.
UserProfile() - Constructor for class com.mycompany.expense.UserProfile
 
unselectedLabelClass - Variable in class com.mycompany.jsf.taglib.PanelTabbedTag
 
updateEntry() - Method in class com.mycompany.expense.ReportHandler
Uses the entry represented by the current row in the entries DataModel to update the corresponding entry in the current report, or queues an error message if the current user isn't allowed to do that or the registry throws an exception.
updateEntry(ReportEntry) - Method in class com.mycompany.expense.ReportHandler
Uses the provided entry to update the corresponding entry in the current report, or queues an error message if the current user isn't allowed to do that or the registry throws an exception.
updateProfile() - Method in class com.mycompany.expense.UserHandler
This method should save the updated user profile information in a real applciation.
updateProfile() - Method in class com.mycompany.messages.UpdateProfileAction
Updates the projects property of an authenticated user, represented by the "validUser" session attribute, using the EmployeeRegistryBean.
updateReport(Report) - Method in class com.mycompany.expense.FileReportRegistry
Replaces an existing report in the registry with a copy of the provided report.
updateReport(Report) - Method in class com.mycompany.expense.ReportRegistry
Replaces an existing report in the registry with a copy of the provided report.
username - Variable in class com.mycompany.messages.AuthenticateAction
 
username - Variable in class com.mycompany.messages.EmployeeBean
 

V

ValidateLaterThanTag - class com.mycompany.jsf.taglib.ValidateLaterThanTag.
This class is a tag handler that creates and configures a "com.mycompany.jsf.validator.LATER_THAN" validator.
ValidateLaterThanTag() - Constructor for class com.mycompany.jsf.taglib.ValidateLaterThanTag
 
View - interface com.mycompany.jsf.pl.View.
This interface must be implemented by classes representing a view for the ClassViewHandler.
valid - Variable in class com.mycompany.jsf.component.UITree.SavedState
 
validUser - Variable in class com.mycompany.messages.StoreMsgAction
 
validUser - Variable in class com.mycompany.messages.UpdateProfileAction
 
validate(FacesContext, UIComponent, Object) - Method in class com.mycompany.jsf.validator.LaterThanValidator
Compares the provided value to the value of the peer component, and throws a ValidatorException with an appropriate FacesMessage if the provided value doesn't represent a later date or if there are problems accessing the peer component value.
validateText(FacesContext, UIComponent, Object) - Method in class com.mycompany.beans.MyBean
 
value - Variable in class com.mycompany.jsf.component.UITree.SavedState
 
value - Variable in class com.mycompany.jsf.component.UITree
The component's value, either a TreeModel or a TreeNode instance.
value - Variable in class com.mycompany.jsf.model.TreeNode
 
value - Variable in class com.mycompany.jsf.taglib.DataBarTag
 
value - Variable in class com.mycompany.jsf.taglib.InputDatePickerTag
 
value - Variable in class com.mycompany.jsf.taglib.TreeTag
 
var - Variable in class com.mycompany.jsf.component.UITree
The name of the request scope variable through which the data object for the current node is exposed.
var - Variable in class com.mycompany.jsf.taglib.DataBarTag
 
var - Variable in class com.mycompany.jsf.taglib.TreeTag
 
varNodeToggler - Variable in class com.mycompany.jsf.component.UITree
The name of the request scope variable through which the node toggler object is exposed.
varNodeToggler - Variable in class com.mycompany.jsf.taglib.TreeTag
 
views - Variable in class com.mycompany.jsf.pl.ClassViewHandler
 
vote1 - Variable in class com.mycompany.poll.PollBean
 
vote1() - Method in class com.mycompany.poll.PollBean
 
vote2 - Variable in class com.mycompany.poll.PollBean
 
vote2() - Method in class com.mycompany.poll.PollBean
 
vote3 - Variable in class com.mycompany.poll.PollBean
 
vote3() - Method in class com.mycompany.poll.PollBean
 

W

writeState(FacesContext) - Method in class com.mycompany.jsf.pl.ClassViewHandler
Writes the state captured and saved by the renderView() method to the response with the help of the current StateManager.

X

XMLViewHandler - class com.mycompany.jsf.pl.XMLViewHandler.
This class is a JSF ViewHandler that works with views defined by a combination of a view specification file and a template file.
XMLViewHandler(ViewHandler) - Constructor for class com.mycompany.jsf.pl.XMLViewHandler
Creates an instance and saves a reference to the previously registered ViewHandler.
XMLViewHandler.TemplateHandler - class com.mycompany.jsf.pl.XMLViewHandler.TemplateHandler.
This class is a SAX DefaultHandler for processing the template file.
XMLViewHandler.TemplateHandler(FacesContext, UIViewRoot) - Constructor for class com.mycompany.jsf.pl.XMLViewHandler.TemplateHandler
Creates an instance and pushes the root component onto a stack.
XMLViewHandler.ViewSpecHandler - class com.mycompany.jsf.pl.XMLViewHandler.ViewSpecHandler.
This class is a SAX DefaultHandler for processing the view specification file.
XMLViewHandler.ViewSpecHandler(Application, UIComponent) - Constructor for class com.mycompany.jsf.pl.XMLViewHandler.ViewSpecHandler
Creates an instance and pushes the root component onto a stack.

Y

years - Variable in class com.mycompany.jsf.taglib.InputDatePickerTag
 

Z

zip - Variable in class com.mycompany.expense.UserProfile
 

A B C D E F G H I K L M N O P Q R S T U V W X Y Z