psdi.app.signature

Class LocAuth

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


    public class LocAuth
    extends Mbo
    implements LocAuthRemote
    MBO to represent a group's access to a storeroom location. Also see attributes on MaxGroup. See the Signature package description for details.

    This is a site level object.

    The key attributes for this object are GroupName, SiteID, and Location.

    The attributes in this object are as follows:

    Attribute NameDescription
    GroupNameGroup. Foreign key to MaxGroup.
    LocationLocation where the user has authorization to issue or receive materials. Storeroom locations only. SiteID + Location are the foreign key to Location.
    OrgIDThe Organization for this location.
    SiteIDThe Site for this location.
    See Also:
    Location, MaxGroup
    • Constructor Detail

      • LocAuth

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

      • init

        public void init()
                  throws MXException
        Description copied from class: Mbo
        Called by the framework when the Mbo has been constructed and the MboValues have been initialized. This can be overridden by the programmer to provide any custom initialization they would like to do.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a mbo, defaulting the attributes shown below.
        Attribute NameAttribute Value
        GroupNameIf owner is MaxGroup, equals the owner's groupname.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • propagateKeyValue

        public void propagateKeyValue(java.lang.String keyName,
                                      java.lang.String keyValue)
                               throws MXException,
                                      java.rmi.RemoteException
        Set value for groupname.
        Specified by:
        propagateKeyValue in interface MboRemote
        Overrides:
        propagateKeyValue in class Mbo
        Parameters:
        keyName - Should equal "groupname" or else nothing will be propagated.
        keyValue - The new value of groupname.
        Throws:
        MXException
        java.rmi.RemoteException