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

public class CreateForm extends Object
Form class for creating new duplicate host configuration entries. This form handles the creation of duplicate host mappings that redirect crawling from duplicate hostnames to the regular canonical hostname.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    @Size(max=1000) String
    The username of who created this duplicate host entry
    The timestamp when this duplicate host entry was created
    The CRUD operation mode for form processing
    @Required @Size(max=1000) String
    The duplicate hostname that should be redirected to the regular name
    @Required @Size(max=1000) String
    The regular canonical hostname that should be used
    @Required @Min(0L) @Max(2147483647L) Integer
    The sort order for displaying this duplicate host entry
  • 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 duplicate host entry.

    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 operation mode for form processing
    • regularName

      @Required @Size(max=1000) public @Required @Size(max=1000) String regularName
      The regular canonical hostname that should be used
    • duplicateHostName

      @Required @Size(max=1000) public @Required @Size(max=1000) String duplicateHostName
      The duplicate hostname that should be redirected to the regular name
    • sortOrder

      @Required @Min(0L) @Max(2147483647L) @ValidateTypeFailure public @Required @Min(0L) @Max(2147483647L) Integer sortOrder
      The sort order for displaying this duplicate host entry
    • createdBy

      @Size(max=1000) public @Size(max=1000) String createdBy
      The username of who created this duplicate host entry
    • createdTime

      @ValidateTypeFailure public Long createdTime
      The timestamp when this duplicate host 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 for creating a new duplicate host entry.