Class UserWizardBuilder
- java.lang.Object
-
- org.apache.syncope.client.ui.commons.wizards.AbstractModalPanelBuilder<T>
-
- org.apache.syncope.client.ui.commons.wizards.AjaxWizardBuilder<AnyWrapper<A>>
-
- org.apache.syncope.client.ui.commons.wizards.any.AbstractAnyWizardBuilder<A>
-
- org.apache.syncope.client.console.wizards.any.AnyWizardBuilder<UserTO>
-
- org.apache.syncope.client.console.wizards.any.UserWizardBuilder
-
- All Implemented Interfaces:
Serializable
,UserForm
,AnyForm<UserTO>
,ModalPanelBuilder<AnyWrapper<UserTO>>
- Direct Known Subclasses:
UserTemplateWizardBuilder
public class UserWizardBuilder extends AnyWizardBuilder<UserTO> implements UserForm
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected UserRestClient
userRestClient
-
Fields inherited from class org.apache.syncope.client.console.wizards.any.AnyWizardBuilder
anyTypeClasses, formLayoutInfo
-
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 UserWizardBuilder(List<String> anyTypeClasses, UserFormLayoutInfo formLayoutInfo, UserRestClient userRestClient, PageReference pageRef)
UserWizardBuilder(UserTO previousUserTO, UserTO userTO, List<String> anyTypeClasses, UserFormLayoutInfo formLayoutInfo, UserRestClient userRestClient, PageReference pageRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Optional<Details<UserTO>>
addOptionalDetailsPanel(AnyWrapper<UserTO> modelObject)
protected Serializable
onApplyInternal(AnyWrapper<UserTO> modelObject)
UserWizardBuilder
setItem(AnyWrapper<UserTO> item)
Overrides default setItem() in order to clean statusModel as well.-
Methods inherited from class org.apache.syncope.client.console.wizards.any.AnyWizardBuilder
buildModelSteps, execute, fixPlainAndVirAttrs, getMaxWaitTimeInSeconds, sendError, sendWarning, wrapper
-
Methods inherited from class org.apache.syncope.client.ui.commons.wizards.AjaxWizardBuilder
addOuterObject, build, build, build, getCreateCustomPayloadEvent, getEditCustomPayloadEvent
-
Methods inherited from class org.apache.syncope.client.ui.commons.wizards.AbstractModalPanelBuilder
getDefaultItem, getEventSink, getOriginalItem, getPageReference, newModelObject, onCancelInternal, setEventSink
-
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
-
-
-
-
Field Detail
-
userRestClient
protected final UserRestClient userRestClient
-
-
Constructor Detail
-
UserWizardBuilder
public UserWizardBuilder(List<String> anyTypeClasses, UserFormLayoutInfo formLayoutInfo, UserRestClient userRestClient, PageReference pageRef)
-
UserWizardBuilder
public UserWizardBuilder(UserTO previousUserTO, UserTO userTO, List<String> anyTypeClasses, UserFormLayoutInfo formLayoutInfo, UserRestClient userRestClient, PageReference pageRef)
-
-
Method Detail
-
onApplyInternal
protected Serializable onApplyInternal(AnyWrapper<UserTO> modelObject)
- Overrides:
onApplyInternal
in classAbstractModalPanelBuilder<AnyWrapper<UserTO>>
-
addOptionalDetailsPanel
protected Optional<Details<UserTO>> addOptionalDetailsPanel(AnyWrapper<UserTO> modelObject)
- Overrides:
addOptionalDetailsPanel
in classAnyWizardBuilder<UserTO>
-
setItem
public UserWizardBuilder setItem(AnyWrapper<UserTO> item)
Overrides default setItem() in order to clean statusModel as well.- Specified by:
setItem
in interfaceModalPanelBuilder<AnyWrapper<UserTO>>
- Overrides:
setItem
in classAbstractModalPanelBuilder<AnyWrapper<UserTO>>
- Parameters:
item
- item to be set.- Returns:
- the current wizard.
-
-