Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 57 for isSuitable (0.05 seconds)

  1. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            for (final MethodDesc methodDesc : methodDescs) {
                if (isSuitable(methodDesc.getParameterTypes(), args, true)) {
                    return methodDesc;
                }
            }
            return null;
        }
    
        /**
         * Checks whether the arguments are suitable for the parameter types.
         *
         * @param paramTypes
         *            array of parameter types
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 25.8K bytes
    - Click Count (1)
  2. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            assertFalse(user.isEditable());
    
            // Test with different user configurations
            user = new TestFessUser("admin", new String[] { "admin" }, new String[] { "admins" }, new String[] { "*" });
            assertFalse(user.isEditable());
    
            user = new TestFessUser("", new String[] {}, new String[] {}, new String[] {});
            assertFalse(user.isEditable());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

        public void test_isEditable() {
            // Test with non-editable user (default)
            testUser.setEditable(false);
            assertFalse(fessUserBean.isEditable());
    
            // Test with editable user
            testUser.setEditable(true);
            assertTrue(fessUserBean.isEditable());
        }
    
        @Test
        public void test_hasRole() {
            // Test with no roles
            testUser.setRoleNames(new String[] {});
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

        }
    
        public String[] getRoles() {
            return user.getRoleNames();
        }
    
        public String[] getGroups() {
            return user.getGroupNames();
        }
    
        public boolean isEditable() {
            return user.isEditable();
        }
    
        public boolean hasRole(final String role) {
            return stream(user.getRoleNames()).get(stream -> stream.anyMatch(s -> s.equals(role)));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Aug 19 14:09:36 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/net/HostSpecifier.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.net.InetAddress;
    import java.text.ParseException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A syntactically valid host specifier, suitable for use in a URI. This may be either a numeric IP
     * address in IPv4 or IPv6 notation, or a domain name.
     *
     * <p>Because this class is intended to represent host specifiers which can reasonably be used in a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/entity/FessUser.java

         */
        String[] getPermissions();
    
        /**
         * Determines if the user's information can be edited.
         * @return True if the user's information is editable, false otherwise.
         */
        default boolean isEditable() {
            return false;
        }
    
        /**
         * Refreshes the user's information from the underlying data source.
         * @return True if refresh was successful, false otherwise.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/beans/PropertyDesc.java

         */
        boolean isReadable();
    
        /**
         * Returns whether the property value can be set.
         *
         * @return whether the property value can be set
         */
        boolean isWritable();
    
        /**
         * Returns the public field recognized as a property.
         *
         * @return the public field recognized as a property
         */
        Field getField();
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessFileTransformer.java

         *
         * @param responseData the response data containing the file to extract
         * @return the extractor instance for processing the file
         * @throws FessSystemException if no suitable extractor factory can be found
         */
        @Override
        protected Extractor getExtractor(final ResponseData responseData) {
            final ExtractorFactory extractorFactory = ComponentUtil.getExtractorFactory();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

                public boolean isLdapAdminEnabled(String name) {
                    assertEquals("testuser", name);
                    return true;
                }
            });
    
            assertTrue(ldapUser.isEditable());
        }
    
        @Test
        public void test_isEditable_disabled() {
            // Test when admin is disabled for the user
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

    import static java.util.Collections.max;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.VisibleForTesting;
    import java.util.Map;
    
    /**
     * An implementation-specific parameter class suitable for initializing {@link
     * ArrayBasedCharEscaper} or {@link ArrayBasedUnicodeEscaper} instances. This class should be used
     * when more than one escaper is created using the same character replacement mapping to allow the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 3.2K bytes
    - Click Count (0)
Back to Top