Package org.codelibs.fess.helper
Class CrawlingConfigHelper
java.lang.Object
org.codelibs.fess.helper.CrawlingConfigHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected com.google.common.cache.Cache<String,CrawlingConfig> protected final Map<String,CrawlingConfig> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllDataConfigList(boolean withLabelType, boolean withRoleType, boolean available, List<String> idList) getAllFileConfigList(boolean withLabelType, boolean withRoleType, boolean available, List<String> idList) getAllWebConfigList(boolean withLabelType, boolean withRoleType, boolean available, List<String> idList) getConfigType(String configId) getCrawlingConfig(String configId) getDataConfigListByIds(List<String> idList) org.dbflute.optional.OptionalEntity<CrawlingConfig>getDefaultConfig(CrawlingConfig.ConfigType configType) getExcludedUrlList(String configId) getFileConfigListByIds(List<String> idList) protected Stringorg.dbflute.optional.OptionalThing<String>getPipeline(String configId) getWebConfigListByIds(List<String> idList) voidinit()voidrefresh()voidstore(String sessionId, CrawlingConfig crawlingConfig)
-
Field Details
-
crawlingConfigMap
-
count
protected int count -
crawlingConfigCache
-
-
Constructor Details
-
CrawlingConfigHelper
public CrawlingConfigHelper()
-
-
Method Details
-
init
@PostConstruct public void init() -
getConfigType
-
getId
-
getCrawlingConfig
-
getPipeline
-
refresh
public void refresh() -
store
-
remove
-
get
-
getAllWebConfigList
-
getWebConfigListByIds
-
getAllWebConfigList
-
getAllFileConfigList
-
getFileConfigListByIds
-
getAllFileConfigList
public List<FileConfig> getAllFileConfigList(boolean withLabelType, boolean withRoleType, boolean available, List<String> idList) -
getAllDataConfigList
-
getDataConfigListByIds
-
getAllDataConfigList
public List<DataConfig> getAllDataConfigList(boolean withLabelType, boolean withRoleType, boolean available, List<String> idList) -
getExcludedUrlList
-
getDefaultConfig
public org.dbflute.optional.OptionalEntity<CrawlingConfig> getDefaultConfig(CrawlingConfig.ConfigType configType)
-