|
@@ -17,21 +17,91 @@
|
|
package org.codelibs.fess.web.admin;
|
|
package org.codelibs.fess.web.admin;
|
|
|
|
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
|
|
+import java.util.HashMap;
|
|
|
|
+import java.util.Map;
|
|
|
|
|
|
import org.apache.struts.upload.FormFile;
|
|
import org.apache.struts.upload.FormFile;
|
|
-import org.codelibs.fess.crud.form.admin.BsSuggestElevateWordForm;
|
|
|
|
|
|
+import org.codelibs.fess.Constants;
|
|
|
|
+import org.seasar.struts.annotation.DateType;
|
|
|
|
+import org.seasar.struts.annotation.IntRange;
|
|
|
|
+import org.seasar.struts.annotation.IntegerType;
|
|
|
|
+import org.seasar.struts.annotation.LongType;
|
|
|
|
+import org.seasar.struts.annotation.Maxbytelength;
|
|
import org.seasar.struts.annotation.Required;
|
|
import org.seasar.struts.annotation.Required;
|
|
|
|
|
|
-public class SuggestElevateWordForm extends BsSuggestElevateWordForm implements Serializable {
|
|
|
|
|
|
+public class SuggestElevateWordForm implements Serializable {
|
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
@Required(target = "upload")
|
|
@Required(target = "upload")
|
|
public FormFile suggestElevateWordFile;
|
|
public FormFile suggestElevateWordFile;
|
|
|
|
|
|
- @Override
|
|
|
|
|
|
+ @IntegerType
|
|
|
|
+ public String pageNumber;
|
|
|
|
+
|
|
|
|
+ public Map<String, String> searchParams = new HashMap<String, String>();
|
|
|
|
+
|
|
|
|
+ @IntegerType
|
|
|
|
+ public int crudMode;
|
|
|
|
+
|
|
|
|
+ public String getCurrentPageNumber() {
|
|
|
|
+ return pageNumber;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @Required(target = "confirmfromupdate,update,delete")
|
|
|
|
+ @LongType
|
|
|
|
+ public String id;
|
|
|
|
+
|
|
|
|
+ @Required(target = "confirmfromcreate,create,confirmfromupdate,update,delete")
|
|
|
|
+ public String suggestWord;
|
|
|
|
+
|
|
|
|
+ public String reading;
|
|
|
|
+
|
|
|
|
+ public String targetRole;
|
|
|
|
+
|
|
|
|
+ public String targetLabel;
|
|
|
|
+
|
|
|
|
+ @Required(target = "confirmfromcreate,create,confirmfromupdate,update,delete")
|
|
|
|
+ @IntRange(min = 0, max = 2147483647)
|
|
|
|
+ public String boost;
|
|
|
|
+
|
|
|
|
+ @Required(target = "confirmfromupdate,update,delete")
|
|
|
|
+ @Maxbytelength(maxbytelength = 255)
|
|
|
|
+ public String createdBy;
|
|
|
|
+
|
|
|
|
+ @Required(target = "confirmfromupdate,update,delete")
|
|
|
|
+ @DateType(datePattern = Constants.DEFAULT_DATETIME_FORMAT)
|
|
|
|
+ public String createdTime;
|
|
|
|
+
|
|
|
|
+ @Maxbytelength(maxbytelength = 255)
|
|
|
|
+ public String updatedBy;
|
|
|
|
+
|
|
|
|
+ @DateType
|
|
|
|
+ public String updatedTime;
|
|
|
|
+
|
|
|
|
+ public String deletedBy;
|
|
|
|
+
|
|
|
|
+ @DateType(datePattern = Constants.DEFAULT_DATETIME_FORMAT)
|
|
|
|
+ public String deletedTime;
|
|
|
|
+
|
|
|
|
+ @Required(target = "confirmfromupdate,update,delete")
|
|
|
|
+ @IntegerType
|
|
|
|
+ public String versionNo;
|
|
|
|
+
|
|
public void initialize() {
|
|
public void initialize() {
|
|
- super.initialize();
|
|
|
|
|
|
+ id = null;
|
|
|
|
+ suggestWord = null;
|
|
|
|
+ reading = null;
|
|
|
|
+ targetRole = null;
|
|
|
|
+ targetLabel = null;
|
|
|
|
+ boost = null;
|
|
|
|
+ createdBy = null;
|
|
|
|
+ createdTime = null;
|
|
|
|
+ updatedBy = null;
|
|
|
|
+ updatedTime = null;
|
|
|
|
+ deletedBy = null;
|
|
|
|
+ deletedTime = null;
|
|
|
|
+ versionNo = null;
|
|
boost = "100";
|
|
boost = "100";
|
|
}
|
|
}
|
|
}
|
|
}
|