Class LinkedAccountWizardBuilder
java.lang.Object
org.apache.syncope.client.ui.commons.wizards.AbstractModalPanelBuilder<LinkedAccountTO>
org.apache.syncope.client.ui.commons.wizards.AjaxWizardBuilder<LinkedAccountTO>
org.apache.syncope.client.console.wizards.BaseAjaxWizardBuilder<LinkedAccountTO>
org.apache.syncope.client.console.wizards.any.LinkedAccountWizardBuilder
- All Implemented Interfaces:
Serializable
,LinkedAccountForm
,ModalPanelBuilder<LinkedAccountTO>
public class LinkedAccountWizardBuilder
extends BaseAjaxWizardBuilder<LinkedAccountTO>
implements LinkedAccountForm
Accounts wizard builder.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AnyTypeRestClient
protected LinkedAccountFormLayoutInfo
protected final UserRestClient
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
ConstructorDescriptionLinkedAccountWizardBuilder
(IModel<UserTO> model, LinkedAccountFormLayoutInfo formLayoutInfo, UserRestClient userRestClient, AnyTypeRestClient anyTypeRestClient, PageReference pageRef) -
Method Summary
Modifier and TypeMethodDescriptionbuild
(String id, AjaxWizard.Mode mode) Build the wizard.protected WizardModel
buildModelSteps
(LinkedAccountTO modelObject, WizardModel wizardModel) protected Serializable
getCreateCustomPayloadEvent
(Serializable afterObject, AjaxRequestTarget target) Override to send custom events after create.protected Serializable
onApplyInternal
(LinkedAccountTO 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, getEditCustomPayloadEvent
Methods inherited from class org.apache.syncope.client.ui.commons.wizards.AbstractModalPanelBuilder
getDefaultItem, getEventSink, getOriginalItem, getPageReference, newModelObject, onCancelInternal, setEventSink, setItem
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.syncope.client.ui.commons.wizards.ModalPanelBuilder
build, getDefaultItem, getEventSink, getPageReference, setEventSink, setItem
-
Field Details
-
model
-
formLayoutInfo
-
userRestClient
-
anyTypeRestClient
-
-
Constructor Details
-
LinkedAccountWizardBuilder
public LinkedAccountWizardBuilder(IModel<UserTO> model, LinkedAccountFormLayoutInfo formLayoutInfo, UserRestClient userRestClient, AnyTypeRestClient anyTypeRestClient, PageReference pageRef)
-
-
Method Details
-
build
Description copied from class:AjaxWizardBuilder
Build the wizard.- Overrides:
build
in classAjaxWizardBuilder<LinkedAccountTO>
- Parameters:
id
- component id.mode
- wizard mode.- Returns:
- wizard.
-
buildModelSteps
- Specified by:
buildModelSteps
in classAjaxWizardBuilder<LinkedAccountTO>
-
onApplyInternal
- Overrides:
onApplyInternal
in classAbstractModalPanelBuilder<LinkedAccountTO>
-
getCreateCustomPayloadEvent
protected Serializable getCreateCustomPayloadEvent(Serializable afterObject, AjaxRequestTarget target) Description copied from class:AjaxWizardBuilder
Override to send custom events after create.- Overrides:
getCreateCustomPayloadEvent
in classAjaxWizardBuilder<LinkedAccountTO>
- Parameters:
afterObject
- after applied changes object.target
- ajax request target- Returns:
- payload to be sent.
-