📄 constants.java
字号:
package eols.event.system;
/**
* <p>Title:Event constants</p>
* <p>Description: It is used to store event constants used in pages and
* servlet.</p>
* <p>Copyright:(c) 2002</p>
* <p>Company: MoldAgent </p>
* @author Fasheng Qiu
* @version 1.0
*/
public class Constants
{
/* Unknow event id */
public static final String UNKNOW_EVENT = "-1";
/* Error event id */
public static final String ERROR_EVENT = "0";
/* Login in event id */
public static final String LOGIN_EVENT = "1000";
/* Login in event id */
public static final String LOGOUT_EVENT = "1001";
/** Register event id */
public static final String REGISTER_EVENT = "1002";
/** Change pass event id */
public static final String CHANGE_PASS_EVENT = "1003";
/* Obtain all categories and their courses event id */
public static final String OBTAIN_CATEGORIES_AND_COURSES = "2000";
/* Obtain the information of a specific course */
public static final String OBTAIN_COURSE = "2001";
/* Obtain the content of the specific chapter */
public static final String OBTAIN_CONTENT = "2002";
/* Obtain the words of the specific content */
public static final String OBTAIN_WORD = "2003";
/* Obtain the questions based on searching conditions */
public static final String QUERY_QUESTIONS = "4000";
/* Check the testing result */
public static final String CHECK_QUESTIONS = "4001";
/** Add to the book shelf event */
public static final String ADD_TO_BOOKSHELF_EVENT = "4002";
/** Get book shelf event */
public static final String GET_BOOKSHELF_EVENT = "4003";
/** Remove bookshelf item event */
public static final String REMOVE_COURSE_FROM_BOOKSHELF_EVENT = "4004";
/** Get all previous tests event */
public static final String OBTAIN_TESTS = "4005";
/** Get all previous questions event of the specified test */
public static final String OBTAIN_TEST = "4006";
/** Search course event id */
public static final String COURSE_SEARCH_EVENT = "4007";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -