psdi.app.configure

Class MaxViewColumnCfg

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


    public class MaxViewColumnCfg
    extends Mbo
    implements MaxViewColumnCfgRemote
    Mbo object to represent MaxViewColumnCfg.

    See Configure Package description.

    This is a system level object.

    The key attributes for this object are ViewName, ViewColumnName.

    The attributes in this object are the same as in MaxViewColumn, plus one additional attribute in MaxViewColumnCfg, which is described below. Refer to MaxViewColumn for a description of the common attributes.

    Attribute NameDescription
    ChangedThis is used by the configuration process. On MaxViewColumnCfg, the values of Changed can be as follows (they are set via the business object, not directly via the UI).
    • N = no changes
    • ? = ?
    • I = insert (add) new user-defined view column
    • R = remove (delete) user-defined view column
    ViewChangedNon-persistent attribute. Will equal "Add", "Change", "Delete", or null, depending on the value of Changed. For display in the UI.
    • Constructor Detail

      • MaxViewColumnCfg

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

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a mbo, defaulting the attributes shown below.
        Attribute NameAttribute Value
        ViewNamevalue of ViewName from the owner MaxViewCfg
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • skipCopyField

        protected boolean skipCopyField(MboValueInfo mvi)
                                 throws java.rmi.RemoteException,
                                        MXException
        Skip viewname when copying mbo.
        Overrides:
        skipCopyField in class Mbo
        Parameters:
        mvi - The MboValueInfo describing this attribute
        Returns:
        True to skip this attribute
        Throws:
        java.rmi.RemoteException
        MXException
      • getCurrentViewColumn

        public MboRemote getCurrentViewColumn()
                                       throws MXException,
                                              java.rmi.RemoteException
        Return the MaxViewColumn mbo for this maxviewcolumncfg. If none, return null.
        Returns:
        MaxViewColumn mbo or null.
        Throws:
        MXException
        java.rmi.RemoteException
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: Mbo
        Mark the object to be deleted depending on the access modifier. This will usually be overridden in the subclass of Mbo as there may be application specific rules as to if and when an object can be deleted. Object is not actually deleted in the database until save() is called. This method will also mark all associated Long Description and Translation Mbos for deletion.
        Specified by:
        delete in interface MboRemote
        Overrides:
        delete in class Mbo
        Parameters:
        accessModifier - The bitwise flag specified to determine if certain normal security checks are to be bypassed for this delete request. For example: if the accessModifer is NOACCESSCHECK, then the check for the object's NODELETE flag and the call to the object's canDelete() method will not be performed. If the accessModifer is NONE, then all the access checks are performed before this object is marked delete.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Mbo.delete(long)
      • 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
      • save

        protected void save()
                     throws MXException,
                            java.rmi.RemoteException
        Make sure the the new MaxattributeSkipCopy table is up to date. If the user inserts a new Object and this object is a view that extends an object with MaxattributeSkipCopy entries, copy them.
        Overrides:
        save in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException