Class ListViewPanel.Builder<T extends Serializable>
- java.lang.Object
- 
- org.apache.syncope.client.console.wizards.WizardMgtPanel.Builder<T>
- 
- org.apache.syncope.client.console.panels.ListViewPanel.Builder<T>
 
 
- 
- Type Parameters:
- T- list item reference type.
 - All Implemented Interfaces:
- Serializable
 - Enclosing class:
- ListViewPanel<T extends Serializable>
 
 public static class ListViewPanel.Builder<T extends Serializable> extends WizardMgtPanel.Builder<T> ListViewPanel builder.- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.syncope.client.console.wizards.WizardMgtPanel.BuilderpageRef
 
- 
 - 
Constructor SummaryConstructors Constructor Description Builder(Class<T> reference, PageReference pageRef)
 - 
Method Summary- 
Methods inherited from class org.apache.syncope.client.console.wizards.WizardMgtPanel.BuilderaddNewItemPanelBuilder, addNewItemPanelBuilder, addNotificationPanel, build, setShowResultPage, setWizardInModal
 
- 
 
- 
- 
- 
Constructor Detail- 
Builderpublic Builder(Class<T> reference, PageReference pageRef) 
 
- 
 - 
Method Detail- 
setModelpublic ListViewPanel.Builder<T> setModel(IModel<? extends Collection<T>> model) 
 - 
setItemspublic ListViewPanel.Builder<T> setItems(List<T> items) Sets list of items.- Parameters:
- items- list of items.
- Returns:
- current builder object.
 
 - 
addItempublic ListViewPanel.Builder<T> addItem(T item) Adds item.- Parameters:
- item- item.
- Returns:
- current builder object.
 
 - 
withCheckspublic ListViewPanel.Builder<T> withChecks(ListViewPanel.CheckAvailability check) 
 - 
setReuseItempublic ListViewPanel.Builder<T> setReuseItem(boolean reuseItem) 
 - 
setCaptionVisiblepublic ListViewPanel.Builder<T> setCaptionVisible(boolean captionVisible) 
 - 
includespublic ListViewPanel.Builder<T> includes(String... includes) Gives fields to be shown. It could be used to give an order as well.- Parameters:
- includes- field names to be shown.
- Returns:
- current builder object.
 
 - 
addActionpublic ListViewPanel.Builder<T> addAction(ActionLink<T> link, ActionLink.ActionType type, String entitlements) Add item action (the given order is ignored.- Parameters:
- link- action link.
- type- action type.
- entitlements- entitlements.
- Returns:
- current builder object.
 
 - 
addActionpublic ListViewPanel.Builder<T> addAction(ActionLink<T> link, ActionLink.ActionType type, String entitlements, boolean onConfirm) Add item action (the given order is ignored.- Parameters:
- link- action link.
- type- action type.
- entitlements- entitlements.
- onConfirm- specify TRUE to ask for confirmation.
- Returns:
- current builder object.
 
 - 
getValueComponentprotected Component getValueComponent(String key, T bean) Overridable method to generate field value rendering component.- Parameters:
- key- field key.
- bean- source bean.
- Returns:
- field rendering component.
 
 - 
newInstanceprotected WizardMgtPanel<T> newInstance(String id, boolean wizardInModal) - Specified by:
- newInstancein class- WizardMgtPanel.Builder<T extends Serializable>
 
 - 
getTogglePanelprotected ActionLinksTogglePanel<T> getTogglePanel() 
 - 
customActionCallbackprotected void customActionCallback(AjaxRequestTarget target) 
 - 
customActionOnCancelCallbackprotected void customActionOnCancelCallback(AjaxRequestTarget target) 
 - 
customActionOnFinishCallbackprotected void customActionOnFinishCallback(AjaxRequestTarget target) 
 
- 
 
-