Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for StorageItem (0.05 sec)

  1. src/main/java/org/codelibs/fess/storage/StorageItem.java

    /**
     * Represents a storage item (file or directory).
     */
    public class StorageItem {
    
        private final String name;
        private final String path;
        private final boolean directory;
        private final long size;
        private final ZonedDateTime lastModified;
        private final String encodedId;
    
        /**
         * Creates a new StorageItem instance.
         *
         * @param name the name of the item
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

                throw new StorageException("Failed to delete " + objectName, e);
            }
        }
    
        @Override
        public List<StorageItem> listObjects(final String prefix, final int maxItems) {
            final List<StorageItem> items = new ArrayList<>();
            final List<StorageItem> fileItems = new ArrayList<>();
    
            try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

            } catch (final Exception e) {
                throw new StorageException("Failed to delete " + objectName, e);
            }
        }
    
        @Override
        public List<StorageItem> listObjects(final String prefix, final int maxItems) {
            final List<StorageItem> items = new ArrayList<>();
    
            try {
                final ListObjectsV2Request.Builder requestBuilder =
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                // Ensure bucket exists on first access
                client.ensureBucketExists();
    
                final List<StorageItem> items = client.listObjects(prefix, fessConfig.getStorageMaxItemsInPageAsInteger());
    
                for (final StorageItem item : items) {
                    final Map<String, Object> map = new HashMap<>();
                    map.put("id", item.getEncodedId());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/storage/StorageClient.java

         *
         * @param prefix the path prefix to list objects under (null or empty for root)
         * @param maxItems maximum number of items to return
         * @return list of storage items
         */
        List<StorageItem> listObjects(String prefix, int maxItems);
    
        /**
         * Gets tags/metadata for an object.
         *
         * @param objectName the name/path of the object
         * @return map of tag key-value pairs
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top