Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for isWritable (0.24 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. 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
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/PropertyMetaData.java

        }
    
        public TypeMetaData getType() {
            return type;
        }
    
        public void setType(TypeMetaData type) {
            this.type = type;
        }
    
        public boolean isWriteable() {
            return setter != null;
        }
    
        public boolean isReadable() {
            return getter != null;
        }
    
        public boolean isProviderApi() {
            // TODO: Crude approximation
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertyDetailRenderer.java

            title.appendChild(literal);
            literal.appendChild(document.createTextNode(propertyDoc.getName()));
    
            if (!propertyDoc.getMetaData().isProviderApi()) {
                if (!propertyDoc.getMetaData().isWriteable()) {
                    title.appendChild(document.createTextNode(" (read-only)"));
                } else if (!propertyDoc.getMetaData().isReadable()) {
                    title.appendChild(document.createTextNode(" (write-only)"));
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
Back to top