public class MaxLicenseUtils
extends java.lang.Object
Constructor and Description |
---|
MaxLicenseUtils() |
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) |
public static void validateLicUserAssoc(java.lang.String userId, java.lang.String licenseNum, long uniqueIDValue, MboSetRemote currentMboSet, UserInfo userInfo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public static java.util.HashSet getAllLicensesWithSameProduct(java.lang.String licenseNum, UserInfo userInfo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public static java.util.List getLicenseType(java.lang.String userId) throws java.rmi.RemoteException, java.lang.Exception
userId
- java.rmi.RemoteException
java.lang.Exception
public static java.util.Date getStartOfDay(java.util.Date date)
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
java.lang.Exception
java.rmi.RemoteException