psdi.app.lictrack

Class MaxLicenseUtils

  • java.lang.Object
    • psdi.app.lictrack.MaxLicenseUtils


  • public class MaxLicenseUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      MaxLicenseUtils() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.util.HashSet getAllLicensesWithSameProduct(java.lang.String licenseNum, UserInfo userInfo) 
      static java.util.List getLicenseType(java.lang.String userId)
      This code reports entitlement either on MANAGE or HEALTH, not on each product.
      static java.util.Date getStartOfDay(java.util.Date date) 
      static void setMasLicenseType(MXTransaction mxTran, MboRemote user, java.lang.String userId, java.lang.String productId, java.lang.String licenseTypeExternal, boolean isAdmin) 
      static void validateLicUserAssoc(java.lang.String userId, java.lang.String licenseNum, long uniqueIDValue, MboSetRemote currentMboSet, UserInfo userInfo) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MaxLicenseUtils

        public MaxLicenseUtils()
    • Method Detail

      • validateLicUserAssoc

        public static void validateLicUserAssoc(java.lang.String userId,
                                                java.lang.String licenseNum,
                                                long uniqueIDValue,
                                                MboSetRemote currentMboSet,
                                                UserInfo userInfo)
                                         throws MXException,
                                                java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getAllLicensesWithSameProduct

        public static java.util.HashSet getAllLicensesWithSameProduct(java.lang.String licenseNum,
                                                                      UserInfo userInfo)
                                                               throws MXException,
                                                                      java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getLicenseType

        public static java.util.List getLicenseType(java.lang.String userId)
                                             throws java.rmi.RemoteException,
                                                    java.lang.Exception
        This code reports entitlement either on MANAGE or HEALTH, not on each product.
        Parameters:
        userId -
        Returns:
        Throws:
        java.rmi.RemoteException
        java.lang.Exception
      • getStartOfDay

        public static java.util.Date getStartOfDay(java.util.Date date)
      • setMasLicenseType

        public static void setMasLicenseType(MXTransaction mxTran,
                                             MboRemote user,
                                             java.lang.String userId,
                                             java.lang.String productId,
                                             java.lang.String licenseTypeExternal,
                                             boolean isAdmin)
                                      throws java.lang.Exception,
                                             java.rmi.RemoteException
        Throws:
        java.lang.Exception
        java.rmi.RemoteException