Class ShareBaseLoginDialog

java.lang.Object
org.zkoss.zk.ui.AbstractComponent
org.zkoss.zk.ui.HtmlBasedComponent
org.zkoss.zul.impl.XulElement
org.zkoss.zul.Window
com.saperion.ngc.events.BaseWindow
com.saperion.ngc.dialogs.sharebase.dialog.ShareBaseLoginDialog
All Implemented Interfaces:
EventChild, EventChildHandler, LogEventChildHandler, Serializable, Cloneable, org.zkoss.zk.ui.Component, org.zkoss.zk.ui.ext.Scope, org.zkoss.zk.ui.IdSpace, org.zkoss.zk.ui.sys.ComponentCtrl, org.zkoss.zul.ext.Framable

public class ShareBaseLoginDialog extends BaseWindow
This class is responsible for Login dialog of ShareBase in Saperion web client and it also handle checkout folder creation scenario if it is not present in ShareBase.
Author:
sudghosh
See Also:
  • Constructor Details

    • ShareBaseLoginDialog

      public ShareBaseLoginDialog()
  • Method Details

    • show

      public static void show(DocumentId documentId, org.zkoss.zk.ui.event.EventListener listener, BaseWindow parent)
      Shows ShareBase Login Dialog if user is not logged and performing wants to perform ShareBase operations related to a Saperion document
      Parameters:
      documentId - document id for which user wants to perform sharebase operation
      listener - ShareBase login event listener
      parent - View from where the login operation is called
    • show

      public static void show(org.zkoss.zk.ui.event.EventListener listener)
      Shows the ShareBase login window for un-related document operations. e.g. ShareBaseDashBoard
      Parameters:
      listener - ShareBase login event listener
    • setParentView

      public void setParentView(BaseWindow view)
      Sets the ParentView in the dialog object
      Parameters:
      view - parent view
    • onLogin

      public void onLogin() throws Exception
      Login happens here and also forwarding of events if it successful
      Throws:
      Exception
    • endModalCancel

      public void endModalCancel() throws Exception
      Cancel dialog.
      Throws:
      Exception - exception