|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.repository.CmsRepositoryFilter
public class CmsRepositoryFilter
This class is a filter for the repositories.
It filters path names, depending on the configuration made.
Constructor Summary | |
---|---|
CmsRepositoryFilter()
Default constructor initializing member variables. |
Method Summary | |
---|---|
void |
addFilterRule(java.lang.String rule)
Adds a new filter rule (regex) to the filter. |
java.util.List |
getFilterRules()
Returns the filterRules. |
java.lang.String |
getType()
Returns the type. |
void |
initConfiguration()
Initializes a configuration after all parameters have been added. |
boolean |
isFiltered(java.lang.String path)
Checks if a path is filtered out of the filter or not. |
void |
setFilterRules(java.util.List filterRules)
Sets the filterRules. |
void |
setType(java.lang.String type)
Sets the type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsRepositoryFilter()
Method Detail |
---|
public void addFilterRule(java.lang.String rule)
rule
- the rule (regex) to addpublic java.util.List getFilterRules()
public java.lang.String getType()
public void initConfiguration() throws CmsConfigurationException
CmsConfigurationException
- if something goes wrongpublic boolean isFiltered(java.lang.String path)
path
- the path of a resource to check
public void setFilterRules(java.util.List filterRules)
filterRules
- the filterRules to setpublic void setType(java.lang.String type)
type
- the type to set
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |