Class ResourceWizardBuilder
java.lang.Object
org.apache.syncope.client.ui.commons.wizards.AbstractModalPanelBuilder<Serializable>
org.apache.syncope.client.ui.commons.wizards.AjaxWizardBuilder<Serializable>
org.apache.syncope.client.console.wizards.BaseAjaxWizardBuilder<Serializable>
org.apache.syncope.client.console.wizards.resources.AbstractResourceWizardBuilder<ResourceTO>
org.apache.syncope.client.console.wizards.resources.ResourceWizardBuilder
- All Implemented Interfaces:
Serializable
,ModalPanelBuilder<Serializable>
Resource wizard builder.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.syncope.client.console.wizards.resources.AbstractResourceWizardBuilder
AbstractResourceWizardBuilder.CreateEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ConnectorRestClient
protected boolean
protected final ResourceRestClient
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
ConstructorDescriptionResourceWizardBuilder
(ResourceTO resourceTO, ResourceRestClient resourceRestClient, ConnectorRestClient connectorRestClient, PageReference pageRef) -
Method Summary
Modifier and TypeMethodDescriptionbuild
(String id, AjaxWizard.Mode mode) Build the wizard.protected WizardModel
buildModelSteps
(Serializable modelObject, WizardModel wizardModel) protected Serializable
getCreateCustomPayloadEvent
(Serializable afterObject, AjaxRequestTarget target) Override to send custom events after create.protected ResourceTO
onApplyInternal
(Serializable 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
-
Field Details
-
resourceRestClient
-
connectorRestClient
-
createFlag
protected boolean createFlag
-
-
Constructor Details
-
ResourceWizardBuilder
public ResourceWizardBuilder(ResourceTO resourceTO, ResourceRestClient resourceRestClient, ConnectorRestClient connectorRestClient, PageReference pageRef)
-
-
Method Details
-
build
Description copied from class:AjaxWizardBuilder
Build the wizard.- Overrides:
build
in classAjaxWizardBuilder<Serializable>
- Parameters:
id
- component id.mode
- wizard mode.- Returns:
- wizard.
-
buildModelSteps
- Specified by:
buildModelSteps
in classAjaxWizardBuilder<Serializable>
-
onApplyInternal
- Overrides:
onApplyInternal
in classAbstractModalPanelBuilder<Serializable>
-
getCreateCustomPayloadEvent
protected Serializable getCreateCustomPayloadEvent(Serializable afterObject, AjaxRequestTarget target) Description copied from class:AjaxWizardBuilder
Override to send custom events after create.- Overrides:
getCreateCustomPayloadEvent
in classAjaxWizardBuilder<Serializable>
- Parameters:
afterObject
- after applied changes object.target
- ajax request target- Returns:
- payload to be sent.
-