psdi.dm

Class DMCfgGroup

    • Constructor Detail

      • DMCfgGroup

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

      • add

        public void add()
                 throws java.rmi.RemoteException,
                        MXException
        Adds a new Record with defaults
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        java.rmi.RemoteException
        MXException
      • skipCopyField

        protected boolean skipCopyField(MboValueInfo mvi)
                                 throws java.rmi.RemoteException,
                                        MXException
        Overrides the skipCopyField() in the Mbo. While this DMPACKAGEDEF MBO is being copied, this method checks if each attribute needs to be copied by using the data from the static HashSet skipFieldCopy. This method also checks whether certain attributes whose "to copy or not to copy" status is instance-specific and cannot be added to the static HashSet should be copied for this object.
        Overrides:
        skipCopyField in class Mbo
        Parameters:
        MboValueInfo - object of the MboValue that needs to be copied.
        Returns:
        true if the field does not need to be copied. Otherwise, false is returned.
        Throws:
        java.rmi.RemoteException
        MXException
      • getMboSet

        public MboSetRemote getMboSet(java.lang.String name,
                                      java.lang.String objectName,
                                      java.lang.String relationship)
                               throws MXException,
                                      java.rmi.RemoteException
        Description copied from class: Mbo
        Retrieve the named(1st parameter) Mboset if it has been instanciated or create a new MboSet using the name(1st parameter) if it has not been instanciated. To determine if the set has been instanciated or not, this method reviews the where clause(3rd parameter) to determine if it is the very same where clause last applied to this set. If the where clause has changed since last calling this method, the MboSet will be reset and the where clause will be re-applied before a reference is returned. If the named object has never been created since the last commit, it will be instanciated with the provided where clause,storing the provided name against the object of interest.
        Specified by:
        getMboSet in interface MboRemote
        Overrides:
        getMboSet in class Mbo
        Parameters:
        name - The name caller would like to associate with the MboSet about to be retrieved/created.
        objectName - The database object which should be queried using any provided where clause.
        relationship - The where clause to be applied to reset the mboSet of interest.
        Returns:
        The MboSet found(if previously created) or created(if not found) with the name provided using where clause against the object.
        Throws:
        MXException - "Unknown Object" exception will be thrown if the passed object does not exist.
        java.rmi.RemoteException
        See Also:
        Mbo.getMboSet(String,String,String)
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        Description copied from class: Mbo
        Can the object be deleted ? This is object specific and should be overridden.
        Overrides:
        canDelete in class Mbo
        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)