Class WizardMgtPanel.Builder<T extends Serializable>
- java.lang.Object
-
- org.apache.syncope.client.console.wizards.WizardMgtPanel.Builder<T>
-
- Type Parameters:
T
- list item reference type.
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DirectoryPanel.Builder
,ListViewPanel.Builder
,RelationshipViewPanel.Builder
- Enclosing class:
- WizardMgtPanel<T extends Serializable>
public abstract static class WizardMgtPanel.Builder<T extends Serializable> extends Object implements Serializable
PanelInWizard abstract builder.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected PageReference
pageRef
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(PageReference pageRef)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description WizardMgtPanel.Builder<T>
addNewItemPanelBuilder(ModalPanelBuilder<T> panelBuilder)
WizardMgtPanel.Builder<T>
addNewItemPanelBuilder(ModalPanelBuilder<T> panelBuilder, boolean newItemDefaultButtonEnabled)
Adds new item panel builder.WizardMgtPanel.Builder<T>
addNotificationPanel(NotificationPanel notificationPanel)
Adds new item panel builder and enables default button to adda new item.WizardMgtPanel<T>
build(String id)
Builds a list view.protected abstract WizardMgtPanel<T>
newInstance(String id, boolean wizardInModal)
void
setShowResultPage(boolean showResultPage)
WizardMgtPanel.Builder<T>
setWizardInModal(boolean wizardInModal)
Specifies to open an edit item wizard into a new modal page.
-
-
-
Field Detail
-
pageRef
protected final PageReference pageRef
-
-
Constructor Detail
-
Builder
protected Builder(PageReference pageRef)
-
-
Method Detail
-
newInstance
protected abstract WizardMgtPanel<T> newInstance(String id, boolean wizardInModal)
-
build
public WizardMgtPanel<T> build(String id)
Builds a list view.- Parameters:
id
- component id.- Returns:
- List view.
-
setShowResultPage
public void setShowResultPage(boolean showResultPage)
-
addNewItemPanelBuilder
public WizardMgtPanel.Builder<T> addNewItemPanelBuilder(ModalPanelBuilder<T> panelBuilder)
-
addNewItemPanelBuilder
public WizardMgtPanel.Builder<T> addNewItemPanelBuilder(ModalPanelBuilder<T> panelBuilder, boolean newItemDefaultButtonEnabled)
Adds new item panel builder.- Parameters:
panelBuilder
- new item panel builder.newItemDefaultButtonEnabled
- enable default button to adda new item.- Returns:
- the current builder.
-
addNotificationPanel
public WizardMgtPanel.Builder<T> addNotificationPanel(NotificationPanel notificationPanel)
Adds new item panel builder and enables default button to adda new item.- Parameters:
notificationPanel
- new item panel builder.- Returns:
- the current builder.
-
setWizardInModal
public WizardMgtPanel.Builder<T> setWizardInModal(boolean wizardInModal)
Specifies to open an edit item wizard into a new modal page.- Parameters:
wizardInModal
- TRUE to request to open wizard in a new modal.- Returns:
- the current builder.
-
-