psdi.app.signature.virtual

Class UserSecur

  • All Implemented Interfaces:
    java.rmi.Remote, MboConstants, MboRemote, NonPersistentMboRemote, MaxRemoteProxy


    public class UserSecur
    extends NonPersistentMbo
    implements NonPersistentMboRemote
    This virtual set is used to for the menu option "Set Security Profile" in the User app. It ultimately updates MaxUser for the users in the main result set.

    This is a system level object.

    The attributes in this object are as follows.

    Attribute NameDescription
    DefSiteSame as MaxUser.
    DefStoreroomSame as MaxUser.
    DisplayNameSame as Person, if one mbo in owner set.
    EditDefSiteIf true, users will be updated with value of DefSite.
    EditDefStoreroomIf true, users will be updated with value of DefStoreroom + StoreroomSite.
    EditQueryWithSiteIf true, users will be updated with value of QueryWithSite.
    GroupActionIdentified whether to Add, Remvoe, or Replace groups from GroupUser table, as specified in UserSecurGroup set.
    QueryWithSiteSame as MaxUser.
    StoreroomSiteSame as MaxUser.
    UserCountNumber of mbos in main result set (MaxUser).
    UserIDSame as MaxUser, if one mbo in owner set.
    • Constructor Detail

    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Default the PswdDuration attributes shown below.
        Attribute NameAttribute Value
        DisplayNameIf one mbo in owner set, this is person.displayname.
        GroupActionADD
        UserCountCount of mbos in main result set
        UserIDIf one mbo in owner set, this is userid.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • toBeSaved

        public boolean toBeSaved()
                          throws java.rmi.RemoteException
        Check whether the user added a row to UserSecurGroupSet.
        Specified by:
        toBeSaved in interface MboRemote
        Overrides:
        toBeSaved in class Mbo
        Throws:
        java.rmi.RemoteException
      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        If groups were specified, make sure a GroupAction was specified.
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • save

        public void save()
                  throws MXException,
                         java.rmi.RemoteException
        Update all the MaxUser mbos in the owner set.
        Overrides:
        save in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException