psdi.app.workorder

Class WpEditSettingSet

    • Constructor Detail

      • WpEditSettingSet

        public WpEditSettingSet(MboServerInterface ms)
                         throws MXException,
                                java.rmi.RemoteException
        Construct the set.
        Parameters:
        ms - The MboServerInterface WpEditSettingSet used to access internals of the MXServer.
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Generates a new WpEditSetting object.
        Specified by:
        getMboInstance in class MboSet
        Parameters:
        ms - the WPEDITSETTING MboSet.
        Returns:
        a new WpEditSetting Mbo.
        Throws:
        MXException
        java.rmi.RemoteException
      • canAdd

        public void canAdd()
                    throws MXException
        Can the WpEditSetting object be added?
        Only if the owner is an Organization object and its toBeAdded attribute is true can new objects be added to this set.

        Overrides:
        canAdd in class MboSet
        Throws:
        MXApplicationException -
        GROUPKEYREASON
        workorderCannotAddWpEditSettingif trying to add when the parent is not an Organization object and toBeAdded is true
        MXException
        See Also:
        psdi.app.workorder.WpEditSetting#canDelete.