psdi.app.signature

Class FldSigSiteID

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldSigSiteID
    extends MAXTableDomain
    Field validation class for SiteID, which will not only validate SiteID, but also sets orgid on the mbo. This validation class is used by SiteAuth and LocAuth. It is also used for the site attributes on MaxUser.

    If the logon user is a site administrator, apply the site restriction.

    See Also:
    MaxGroupSet.getAdminWhereSiteSubselect()
    • Constructor Detail

    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Description copied from class: MAXTableDomain
        Validate that the MboSet returned used using either the relationship, or the where clause is not empty. If it is empty, throw an MXAPPLICATIONEXception. If there are attributes as part of the foreign key that don't allow null when this attribute is set, exception will be thrown if the value is empty.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        For LocAuth and SiteAuth, set value for orgid. For MaxUser, if attribute is storeroomsite, then set defstoreroom to null.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException