Class A_CmsRepositorySession

java.lang.Object
org.opencms.repository.A_CmsRepositorySession
All Implemented Interfaces:
I_CmsRepositorySession
Direct Known Subclasses:
CmsRepositorySession

public abstract class A_CmsRepositorySession extends Object implements I_CmsRepositorySession
Abstract implementation of the interface I_CmsRepositorySession to provide the functionality of filtering items.

Since:
6.5.6
  • Constructor Details

  • Method Details

    • getFilter

      Returns the filter.

      Returns:
      the filter
    • setFilter

      public void setFilter(CmsRepositoryFilter filter)
      Sets the filter.

      Parameters:
      filter - the filter to set
    • isFiltered

      protected boolean isFiltered(String path)
      Checks if a path is filtered out of the filter or not.

      Parameters:
      path - the path of a resource to check
      Returns:
      true if the name matches one of the given filter patterns