Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for setAttributes (0.07 sec)

  1. src/main/java/org/codelibs/fess/es/user/exentity/Role.java

            asDocMeta().id(id);
        }
    
        @Override
        public String toString() {
            return "Role [name=" + name + "]";
        }
    
        public Map<String, String> getAttributes() {
            return attributes;
        }
    
        public void setAttributes(final Map<String, String> attributes) {
            this.attributes = attributes;
        }
    
        @Override
        public Map<String, Object> toSource() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/user/exentity/Group.java

            asDocMeta().id(id);
        }
    
        @Override
        public String toString() {
            return "Group [name=" + name + "]";
        }
    
        public Map<String, String> getAttributes() {
            return attributes;
        }
    
        public void setAttributes(final Map<String, String> attributes) {
            this.attributes = attributes;
        }
    
        @Override
        public Map<String, Object> toSource() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/FileAttributesTest.java

                    int attrs = f.getAttributes() ^ SmbConstants.ATTR_ARCHIVE ^ SmbConstants.ATTR_HIDDEN ^ SmbConstants.ATTR_READONLY;
                    if ( Boolean.parseBoolean(getProperties().getOrDefault("test.skip.hidden", "false")) ) {
                        attrs &= ~SmbConstants.ATTR_HIDDEN;
                    }
                    f.setAttributes(attrs);
                    assertEquals(attrs, f.getAttributes());
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/exbhv/GroupBhv.java

            try {
                final RESULT result = entityType.newInstance();
                result.setName(DfTypeUtil.toString(source.get("name")));
                result.setAttributes(source.entrySet().stream().filter(e -> !"name".equals(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue())).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/user/exbhv/RoleBhv.java

            try {
                final RESULT result = entityType.newInstance();
                result.setName(DfTypeUtil.toString(source.get("name")));
                result.setAttributes(source.entrySet().stream().filter(e -> !"name".equals(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue())).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/exbhv/UserBhv.java

                result.setPassword(DfTypeUtil.toString(source.get(PASSWORD)));
                result.setGroups(toStringArray(source.get(GROUPS)));
                result.setRoles(toStringArray(source.get(ROLES)));
                result.setAttributes(source.entrySet().stream().filter(e -> isAttribute(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue())).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/exentity/User.java

        }
    
        @Override
        public boolean isEditable() {
            return true;
        }
    
        public Map<String, String> getAttributes() {
            return attributes;
        }
    
        public void setAttributes(final Map<String, String> attributes) {
            this.attributes = attributes;
        }
    
        @Override
        public Map<String, Object> toSource() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbResource.java

         * Turn off the read-only attribute of this file. This is shorthand for
         * <tt>setAttributes( getAttributes() &amp; ~ATTR_READONLY )</tt>.
         *
         * @throws CIFSException
         */
        void setReadWrite () throws CIFSException;
    
    
        /**
         * Make this file read-only. This is shorthand for <tt>setAttributes(
         * getAttributes() | ATTR_READ_ONLY )</tt>.
         *
         * @throws CIFSException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * Make this file read-only. This is shorthand for <tt>setAttributes(
     * getAttributes() | ATTR_READ_ONLY )</tt>.
     *
     * @throws SmbException
     */
        public void setReadOnly() throws SmbException {
            setAttributes( getAttributes() | ATTR_READONLY );
        }
    
    /**
     * Turn off the read-only attribute of this file. This is shorthand for
     * <tt>setAttributes( getAttributes() & ~ATTR_READONLY )</tt>.
     *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/EnumTest.java

                    try {
                        b.setAttributes(SmbConstants.ATTR_HIDDEN);
                        haveHidden = true;
                    }
                    catch ( SmbUnsupportedOperationException e ) {}
    
                    c.createNewFile();
                    boolean haveArchive = false;
                    try {
                        c.setAttributes(SmbConstants.ATTR_ARCHIVE);
                        haveArchive = true;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
Back to top