Class CmsAliasFilter

java.lang.Object
org.opencms.db.CmsAliasFilter

public class CmsAliasFilter extends Object
This class is used for filtering aliases in database operations.

  • Constructor Details

    • CmsAliasFilter

      public CmsAliasFilter(String siteRoot, String aliasPath, CmsUUID structureId)
      Creates a new alias filter.

      Any parameter which is null will not be used for filtering.

      Parameters:
      siteRoot - the site root to filter
      aliasPath - the alias path to filter
      structureId - the structure id to filter
  • Method Details

    • getPath

      public String getPath()
      Gets the alias path to filter.

      Returns:
      the alias path
    • getSiteRoot

      public String getSiteRoot()
      Gets the site root to filter.

      Returns:
      the site root
    • getStructureId

      Gets the structure id to filter.

      Returns:
      the structure id
    • isNullFilter

      public boolean isNullFilter()
      Checks whether this filter is trivial, i.e. would match all aliases.

      Returns:
      true if the filter is trivial