psdi.app.appsetup

Class CtrlGroup

    • Constructor Detail

      • CtrlGroup

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

      • init

        public void init()
                  throws MXException
        Initialization routine. Attribute "app" is always readonly. Attributes "groupname", and "optionname" are readonly if Mbo is not to be added.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a ctrlgroup record and set its defaults. The table below shows the default values for each of the attributes listed.
        Attribute NameAttribute Value
        app Owner Mbos app
        optionnameOwner Mbos optionname
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • generateSeqID

        public void generateSeqID()
                           throws MXException,
                                  java.rmi.RemoteException
        Sets this control groups's sequence ID to the next sequence ID value.
        Throws:
        MXException
        java.rmi.RemoteException
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        Deletes the CtrlGroup and all related child records. Grandchildren records are deleted by each child record. When the CtrlGroup is deleted, associated records in the following tables will also be deleted:
        • CTRLCONDITION
        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
        Undeletes the CtrlGroup and all related child records. Grandchildren records are undeleted by each child record. When the CtrlGroup is undeleted, associated records in the following tables will also be undeleted:
        • CTRLCONDITION
        Specified by:
        undelete in interface MboRemote
        Overrides:
        undelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException