public class TransactionFormatterSummarizedPlain extends TransactionFormatter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
L10N_KEY_CHANGED_BOS_BY_TYPE |
static java.lang.String |
L10N_KEY_CREATED_BOS_BY_TYPE |
static java.lang.String |
L10N_KEY_DELETED_BOS_BY_TYPE |
static java.lang.String |
L10N_KEY_PURGED_BOS_BY_TYPE |
static org.apache.log4j.Logger |
log |
Constructor and Description |
---|
TransactionFormatterSummarizedPlain(Transaction tx) |
Modifier and Type | Method and Description |
---|---|
void |
appendMapAsItems(java.lang.StringBuilder sb,
java.util.Map<EntityI,java.util.Collection<BO>> map,
java.lang.String l10nKeyToUse)
helper method which turns BO types (entities) and the number of affected BOs into an item in this Transaction format
|
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 _to) |
java.lang.String |
format(int _from,
int _to,
int _max) |
java.lang.String |
format(int _from,
int _to,
int _max,
BO _onlyThisBO) |
java.lang.String |
format(int _from,
int _to,
int _max,
BO _onlyThisBO,
boolean _canonize) |
java.lang.String |
format(int _from,
int _to,
int _max,
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 to) |
void |
formatToSB(java.lang.StringBuilder sb,
int from,
int to,
int max) |
void |
formatToSB(java.lang.StringBuilder sb,
int from,
int to,
int max,
BO onlyThisBO) |
void |
formatToSB(java.lang.StringBuilder sb,
int from,
int to,
int max,
BO onlyThisBO,
boolean canonize) |
void |
formatToSB(java.lang.StringBuilder sb,
int from,
int to,
int max,
BO onlyThisBO,
boolean canonize,
boolean skipBackProcs) |
java.util.Map<EntityI,java.util.Collection<BO>> |
getBOsByEntityAndProcType(java.util.Collection<BOProcI> procs,
boolean creationProcs,
boolean deletionProcs,
boolean changingProcs,
boolean purgingProcs)
Collects all BOs and their types from procs, filtered for types, as determined via flags.
|
java.util.Map<EntityI,java.util.Collection<BO>> |
getChangedBOsByEntity(java.util.Collection<BOProcI> procs) |
java.util.Map<EntityI,java.util.Collection<BO>> |
getCreatedBOsByEntity(java.util.Collection<BOProcI> procs) |
java.util.Map<EntityI,java.util.Collection<BO>> |
getDeletedBOsByEntity(java.util.Collection<BOProcI> procs) |
java.lang.String |
getFooter() |
java.lang.String |
getHeader() |
java.lang.String |
getItemEnd() |
java.lang.String |
getItemStart() |
java.util.Map<EntityI,java.util.Collection<BO>> |
getPurgedBOsByEntity(java.util.Collection<BOProcI> procs) |
public static final org.apache.log4j.Logger log
public static final java.lang.String L10N_KEY_CREATED_BOS_BY_TYPE
public static final java.lang.String L10N_KEY_DELETED_BOS_BY_TYPE
public static final java.lang.String L10N_KEY_CHANGED_BOS_BY_TYPE
public static final java.lang.String L10N_KEY_PURGED_BOS_BY_TYPE
public TransactionFormatterSummarizedPlain(Transaction tx)
public java.lang.String format()
TransactionFormatter
format
in class TransactionFormatter
public java.lang.String format(int _from)
format
in class TransactionFormatter
public java.lang.String format(int _from, int _to)
format
in class TransactionFormatter
public java.lang.String format(int _from, int _to, int _max)
format
in class TransactionFormatter
public java.lang.String format(int _from, int _to, int _max, BO _onlyThisBO)
format
in class TransactionFormatter
public java.lang.String format(int _from, int _to, int _max, BO _onlyThisBO, boolean _canonize)
format
in class TransactionFormatter
public java.lang.String format(int _from, int _to, int _max, BO _onlyThisBO, boolean _canonize, boolean skipBackProcs)
format
in class TransactionFormatter
public void formatToSB(java.lang.StringBuilder sb)
formatToSB
in class TransactionFormatter
public void formatToSB(java.lang.StringBuilder sb, int from)
formatToSB
in class TransactionFormatter
public void formatToSB(java.lang.StringBuilder sb, int from, int to)
formatToSB
in class TransactionFormatter
public void formatToSB(java.lang.StringBuilder sb, int from, int to, int max)
formatToSB
in class TransactionFormatter
public void formatToSB(java.lang.StringBuilder sb, int from, int to, int max, BO onlyThisBO)
formatToSB
in class TransactionFormatter
public void formatToSB(java.lang.StringBuilder sb, int from, int to, int max, BO onlyThisBO, boolean canonize)
formatToSB
in class TransactionFormatter
public void formatToSB(java.lang.StringBuilder sb, int from, int to, int max, BO onlyThisBO, boolean canonize, boolean skipBackProcs)
formatToSB
in class TransactionFormatter
public void formatToSB(java.lang.StringBuilder sb, java.util.Collection<BOProcI> procs, boolean omitPrefix)
formatToSB
in class TransactionFormatter
public void appendMapAsItems(java.lang.StringBuilder sb, java.util.Map<EntityI,java.util.Collection<BO>> map, java.lang.String l10nKeyToUse)
public java.util.Map<EntityI,java.util.Collection<BO>> getCreatedBOsByEntity(java.util.Collection<BOProcI> procs)
public java.util.Map<EntityI,java.util.Collection<BO>> getDeletedBOsByEntity(java.util.Collection<BOProcI> procs)
public java.util.Map<EntityI,java.util.Collection<BO>> getChangedBOsByEntity(java.util.Collection<BOProcI> procs)
public java.util.Map<EntityI,java.util.Collection<BO>> getPurgedBOsByEntity(java.util.Collection<BOProcI> procs)
public java.util.Map<EntityI,java.util.Collection<BO>> getBOsByEntityAndProcType(java.util.Collection<BOProcI> procs, boolean creationProcs, boolean deletionProcs, boolean changingProcs, boolean purgingProcs)
procs
- the procs to filtercreationProcs
- if false, creation procs (and new BOs) are not looked atdeletionProcs
- if false, deletion procs are not looked atchangingProcs
- if false, change procs (changes + BLOB changes) are not looked atpurgingProcs
- if false, purge procs are not looked atpublic boolean asHTML()
asHTML
in class TransactionFormatter
public java.lang.String getHeader()
getHeader
in class TransactionFormatter
public java.lang.String getItemStart()
getItemStart
in class TransactionFormatter
public java.lang.String getItemEnd()
getItemEnd
in class TransactionFormatter
public java.lang.String getFooter()
getFooter
in class TransactionFormatter
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.