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 AnyTypeRestClientanyTypeRestClientprotected LinkedAccountFormLayoutInfoformLayoutInfoprotected IModel<UserTO>modelprotected UserRestClientuserRestClient-
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 WizardModelbuildModelSteps(LinkedAccountTO modelObject, WizardModel wizardModel)protected SerializablegetCreateCustomPayloadEvent(Serializable afterObject, AjaxRequestTarget target)Override to send custom events after create.protected SerializableonApplyInternal(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:AjaxWizardBuilderBuild the wizard.- Overrides:
buildin classAjaxWizardBuilder<LinkedAccountTO>- Parameters:
id- component id.mode- wizard mode.- Returns:
- wizard.
-
buildModelSteps
protected WizardModel buildModelSteps(LinkedAccountTO modelObject, WizardModel wizardModel)
- Specified by:
buildModelStepsin classAjaxWizardBuilder<LinkedAccountTO>
-
onApplyInternal
protected Serializable onApplyInternal(LinkedAccountTO modelObject)
- Overrides:
onApplyInternalin classAbstractModalPanelBuilder<LinkedAccountTO>
-
getCreateCustomPayloadEvent
protected Serializable getCreateCustomPayloadEvent(Serializable afterObject, AjaxRequestTarget target)
Description copied from class:AjaxWizardBuilderOverride to send custom events after create.- Overrides:
getCreateCustomPayloadEventin classAjaxWizardBuilder<LinkedAccountTO>- Parameters:
afterObject- after applied changes object.target- ajax request target- Returns:
- payload to be sent.
-
-