Class CreateForm

java.lang.Object
org.codelibs.fess.app.web.admin.badword.CreateForm
Direct Known Subclasses:
CreateBody, EditForm

public class CreateForm extends Object
The create form for Bad Word.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    @Size(max=1000) String
    The username of the user who created this bad word entry.
    The timestamp when this bad word entry was created.
    The CRUD mode for form processing (create, update, delete operations).
    @Required @Pattern(regexp="[^\\s]+") String
    The bad word to be filtered from search suggestions.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new CreateForm instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Initializes the form with default values including current user and timestamp.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • crudMode

      @ValidateTypeFailure public Integer crudMode
      The CRUD mode for form processing (create, update, delete operations).
    • suggestWord

      @Required @Pattern(regexp="[^\\s]+") public @Required @Pattern(regexp="[^\\s]+") String suggestWord
      The bad word to be filtered from search suggestions.
    • createdBy

      @Size(max=1000) public @Size(max=1000) String createdBy
      The username of the user who created this bad word entry.
    • createdTime

      @ValidateTypeFailure public Long createdTime
      The timestamp when this bad word entry was created.
  • Constructor Details

    • CreateForm

      public CreateForm()
      Creates a new CreateForm instance.
  • Method Details

    • initialize

      public void initialize()
      Initializes the form with default values including current user and timestamp.