Class AnyWizardBuilder<A extends AnyTO>
- 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<A>
-
- All Implemented Interfaces:
Serializable
,ModalPanelBuilder<AnyWrapper<A>>
- Direct Known Subclasses:
AnyObjectWizardBuilder
,GroupWizardBuilder
,UserWizardBuilder
public abstract class AnyWizardBuilder<A extends AnyTO> extends AbstractAnyWizardBuilder<A>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>
anyTypeClasses
protected AbstractAnyFormLayout<A,? extends AnyForm<A>>
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 AnyWizardBuilder(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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Optional<Details<A>>
addOptionalDetailsPanel(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
getMaxWaitTimeInSeconds()
protected void
sendError(Exception exception)
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
-
-
-
-
Constructor Detail
-
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 Detail
-
wrapper
protected static <T extends AnyTO> AnyWrapper<T> wrapper(T anyTO)
-
buildModelSteps
protected WizardModel buildModelSteps(AnyWrapper<A> modelObject, WizardModel wizardModel)
- Specified by:
buildModelSteps
in classAjaxWizardBuilder<AnyWrapper<A extends AnyTO>>
-
addOptionalDetailsPanel
protected Optional<Details<A>> addOptionalDetailsPanel(AnyWrapper<A> modelObject)
-
fixPlainAndVirAttrs
protected void fixPlainAndVirAttrs(AnyTO updated, AnyTO original)
- Overrides:
fixPlainAndVirAttrs
in classAbstractAnyWizardBuilder<A extends AnyTO>
-
getMaxWaitTimeInSeconds
protected long getMaxWaitTimeInSeconds()
- Specified by:
getMaxWaitTimeInSeconds
in classAjaxWizardBuilder<AnyWrapper<A extends AnyTO>>
-
sendError
protected void sendError(Exception exception)
- Specified by:
sendError
in classAjaxWizardBuilder<AnyWrapper<A extends AnyTO>>
-
sendWarning
protected void sendWarning(String message)
- 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>>
-
-