psdi.security

Class ReportSecurityLimits

  • java.lang.Object
    • psdi.security.ReportSecurityLimits


  • public class ReportSecurityLimits
    extends java.lang.Object
    Class to handle fetching the Report Security Limits for a user. Much of this code was refactored directly from the Profile class.
    • Field Detail

      • REPORT_STOP_LIMIT

        public static final java.lang.String REPORT_STOP_LIMIT
        See Also:
        Constant Field Values
      • MAX_SCHEDULED_REPORT

        public static final java.lang.String MAX_SCHEDULED_REPORT
        See Also:
        Constant Field Values
      • ADHOC_CREATE_LIMIT

        public static final java.lang.String ADHOC_CREATE_LIMIT
        See Also:
        Constant Field Values
    • Constructor Detail

      • ReportSecurityLimits

        public ReportSecurityLimits(UserInfo loginUserInfo,
                                    UserInfo systemUserInfo,
                                    boolean isMaxLimitParam)
      • ReportSecurityLimits

        public ReportSecurityLimits(UserInfo loginUserInfo,
                                    UserInfo systemUserInfo)
    • Method Detail

      • getReportLimit

        public java.lang.Integer getReportLimit(java.lang.String attributeName)
                                         throws MXException,
                                                java.rmi.RemoteException
        Returns the specified report limit for the user.
        Returns:
        The value of the specified limit for the user, null if there is no limit
        Throws:
        MXException
        java.rmi.RemoteException
      • refreshReportLimits

        public void refreshReportLimits(boolean isMaxLimitParam)
                                 throws MXException,
                                        java.rmi.RemoteException
        Refreshed the report limits for the user.
        Throws:
        MXException
        java.rmi.RemoteException
      • clearCachedValues

        public void clearCachedValues()
      • getLoginUserInfo

        public UserInfo getLoginUserInfo()