| Constructor and Description |
|---|
Filter(FilterType pFilterType)
Basic constructor.
|
Filter(FilterType pFilterType,
java.lang.String pID)
Constructor for loading a filter from cache.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Removes this resource and all its children resources from cache.
|
FilterType |
getFilterType()
Gets the filter type of the filter.
|
boolean |
isChangePending()
Whether changes have been made to the filter (e.g.
|
void |
setChangePending(boolean pChangePending)
Sets whether there are pending changes for this filter.
|
void |
setFilterType(FilterType pFilType)
Sets the filter type of the filter.
|
addChildResource, addPropertyValue, addResourceChild, equals, getAllPropertyValues, getChildrenResources, getID, getName, getParentResource, getPropertyValue, getPropertyValueFromHierarchy, getResourceChildren, getValueOfLinkedProperty, hashCode, removeProperty, removeResourceChild, setName, setPropertyValuesgetClass, notify, notifyAll, toString, wait, wait, waitaddChildResource, addPropertyValue, addResourceChild, getAllPropertyValues, getChildrenResources, getID, getName, getParentResource, getPropertyValue, getPropertyValueFromHierarchy, getResourceChildren, removeResourceChild, setName, setPropertyValuespublic Filter(FilterType pFilterType)
pFilterType - the filter typepublic Filter(FilterType pFilterType, java.lang.String pID)
pFilterType - the filter typepID - the cache IDpublic FilterType getFilterType()
IFiltergetFilterType in interface IFilterpublic boolean isChangePending()
IFilterisChangePending in interface IFiltertrue if changes have been made to the filterpublic void setChangePending(boolean pChangePending)
IFilter
Should be set to true if changes were made to the filter and
e.g. filter actions must be executed again to refresh potential result
lists.
Should be set to false by actions which refresh the filter
and potential result lists.
setChangePending in interface IFilterpChangePending - whether changes are pending for the filterpublic void setFilterType(FilterType pFilType)
IFiltersetFilterType in interface IFilterpFilType - the new filter typepublic void delete()
throws TaurusCoreException
IResourcedelete in interface IResourcedelete in class ResourceTaurusCoreException - if the deletion of the resource failsIResource.getChildrenResources()Copyright © 2015 Micro Focus GmbH. All rights reserved.