Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for isWritable (0.5 seconds)

  1. 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)
  2. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

                readable = true;
                writable = true;
            }
        }
    
        @Override
        public boolean isReadable() {
            return readable;
        }
    
        @Override
        public boolean isWritable() {
            return writable;
        }
    
        @Override
        public <T> T getValue(final Object target) {
            assertArgumentNotNull("target", target);
    
            try {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 24 01:52:43 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

                    continue;
                }
                final PropertyDesc destPropertyDesc = destBeanDesc.getPropertyDesc(destPropertyName);
                if (!destPropertyDesc.isWritable()) {
                    continue;
                }
                final Object value = srcPropertyDesc.getValue(src);
                if (!options.isTargetValue(value)) {
                    continue;
                }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 23.5K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

         */
        protected ConstructorDesc findSuitableConstructorDesc(final Object... args) {
            for (final ConstructorDesc constructorDesc : constructorDescs) {
                if (isSuitable(constructorDesc.getParameterTypes(), args, false)) {
                    return constructorDesc;
                }
            }
            return null;
        }
    
        /**
    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)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java

        public Parameter(org.apache.maven.api.plugin.descriptor.Parameter p) {
            this.setAlias(p.getAlias());
            this.setName(p.getName());
            this.setRequired(p.isRequired());
            this.setEditable(p.isEditable());
            this.setDescription(p.getDescription());
            this.setExpression(p.getExpression());
            this.setDeprecated(p.getDeprecated());
            this.setDefaultValue(p.getDefaultValue());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  9. 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)
  10. logger/sql.go

    	"strconv"
    	"strings"
    	"time"
    	"unicode"
    
    	"gorm.io/gorm/utils"
    )
    
    const (
    	tmFmtWithMS = "2006-01-02 15:04:05.999"
    	tmFmtZero   = "0000-00-00 00:00:00"
    	nullStr     = "NULL"
    )
    
    func isPrintable(s string) bool {
    	for _, r := range s {
    		if !unicode.IsPrint(r) {
    			return false
    		}
    	}
    	return true
    }
    
    // A list of Go types that should be converted to SQL primitives
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 5K bytes
    - Click Count (0)
Back to Top