psdi.app.signature

Class TenantUserSessionSet

    • Constructor Detail

      • TenantUserSessionSet

        public TenantUserSessionSet(MboServerInterface ms)
                             throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Description copied from class: MboSet
        Factory to create the business objects This must be overridden in derived class
        Specified by:
        getMboInstance in class MboSet
        Throws:
        MXException
        java.rmi.RemoteException
      • count

        public int count(int countConstant)
                  throws MXException,
                         java.rmi.RemoteException
        Description copied from class: MboSet
        Returns a count of records in this MboSet. The countConstant parameter is a constant from psdi.mbo.MboConstants.
        Specified by:
        count in interface MboSetRemote
        Overrides:
        count in class MboSet
        Parameters:
        countConstant - one of the constants from psdi.mbo.MboConstants. The list below shows each constant and describes the count returned for each.
        • COUNT_DATABASE -- The count from the database.
        • COUNT_ADDITIONS -- The count of newly added Mbos that have not yet been saved.
        • COUNT_DELETED -- The count of Mbos marked for deletion that have not yet been saved.
        • COUNT_EXISTING -- The sum of the count from the database (COUNT_DATABASE) plus newly added Mbos that have not yet been saved (COUNT_ADDITIONS).
        • COUNT_AFTERSAVE -- The number of Mbos that is anticipated to be in this MboSet after saving. Equals the sum of the count from the database (COUNT_DATABASE) plus newly added Mbos that have not yet been saved (COUNT_ADDITIONS) minus Mbos marked for deletion that have not yet been saved (COUNT_DELETED).
        Returns:
        The count. The count returned depends on the input parameter.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        MboConstants
      • sum

        public double sum(java.lang.String attributeName)
                   throws MXException,
                          java.rmi.RemoteException
        Description copied from class: MboSet
        Returns the sum of all values for the specified attribute within the set. Supports only numeric datatypes. Does not include Mbos that are marked for deletion.
        Specified by:
        sum in interface MboSetRemote
        Overrides:
        sum in class MboSet
        Parameters:
        attributeName - The attribute to be summed.
        Returns:
        The sum of attribute across all Mbos in this set.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        MboSet.sum(String attribute)
      • setTenant

        public void setTenant(int id)
                       throws java.rmi.RemoteException
        Specified by:
        setTenant in interface TenantUserSessionSetRemote
        Throws:
        java.rmi.RemoteException