psdi.app.location

Class LocAncestor

  • java.lang.Object
    • Constructor Detail

      • LocAncestor

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

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a new LocAncestor record Field defaults are set
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXApplicationException("locations", - "addlocation") is thrown when owner is null or not a lochierarchy
        MXException
        java.rmi.RemoteException
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        if this LocAncestor belongs to a networked system, checks to make sure that this record has not already been instantiated and marked for deletion earlier in the LocHierarchy node deletion process. This can happen because in a networked system, a node may have more than one parent, and a node can also be an ancestor and descendant to the same node.
        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)