|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.krakenapps.filter.impl.FilterConfig
public class FilterConfig
Loads and saves filter states.
| Constructor Summary | |
|---|---|
FilterConfig()
Creates a filter config instance and prepare tables. |
|
| Method Summary | |
|---|---|
boolean |
addFilterInstance(java.lang.String filterId,
java.lang.String filterClassName,
int filterType)
Save filter instance information to data store. |
void |
bindFilter(java.lang.String fromFilterId,
java.lang.String toFilterId)
Save the bind state to data store. |
java.util.Properties |
getFilterProperties(java.lang.String filterId)
Returns the properties of the filter. |
java.util.List<java.lang.String> |
getInputFilters(java.lang.String filterId)
Returns a List of bound source filters. |
java.util.List<java.lang.String> |
getOutputFilters(java.lang.String filterId)
Returns a List of destination filters. |
java.util.List<FilterInstance> |
loadFilterInstances()
Returns a List of all loaded filter instance informations. |
java.util.List<FilterInstance> |
loadFilterInstances(java.lang.String className)
Returns a List of loaded filter instance informations for specific filter class name. |
void |
removeFilterInstance(java.lang.String filterId)
Remove the filter instance information from data store. |
void |
resetFilterProperties(java.lang.String filterId)
Remove all properties of the filter from data store. |
void |
setFilterProperty(java.lang.String filterId,
java.lang.String name,
java.lang.String value)
Save the property of the filter instance to data store. |
void |
unbindFilter(java.lang.String fromFilterId,
java.lang.String toFilterId)
Remove the bind state from data store. |
void |
unsetFilterProperty(java.lang.String filterId,
java.lang.String name)
Remove the property of the filter instance from data store. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterConfig()
| Method Detail |
|---|
public java.util.List<FilterInstance> loadFilterInstances(java.lang.String className)
className - the filter class name
public java.util.List<FilterInstance> loadFilterInstances()
public boolean addFilterInstance(java.lang.String filterId,
java.lang.String filterClassName,
int filterType)
filterId - the filter idfilterClassName - the filter class namefilterType - active filter or not
public void removeFilterInstance(java.lang.String filterId)
filterId - the filter idpublic java.util.Properties getFilterProperties(java.lang.String filterId)
filterId - the filter id
public void setFilterProperty(java.lang.String filterId,
java.lang.String name,
java.lang.String value)
filterId - the filter idname - the name of the propertyvalue - the value of the propertypublic void resetFilterProperties(java.lang.String filterId)
filterId - the filter id
public void unsetFilterProperty(java.lang.String filterId,
java.lang.String name)
filterId - the filter idname - the name of the filter
public void bindFilter(java.lang.String fromFilterId,
java.lang.String toFilterId)
fromFilterId - the source filter idtoFilterId - the destination filter id
public void unbindFilter(java.lang.String fromFilterId,
java.lang.String toFilterId)
fromFilterId - the source filter idtoFilterId - the destination filter idpublic java.util.List<java.lang.String> getInputFilters(java.lang.String filterId)
filterId - the filter id
public java.util.List<java.lang.String> getOutputFilters(java.lang.String filterId)
filterId - the filter id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||