Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for isEditable (0.07 sec)

  1. src/main/java/org/codelibs/fess/entity/FessUser.java

    public interface FessUser extends Serializable {
    
        String getName();
    
        String[] getRoleNames();
    
        String[] getGroupNames();
    
        String[] getPermissions();
    
        default boolean isEditable() {
            return false;
        }
    
        default boolean refresh() {
            return false;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 978 bytes
    - Viewed (0)
  2. 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)));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. 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());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ldap/LdapUser.java

                    .map(s -> s.substring(1)).toArray(n -> new String[n]));
        }
    
        public Hashtable<String, String> getEnvironment() {
            return env;
        }
    
        @Override
        public boolean isEditable() {
            return ComponentUtil.getFessConfig().isLdapAdminEnabled(name);
        }
    
        private static String[] distinct(final String[] values) {
            if (values == null) {
                return StringUtil.EMPTY_STRINGS;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/user/exentity/User.java

            stream(getGroups()).of(stream -> stream.forEach(s -> list.add(fessConfig.getRoleSearchGroupPrefix() + decode(s))));
            return list.toArray(new String[list.size()]);
        }
    
        @Override
        public boolean isEditable() {
            return true;
        }
    
        public Map<String, String> getAttributes() {
            return attributes;
        }
    
        public void setAttributes(final Map<String, String> attributes) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            assertEquals("jarName", mp.getAlias());
            assertEquals("java.lang.String", mp.getType());
            assertEquals("java.lang.String", mp.getImplementation());
            assertTrue(mp.isEditable());
            assertFalse(mp.isRequired());
            assertEquals("parameter-description", mp.getDescription());
            assertEquals("deprecated-parameter", mp.getDeprecated());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

            final String username = systemHelper.getUsername();
            runtime.registerData("username", username);
            runtime.registerData("editableUser", fessLoginAssist.getSavedUserBean().map(FessUserBean::isEditable).orElse(false));
            runtime.registerData("adminUser", fessConfig.isAdminUser(username) || fessLoginAssist.getSavedUserBean()
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. 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;
        }
    
        /**
         * 引数に適合する{@link ConstructorDesc}を返します。
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. 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;
                }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. 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 {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top