Class ShareBaseLoginDialog

  • All Implemented Interfaces:
    EventChild, EventChildHandler, LogEventChildHandler, java.io.Serializable, java.lang.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:
    Serialized Form
    • Constructor Detail

      • ShareBaseLoginDialog

        public ShareBaseLoginDialog()
    • Method Detail

      • 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 java.lang.Exception
        Login happens here and also forwarding of events if it successful
        Throws:
        java.lang.Exception
      • endModalCancel

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