psdi.app.system

Class LongDesc

  • All Implemented Interfaces:
    java.rmi.Remote, LongDescRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class LongDesc
    extends Mbo
    implements LongDescRemote
    Mbo object to represent a long description (LONGDESCRIPTION table). Also see System Package description.

    This is a system level object.

    The key attributes for this object are LDOwnerTable, LDOwnerCol, and LDKey.

    The attributes in this object are as follows:

    Attribute NameDescription
    LDOwnerColThe attribute on the specified row to which this long description applies.
    LDOwnerTable, LDKeyThese two attributes point to the row in the database to which this long description applies; ldownertable.ldkey = longdescription.ldkey.
    LDTextThe freeform long description text.
    • Constructor Detail

      • LongDesc

        public LongDesc(MboSet ms)
                 throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Description copied from class: Mbo
        This is called when a new Mbo is added to the Mboset collection. It is called AFTER user defaults have been set from the data dictionary. Programmer should usually override this to set some defaults. Default behavior is to do nothing.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • modify

        public void modify()
                    throws MXException,
                           java.rmi.RemoteException
        Called whenever a change is made to the attributes of a MBO. The programmer should override if interested in intercepting this event. An example of the use of this is to set the changeby/changedate of a Purchase order whenever one of the attributes is set. If an MXException is thrown from this routine, the change of value is rolled back, this provides a mechanism to abort any changes. Default behavior is to do nothing. This method has overrided the Mbo.modify() method.
        Overrides:
        modify in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • setUndeleteAllowed

        public void setUndeleteAllowed(boolean undeleteAllowed)
                                throws java.rmi.RemoteException
        Specified by:
        setUndeleteAllowed in interface LongDescRemote
        Throws:
        java.rmi.RemoteException
      • undelete

        public void undelete()
                      throws MXException,
                             java.rmi.RemoteException
        Description copied from class: Mbo
        Unmark the Mbo for deletion. Can only be called after a delete() and before the save() has been performed. This method will also unmark associated Long Description and Translation Mbos.
        Specified by:
        undelete in interface MboRemote
        Overrides:
        undelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException