RichFaces Showcase 4.2.1.CR1

org.richfaces.demo.tables
Class CarsBean

java.lang.Object
  extended by org.richfaces.demo.tables.CarsBean
All Implemented Interfaces:
Serializable

public class CarsBean
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
CarsBean()
           
 
Method Summary
 List<InventoryItem> createCar(String vendor, String model, int count)
           
 List<InventoryItem> getAllInventoryItems()
           
 List<String> getAllVendors()
           
 int getClientRows()
           
 int getCurrentCarIndex()
           
 InventoryItem getEditedCar()
           
 List<InventoryVendorList> getInventoryVendorLists()
           
 int getPage()
           
 List<javax.faces.model.SelectItem> getVendorOptions()
           
 void remove()
           
 void setClientRows(int clientRows)
           
 void setCurrentCarIndex(int currentCarIndex)
           
 void setEditedCar(InventoryItem editedCar)
           
 void setPage(int page)
           
 void store()
           
 void switchAjaxLoading(javax.faces.event.ValueChangeEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CarsBean

public CarsBean()
Method Detail

switchAjaxLoading

public void switchAjaxLoading(javax.faces.event.ValueChangeEvent event)

remove

public void remove()

store

public void store()

getVendorOptions

public List<javax.faces.model.SelectItem> getVendorOptions()

getAllVendors

public List<String> getAllVendors()

getInventoryVendorLists

public List<InventoryVendorList> getInventoryVendorLists()

getAllInventoryItems

public List<InventoryItem> getAllInventoryItems()

createCar

public List<InventoryItem> createCar(String vendor,
                                     String model,
                                     int count)

getCurrentCarIndex

public int getCurrentCarIndex()

setCurrentCarIndex

public void setCurrentCarIndex(int currentCarIndex)

getEditedCar

public InventoryItem getEditedCar()

setEditedCar

public void setEditedCar(InventoryItem editedCar)

getPage

public int getPage()

setPage

public void setPage(int page)

getClientRows

public int getClientRows()

setClientRows

public void setClientRows(int clientRows)

RichFaces Showcase 4.2.1.CR1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.