Class AnyWizardBuilder<A extends AnyTO>
java.lang.Object
org.apache.syncope.client.ui.commons.wizards.AbstractModalPanelBuilder<AnyWrapper<A>>
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<A>
- All Implemented Interfaces:
Serializable
,ModalPanelBuilder<AnyWrapper<A>>
- Direct Known Subclasses:
AnyObjectWizardBuilder
,GroupWizardBuilder
,UserWizardBuilder
- See Also:
-
Field Summary
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
ConstructorDescriptionAnyWizardBuilder
(A anyTO, List<String> anyTypeClasses, AbstractAnyFormLayout<A, ? extends AnyForm<A>> formLayoutInfo, PageReference pageRef) Construct.AnyWizardBuilder
(AnyWrapper<A> wrapper, List<String> anyTypeClasses, AbstractAnyFormLayout<A, ? extends AnyForm<A>> formLayoutInfo, PageReference pageRef) Construct. -
Method Summary
Modifier and TypeMethodDescriptionaddOptionalDetailsPanel
(AnyWrapper<A> modelObject) protected WizardModel
buildModelSteps
(AnyWrapper<A> modelObject, WizardModel wizardModel) protected Future
<Pair<Serializable, Serializable>> execute
(Callable<Pair<Serializable, Serializable>> future) protected void
fixPlainAndVirAttrs
(AnyTO updated, AnyTO original) protected long
protected void
protected void
sendWarning
(String message) protected static <T extends AnyTO>
AnyWrapper<T> wrapper
(T anyTO) 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, onApplyInternal, onCancelInternal, setEventSink, setItem
-
Field Details
-
Constructor Details
-
AnyWizardBuilder
public AnyWizardBuilder(A anyTO, List<String> anyTypeClasses, AbstractAnyFormLayout<A, ? extends AnyForm<A>> formLayoutInfo, PageReference pageRef) Construct.- Parameters:
anyTO
- anyanyTypeClasses
- any type classesformLayoutInfo
- form layout infopageRef
- caller page reference.
-
AnyWizardBuilder
public AnyWizardBuilder(AnyWrapper<A> wrapper, List<String> anyTypeClasses, AbstractAnyFormLayout<A, ? extends AnyForm<A>> formLayoutInfo, PageReference pageRef) Construct.- Parameters:
wrapper
- any wrapperanyTypeClasses
- any type classesformLayoutInfo
- form layout infopageRef
- caller page reference.
-
-
Method Details
-
wrapper
-
buildModelSteps
- Specified by:
buildModelSteps
in classAjaxWizardBuilder<AnyWrapper<A extends AnyTO>>
-
addOptionalDetailsPanel
-
fixPlainAndVirAttrs
- Overrides:
fixPlainAndVirAttrs
in classAbstractAnyWizardBuilder<A extends AnyTO>
-
getMaxWaitTimeInSeconds
protected long getMaxWaitTimeInSeconds()- Specified by:
getMaxWaitTimeInSeconds
in classAjaxWizardBuilder<AnyWrapper<A extends AnyTO>>
-
sendError
- Specified by:
sendError
in classAjaxWizardBuilder<AnyWrapper<A extends AnyTO>>
-
sendWarning
- Specified by:
sendWarning
in classAjaxWizardBuilder<AnyWrapper<A extends AnyTO>>
-
execute
protected Future<Pair<Serializable,Serializable>> execute(Callable<Pair<Serializable, Serializable>> future) - Specified by:
execute
in classAjaxWizardBuilder<AnyWrapper<A extends AnyTO>>
-