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>
ListViewPanel builder.
- See Also:
-
Field Summary
Fields inherited from class org.apache.syncope.client.console.wizards.WizardMgtPanel.Builder
pageRef
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAction
(ActionLink<T> link, ActionLink.ActionType type, String entitlements) Add item action (the given order is ignored.addAction
(ActionLink<T> link, ActionLink.ActionType type, String entitlements, boolean onConfirm) Add item action (the given order is ignored.Adds item.protected void
protected void
protected void
protected T
getActualItem
(T item, List<T> list) protected ActionLinksTogglePanel
<T> protected Component
getValueComponent
(String key, T bean) Overridable method to generate field value rendering component.Gives fields to be shown.protected WizardMgtPanel
<T> newInstance
(String id, boolean wizardInModal) setCaptionVisible
(boolean captionVisible) Sets list of items.setModel
(IModel<? extends Collection<T>> model) setReuseItem
(boolean reuseItem) Methods inherited from class org.apache.syncope.client.console.wizards.WizardMgtPanel.Builder
addNewItemPanelBuilder, addNewItemPanelBuilder, addNotificationPanel, build, setShowResultPage, setWizardInModal
-
Constructor Details
-
Builder
-
-
Method Details
-
setModel
-
setItems
Sets list of items.- Parameters:
items
- list of items.- Returns:
- current builder object.
-
addItem
Adds item.- Parameters:
item
- item.- Returns:
- current builder object.
-
withChecks
-
setReuseItem
-
setCaptionVisible
-
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.
-
addAction
public 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.
-
addAction
public 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.
-
getValueComponent
Overridable method to generate field value rendering component.- Parameters:
key
- field key.bean
- source bean.- Returns:
- field rendering component.
-
getActualItem
-
newInstance
- Specified by:
newInstance
in classWizardMgtPanel.Builder<T extends Serializable>
-
getTogglePanel
-
customActionCallback
-
customActionOnCancelCallback
-
customActionOnFinishCallback
-