Class LinkedAccountWizardBuilder
- 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<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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AnyTypeRestClient
anyTypeRestClient
protected LinkedAccountFormLayoutInfo
formLayoutInfo
protected IModel<UserTO>
model
protected UserRestClient
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
Constructors Constructor Description LinkedAccountWizardBuilder(IModel<UserTO> model, LinkedAccountFormLayoutInfo formLayoutInfo, UserRestClient userRestClient, AnyTypeRestClient anyTypeRestClient, PageReference pageRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AjaxWizard<LinkedAccountTO>
build(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 Detail
-
formLayoutInfo
protected LinkedAccountFormLayoutInfo formLayoutInfo
-
userRestClient
protected final UserRestClient userRestClient
-
anyTypeRestClient
protected final AnyTypeRestClient anyTypeRestClient
-
-
Constructor Detail
-
LinkedAccountWizardBuilder
public LinkedAccountWizardBuilder(IModel<UserTO> model, LinkedAccountFormLayoutInfo formLayoutInfo, UserRestClient userRestClient, AnyTypeRestClient anyTypeRestClient, PageReference pageRef)
-
-
Method Detail
-
build
public AjaxWizard<LinkedAccountTO> build(String id, AjaxWizard.Mode mode)
Description copied from class:AjaxWizardBuilder
Build the wizard.- Overrides:
build
in classAjaxWizardBuilder<LinkedAccountTO>
- Parameters:
id
- component id.mode
- wizard mode.- Returns:
- wizard.
-
buildModelSteps
protected WizardModel buildModelSteps(LinkedAccountTO modelObject, WizardModel wizardModel)
- Specified by:
buildModelSteps
in classAjaxWizardBuilder<LinkedAccountTO>
-
onApplyInternal
protected Serializable onApplyInternal(LinkedAccountTO modelObject)
- 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.
-
-