Class CmsFolderSizeOptions

java.lang.Object
org.opencms.file.quota.CmsFolderSizeOptions
All Implemented Interfaces:
Cloneable

public class CmsFolderSizeOptions extends Object implements Cloneable
Options for reading folder size information.
  • Constructor Details

    • CmsFolderSizeOptions

      public CmsFolderSizeOptions(String rootPath, boolean online, boolean isTree)
      Creates a new instance.
      Parameters:
      rootPath - the root path for which to read the folder size information
      isTree - true if we want folder size information for all folders in the subtree and not just the folder itself
  • Method Details

    • getRootPath

      public String getRootPath()
      Gets the root path for which we want folder size information.
      Returns:
      the root path for which we want folder size information
    • isOnline

      public boolean isOnline()
    • isTree

      public boolean isTree()
      True if we want to read folder size information for the complete subtree.
      Returns:
      true if we want to read folder size information for the complete subtree