Class WizardMgtPanel<T extends Serializable>

All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IMetadataContext<Serializable,Component>, IQueueRegion, IHeaderContributor, IRequestableComponent, IHierarchical<Component>, IClusterable
Direct Known Subclasses:
DirectoryPanel, JobActionPanel, ListViewPanel, Realm, RelationshipViewPanel, SCIMConfPanel, TogglePanel

public abstract class WizardMgtPanel<T extends Serializable> extends AbstractWizardMgtPanel<T>
See Also:
  • Field Details

    • actualId

      protected final String actualId
    • initialFragment

      protected final Fragment initialFragment
    • wizardInModal

      protected final boolean wizardInModal
    • pageRef

      protected PageReference pageRef
    • utilityIcon

      protected Label utilityIcon
    • newItemPanelBuilder

      protected ModalPanelBuilder<T extends Serializable> newItemPanelBuilder
    • notificationPanel

      protected NotificationPanel notificationPanel
    • footerVisibility

      protected boolean footerVisibility
    • showResultPanel

      protected boolean showResultPanel
  • Constructor Details

    • WizardMgtPanel

      protected WizardMgtPanel(String id)
    • WizardMgtPanel

      protected WizardMgtPanel(String id, boolean wizardInModal)
  • Method Details

    • getActualId

      public String getActualId()
    • onEvent

      public void onEvent(IEvent<?> event)
      Specified by:
      onEvent in interface IEventSink
      Overrides:
      onEvent in class Component
    • disableContainerAutoRefresh

      protected final WizardMgtPanel<T> disableContainerAutoRefresh()
    • customResultBody

      protected Panel customResultBody(String panelId, T item, Serializable result)
    • enableUtilityButton

      protected final WizardMgtPanel<T> enableUtilityButton()
      Show utility button sending ExitEvent payload by default.
      Returns:
      the current instance.
    • addInnerObject

      public MarkupContainer addInnerObject(Component... childs)
      Add object inside the main container.
      Parameters:
      childs - components to be added.
      Returns:
      the current panel instance.
    • addOrReplaceInnerObject

      public MarkupContainer addOrReplaceInnerObject(Component... childs)
      Add or replace object inside the main container.
      Parameters:
      childs - components to be added.
      Returns:
      the current panel instance.
    • addOuterObject

      public final WizardMgtPanel<T> addOuterObject(Component... childs)
      Add object outside the main container. Use this method just to be not influenced by specific inner object css'. Be sure to provide outer as id.
      Parameters:
      childs - components to be added.
      Returns:
      the current panel instance.
    • setPageRef

      public <B extends ModalPanelBuilder<T>> WizardMgtPanel<T> setPageRef(PageReference pageRef)
    • setShowResultPanel

      public <B extends ModalPanelBuilder<T>> WizardMgtPanel<T> setShowResultPanel(boolean showResultPanel)
    • addNewItemPanelBuilder

      protected <B extends ModalPanelBuilder<T>> WizardMgtPanel<T> addNewItemPanelBuilder(B panelBuilder, boolean newItemDefaultButtonEnabled)
    • addNotificationPanel

      protected WizardMgtPanel<T> addNotificationPanel(NotificationPanel notificationPanel)
    • setFooterVisibility

      public WizardMgtPanel<T> setFooterVisibility(boolean footerVisibility)
    • setWindowClosedReloadCallback

      protected void setWindowClosedReloadCallback(BaseModal<?> modal)
      Set window close callback for the given modal.
      Parameters:
      modal - target modal.
    • customActionCallback

      protected void customActionCallback(AjaxRequestTarget target)
      Custom action to perform on create/edit action callback.
      Parameters:
      target - Ajax request target.
    • customActionOnFinishCallback

      protected void customActionOnFinishCallback(AjaxRequestTarget target)
      Custom action to perform on close callback on finish event.
      Parameters:
      target - Ajax request target.
    • customActionOnCancelCallback

      protected void customActionOnCancelCallback(AjaxRequestTarget target)
      Custom action to perform on close callback on cancel event.
      Parameters:
      target - Ajax request target.
    • isReadOnly

      public boolean isReadOnly()
    • setReadOnly

      public void setReadOnly(boolean readOnly)