Package org.opencms.db
Class CmsAliasFilter
- java.lang.Object
-
- org.opencms.db.CmsAliasFilter
-
public class CmsAliasFilter extends java.lang.Object
This class is used for filtering aliases in database operations.
-
-
Constructor Summary
Constructors Constructor Description CmsAliasFilter(java.lang.String siteRoot, java.lang.String aliasPath, CmsUUID structureId)
Creates a new alias filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPath()
Gets the alias path to filter.java.lang.String
getSiteRoot()
Gets the site root to filter.CmsUUID
getStructureId()
Gets the structure id to filter.boolean
isNullFilter()
Checks whether this filter is trivial, i.e.
-
-
-
Constructor Detail
-
CmsAliasFilter
public CmsAliasFilter(java.lang.String siteRoot, java.lang.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 filteraliasPath
- the alias path to filterstructureId
- the structure id to filter
-
-
Method Detail
-
getPath
public java.lang.String getPath()
Gets the alias path to filter.- Returns:
- the alias path
-
getSiteRoot
public java.lang.String getSiteRoot()
Gets the site root to filter.- Returns:
- the site root
-
getStructureId
public CmsUUID 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
-
-