Class CreateForm
java.lang.Object
org.codelibs.fess.app.web.admin.fileconfig.CreateForm
- Direct Known Subclasses:
CreateBody,EditForm
The create form for File Config.
-
Field Summary
FieldsModifier and TypeFieldDescription@Required @Size(max=5) StringWhether this configuration is available for crawling (required, maximum 5 characters).@Required FloatThe boost value for search ranking (required).Additional configuration parameters for the file crawler.@Size(max=1000) StringThe user who created this file configuration (maximum 1000 characters).The timestamp when this file configuration was created.The CRUD operation mode for this form.@Min(0L) @Max(2147483647L) IntegerThe maximum crawling depth (0 to 2147483647, 0 means unlimited).@Size(max=1000) StringThe description of the file configuration (maximum 1000 characters).The document paths to exclude from search results (pattern-based).The paths to exclude during crawling (pattern-based).The document paths to include in search results (pattern-based).The paths to include during crawling (pattern-based).@Required @Min(0L) @Max(2147483647L) IntegerThe interval time between crawl requests in milliseconds (required, 0 to 2147483647).String[]The IDs of label types associated with this file configuration.@Min(0L) @Max(9223372036854775807L) LongThe maximum number of documents to access during crawling (0 means unlimited).@Required @Size(max=200) StringThe name of the file configuration (required, maximum 200 characters).@Required @Min(1L) @Max(2147483647L) IntegerThe number of threads to use for crawling (required, 1 to 2147483647).@Required StringThe file paths to crawl (required, must be valid file URIs).The permissions required to access documents from this configuration.@Required @Min(0L) @Max(2147483647L) IntegerThe sort order for this configuration (required, 0 to 2147483647).The virtual hosts associated with this file configuration. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializes the form with default values for creation mode.
-
Field Details
-
labelTypeIds
The IDs of label types associated with this file configuration. -
crudMode
The CRUD operation mode for this form. -
name
The name of the file configuration (required, maximum 200 characters). -
description
The description of the file configuration (maximum 1000 characters). -
paths
@Required @UriType(protocolType=FILE) @CustomSize(maxKey="form.admin.max.input.size") public @Required String pathsThe file paths to crawl (required, must be valid file URIs). -
includedPaths
The paths to include during crawling (pattern-based). -
excludedPaths
The paths to exclude during crawling (pattern-based). -
includedDocPaths
The document paths to include in search results (pattern-based). -
excludedDocPaths
The document paths to exclude from search results (pattern-based). -
configParameter
Additional configuration parameters for the file crawler. -
depth
The maximum crawling depth (0 to 2147483647, 0 means unlimited). -
maxAccessCount
@Min(0L) @Max(9223372036854775807L) @ValidateTypeFailure public @Min(0L) @Max(9223372036854775807L) Long maxAccessCountThe maximum number of documents to access during crawling (0 means unlimited). -
numOfThread
@Required @Min(1L) @Max(2147483647L) @ValidateTypeFailure public @Required @Min(1L) @Max(2147483647L) Integer numOfThreadThe number of threads to use for crawling (required, 1 to 2147483647). -
intervalTime
@Required @Min(0L) @Max(2147483647L) @ValidateTypeFailure public @Required @Min(0L) @Max(2147483647L) Integer intervalTimeThe interval time between crawl requests in milliseconds (required, 0 to 2147483647). -
boost
The boost value for search ranking (required). -
available
Whether this configuration is available for crawling (required, maximum 5 characters). -
permissions
The permissions required to access documents from this configuration. -
virtualHosts
The virtual hosts associated with this file configuration. -
sortOrder
@Required @Min(0L) @Max(2147483647L) @ValidateTypeFailure public @Required @Min(0L) @Max(2147483647L) Integer sortOrderThe sort order for this configuration (required, 0 to 2147483647). -
createdBy
The user who created this file configuration (maximum 1000 characters). -
createdTime
The timestamp when this file configuration 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 creation mode.
-