public class TokenLicenseUtil
extends java.lang.Object
Constructor and Description |
---|
TokenLicenseUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
AppLinkReturn(java.lang.String appName,
java.lang.String userid,
java.lang.String httpSessionid,
java.lang.String uiSessionId) |
static void |
cancelAppRender(java.lang.String userid,
java.lang.String httpSessionid,
java.lang.String uiSessionId) |
static int |
checkForSpatialInstallLicense() |
static int |
checkInLicense(java.lang.String featureName,
java.lang.String userName) |
static int |
checkInOutLicense(java.lang.String featureName,
java.lang.String userName,
boolean addLicense) |
static int |
checkOutAdapterLicenses() |
static int |
checkOutAHILicense() |
static int |
checkOutAllServerLicenses() |
static int |
checkOutLicense(java.lang.String featureName,
java.lang.String userName) |
static int |
checkoutSpatialInstallLicense() |
static void |
cleanUpHttpSession(java.lang.String httpSessionIdParam,
java.lang.String userIdParam) |
static int |
goToApp(java.lang.String appName,
java.lang.String userid,
java.lang.String httpSessionid,
java.lang.String uiSessionId) |
static int |
loadApp(java.lang.String appName,
java.lang.String userid,
java.lang.String httpSessionid,
java.lang.String uiSessionId) |
static int |
loginUser(java.lang.String userId,
long maxsessionid)
return of 0 means tokens available or not using token license.
|
static void |
logOutUser(java.lang.String userId,
long maxsessionid) |
static int |
numberOfTokenConsumedByThisFeature(java.lang.String featureName) |
static void |
updateTimeStamp(UserInfo userInfo,
java.lang.String httpSessionid,
java.lang.String uiSessionId,
long timeOutIntervalParam) |
public static int loginUser(java.lang.String userId, long maxsessionid)
public static void logOutUser(java.lang.String userId, long maxsessionid)
public static int checkOutLicense(java.lang.String featureName, java.lang.String userName)
public static int checkInLicense(java.lang.String featureName, java.lang.String userName)
public static int checkInOutLicense(java.lang.String featureName, java.lang.String userName, boolean addLicense)
public static int numberOfTokenConsumedByThisFeature(java.lang.String featureName)
public static int loadApp(java.lang.String appName, java.lang.String userid, java.lang.String httpSessionid, java.lang.String uiSessionId)
public static void cleanUpHttpSession(java.lang.String httpSessionIdParam, java.lang.String userIdParam)
public static void cancelAppRender(java.lang.String userid, java.lang.String httpSessionid, java.lang.String uiSessionId)
public static int goToApp(java.lang.String appName, java.lang.String userid, java.lang.String httpSessionid, java.lang.String uiSessionId)
public static void AppLinkReturn(java.lang.String appName, java.lang.String userid, java.lang.String httpSessionid, java.lang.String uiSessionId)
public static int checkOutAllServerLicenses()
public static int checkOutAHILicense()
public static int checkForSpatialInstallLicense()
public static int checkoutSpatialInstallLicense()
public static int checkOutAdapterLicenses()
public static void updateTimeStamp(UserInfo userInfo, java.lang.String httpSessionid, java.lang.String uiSessionId, long timeOutIntervalParam)