org.apache.shale.usecases.lookup
Class ListCategories

java.lang.Object
  extended by org.apache.shale.view.AbstractFacesBean
      extended by org.apache.shale.view.AbstractViewController
          extended by org.apache.shale.usecases.lookup.ListCategories
All Implemented Interfaces:
org.apache.shale.view.ViewController

public class ListCategories
extends org.apache.shale.view.AbstractViewController

ViewController to retrieve the message categories that are supported by this application.

$Id: ListCategories.java 464373 2006-10-16 04:21:54Z rahul $


Constructor Summary
ListCategories()
           
 
Method Summary
 void destroy()
          If any resources were allocated in the prerender() method that were needed for rendering, and now need to be cleaned up, that logic would go in this method.
 javax.faces.model.SelectItem[] getSupportedCategories()
           
 void prerender()
          If any calculations were required to acquire the data required to perform this rendering, that logic would go in this method.
 void setSupportedCategories(javax.faces.model.SelectItem[] supportedCategories)
           
 
Methods inherited from class org.apache.shale.view.AbstractViewController
init, isPostBack, preprocess, setPostBack
 
Methods inherited from class org.apache.shale.view.AbstractFacesBean
erase, error, error, fatal, fatal, getApplication, getApplicationMap, getBean, getExternalContext, getFacesContext, getLifecycle, getRequestHeaderMap, getRequestMap, getRequestParameter, getRequestParameterMap, getRequestParameterValues, getSessionMap, getValue, info, info, log, log, retrieveData, saveData, setBean, setValue, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListCategories

public ListCategories()
Method Detail

getSupportedCategories

public javax.faces.model.SelectItem[] getSupportedCategories()

setSupportedCategories

public void setSupportedCategories(javax.faces.model.SelectItem[] supportedCategories)

prerender

public void prerender()

If any calculations were required to acquire the data required to perform this rendering, that logic would go in this method.

Specified by:
prerender in interface org.apache.shale.view.ViewController
Overrides:
prerender in class org.apache.shale.view.AbstractViewController

destroy

public void destroy()

If any resources were allocated in the prerender() method that were needed for rendering, and now need to be cleaned up, that logic would go in this method.

Specified by:
destroy in interface org.apache.shale.view.ViewController
Overrides:
destroy in class org.apache.shale.view.AbstractViewController


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.