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

public class CreateForm extends Object
Form class for creating mapping dictionary entries. Mapping dictionaries allow administrators to define synonym mappings where multiple input terms can be mapped to a single output term for search normalization.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    CRUD operation mode (CREATE, EDIT, etc.)
    @Required String
    Dictionary identifier
    @Required @Size(max=1000) String
    Input terms (comma-separated) that will be mapped to the output term
    @Size(min=1,max=1000) String
    Output term that input terms will be mapped to
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    void
    Initializes the form with default values for creating a new mapping dictionary entry.

    Methods inherited from class java.lang.Object

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

    • dictId

      @Required public @Required String dictId
      Dictionary identifier
    • crudMode

      @ValidateTypeFailure public Integer crudMode
      CRUD operation mode (CREATE, EDIT, etc.)
    • inputs

      @Required @Size(max=1000) public @Required @Size(max=1000) String inputs
      Input terms (comma-separated) that will be mapped to the output term
    • output

      @Size(min=1, max=1000) public @Size(min=1,max=1000) String output
      Output term that input terms will be mapped to
  • Constructor Details

    • CreateForm

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

    • initialize

      public void initialize()
      Initializes the form with default values for creating a new mapping dictionary entry.