Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for get$doc (0.04 sec)

  1. src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java

            } else {
                assertEquals("filetype:pdf", queryMap.get("PDF"));
            }
    
            if (queryMap.containsKey("DOC")) {
                assertEquals("filetype:doc", queryMap.get("DOC"));
            } else {
                assertEquals("filetype:doc", queryMap.get("labels.facet_filetype_doc"));
            }
    
            if (queryMap.containsKey("labels.facet_filetype_txt")) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

         *
         * @param id the document ID to retrieve
         * @return JSON response containing the document
         */
        // GET /api/admin/searchlist/doc/{doc_id}
        @Execute
        public JsonResponse<ApiResult> get$doc(final String id) {
            return asJson(new ApiDocResponse().doc(searchEngineClient.getDocument(fessConfig.getIndexDocumentUpdateIndex(), builder -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse createnew(final CreateForm form) {
            saveToken();
            form.initialize();
            form.crudMode = CrudMode.CREATE;
            getDoc(form).ifPresent(entity -> {
                form.doc = fessConfig.convertToEditableDoc(entity);
            });
            return asEditHtml();
        }
    
        /**
         * Displays the form for editing an existing document.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.1K bytes
    - Viewed (1)
  4. src/test/java/jcifs/DfsResolverTest.java

            assertFalse(dfsResolver.isTrustedDomain(mockContext, "anyDomain"));
        }
    
        // Test for getDc method
        @Test
        void testGetDc_DfsDisabled() throws CIFSException {
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertNull(dfsResolver.getDc(mockContext, "anyDomain"));
        }
    
        @Test
        void testGetDc_Success() throws CIFSException, IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DfsImplTest.java

            assertFalse(dfsImpl.isTrustedDomain(mockContext, "anydomain.com"));
        }
    
        // Tests for getDc
        @Test
        void testGetDc_DfsDisabled() throws SmbAuthException {
            // Scenario: DFS is disabled.
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertNull(dfsImpl.getDc(mockContext, "anydomain.com"));
        }
    
        @Test
        void testGetDc_ConnectionFails() throws SmbAuthException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/DfsTest.java

                    return null;
                return super.getTrustedDomains(auth);
            }
    
            @Override
            public SmbTransport getDc(String domain, NtlmPasswordAuthentication auth) throws SmbAuthException {
                if (disabled)
                    return null;
                return super.getDc(domain, auth);
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/DfsResolver.java

         *
         * @param tf the CIFS context
         * @param domain the domain name
         * @return connection to the domain controller
         * @throws CIFSException if the connection fails
         */
        SmbTransport getDc(CIFSContext tf, String domain) throws CIFSException;
    
        /**
         * Resolve the location of a DFS path
         *
         * @param domain the domain for the DFS referral
         * @param root the DFS root share
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Dfs.java

         * @param auth the authentication credentials
         * @return an SMB transport to the domain controller
         * @throws SmbAuthException if authentication fails
         */
        public SmbTransport getDc(final String domain, final NtlmPasswordAuthentication auth) throws SmbAuthException {
            if (DISABLED) {
                return null;
            }
    
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DfsImpl.java

                return null;
            }
    
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.DfsResolver#getDc(jcifs.CIFSContext, java.lang.String)
         */
        @Override
        public SmbTransport getDc(final CIFSContext tf, final String domain) throws SmbAuthException {
            if (tf.getConfig().isDfsDisabled()) {
                return null;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

            }
            try {
                final Result result = client.prepareUpdate()
                        .setIndex(index)
                        .setId(id)
                        .setDoc(field, value)
                        .execute()
                        .actionGet(ComponentUtil.getFessConfig().getIndexIndexTimeout())
                        .getResult();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
Back to top