Package org.opencms.db
Class CmsAliasFilter
java.lang.Object
org.opencms.db.CmsAliasFilter
This class is used for filtering aliases in database operations.
-
Constructor Summary
ConstructorsConstructorDescriptionCmsAliasFilter
(String siteRoot, String aliasPath, CmsUUID structureId) Creates a new alias filter. -
Method Summary
Modifier and TypeMethodDescriptiongetPath()
Gets the alias path to filter.Gets the site root to filter.Gets the structure id to filter.boolean
Checks whether this filter is trivial, i.e.
-
Constructor Details
-
CmsAliasFilter
Creates a new alias filter.Any parameter which is null will not be used for filtering.
- Parameters:
siteRoot
- the site root to filteraliasPath
- the alias path to filterstructureId
- the structure id to filter
-
-
Method Details
-
getPath
Gets the alias path to filter.- Returns:
- the alias path
-
getSiteRoot
Gets the site root to filter.- Returns:
- the site root
-
getStructureId
Gets the structure id to filter.- Returns:
- the structure id
-
isNullFilter
Checks whether this filter is trivial, i.e. would match all aliases.- Returns:
- true if the filter is trivial
-