psdi.webclient.controls

Class StartCenter

  • All Implemented Interfaces:
    java.lang.Cloneable


    public class StartCenter
    extends DatasrcInstance
    StartCenter represents the ControlInstance for the start center.
    • Constructor Detail

      • StartCenter

        public StartCenter()
    • Method Detail

      • initialize

        public void initialize()
        Sets up data for startcenter and clones the controls. This method fires cloning of tabs, help message, options and portlet containers
        Overrides:
        initialize in class ControlInstance
      • getAppBean

        public StartCenterAppBean getAppBean()
        Returns start center app bean. This is a utility method for quickly getting a handle of the startcenter app bean
        Returns:
        StartCenterAppBean
      • getCurrentStartCenterId

        public java.lang.String getCurrentStartCenterId()
        Returns unique Id of the current start center
        Returns:
        start center id as String
      • changelayout

        public void changelayout()
      • deletePortlet

        public void deletePortlet(java.lang.String portletLayoutId,
                                  java.lang.String portletColumn)
        Deletes portlet /Layout record from the DataBean working behind this control. Portlet layout and individual portlet caches are cleared.
        Parameters:
        uniqueId - - long value of Layout.LayoutId
      • setPortletState

        public void setPortletState(long uniqueId,
                                    boolean state)
        Updates portlet's state.
        Parameters:
        uniqueId - - uniqueId behind portlet
        state - - true if the portlet was expanded
      • createtemplate

        public int createtemplate()
        Handle the Create Template event through App bean
      • changestartcenter

        public void changestartcenter()
        Handle the change of startc enter
      • savetemplate

        public void savetemplate()
        Calls save template procedure on the app bean
        See Also:
        psdi.webclient.beans.satrtcntr.StartCenterAppBean#savetemplate()
      • deletetemplate

        public void deletetemplate()
                            throws MXException,
                                   java.rmi.RemoteException
        Calls delete template procedure on the app bean
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.webclient.beans.satrtcntr.StartCenterAppBean#deteletemplate()
      • updatestartcenter

        public void updatestartcenter()
                               throws MXException,
                                      java.rmi.RemoteException
        Calls updatestartcenter procedure on the app bean
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.webclient.beans.satrtcntr.StartCenterAppBean#updatestartcenter()
      • cancelchanges

        public void cancelchanges()
                           throws MXException,
                                  java.rmi.RemoteException
        Calls cancelchanges procedure on the app bean
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.webclient.beans.satrtcntr.StartCenterAppBean#cancelchanges()
      • deletePortlet

        public void deletePortlet(long uniqueId)
        Deprecated.