psdi.app.appsetup

Class MaxMessages

  • java.lang.Object
  • All Implemented Interfaces:
    java.rmi.Remote, MaxMessagesRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class MaxMessages
    extends Mbo
    implements MaxMessagesRemote
    Mbo object to represent MaxMessages.

    This is a system level object.

    The key attributes for this object are MsgGroup, MsgKey.

    The attributes in this object are as follows:

    Attribute NameDescription
    ButtonTextNot currently used.
    Cancel, Close, No, OK, YesNon-persistent attributes indicating whether each of these buttons should be displayed in a message box.
    DisplayMethodThe default display method for this message. Values can be:
    • MSGBOX -- Display in a message box.
    • STATUS -- Display in the status bar.
    • TEXT -- Used for miscellaneous text.
    Exclamation, Stop, WarningNon-persistent attributes indicating whether each of these icons should be displayed.
    MsgGroupThe message group. This roughly corresponds to the functional area where the message will generally be used.
    MsgKeyAn identifier for this message that is unique within its message group.
    OptionsPersistent attribute indicating all of the choices made for message buttons and icons.
    TitleNot currently used.
    ValueThe text of this message. Placeholders for substitution parameters should be indicated by an integer within curly brackets, starting with 0, for example {0}.
    • Constructor Detail

      • MaxMessages

        public MaxMessages(MboSet ms)
                    throws MXException,
                           java.rmi.RemoteException
        Construct the MaxMessages object
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws MXException
        Description copied from class: Mbo
        Called by the framework when the Mbo has been constructed and the MboValues have been initialized. This can be overridden by the programmer to provide any custom initialization they would like to do.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a mbo, defaulting the attributes shown below.
        Attribute NameAttribute Value
        DisplayMethodMSGBOX
        OKTrue
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • toBeSaved

        public boolean toBeSaved()
                          throws java.rmi.RemoteException
        Does the object need to be saved to persistent storage ? This will also check for change of non-persistent attributes.
        Specified by:
        toBeSaved in interface MboRemote
        Overrides:
        toBeSaved in class Mbo
        Throws:
        java.rmi.RemoteException
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        To mark for deletion, attribute must be userdefined and not already marked for deletion. Then call delete.
        Overrides:
        canDelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        Validate mbo.
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException