| java.lang.Object org.sakaiproject.sample.tool.JsfSampleBean
JsfSampleBean | public class JsfSampleBean (Code) | |
Sample JSF UI controller bean for the sample jsf tool.
|
Inner Class :public class ItemController | |
Field Summary | |
protected ItemService | itemService Our service, injected. | protected DataModel | items This needs to hang around for the session, between response and request. |
Method Summary | |
protected DataModel | computeItems() Create the DataModel for the UI table component that has our UI controller objects for our item collection. | public ItemService | getItemService() Access our item service. | public DataModel | getItems() Get data items (entities), wrapped in UI controllers, for a JSF data table. | public String | getNextStep() An action method to process and select the navigation for a UI control (button, link).
Used for a button of the main page. | public String | processToolBarItem() An action method to process and select the navigation for a UI control (button, link).
Used for the tool bar in the main page. | public void | setItemService(ItemService itemService) Set the item service - used to inject the item service. | public void | setItems(DataModel items) Set the data items. |
items | protected DataModel items(Code) | | This needs to hang around for the session, between response and request.
|
JsfSampleBean | public JsfSampleBean()(Code) | | Construct.
|
computeItems | protected DataModel computeItems()(Code) | | Create the DataModel for the UI table component that has our UI controller objects for our item collection.
The items for the table. |
getItemService | public ItemService getItemService()(Code) | | Access our item service.
The injected item service. |
getItems | public DataModel getItems()(Code) | | Get data items (entities), wrapped in UI controllers, for a JSF data table.
The items for the table. |
getNextStep | public String getNextStep()(Code) | | An action method to process and select the navigation for a UI control (button, link).
Used for a button of the main page.
The navigation outcome string. |
processToolBarItem | public String processToolBarItem()(Code) | | An action method to process and select the navigation for a UI control (button, link).
Used for the tool bar in the main page.
The navigation outcome string. |
setItemService | public void setItemService(ItemService itemService)(Code) | | Set the item service - used to inject the item service.
Parameters: itemService - the item service to use. |
setItems | public void setItems(DataModel items)(Code) | | Set the data items.
Parameters: items - Our data items. |
|
|