psdi.app.financial

Class GLConfigure

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


    public class GLConfigure
    extends Mbo
    implements GLConfigureRemote
    Mbo object to represent GLConfigure. GLConfigure object is used to specify and maintain the format of the general ledger account codes.

    See Financial Package description.

    The key attribute for this object is GLOrder.

    The attributes in this object are as follows:

    Attribute NameAttribute Description
    AuthorizedNon-persistent attribute. Used in the Security Groups application to indicate whether a group has access to this component.
    Delimiter Separator character between components.
    GLAccountFieldName of the individual general ledger account.
    GLLengthThe length of the component.
    GLOrderOrder or sequence of this component in a general ledger account. Unique identifier.
    GLTypeThe type of the component. Can only be a numeric or alphanumeric type.
    GroupNameNon-persistent attribute. Used in the Security Groups application.
    MandatoryYes/No field to specify whether the component is required or optional.
    • Constructor Detail

      • GLConfigure

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

      • init

        public void init()
                  throws MXException
        If owner is MaxGroup, set values for non-persistent attributes GroupName and Authorized.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        Cannot delete the mandatory component if not main configure
        Overrides:
        canDelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a mbo, defaulting the attributes shown below.
        Attribute NameAttribute Value
        AuthorizedFalse
        GLOrdermax for this set + 1
        GroupNameif owner is MaxGroup, equals the owner's groupname
        MandatoryFalse
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        If owner is MaxGroup, then adjust GLAuth as needed.
        Overrides:
        appValidate 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
      • save

        protected void save()
                     throws MXException,
                            java.rmi.RemoteException
        Description copied from class: Mbo
        Save the object and other linked objects. Subclasses can code their save() logic to include any appropriate updates to other linked objects and call super.save().
        Overrides:
        save in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException