psdi.app.signature

Class LaborAuth

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


    public class LaborAuth
    extends Mbo
    implements LaborAuthRemote
    Object to represent a group's access to Labor records. Also see attributes on MaxGroup. See the Signature package description for details.

    This is an organization-level object.

    The key attributes for this object are GroupName, OrgID, and LaborCode.

    The attributes in this object are as follows:

    Attribute NameDescription
    GroupNameGroup. Foreign key to MaxGroup.
    LaborCodeLabor Code. Organization + LaborCode are foreign key to Labor.
    OrgIDThe Organization for this labor code.
    See Also:
    Labor, MaxGroup
    • Constructor Detail

      • LaborAuth

        public LaborAuth(MboSet ms)
                  throws java.rmi.RemoteException
        Construct the LaborAuth 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