public class CmsUrlNameMappingFilter extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static CmsUrlNameMappingFilter |
ALL
Base filter which matches all URL name mapping entries.
|
| Modifier | Constructor and Description |
|---|---|
protected |
CmsUrlNameMappingFilter()
The default constructor.
|
protected |
CmsUrlNameMappingFilter(CmsUrlNameMappingFilter filter)
The copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CmsUrlNameMappingFilter |
filterLocale(java.lang.String locale)
Returns a new url name mapping filter based on the current one which also has to match a given locale.
|
CmsUrlNameMappingFilter |
filterName(java.lang.String name)
Creates a new filter from the current filter which also has to match a given name.
|
CmsUrlNameMappingFilter |
filterNamePattern(java.lang.String namePattern)
Creates a new filter from the current filter which also has to match a given name pattern.
|
CmsUrlNameMappingFilter |
filterRejectStructureId(CmsUUID id)
Creates a new filter from the current filter which also must not match a given structure id.
|
CmsUrlNameMappingFilter |
filterStates(int... states)
Creates a new filter from the current filter which also has to match a given state.
|
CmsUrlNameMappingFilter |
filterStructureId(CmsUUID structureId)
Creates a new filter from the current filter which also has to match a given structure id.
|
java.lang.String |
getLocale()
Returns the locale which should be matched by the filter.
|
java.lang.String |
getName()
Returns the name which should be matched by the filter.
|
java.lang.String |
getNamePattern()
Returns the name pattern which should be matched by the filter.
|
CmsUUID |
getRejectStructureId()
Returns the structure id which should not be matched by the filter.
|
int[] |
getStates()
Returns the state which should be matched by the filter.
|
CmsUUID |
getStructureId()
Returns the structure id which should be matched by the filter.
|
boolean |
isIdFilter()
Checks whether this is a filter which only filters by structure id.
|
boolean |
isNameFilter()
Checks whether this is a filter which only filters by name.
|
java.lang.String |
toString() |
public static final CmsUrlNameMappingFilter ALL
protected CmsUrlNameMappingFilter()
protected CmsUrlNameMappingFilter(CmsUrlNameMappingFilter filter)
filter - the filter to copypublic CmsUrlNameMappingFilter filterLocale(java.lang.String locale)
locale - the locale to matchpublic CmsUrlNameMappingFilter filterName(java.lang.String name)
name - the name to matchpublic CmsUrlNameMappingFilter filterNamePattern(java.lang.String namePattern)
namePattern - the name pattern which should be matchedpublic CmsUrlNameMappingFilter filterRejectStructureId(CmsUUID id)
id - the structure id to not matchpublic CmsUrlNameMappingFilter filterStates(int... states)
states - the states to matchpublic CmsUrlNameMappingFilter filterStructureId(CmsUUID structureId)
structureId - the structure id to matchpublic java.lang.String getLocale()
public java.lang.String getName()
public java.lang.String getNamePattern()
public CmsUUID getRejectStructureId()
public int[] getStates()
public CmsUUID getStructureId()
public boolean isIdFilter()
public boolean isNameFilter()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()