public abstract class TransactionFormatter
extends java.lang.Object
| Constructor and Description |
|---|
TransactionFormatter(TransactionFormatterBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
asHTML() |
java.lang.String |
format()
Converts the procedures of this TransactionFormatter's transaction to a human-readable string representation according to the given settings.
|
void |
formatToSB(java.lang.StringBuilder sb) |
void |
formatToSB(java.lang.StringBuilder sb,
java.util.Collection<BOProcI> procs,
boolean omitPrefix) |
abstract java.lang.String |
getFooter() |
abstract java.lang.String |
getHeader() |
abstract java.lang.String |
getItemEnd() |
abstract java.lang.String |
getItemStart() |
public TransactionFormatter(TransactionFormatterBuilder builder)
public java.lang.String format()
from - Start index(inclusive) of the procs inside the Transaction that are to be printed.till - End index(inclusive) of the procs inside the Transaction that are to be printed.
A value of -1 is equivalent to printing all.maxProcs - Number of procs that are to be printed (exclusive). A value of -1 means unlimited.onlyThisBO - If not null, only BOProcI-s affecting this BO will be included in the output.canonize - Whether the procs of the transaction are to be canonized Transaction.canonize(boolean).skipBackProcs - Whether to skip "redundant" procs setting only back relations from the output. Only makes sense if canonize is
passed as true as well.public void formatToSB(java.lang.StringBuilder sb)
public void formatToSB(java.lang.StringBuilder sb,
java.util.Collection<BOProcI> procs,
boolean omitPrefix)
public abstract boolean asHTML()
public abstract java.lang.String getHeader()
public abstract java.lang.String getItemStart()
public abstract java.lang.String getItemEnd()
public abstract java.lang.String getFooter()
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.