- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 50 for asJson (0.07 sec)
-
src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java
validateApi(body, messages -> {}); final BadWordPager pager = copyBeanToNewBean(body, BadWordPager.class); final List<BadWord> list = badWordService.getBadWordList(pager); return asJson( new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList())) .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/accesstoken/ApiAdminAccesstokenAction.java
return asJson(new ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList())) .total(pager.getAllRecordCount()).status(Status.OK).result()); } // GET /api/admin/accesstoken/setting/{id} @Execute public JsonResponse<ApiResult> get$setting(final String id) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java
validateApi(body, messages -> {}); final FileConfigPager pager = copyBeanToNewBean(body, FileConfigPager.class); final List<FileConfig> list = fileConfigService.getFileConfigList(pager); return asJson( new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList())) .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java
@Execute public JsonResponse<ApiResult> list(final OptionalThing<String> id) { final List<Map<String, Object>> list = getFileItems(id.isPresent() ? decodePath(id.get()) : null); try { return asJson(new ApiResult.ApiStorageResponse().items(list).status(ApiResult.Status.OK).result()); } catch (final ResultOffsetExceededException e) { if (logger.isDebugEnabled()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/general/ApiAdminGeneralAction.java
public JsonResponse<ApiResult> get$index() { final EditBody form = new EditBody(); AdminGeneralAction.updateForm(fessConfig, form); form.ldapAdminSecurityCredentials = null; return asJson(new ApiConfigResponse().setting(form).status(Status.OK).result()); } // POST /api/admin/general @Execute public JsonResponse<ApiResult> post$index(final EditBody body) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java
// GET /api/admin/dict @Execute public JsonResponse<ApiResult> get$index() { final DictionaryFile<? extends DictionaryItem>[] dictFiles = dictionaryManager.getDictionaryFiles(); return asJson(new ApiResult.ApiConfigsResponse<ListBody>() .settings(Stream.of(dictFiles).map(this::createListBody).collect(Collectors.toList())).status(ApiResult.Status.OK) .result()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/log/ApiAdminLogAction.java
// GET /api/admin/log/files @Execute public JsonResponse<ApiResult> files() { final List<Map<String, Object>> list = getLogFileItems(); return asJson(new ApiResult.ApiLogFilesResponse().files(list).total(list.size()).status(ApiResult.Status.OK).result()); } // GET /api/admin/log/file/{id} @Execute public StreamResponse get$file(final String id) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/systeminfo/ApiAdminSysteminfoAction.java
final List<Map<String, String>> envItems = getEnvItems(); final List<Map<String, String>> fessPropItems = getFessPropItems(fessConfig); final List<Map<String, String>> propItems = getPropItems(); return asJson(new ApiResult.ApiSystemInfoResponse().bugReportProps(bugReportItems).envProps(envItems).fessProps(fessPropItems) .systemProps(propItems).status(ApiResult.Status.OK).result()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java
return OptionalThing.empty(); } @Override public ActionResponse godHandPrologue(final ActionRuntime runtime) { if (!isAccessAllowed()) { return asJson(new ApiErrorResponse().message(getMessage(messages -> messages.addErrorsUnauthorizedRequest(GLOBAL))) .status(Status.UNAUTHORIZED).result()); } return super.godHandPrologue(runtime); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java
// GET /api/admin/backup/files @Execute public JsonResponse<ApiResult> files() { final List<Map<String, String>> list = getBackupItems(); return asJson(new ApiBackupFilesResponse().files(list).total(list.size()).status(ApiResult.Status.OK).result()); } // GET /api/admin/backup/file/{id} @Execute public StreamResponse get$file(final String id) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 6.1K bytes - Viewed (0)