- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 288 for delete (0.06 sec)
-
BsCrawlingInfoParam.java
StringBuilder(); L98: sb.append(dm).append(crawlingInfoId); L99: sb.append(dm).append(createdTime); L100: sb.append(dm).append(key); L101: sb.append(dm).append(value); L102: if (sb.length() > dm.length()) { L103: sb.delete(0, dm.length()); L104: } L105: sb.insert(0, "{").append("}"); L106: return sb.toString(); L107: } L108: L109: // =================================================================================== L110: // ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 5.3K bytes -
AdminStorageAction.java
rageFileDownloadFailure(GLOBAL, pi.getName()), L135: () -> asListHtml(encodeId(pi.getPath()))); L136: } L137: }); L138: } L139: L140: @Execute L141: @Secured({ ROLE }) L142: public HtmlResponse delete(final String id) { L143: final PathInfo pi = convertToItem(id); L144: if (StringUtil.isEmpty(pi.getName())) { L145: throwValidationError(messages -> messages.addErrorsStorageFileNotFound(GLOBAL), () -> asListHtml(encodeId(pi.getPath())));...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 19.9K bytes -
AdminCrawlinginfoAction.java
@Execute L179: @Secured({ ROLE }) L180: public HtmlResponse delete(final EditForm form) { L181: verifyCrudMode(form.crudMode, CrudMode.DETAILS); L182: validate(form, messages -> {}, this::asDetailsHtml); L183: verifyToken(this::asDetailsHtml); L184: final String id = form.id; L185: crawlingInfoService.getCrawlingInfo(id).alwaysPresent(entity -> { L186: crawlingInfoService.delete(entity); L187: saveInfo(messages -> messages.addSuccess...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 10K bytes -
BsFavoriteLog.java
tedAt); L105: sb.append(dm).append(docId); L106: sb.append(dm).append(queryId); L107: sb.append(dm).append(url); L108: sb.append(dm).append(userInfoId); L109: if (sb.length() > dm.length()) { L110: sb.delete(0, dm.length()); L111: } L112: sb.insert(0, "{").append("}"); L113: return sb.toString(); L114: } L115: L116: // =================================================================================== L117: // ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 5.6K bytes -
Secured.java
; }) L36: * public void create(Contact contact); L37: * L38: * @Secured({ "ROLE_USER", "ROLE_ADMIN" }) L39: * public void update(Contact contact); L40: * L41: * @Secured({ "ROLE_ADMIN" }) L42: * public void delete(Contact contact); L43: * </pre> L44: * @author Mark St.Godard L45: */ L46:@Target({ ElementType.METHOD, ElementType.TYPE }) L47:@Retention(RetentionPolicy.RUNTIME) L48:@Inherited L49:@Documented L50:public @interface Secured { L51: /** L52: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 1.8K bytes -
AdminDesignAction.java
out.write(fis); L214: } L215: }); L216: } L217: L218: @Execute L219: @Secured({ ROLE }) L220: public HtmlResponse delete(final FileAccessForm form) { L221: getTargetFile(form.fileName).ifPresent(file -> { L222: if (!file.delete()) { L223: logger.error("Failed to delete {}", file.getAbsolutePath()); L224: throwValidationError(messages -> messages.addErrorsFailedToDeleteFile(GLOBAL, form.fileName), this::asListHtml);...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 16.1K bytes -
ReqHeaderTests.java
@AfterEach L91: void deleteWebConfig() { L92: final Map<String, Object> searchBody = new HashMap<>(); L93: searchBody.put("size", NUM * 2); L94: final String webConfigId = getWebConfigId(); L95: checkMethodBase(searchBody).delete("/api/admin/webconfig/setting/" + webConfigId).then().body("response.status", equalTo(0)); L96: } L97: L98: @Override L99: protected Map<String, Object> createTestParam(int id) { L100: final Map<String, Object> requestBody = new HashMap<>();...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.9K bytes -
AdminWebauthAction.java
throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, form.id), this::asEditHtml); L235: }); L236: return redirect(getClass()); L237: } L238: L239: @Execute L240: @Secured({ ROLE }) L241: public HtmlResponse delete(final EditForm form) { L242: verifyCrudMode(form.crudMode, CrudMode.DETAILS); L243: validate(form, messages -> {}, this::asDetailsHtml); L244: verifyToken(this::asDetailsHtml); L245: final String id = form.id; L246: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 15.7K bytes -
WebAuthTests.java
@AfterEach L91: void deleteWebConfig() { L92: final Map<String, Object> searchBody = new HashMap<>(); L93: searchBody.put("size", NUM * 2); L94: final String webConfigId = getWebConfigId(); L95: checkMethodBase(searchBody).delete("/api/admin/webconfig/setting/" + webConfigId).then().body("response.status", equalTo(0)); L96: } L97: L98: @Override L99: protected Map<String, Object> createTestParam(int id) { L100: final Map<String, Object> requestBody = new HashMap<>();...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.9K bytes -
AdminDictStemmeroverrideAction.java
L326: @Secured({ ROLE }) L327: public HtmlResponse delete(final EditForm form) { L328: verifyCrudMode(form.crudMode, CrudMode.DETAILS, form.dictId); L329: validate(form, messages -> {}, this::asDetailsHtml); L330: verifyToken(this::asDetailsHtml); L331: stemmerOverrideService.getStemmerOverrideItem(form.dictId, form.id).ifPresent(entity -> { L332: try { L333: stemmerOverrideService.delete(form.dictId, entity); L334: saveInfo(messages...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 18.6K bytes