- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 209 for PUT (0.02 sec)
-
Role.java
L58: this.attributes = attributes; L59: } L60: L61: @Override L62: public Map<String, Object> toSource() { L63: final Map<String, Object> sourceMap = new HashMap<>(); L64: if (name != null) { L65: sourceMap.put("name", name); L66: } L67: if (attributes != null) { L68: sourceMap.putAll(attributes); L69: } L70: return sourceMap; L71: } L72:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 1.8K bytes -
GroovyEngineTest.java
= new HashMap<>(); L51: assertNull(groovyEngine.evaluate("", params)); L52: assertEquals("", groovyEngine.evaluate("return ''", params)); L53: assertEquals(1, groovyEngine.evaluate("return 1", params)); L54: L55: params.put("test", "123"); L56: assertEquals("123", groovyEngine.evaluate("return test", params)); L57: } L58: L59: public void test_getName() { L60: assertEquals("groovy", groovyEngine.getName()); L61: } L62:}...github.com/codelibs/fess/src/test/java/org/code...Thu Oct 17 12:10:08 UTC 2024 1.8K bytes -
ApiAdminDataconfigAction.java
throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id)); L79: return null; L80: })).status(Status.OK).result()); L81: } L82: L83: // PUT /api/admin/dataconfig/setting L84: @Execute L85: public JsonResponse<ApiResult> put$setting(final CreateBody body) { L86: validateApi(body, messages -> {}); L87: body.crudMode = CrudMode.CREATE; L88: final DataConfig dataConfig = getDataConfig(body).map(entity -> { L89:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 7K bytes -
ApiAdminDictSynonymAction.java
messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, String.valueOf(id))); L66: return null; L67: })).status(ApiResult.Status.OK).result()); L68: } L69: L70: // PUT /api/admin/dict/synonym/setting/{dictId} L71: @Execute L72: public JsonResponse<ApiResult> put$setting(final String dictId, final CreateBody body) { L73: body.dictId = dictId; L74: validateApi(body, messages -> {}); L75: body.crudMode = CrudMode.CREATE; L76: final...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 7.1K bytes -
BsThumbnailQueue.java
addFieldToSource(sourceMap, "thumbnail_id", thumbnailId); L96: } L97: return sourceMap; L98: } L99: L100: protected void addFieldToSource(Map<String, Object> sourceMap, String field, Object value) { L101: sourceMap.put(field, value); L102: } L103: L104: // =================================================================================== L105: // Basic Override L106: // ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 6.2K bytes -
CurlResponse.java
List<String>> headers) { L111: if (headers != null) { L112: final Map<String, List<String>> map = new HashMap<>(); L113: headers.entrySet().stream().filter(e -> e.getKey() != null) L114: .forEach(e -> map.put(e.getKey().toLowerCase(Locale.ROOT), e.getValue())); L115: this.headers = map; L116: } L117: } L118: L119: public Map<String, List<String>> getHeaders() { L120: return headers; L121: } L122: L123: public String[]...github.com/codelibs/curl4j/src/main/java/org/co...Mon Nov 14 21:05:19 UTC 2022 4K bytes -
ClickLog.java
return asDocMeta().version(); L48: } L49: L50: public void setVersionNo(final Long version) { L51: asDocMeta().version(version); L52: } L53: L54: public void addField(final String key, final Object value) { L55: fields.put(key, value); L56: } L57: L58: public String getLogMessage() { L59: return getUrl(); L60: } L61: L62: @Override L63: public Map<String, Object> toSource() { L64: final Map<String, Object> sourceMap = super.toSource(); L65:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.7K bytes -
FavoriteLog.java
return asDocMeta().version(); L48: } L49: L50: public void setVersionNo(final Long version) { L51: asDocMeta().version(version); L52: } L53: L54: public void addField(final String key, final Object value) { L55: fields.put(key, value); L56: } L57: L58: public String getLogMessage() { L59: return getUrl(); L60: } L61: L62: public LocalDateTime getRequestedAt() { L63: return getCreatedAt(); L64: } L65: L66: @Override L67: public Map<String,...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.7K bytes -
FessXpathTransformer.java
final boolean isPruned) { L987: addFieldRule(name, xpath); L988: fieldPrunedRuleMap.put(name, isPruned); L989: } L990: L991: public void setConvertUrlMap(final Map<String, String> convertUrlMap) { L992: this.convertUrlMap.putAll(convertUrlMap); L993: } L994: L995: public void addConvertUrl(final String regex, final String replacement) { L996: convertUrlMap.put(regex, replacement); L997: } L998:}...github.com/codelibs/fess/src/main/java/org/code...Thu Oct 24 13:01:38 UTC 2024 42.9K bytes -
ProtwordsTests.java
DICT_TYPE; L65: } L66: L67: @Override L68: protected Map<String, Object> createTestParam(int id) { L69: final Map<String, Object> requestBody = new HashMap<>(); L70: final String keyProp = NAME_PREFIX + id; L71: requestBody.put(KEY_PROPERTY, keyProp); L72: return requestBody; L73: } L74: L75: @Override L76: protected Map<String, Object> getUpdateMap() { L77: fail(); // Unreachable L78: return null; L79: } L80: L81: @Test L82: void crudTest()...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.3K bytes