📄 conceptstrevent.java
字号:
/* */package org.impact.stars.control.event;import java.util.Collection;import java.io.Serializable;import java.sql.Date;import org.impact.stars.conceptmd.conceptstr.model.ConceptstrModel;/** * This event is sent from the web tier to the EJB Controller to notify * the EJB Controller that the user wants to change the Conceptstr model * data. */public class ConceptstrEvent extends StarsEventSupport { public static final int CREATE_CONCEPTSTR = 0; public static final int DELETE_CONCEPTSTR = 1; public static final int UPDATE_CONCEPTSTR = 2; //only update the conceptstr attributes public static final int REFRESH_CONCEPTSTR = 3; public static final int RESTRUCT_CONCEPTSTR =4; //update at the tree level public static final int UPDATE_CONCEPTSTR_DATA = 5; // public static final int RESTRUCT_CONCEPTSTR_DATA = 6; static final long serialVersionUID = 1; private int actionType; private String cstrID; private String name; private String projectID; private String description; private String updateConceptID; private Collection updateConceptList; public ConceptstrEvent() {} public void setInfo(int aactiontype, String cstrID, String aupdateConceptID, Collection aupdateConceptList) { this.actionType = aactiontype; //this.requestId = requestId; this.cstrID =cstrID; //this.name = name; //this.projectID = projectID; //this.description = description; this.updateConceptID = aupdateConceptID; this.updateConceptList = aupdateConceptList; } public void setInfo(int aactiontype, String cstrID, ConceptstrModel cstrmdl) { this.actionType = aactiontype; //this.requestId = requestId; //this.cstrID =cstrmdl.getConceptstrID(); this.cstrID = cstrID; this.name = cstrmdl.getName(); this.projectID = cstrmdl.getprojectID(); this.description = cstrmdl.getDescription(); } public void setInfo(int aactiontype, String cstrID) { this.actionType = aactiontype; //this.requestId = requestId; this.cstrID =cstrID; } public int getActionType() { return actionType; } public String getName() { return name; } public String getDescription() { return description; } public String getProjectID() { return projectID; } public String getConceptstrID() { return cstrID; } public String getUpdateConceptID() { return updateConceptID; } public Collection getUpdateConceptList() { return updateConceptList; } public String getEventName() { return "java:comp/env/event/ConceptstrEvent"; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -