Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,979 for Id (0.02 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            webAuthenticationService.getWebAuthentication(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
            }).orElse(() -> {
                throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id), this::asListHtml);
            });
            saveToken();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/bsbhv/BsDataConfigBhv.java

            assertObjectNotNull("id", id);
            return newConditionBean().acceptPK(id);
        }
    
        protected <ENTITY extends DataConfig> OptionalEntity<ENTITY> doSelectOptionalByPK(String id, Class<? extends ENTITY> tp) {
            return createOptionalEntity(doSelectByPK(id, tp), id);
        }
    
        @Override
        protected Class<? extends DataConfig> typeOfSelectedEntity() {
            return DataConfig.class;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/bsbhv/BsLabelTypeBhv.java

            assertObjectNotNull("id", id);
            return newConditionBean().acceptPK(id);
        }
    
        protected <ENTITY extends LabelType> OptionalEntity<ENTITY> doSelectOptionalByPK(String id, Class<? extends ENTITY> tp) {
            return createOptionalEntity(doSelectByPK(id, tp), id);
        }
    
        @Override
        protected Class<? extends LabelType> typeOfSelectedEntity() {
            return LabelType.class;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

                return null;
            });
            return asJson(new ApiUpdateResponse().id(fileConfig.getId()).created(false).status(Status.OK).result());
        }
    
        // DELETE /api/admin/fileconfig/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            fileConfigService.getFileConfig(id).ifPresent(entity -> {
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. docs_src/app_testing/app_b/test_main.py

    
    def test_create_item():
        response = client.post(
            "/items/",
            headers={"X-Token": "coneofsilence"},
            json={"id": "foobar", "title": "Foo Bar", "description": "The Foo Barters"},
        )
        assert response.status_code == 200
        assert response.json() == {
            "id": "foobar",
            "title": "Foo Bar",
            "description": "The Foo Barters",
        }
    
    
    def test_create_item_bad_token():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. docs_src/app_testing/app_b_an_py39/test_main.py

    
    def test_create_item():
        response = client.post(
            "/items/",
            headers={"X-Token": "coneofsilence"},
            json={"id": "foobar", "title": "Foo Bar", "description": "The Foo Barters"},
        )
        assert response.status_code == 200
        assert response.json() == {
            "id": "foobar",
            "title": "Foo Bar",
            "description": "The Foo Barters",
        }
    
    
    def test_create_item_bad_token():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 22:31:16 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/main/config/eclipse/formatter/java.xml

    <setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>
    <setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
    <setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>
    <setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/>
    <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Sep 17 06:39:42 UTC 2017
    - 30.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/CrawlJob.java

            if (sessionId == null) { // create session id
                final SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
                sessionId = sdf.format(new Date());
            }
            resultBuf.append("Session Id: ").append(sessionId).append("\n");
            resultBuf.append("Web  Config Id:");
            if (webConfigIds == null) {
                if (runAll) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/relatedcontent/ApiAdminRelatedcontentAction.java

                return null;
            });
            return asJson(new ApiUpdateResponse().id(relatedContent.getId()).created(false).status(Status.OK).result());
        }
    
        // DELETE /api/admin/relatedcontent/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            relatedContentService.getRelatedContent(id).ifPresent(entity -> {
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. tests/test_custom_swagger_ui_redirect.py

    swagger_ui_oauth2_redirect_url = "/docs/redirect"
    
    app = FastAPI(swagger_ui_oauth2_redirect_url=swagger_ui_oauth2_redirect_url)
    
    
    @app.get("/items/")
    async def read_items():
        return {"id": "foo"}
    
    
    client = TestClient(app)
    
    
    def test_swagger_ui():
        response = client.get("/docs")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Apr 08 04:37:38 UTC 2020
    - 1.1K bytes
    - Viewed (0)
Back to top