public class FilterContainer extends Object
Constructor and Description |
---|
FilterContainer() |
Modifier and Type | Method and Description |
---|---|
void |
addFilter(Filter filter)
Adds a filter definition to this project file.
|
Filter |
getFilterByID(Integer id)
Retrieve a given filter by ID.
|
Filter |
getFilterByName(String name)
Retrieve a given filter by name.
|
List<Filter> |
getResourceFilters()
Retrieves a list of all resource filters.
|
List<Filter> |
getTaskFilters()
Retrieves a list of all task filters.
|
void |
removeFilter(String filterName)
Removes a filter from this project file.
|
public void addFilter(Filter filter)
filter
- filter definitionpublic void removeFilter(String filterName)
filterName
- The name of the filterpublic List<Filter> getResourceFilters()
public List<Filter> getTaskFilters()
public Filter getFilterByName(String name)
name
- filter nameCopyright © 2000–2024 Packwood Software. All rights reserved.