psdi.webclient.beans.asset

Class SourceOrTargetAssetWorkorderBean

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


    public class SourceOrTargetAssetWorkorderBean
    extends WorkorderBean
    This Bean is responsible for using a Source Asset or Target Asset from the Relationships table rather than the application's bean.
    • Constructor Detail

      • SourceOrTargetAssetWorkorderBean

        public SourceOrTargetAssetWorkorderBean()
    • Method Detail

      • getMboSetRemote

        protected MboSetRemote getMboSetRemote()
                                        throws MXException,
                                               java.rmi.RemoteException
        Description copied from class: DataBean
        Obtains and returns a MboSetRemote using the mboname of parent/relationship setup for the bean. Override this method if the DataBean needs to get a MboSetRemote in a non-standard way. (Not via a the MXSession, or a relationship from another DataBean).
        Overrides:
        getMboSetRemote in class DataBean
        Throws:
        java.rmi.RemoteException - if error occurs
        MXException - if error occurs
      • createNewWorkorder

        protected void createNewWorkorder()
                                   throws java.rmi.RemoteException,
                                          MXException
        Create the new workorder based on the selected asset.
        Overrides:
        createNewWorkorder in class WorkorderBean
        Throws:
        java.rmi.RemoteException - if error occurs
        MXException - if error occurs
      • saveWorkorder

        protected void saveWorkorder()
                              throws MXException,
                                     java.rmi.RemoteException
        Save the workorder based on the selected asset.
        Overrides:
        saveWorkorder in class WorkorderBean
        Throws:
        java.rmi.RemoteException - if error occurs
        MXException - if error occurs