protected static class AbstractTableBean.TableClientImpl
extends java.lang.Object
implements com.technia.tvc.core.table.EvaluatedTableClient
EvaluatedTableClient that is used when
evaluating the table.TableClient.Entry| Constructor and Description |
|---|
TableClientImpl(AbstractTableBean<? extends TableData> table,
com.technia.tvc.core.table.EvaluationParams params,
boolean isFirst) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowReuseCells()
Returns whether the evaluator may reuse cells.
|
boolean |
allowTableReload()
This method tells the
Evaluator if the client to the table allows
reloading of the table definition. |
protected <T> CloneableList<T> |
asCloneableList(java.util.List<T> l)
Returns the specified java.util.List instance as a
CloneableList instead. |
java.util.List<TableClient.Entry> |
getEntryList()
Returns the entries in the table.
|
EntryProcessor[] |
getEntryProcessors()
Returns the custom entry processor, if any.
|
Column[] |
getEvaluatedColumns() |
com.technia.tvc.core.db.table.evaluator.Transaction |
getTransaction()
Returns the transaction.
|
boolean |
isEvaluateColumn(Column column)
Returns whether the column should be evaluated.
|
boolean |
isReadOnly()
Whether the table being evaluated is read only.
|
boolean |
isRequired() |
boolean |
isTransactionAware()
Returns whether the client is aware of transactions.
|
void |
postProcess() |
void |
setColumns(java.util.List<Column> l)
Callback method that will be called in order to set/update the
columns upon evaluation of the system table.
|
void |
setStale(TableClient.Entry entry)
Makes the entry stale.
|
void |
setTransaction(com.technia.tvc.core.db.table.evaluator.Transaction transaction)
Sets the transaction.
|
public TableClientImpl(AbstractTableBean<? extends TableData> table, com.technia.tvc.core.table.EvaluationParams params, boolean isFirst)
public boolean isEvaluateColumn(Column column)
TableClientisEvaluateColumn in interface TableClientcolumn - Returns whether the evaluator should evaluate the content
in the specified column.public EntryProcessor[] getEntryProcessors()
getEntryProcessors in interface TableClientpublic boolean isReadOnly()
isReadOnly in interface TableClientpublic boolean allowTableReload()
TableClientEvaluator if the client to the table allows
reloading of the table definition.allowTableReload in interface TableClientpublic java.util.List<TableClient.Entry> getEntryList()
getEntryList in interface TableClientpublic void setColumns(java.util.List<Column> l) throws com.technia.tvc.core.db.table.evaluator.AbortEvaluationException
setColumns in interface TableClientcom.technia.tvc.core.db.table.evaluator.AbortEvaluationException - Whether the evaluation should be
canceled.protected <T> CloneableList<T> asCloneableList(java.util.List<T> l)
CloneableList instead.public boolean isTransactionAware()
TableClientisTransactionAware in interface TableClientTableClient.getTransaction() and
TableClient.setTransaction(Transaction) methods to get and update
the transaction state.public com.technia.tvc.core.db.table.evaluator.Transaction getTransaction()
TableClientgetTransaction in interface TableClientTableClient.setTransaction(Transaction)public void setTransaction(com.technia.tvc.core.db.table.evaluator.Transaction transaction)
TableClientsetTransaction in interface TableClienttransaction - The transaction information.TableClient.getTransaction()public boolean allowReuseCells()
TableClientallowReuseCells in interface TableClientpublic void setStale(TableClient.Entry entry)
TableClientsetStale in interface TableCliententry - The entry that is stale.public void postProcess()
postProcess in interface com.technia.tvc.core.table.EvaluatedTableClientpublic boolean isRequired()
isRequired in interface com.technia.tvc.core.table.EvaluatedTableClientpublic Column[] getEvaluatedColumns()
getEvaluatedColumns in interface com.technia.tvc.core.table.EvaluatedTableClientCopyright ? Technia AB. All Rights Reserved.