psdi.common.action

Class ActionGroup

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


    public class ActionGroup
    extends Mbo
    implements ActionGroupRemote
    An action group represents the member actions of an action which type is GROUP. When an action of type GROUP is executed, all members will be executed in the order sequence number. Attributes of ACTIONGROUP are: ACTION Action identifier of the group. ACTIONGROUPID Unique Id MEMBER Member's action identifier. SEQUENCE Execution order of actions within a group.
    • Constructor Detail

      • ActionGroup

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

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Adds a member for an action record.
        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
        Overrides the skipCopyField() in the Mbo. While this ActionGroup 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
      • 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