Class EditForm
java.lang.Object
org.codelibs.fess.app.web.admin.failureurl.EditForm
- Direct Known Subclasses:
EditBody
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 Summary
FieldsModifier and TypeFieldDescription@Size(max=1000) StringThe configuration ID associated with this failure URL.The CRUD operation mode for this form.@Required StringThe number of times this URL has failed.The detailed error log or stack trace for the failure.The name or type of the error that occurred.The name of the file configuration associated with this failure URL.@Required @Size(max=1000) StringThe unique identifier of the failure URL record being edited.@Required StringThe timestamp of the last access attempt for this URL.The current page number for pagination in the failure URL list.@Required StringThe name of the crawler thread that encountered the failure.@Required StringThe URL that failed during crawling.The name of the web configuration associated with this failure URL. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the current page number for pagination.voidInitializes the form with default null values.
-
Field Details
-
webConfigName
The name of the web configuration associated with this failure URL. Used to identify which web crawling configuration encountered the failure. -
fileConfigName
The name of the file configuration associated with this failure URL. Used to identify which file crawling configuration encountered the failure. -
pageNumber
The current page number for pagination in the failure URL list. Used for navigating through multiple pages of failure records. -
crudMode
The CRUD operation mode for this form. Indicates whether this is a create, read, update, or delete operation. -
id
The unique identifier of the failure URL record being edited. This is a required field for identifying which failure record to update. -
url
The URL that failed during crawling. This is a required field containing the actual URL that encountered an error. -
threadName
The name of the crawler thread that encountered the failure. This is a required field used for identifying which crawler process failed. -
errorName
The name or type of the error that occurred. This field provides a categorization of the failure type. -
errorLog
The detailed error log or stack trace for the failure. This field contains the full error information for debugging purposes. -
errorCount
The number of times this URL has failed. This is a required field that tracks repeated failures for the same URL. -
lastAccessTime
The timestamp of the last access attempt for this URL. This is a required field indicating when the failure last occurred. -
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
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.
-