java.lang.Object
org.codelibs.fess.app.web.admin.failureurl.EditForm
Direct Known Subclasses:
EditBody

public class EditForm extends Object
Form class for editing failure URL records in the admin interface. This form handles the editing of URLs that failed during crawling operations, providing details about the failure for debugging and troubleshooting purposes.
  • Field Details

    • webConfigName

      public String webConfigName
      The name of the web configuration associated with this failure URL. Used to identify which web crawling configuration encountered the failure.
    • fileConfigName

      public String fileConfigName
      The name of the file configuration associated with this failure URL. Used to identify which file crawling configuration encountered the failure.
    • pageNumber

      @ValidateTypeFailure public String pageNumber
      The current page number for pagination in the failure URL list. Used for navigating through multiple pages of failure records.
    • crudMode

      @ValidateTypeFailure public Integer crudMode
      The CRUD operation mode for this form. Indicates whether this is a create, read, update, or delete operation.
    • id

      @Required @Size(max=1000) public @Required @Size(max=1000) String id
      The unique identifier of the failure URL record being edited. This is a required field for identifying which failure record to update.
    • url

      @Required public @Required String url
      The URL that failed during crawling. This is a required field containing the actual URL that encountered an error.
    • threadName

      @Required public @Required String threadName
      The name of the crawler thread that encountered the failure. This is a required field used for identifying which crawler process failed.
    • errorName

      public String errorName
      The name or type of the error that occurred. This field provides a categorization of the failure type.
    • errorLog

      public String errorLog
      The detailed error log or stack trace for the failure. This field contains the full error information for debugging purposes.
    • errorCount

      @Required @ValidateTypeFailure public @Required String errorCount
      The number of times this URL has failed. This is a required field that tracks repeated failures for the same URL.
    • lastAccessTime

      @Required public @Required String lastAccessTime
      The timestamp of the last access attempt for this URL. This is a required field indicating when the failure last occurred.
    • configId

      @Size(max=1000) public @Size(max=1000) String configId
      The configuration ID associated with this failure URL. Links the failure to a specific crawling configuration.
  • Constructor Details

    • EditForm

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

    • getCurrentPageNumber

      public String getCurrentPageNumber()
      Returns the current page number for pagination. This method provides access to the current page number for UI display.
      Returns:
      The current page number as a string
    • initialize

      public void initialize()
      Initializes the form with default null values. This method resets all fields to their default state for creating a new entry.