psdi.webclient.beans.asset

Class SourceOrTargetAssetManageDowntimeHistoryBean

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


    public class SourceOrTargetAssetManageDowntimeHistoryBean
    extends SourceOrTargetAssetBean
    • Constructor Detail

      • SourceOrTargetAssetManageDowntimeHistoryBean

        public SourceOrTargetAssetManageDowntimeHistoryBean()
    • Method Detail

      • execute

        public int execute()
                    throws MXException,
                           java.rmi.RemoteException
        Save the downtime report manually because this dialog had the savemode="ONLOADUNLOAD" attribute which resets all references. This is a workaround for this issue.
        Overrides:
        execute in class DataBean
        Throws:
        java.rmi.RemoteException - if error occurs
        MXException - if error occurs
      • saveAssetAppBean

        protected void saveAssetAppBean()
                                 throws java.rmi.RemoteException,
                                        MXException
        We need to save the Asset app bean programmatically because if we use the savemode="ONLOAD" all references to UI controls get reset, which means we can not determine which asset the user wants to use in this dialog.
        Throws:
        java.rmi.RemoteException - if error occurs
        MXException - if error occurs