public abstract class TransactionFormatter
extends java.lang.Object
Constructor and Description |
---|
TransactionFormatter(Transaction _tx) |
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.
|
java.lang.String |
format(int from) |
java.lang.String |
format(int from,
int till) |
java.lang.String |
format(int from,
int till,
int maxProcs) |
java.lang.String |
format(int from,
int till,
int maxProcs,
BO onlyThisBO) |
java.lang.String |
format(int from,
int till,
int maxProcs,
BO onlyThisBO,
boolean canonize) |
java.lang.String |
format(int from,
int till,
int maxProcs,
BO onlyThisBO,
boolean canonize,
boolean skipBackProcs) |
void |
formatToSB(java.lang.StringBuilder sb) |
void |
formatToSB(java.lang.StringBuilder sb,
java.util.Collection<BOProcI> procs,
boolean omitPrefix) |
void |
formatToSB(java.lang.StringBuilder sb,
int from) |
void |
formatToSB(java.lang.StringBuilder sb,
int from,
int till) |
void |
formatToSB(java.lang.StringBuilder sb,
int from,
int till,
int maxProcs) |
void |
formatToSB(java.lang.StringBuilder sb,
int from,
int till,
int maxProcs,
BO onlyThisBO) |
void |
formatToSB(java.lang.StringBuilder sb,
int from,
int till,
int maxProcs,
BO onlyThisBO,
boolean canonize) |
void |
formatToSB(java.lang.StringBuilder sb,
int from,
int till,
int maxProcs,
BO onlyThisBO,
boolean canonize,
boolean skipBackProcs) |
abstract java.lang.String |
getFooter() |
abstract java.lang.String |
getHeader() |
abstract java.lang.String |
getItemEnd() |
abstract java.lang.String |
getItemStart() |
public TransactionFormatter(Transaction _tx)
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 java.lang.String format(int from)
public java.lang.String format(int from, int till)
public java.lang.String format(int from, int till, int maxProcs)
public java.lang.String format(int from, int till, int maxProcs, BO onlyThisBO)
public java.lang.String format(int from, int till, int maxProcs, BO onlyThisBO, boolean canonize)
public java.lang.String format(int from, int till, int maxProcs, BO onlyThisBO, boolean canonize, boolean skipBackProcs)
public void formatToSB(java.lang.StringBuilder sb)
public void formatToSB(java.lang.StringBuilder sb, int from)
public void formatToSB(java.lang.StringBuilder sb, int from, int till)
public void formatToSB(java.lang.StringBuilder sb, int from, int till, int maxProcs)
public void formatToSB(java.lang.StringBuilder sb, int from, int till, int maxProcs, BO onlyThisBO)
public void formatToSB(java.lang.StringBuilder sb, int from, int till, int maxProcs, BO onlyThisBO, boolean canonize)
public void formatToSB(java.lang.StringBuilder sb, int from, int till, int maxProcs, BO onlyThisBO, boolean canonize, boolean skipBackProcs)
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.