Class ConnectorWizardBuilder
- java.lang.Object
-
- org.apache.syncope.client.ui.commons.wizards.AbstractModalPanelBuilder<T>
-
- org.apache.syncope.client.ui.commons.wizards.AjaxWizardBuilder<T>
-
- org.apache.syncope.client.console.wizards.BaseAjaxWizardBuilder<Serializable>
-
- org.apache.syncope.client.console.wizards.resources.AbstractResourceWizardBuilder<ConnInstanceTO>
-
- org.apache.syncope.client.console.wizards.resources.ConnectorWizardBuilder
-
- All Implemented Interfaces:
Serializable
,ModalPanelBuilder<Serializable>
public class ConnectorWizardBuilder extends AbstractResourceWizardBuilder<ConnInstanceTO>
Modal window with Connector form.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.syncope.client.console.wizards.resources.AbstractResourceWizardBuilder
AbstractResourceWizardBuilder.CreateEvent
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ConnIdBundle>
bundles
protected ConnectorRestClient
connectorRestClient
-
Fields inherited from class org.apache.syncope.client.ui.commons.wizards.AjaxWizardBuilder
LOG, mode, outerObjects
-
Fields inherited from class org.apache.syncope.client.ui.commons.wizards.AbstractModalPanelBuilder
eventSink, pageRef
-
-
Constructor Summary
Constructors Constructor Description ConnectorWizardBuilder(ConnInstanceTO defaultItem, ConnectorRestClient connectorRestClient, PageReference pageRef)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WizardModel
buildModelSteps(Serializable modelObject, WizardModel wizardModel)
protected static ConnIdBundle
getBundle(ConnInstanceTO connInstanceTO, List<ConnIdBundle> bundles)
protected Serializable
getCreateCustomPayloadEvent(Serializable afterObject, AjaxRequestTarget target)
Override to send custom events after create.protected Serializable
onApplyInternal(Serializable modelObject)
-
Methods inherited from class org.apache.syncope.client.console.wizards.BaseAjaxWizardBuilder
execute, getMaxWaitTimeInSeconds, sendError, sendWarning
-
Methods inherited from class org.apache.syncope.client.ui.commons.wizards.AjaxWizardBuilder
addOuterObject, build, build, build, getEditCustomPayloadEvent
-
Methods inherited from class org.apache.syncope.client.ui.commons.wizards.AbstractModalPanelBuilder
getDefaultItem, getEventSink, getOriginalItem, getPageReference, newModelObject, onCancelInternal, setEventSink, setItem
-
-
-
-
Field Detail
-
bundles
protected final List<ConnIdBundle> bundles
-
connectorRestClient
protected final ConnectorRestClient connectorRestClient
-
-
Constructor Detail
-
ConnectorWizardBuilder
public ConnectorWizardBuilder(ConnInstanceTO defaultItem, ConnectorRestClient connectorRestClient, PageReference pageRef)
-
-
Method Detail
-
buildModelSteps
protected WizardModel buildModelSteps(Serializable modelObject, WizardModel wizardModel)
- Specified by:
buildModelSteps
in classAjaxWizardBuilder<Serializable>
-
onApplyInternal
protected Serializable onApplyInternal(Serializable modelObject)
- Overrides:
onApplyInternal
in classAbstractModalPanelBuilder<Serializable>
-
getCreateCustomPayloadEvent
protected Serializable getCreateCustomPayloadEvent(Serializable afterObject, AjaxRequestTarget target)
Description copied from class:AjaxWizardBuilder
Override to send custom events after create.- Overrides:
getCreateCustomPayloadEvent
in classAjaxWizardBuilder<Serializable>
- Parameters:
afterObject
- after applied changes object.target
- ajax request target- Returns:
- payload to be sent.
-
getBundle
protected static ConnIdBundle getBundle(ConnInstanceTO connInstanceTO, List<ConnIdBundle> bundles)
-
-