|
|
@@ -20,7 +20,7 @@ public class Components extends ConfigObject {
|
|
|
public static final String NAME_PORTALEXPLORER = "PortalExplorer";
|
|
|
public static final String NAME_DATAEXPLORER = "DataExplorer";
|
|
|
public static final String NAME_SERVICEMANAGER = "service.ServiceManager";
|
|
|
- public static final String NAME_APPMARKET = "AppMarket";
|
|
|
+ public static final String NAME_APPMARKET = "AppMarketV2";
|
|
|
public static final String NAME_APPCENTER = "AppCenter";
|
|
|
public static final String NAME_LOGVIEWER = "LogViewer";
|
|
|
public static final String NAME_PROFILE = "Profile";
|
|
|
@@ -50,66 +50,65 @@ public class Components extends ConfigObject {
|
|
|
|
|
|
public static Component systemComponent(String name) {
|
|
|
switch (name) {
|
|
|
- case NAME_SETTING:
|
|
|
- return new Component(NAME_SETTING, NAME_SETTING, "系统设置", APPICON_PNG, 1, Component.TYPE_SYSTEM);
|
|
|
- case NAME_ORG:
|
|
|
- return new Component(NAME_ORG, NAME_ORG, "组织管理", APPICON_PNG, 2, Component.TYPE_SYSTEM);
|
|
|
- case NAME_CMSMANAGER:
|
|
|
- return new Component(NAME_CMSMANAGER, "cms.Column", "内容管理平台", APPICON_PNG, 3, Component.TYPE_SYSTEM);
|
|
|
- case NAME_APPLICATIONEXPLORER:
|
|
|
- return new Component(NAME_APPLICATIONEXPLORER, "process.ApplicationExplorer", "流程管理平台", APPICON_PNG, 4,
|
|
|
- Component.TYPE_SYSTEM);
|
|
|
- case NAME_PORTALEXPLORER:
|
|
|
- return new Component(NAME_PORTALEXPLORER, "portal.PortalExplorer", "门户管理平台", APPICON_PNG, 5,
|
|
|
- Component.TYPE_SYSTEM);
|
|
|
- case NAME_DATAEXPLORER:
|
|
|
- return new Component(NAME_DATAEXPLORER, "query.QueryExplorer", "数据中心平台", APPICON_PNG, 6,
|
|
|
- Component.TYPE_SYSTEM);
|
|
|
- case NAME_SERVICEMANAGER:
|
|
|
- return new Component(NAME_SERVICEMANAGER, NAME_SERVICEMANAGER, "服务管理平台", APPICON_PNG, 7,
|
|
|
- Component.TYPE_SYSTEM);
|
|
|
- case NAME_APPMARKET:
|
|
|
- return new Component(NAME_APPMARKET, NAME_APPMARKET, "应用市场", APPICON_PNG, 8, Component.TYPE_SYSTEM);
|
|
|
- case NAME_APPCENTER:
|
|
|
- return new Component(NAME_APPCENTER, NAME_APPCENTER, "应用管理", APPICON_PNG, 9, Component.TYPE_SYSTEM);
|
|
|
- case NAME_LOGVIEWER:
|
|
|
- return new Component(NAME_LOGVIEWER, NAME_LOGVIEWER, "日志", APPICON_PNG, 10, Component.TYPE_SYSTEM);
|
|
|
- case NAME_PROFILE:
|
|
|
- return new Component(NAME_PROFILE, NAME_PROFILE, "个人设置", APPICON_PNG, 11, Component.TYPE_SYSTEM);
|
|
|
- case NAME_BAM:
|
|
|
- return new Component(NAME_BAM, NAME_BAM, "流程监控", APPICON_PNG, 12, Component.TYPE_SYSTEM);
|
|
|
- case NAME_CMS:
|
|
|
- return new Component(NAME_CMS, "cms.Index", "信息平台", APPICON_PNG, 12, Component.TYPE_SYSTEM);
|
|
|
- case NAME_TASKCENTER:
|
|
|
- return new Component(NAME_TASKCENTER, "process.TaskCenter", "办公中心", APPICON_PNG, 13,
|
|
|
- Component.TYPE_SYSTEM);
|
|
|
- case NAME_HOMEPAGE:
|
|
|
- return new Component(NAME_HOMEPAGE, NAME_HOMEPAGE, "首页", APPICON_PNG, 14, Component.TYPE_SYSTEM);
|
|
|
- case NAME_HOTARTICLE:
|
|
|
- return new Component(NAME_HOTARTICLE, NAME_HOTARTICLE, "热点", APPICON_PNG, 15, Component.TYPE_SYSTEM);
|
|
|
- case NAME_FILE:
|
|
|
- return new Component(NAME_FILE, NAME_FILE, "云文件", APPICON_PNG, 16, Component.TYPE_SYSTEM);
|
|
|
- case NAME_NOTE:
|
|
|
- return new Component(NAME_NOTE, NAME_NOTE, "便签", APPICON_PNG, 17, Component.TYPE_SYSTEM);
|
|
|
- case NAME_MEETING:
|
|
|
- return new Component(NAME_MEETING, NAME_MEETING, "会议管理", APPICON_PNG, 18, Component.TYPE_SYSTEM);
|
|
|
- case NAME_ONLINEMEETING:
|
|
|
- return new Component(NAME_ONLINEMEETING, NAME_ONLINEMEETING, "网络会议", APPICON_PNG, 19,
|
|
|
- Component.TYPE_SYSTEM);
|
|
|
- case NAME_ATTENDANCE:
|
|
|
- return new Component(NAME_ATTENDANCE, NAME_ATTENDANCE, "考勤管理", APPICON_PNG, 20, Component.TYPE_SYSTEM);
|
|
|
- case NAME_FORUM:
|
|
|
- return new Component(NAME_FORUM, NAME_FORUM, "论坛", APPICON_PNG, 21, Component.TYPE_SYSTEM);
|
|
|
- case NAME_MINDER:
|
|
|
- return new Component(NAME_MINDER, NAME_MINDER, "脑图编辑器", APPICON_PNG, 22, Component.TYPE_SYSTEM);
|
|
|
- case NAME_CALENDAR:
|
|
|
- return new Component(NAME_CALENDAR, NAME_CALENDAR, "日程安排", APPICON_PNG, 23, Component.TYPE_SYSTEM);
|
|
|
- case NAME_ANN:
|
|
|
- return new Component(NAME_ANN, NAME_ANN, "神经网络", APPICON_PNG, 24, Component.TYPE_SYSTEM);
|
|
|
- case NAME_SEARCH:
|
|
|
- return new Component(NAME_SEARCH, NAME_SEARCH, "搜索", APPICON_PNG, 25, Component.TYPE_SYSTEM);
|
|
|
- default:
|
|
|
- return null;
|
|
|
+ case NAME_SETTING:
|
|
|
+ return new Component(NAME_SETTING, NAME_SETTING, "系统设置", APPICON_PNG, 1, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_ORG:
|
|
|
+ return new Component(NAME_ORG, NAME_ORG, "组织管理", APPICON_PNG, 2, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_CMSMANAGER:
|
|
|
+ return new Component(NAME_CMSMANAGER, "cms.Column", "内容管理平台", APPICON_PNG, 3, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_APPLICATIONEXPLORER:
|
|
|
+ return new Component(NAME_APPLICATIONEXPLORER, "process.ApplicationExplorer", "流程管理平台", APPICON_PNG, 4,
|
|
|
+ Component.TYPE_SYSTEM);
|
|
|
+ case NAME_PORTALEXPLORER:
|
|
|
+ return new Component(NAME_PORTALEXPLORER, "portal.PortalExplorer", "门户管理平台", APPICON_PNG, 5,
|
|
|
+ Component.TYPE_SYSTEM);
|
|
|
+ case NAME_DATAEXPLORER:
|
|
|
+ return new Component(NAME_DATAEXPLORER, "query.QueryExplorer", "数据中心平台", APPICON_PNG, 6,
|
|
|
+ Component.TYPE_SYSTEM);
|
|
|
+ case NAME_SERVICEMANAGER:
|
|
|
+ return new Component(NAME_SERVICEMANAGER, NAME_SERVICEMANAGER, "服务管理平台", APPICON_PNG, 7,
|
|
|
+ Component.TYPE_SYSTEM);
|
|
|
+ case NAME_APPMARKET:
|
|
|
+ return new Component(NAME_APPMARKET, NAME_APPMARKET, "应用市场", APPICON_PNG, 8, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_APPCENTER:
|
|
|
+ return new Component(NAME_APPCENTER, NAME_APPCENTER, "应用管理", APPICON_PNG, 9, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_LOGVIEWER:
|
|
|
+ return new Component(NAME_LOGVIEWER, NAME_LOGVIEWER, "日志", APPICON_PNG, 10, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_PROFILE:
|
|
|
+ return new Component(NAME_PROFILE, NAME_PROFILE, "个人设置", APPICON_PNG, 11, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_BAM:
|
|
|
+ return new Component(NAME_BAM, NAME_BAM, "流程监控", APPICON_PNG, 12, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_CMS:
|
|
|
+ return new Component(NAME_CMS, "cms.Index", "信息平台", APPICON_PNG, 12, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_TASKCENTER:
|
|
|
+ return new Component(NAME_TASKCENTER, "process.TaskCenter", "办公中心", APPICON_PNG, 13, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_HOMEPAGE:
|
|
|
+ return new Component(NAME_HOMEPAGE, NAME_HOMEPAGE, "首页", APPICON_PNG, 14, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_HOTARTICLE:
|
|
|
+ return new Component(NAME_HOTARTICLE, NAME_HOTARTICLE, "热点", APPICON_PNG, 15, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_FILE:
|
|
|
+ return new Component(NAME_FILE, NAME_FILE, "云文件", APPICON_PNG, 16, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_NOTE:
|
|
|
+ return new Component(NAME_NOTE, NAME_NOTE, "便签", APPICON_PNG, 17, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_MEETING:
|
|
|
+ return new Component(NAME_MEETING, NAME_MEETING, "会议管理", APPICON_PNG, 18, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_ONLINEMEETING:
|
|
|
+ return new Component(NAME_ONLINEMEETING, NAME_ONLINEMEETING, "网络会议", APPICON_PNG, 19,
|
|
|
+ Component.TYPE_SYSTEM);
|
|
|
+ case NAME_ATTENDANCE:
|
|
|
+ return new Component(NAME_ATTENDANCE, NAME_ATTENDANCE, "考勤管理", APPICON_PNG, 20, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_FORUM:
|
|
|
+ return new Component(NAME_FORUM, NAME_FORUM, "论坛", APPICON_PNG, 21, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_MINDER:
|
|
|
+ return new Component(NAME_MINDER, NAME_MINDER, "脑图编辑器", APPICON_PNG, 22, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_CALENDAR:
|
|
|
+ return new Component(NAME_CALENDAR, NAME_CALENDAR, "日程安排", APPICON_PNG, 23, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_ANN:
|
|
|
+ return new Component(NAME_ANN, NAME_ANN, "神经网络", APPICON_PNG, 24, Component.TYPE_SYSTEM);
|
|
|
+ case NAME_SEARCH:
|
|
|
+ return new Component(NAME_SEARCH, NAME_SEARCH, "搜索", APPICON_PNG, 25, Component.TYPE_SYSTEM);
|
|
|
+ default:
|
|
|
+ return null;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -245,7 +244,6 @@ public class Components extends ConfigObject {
|
|
|
public void setDentyList(List<String> dentyList) {
|
|
|
this.dentyList = dentyList;
|
|
|
}
|
|
|
-
|
|
|
|
|
|
public String getType() {
|
|
|
return type;
|