package com.teamcenter.rac.kernel;
import com.teamcenter.rac.util.Registry;
import com.teamcenter.soaictstubs.BooleanHolder;
import com.teamcenter.soaictstubs.ICCTFlexLMService;
/**
* 以下内容只做参考,有兴趣的可以试下,没经过测试
**/
public final class TCFlexLMService extends AbstractTCService {
protected Registry r;
public static final String MINIMUM_PROPERTY_LEVEL = "Viewer";
public static final String MINIMUM_FEATURE_NAME = "visview_base";
public static final String MARKUP_PROPERTY_LEVEL = "Professional";
public static final String MARKUP_FEATURE_NAME = "visview_pro";
public static final String ADVANCED_PROPERTY_LEVEL = "Advanced";
public static final String ADVANCED_FEATURE_NAME = "visview_std";
public static final String TC_RDV_SERVER_FEATURE_NAME = "context_mgt_access";
public static final String TC_RDV_CLIENT_FEATURE_NAME = "context_mgt_access";
public static final String TC_UGMANAGER_FEATURE_NAME = "nx_integration";
public static final String TC_TCAE_FEATURE_NAME = "auto_edition";
public static final String TC_GMO_FEATURE_NAME = "gm_overlay";
public static final String ESM_LICENSE_FEATURE_NAME_AUTH = "embedded_sw_mgr_auth";
public static final String ESM_LICENSE_FEATURE_NAME = "embedded_sw_mgr_user";
public static final String INT_SCM_CLEARCASE_FEATURE_NAME = "int_clearcase_scm";
public static final String CCDM_LICENSE_FEATURE_NAME = "esw_ccdm";
protected ICCTFlexLMService fetchStub() {
return new ICCTFlexLMService(this.getSession().getSoaConnection());
}
protected ICCTFlexLMService getStub() {
return (ICCTFlexLMService) super.getStub();
}
public final boolean checkModule(int var1) throws TCException {
throw new TCException(this.r.getString("integerFeatureKeyUsageError"));
}
public final boolean enterModule(int var1) throws TCException {
throw new TCException(this.r.getString("integerFeatureKeyUsageError"));
}
public final boolean leaveModule(int var1) throws TCException {
throw new TCException(this.r.getString("integerFeatureKeyUsageError"));
}
public final boolean leaveModuleShared(int var1) throws TCException {
throw new TCException(this.r.getString("integerFeatureKeyUsageError"));
}
public final boolean checkModule(String var1) throws TCException {
if (var1 == null) {
return true;
} else {
try {
BooleanHolder var2 = new BooleanHolder(true);
this.getStub().checkModuleStr(var1, var2);/**假如把var2 永远设置为false,会发生什么事情?**/
return var2.value;
} catch (Exception var3) {
throw this.handleException(var3);
}
}
}
public final boolean enterModule(String var1) throws TCException {
if (var1 == null) {
return true;
} else {
try {
BooleanHolder var2 = new BooleanHolder(true);
this.getStub().enterModuleStr(var1, var2);/**假如把var2 永远设置为false,会发生什么事情?**/
return var2.value;
} catch (Exception var3) {
throw this.handleException(var3);
}
}
}
public final boolean leaveModule(String var1) throws TCException {
if (var1 == null) {
return true;
} else {
try {
BooleanHolder var2 = new BooleanHolder(true);
this.getStub().leaveModuleStr(var1, var2);/**假如把var2 永远设置为false,会发生什么事情?**/
return var2.value;
} catch (Exception var3) {
throw this.handleException(var3);
}
}
}
public final boolean isModuleActive(String var1) throws TCException {
if (var1 == null) {
return true;
} else {
try {
BooleanHolder var2 = new BooleanHolder(true);
this.getStub().isModuleActive(var1, var2);/**假如把var2 永远设置为false,会发生什么事情?**/
return var2.value;
} catch (Exception var3) {
throw this.handleException(var3);
}
}
}
public final int getModule() throws TCException {
throw new TCException(this.r.getString("integerFeatureKeyUsageError"));
}
}
Teamcenter RAC反编译查看 TCFlexLMService
发布时间 2023-10-19 17:40:56作者: 一个小笨蛋