public class ComplexDocumentFilter extends Object implements DocumentFilter
DocumentFilter.Action
Constructor and Description |
---|
ComplexDocumentFilter(NamedTable parentTable,
NamedTable childTable,
RuntimeMetadata metadata,
String filter,
DocumentFilter.Action action) |
Modifier and Type | Method and Description |
---|---|
DocumentFilter.Action |
action()
when matches what is action to take with child document.
|
boolean |
matches(Map<String,Object> parentProperties,
Map<String,Object> childProperties)
Does the the document with given properties matches filter?
|
public ComplexDocumentFilter(NamedTable parentTable, NamedTable childTable, RuntimeMetadata metadata, String filter, DocumentFilter.Action action) throws TranslatorException
TranslatorException
public boolean matches(Map<String,Object> parentProperties, Map<String,Object> childProperties) throws TranslatorException
DocumentFilter
matches
in interface DocumentFilter
TranslatorException
public DocumentFilter.Action action()
DocumentFilter
action
in interface DocumentFilter
Copyright © 2017 JBoss by Red Hat. All rights reserved.