public class TransHeaderLogValues
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DELIM
String delimeter.
|
static java.lang.String |
VALUE_RESTRICTED
Restricted value.
|
| Constructor and Description |
|---|
TransHeaderLogValues(DataSource ds)
Creates a new instance of TransHeaderLogValues
|
| Modifier and Type | Method and Description |
|---|---|
TransHeader[] |
filterTransactionHeaders(TransHeader[] thArray,
java.util.List filters)
Returns a filtered list of transaction headers.
|
TransHeader[] |
filterTransactionHeaders(TransHeader[] thArray,
java.util.List filters,
int chunkSize)
Returns a filtered list of transaction headers.
|
HTMLComponent |
generateJournalHTML(DataSource ds,
long transId,
int transLayerId,
HTMLTheme theme,
java.lang.String reasonTx,
long baseRowUid)
Produces HTML for output of transaction id.
|
DBObject |
getCurrentObjectForRow(TransRecord record)
Returns the DB Object for the current record.
|
DBObject |
getPreviousObjectForRow(TransRecord record)
Returns the DB Object for the previous record.
|
java.lang.Object |
getValue(DBObject dbo,
DBField field)
Returns a value for the field.
|
void |
init(TransHeader th)
Initializes helper with creating archive data sources.
|
HTMLComponent |
transactionHeaderLogComponent(TransHeader th,
java.util.List controls)
Updates a list of transaction headers with a new reason from filter.
|
java.lang.String |
updateTransactionHeaderLog(TransHeader th,
java.util.List controls)
Updates a list of transaction headers with a new reason from filter.
|
public static final java.lang.String VALUE_RESTRICTED
public static final java.lang.String DELIM
public TransHeaderLogValues(DataSource ds)
ds - the root datasourcepublic void init(TransHeader th)
th - The transaction headerpublic DBObject getCurrentObjectForRow(TransRecord record) throws java.lang.Exception
record - transaction recordjava.lang.Exception - In case of errorpublic DBObject getPreviousObjectForRow(TransRecord record) throws java.lang.Exception
record - transaction recordjava.lang.Exception - In case of errorpublic java.lang.Object getValue(DBObject dbo, DBField field)
dbo - DB Objectfield - DB fieldpublic TransHeader[] filterTransactionHeaders(TransHeader[] thArray, java.util.List filters) throws java.lang.Exception
thArray - The array of transaction headersfilters - list of filtersjava.lang.Exception - If something went wrongpublic TransHeader[] filterTransactionHeaders(TransHeader[] thArray, java.util.List filters, int chunkSize) throws java.lang.Exception
thArray - The array of transaction headersfilters - list of filterschunkSize - amount of required transaction headers for displayingjava.lang.Exception - If something went wrongpublic final HTMLComponent transactionHeaderLogComponent(TransHeader th, java.util.List controls) throws java.lang.Exception
th - The transaction headercontrols - list of controlsjava.lang.Exception - If something went wrongpublic final java.lang.String updateTransactionHeaderLog(TransHeader th, java.util.List controls) throws java.lang.Exception
th - The transaction headercontrols - list of controlsjava.lang.Exception - If something went wrongpublic HTMLComponent generateJournalHTML(DataSource ds, long transId, int transLayerId, HTMLTheme theme, java.lang.String reasonTx, long baseRowUid) throws java.lang.Exception
ds - the data sourcetransLayerId - the transaction layer.transId - Transaction to return details oftheme - the theme for this componentreasonTx - optional reasonbaseRowUid - optional - if it is a positive number then only details for matching object to be displayedjava.lang.Exception - If there are errorsstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.