public abstract class AbstractFinder<REQUEST,RESULT> extends net.idea.modbcum.p.DefaultAmbitProcessor<IStructureRecord,IStructureRecord>
Modifier and Type | Class and Description |
---|---|
static class |
AbstractFinder.MODE |
static class |
AbstractFinder.SITE |
Modifier and Type | Field and Description |
---|---|
protected AbstractFinder.MODE |
mode |
protected Template |
profile |
protected REQUEST |
request |
Constructor and Description |
---|
AbstractFinder(Template profile,
REQUEST request,
AbstractFinder.MODE mode) |
Modifier and Type | Method and Description |
---|---|
AbstractFinder.MODE |
getMode() |
IStructureRecord |
process(IStructureRecord target) |
protected abstract RESULT |
query(String value) |
protected Object |
retrieveValue(IStructureRecord target,
Property key) |
void |
setMode(AbstractFinder.MODE mode) |
protected IStructureRecord |
transform(IStructureRecord record,
RESULT result) |
protected IStructureRecord |
transformResult(IStructureRecord record,
IStructureRecord result) |
protected IStructureRecord |
transformResult(IStructureRecord record,
String result) |
protected REQUEST request
protected Template profile
protected AbstractFinder.MODE mode
public AbstractFinder(Template profile, REQUEST request, AbstractFinder.MODE mode)
public AbstractFinder.MODE getMode()
public void setMode(AbstractFinder.MODE mode)
protected abstract RESULT query(String value) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected IStructureRecord transformResult(IStructureRecord record, IStructureRecord result) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected IStructureRecord transformResult(IStructureRecord record, String result) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected IStructureRecord transform(IStructureRecord record, RESULT result) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected Object retrieveValue(IStructureRecord target, Property key) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public IStructureRecord process(IStructureRecord target) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.