psdi.webclient.beans.startcntr

Class PortletBean

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, DataBeanListener


    public class PortletBean
    extends DataBean
    A general class for a portlet based on maximo framework. This class can be extended for the use of portlets which need to call specific methods on the remote objects.
    • Constructor Detail

      • PortletBean

        public PortletBean()
    • Method Detail

      • getMboSetRemote

        protected MboSetRemote getMboSetRemote()
                                        throws MXException,
                                               java.rmi.RemoteException
        Overridden from databean to get the information / content of the portlet as a MboSetRemote based on the current portlet id. This method has to be overridden because the data set related to each portlet record in the start center needs to be retrieved dynamically and on the fly.
        Overrides:
        getMboSetRemote in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        DataBean.getMboSetRemote()
      • getPortletInfoValue

        public java.lang.Object getPortletInfoValue(java.lang.Object key)
        Returns the value for a property in current portlet information
        Parameters:
        key -
        Returns:
      • getPortletInfo

        public java.util.Hashtable getPortletInfo()
        Returns current portlet information set for this portlet
        Returns:
      • isPropertyDefined

        public boolean isPropertyDefined(java.lang.Object key)
        Returns current portlet information set for this portlet
        Returns:
      • removeProperty

        public void removeProperty(java.lang.Object key)
        Removes a property from bean cache
      • structureChangedEvent

        public void structureChangedEvent(DataBean speaker)
        Description copied from class: DataBean
        event called by the "parent" DataBean which tells this DataBean that it references a new mbo or MboSetRemote. The fireStructureChangedEvent is called thus setting the resetRemote flag for all the "children" DataBeans
        Specified by:
        structureChangedEvent in interface DataBeanListener
        Overrides:
        structureChangedEvent in class DataBean
      • setFireSCEvent

        public void setFireSCEvent(boolean val)