package com.vci.client.log.ui;
|
|
import java.awt.BorderLayout;
|
|
import javax.swing.JPanel;
|
|
import com.vci.client.common.VCIBasePanel;
|
import com.vci.client.framework.rightConfig.object.FunctionObject;
|
import com.vci.client.framework.specialrole.ModuleInterface.IModuleShow;
|
import com.vci.corba.log.data.LogType;
|
|
|
/**
|
* 日志查询基础功能模块
|
*
|
* <p>Title: </p>
|
* <p>Description: </p>
|
* <p>Copyright: Copyright (c) 2016</p>
|
* <p>Company: VCI</p>
|
* @author xiongchao
|
* @time 2016-12-12
|
* @version 1.0
|
*/
|
public abstract class LogQueryBaseMainPanel extends VCIBasePanel implements IModuleShow {
|
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = -1867129531972223762L;
|
|
private String userID = "";
|
private String roleID = "";
|
private String moduleName = "";
|
private String iconName = "";
|
private String moduleShowInfo = "";
|
private JPanel moduleComponent = null;
|
public String getUserID() {
|
return userID;
|
}
|
public void setUserID(String userID) {
|
this.userID = userID;
|
}
|
public String getRoleID() {
|
return roleID;
|
}
|
public void setRoleID(String roleID) {
|
this.roleID = roleID;
|
}
|
public String getModuleName() {
|
return moduleName;
|
}
|
public void setModuleName(String moduleName) {
|
this.moduleName = moduleName;
|
}
|
public String getIconName() {
|
return iconName;
|
}
|
public void setIconName(String iconName) {
|
this.iconName = iconName;
|
}
|
public String getModuleShowInfo() {
|
return moduleShowInfo;
|
}
|
public void setModuleShowInfo(String moduleShowInfo) {
|
this.moduleShowInfo = moduleShowInfo;
|
}
|
public JPanel getModuleComponent() {
|
moduleComponent = this;
|
return moduleComponent;
|
}
|
|
public LogQueryBaseMainPanel(FunctionObject funcObj) {
|
super(funcObj);
|
init();
|
}
|
|
protected void init() {
|
this.setLayout(new BorderLayout());
|
this.add(new LogManagementPanel(this, getLogType(), isManagerQuery()));
|
}
|
|
public abstract LogType getLogType();
|
public abstract boolean isManagerQuery();
|
}
|