- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for anymatch (0.04 sec)
-
src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java
public boolean hasRole(final String role) { return stream(user.getRoleNames()).get(stream -> stream.anyMatch(s -> s.equals(role))); } public boolean hasRoles(final String[] acceptedRoles) { return stream(user.getRoleNames()) .get(stream -> stream.anyMatch(s1 -> stream(acceptedRoles).get(s3 -> s3.anyMatch(s2 -> s2.equals(s1))))); } public boolean hasGroup(final String group) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/PluginTests.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
* @return true if the URL starts with a supported web protocol, false otherwise */ public boolean isValidWebProtocol(final String url) { return stream(webProtocols).get(stream -> stream.anyMatch(s -> url.startsWith(s))); } /** * Checks if the given URL uses a valid file protocol. * * @param url the URL to validate
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/FacetQueryView.java
@PostConstruct public void init() { final String filetypeField = ComponentUtil.getFessConfig().getIndexFieldFiletype(); final Collection<String> values = queryMap.values(); if (values.stream().anyMatch(s -> s.startsWith(filetypeField))) { final ResourceBundle resources = ResourceBundle.getBundle("fess_label", Locale.ENGLISH); final String[] fileTypes = ComponentUtil.getFileTypeHelper().getTypes();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java
@Execute public StreamResponse get$file(final String id) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); if (stream(fessConfig.getIndexBackupAllTargets()).get(stream -> stream.anyMatch(s -> s.equals(id)))) { if ("system.properties".equals(id)) { return asStream(id).contentTypeOctetStream().stream(out -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/PrunedTag.java
final String value = classAttr.getNodeValue(); if (StringUtil.isNotBlank(value)) { return StreamUtil.split(value, " ").get(stream -> stream.anyMatch(s -> css.equals(s))); } } } else { final Node idAttr = node.getAttributes().getNamedItem("id"); if (idAttr != null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/KeyMatch.java
*/ package org.codelibs.fess.opensearch.config.exentity; import org.codelibs.fess.opensearch.config.bsentity.BsKeyMatch; /** * @author FreeGen */ public class KeyMatch extends BsKeyMatch { private static final long serialVersionUID = 1L; public String getId() { return asDocMeta().id(); } public void setId(final String id) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsKeyMatchBhv.java
return createOptionalEntity(doSelectByPK(id, tp), id); } @Override protected Class<? extends KeyMatch> typeOfSelectedEntity() { return KeyMatch.class; } @Override protected Class<KeyMatch> typeOfHandlingEntity() { return KeyMatch.class; } @Override protected Class<KeyMatchCB> typeOfHandlingConditionBean() { return KeyMatchCB.class;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/KeyMatchService.java
*/ public OptionalEntity<KeyMatch> getKeyMatch(final String id) { return keyMatchBhv.selectByPK(id); } /** * Store a key match. * * @param keyMatch The key match to store. */ public void store(final KeyMatch keyMatch) { keyMatchBhv.insertOrUpdate(keyMatch, op -> { op.setRefreshPolicy(Constants.TRUE); });
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java
*/ // GET /api/admin/keymatch/settings // PUT /api/admin/keymatch/settings @Execute public JsonResponse<ApiResult> settings(final SearchBody body) { validateApi(body, messages -> {}); final KeyMatchPager pager = copyBeanToNewBean(body, KeyMatchPager.class); final List<KeyMatch> list = keyMatchService.getKeyMatchList(pager); return asJson(
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.8K bytes - Viewed (0)