public class Summary extends Object implements Comparable
Modifier and Type | Field and Description |
---|---|
static int |
SELECTED_RECORD_COUNT_SUMMARY_SORT_ORDER |
static int |
SEQUENCE_RECORDS_WRITTEN_SUMMARY_SORT_ORDER |
static int |
TOTAL_RECORD_COUNT_SUMMARY_SORT_ORDER
This number is used by TransactionReport when sorting the list of Summary objects passed to
TransactionReport.generateReport().
|
Constructor and Description |
---|
Summary() |
Summary(int sortOrder,
String description,
Integer count)
Constructs a Summary.java.
|
Summary(int sortOrder,
String description,
long count)
Constructs a Summary.java.
|
Modifier and Type | Method and Description |
---|---|
static List<Summary> |
buildDefualtReportSummary(String destination,
int startingOrder)
Build a report summary list for labor general ledger posting
|
static StringBuilder |
buildSummaryDescription(String destinationName,
String operationType)
Build the description of summary with the given information
|
int |
compareTo(Object arg0)
Compare this Summary object with another summary object
(non-Javadoc)
|
boolean |
equals(Object object)
Returns true if the description of this summary object and the passed in summary object are the same
|
long |
getCount() |
String |
getDescription() |
int |
getSortOrder() |
void |
setCount(long count) |
void |
setDescription(String description) |
void |
setSortOrder(int sortOrder) |
static void |
updateReportSummary(List<Summary> reportSummary,
String summaryDescription,
int count,
int order)
Update the report summary with the given information
|
static void |
updateReportSummary(List<Summary> reportSummary,
String destinationName,
String operationType,
int count,
int order)
Update the report summary with the given information
|
public static final int TOTAL_RECORD_COUNT_SUMMARY_SORT_ORDER
public static final int SELECTED_RECORD_COUNT_SUMMARY_SORT_ORDER
public static final int SEQUENCE_RECORDS_WRITTEN_SUMMARY_SORT_ORDER
public Summary()
public Summary(int sortOrder, String description, long count)
sortOrder
- description
- count
- public int compareTo(Object arg0)
compareTo
in interface Comparable
Comparable.compareTo(java.lang.Object)
public boolean equals(Object object)
equals
in class Object
Object.equals(java.lang.Object)
public static List<Summary> buildDefualtReportSummary(String destination, int startingOrder)
destination
- description of summary displayedstartingOrder
- order how information is displayedpublic static void updateReportSummary(List<Summary> reportSummary, String destinationName, String operationType, int count, int order)
reportSummary
- list of summariesdestinationName
- description of summary displayedoperationType
- description of what action is related to the summary (i.e. insert, updated, deleted)count
- count of how many "objects" are affectedorder
- order how information is displayedpublic static void updateReportSummary(List<Summary> reportSummary, String summaryDescription, int count, int order)
reportSummary
- list of summariessummaryDescription
- description of summary displayedcount
- count of how many "objects" are affectedorder
- order how information is displayedpublic static StringBuilder buildSummaryDescription(String destinationName, String operationType)
destinationName
- description of summary displayedoperationType
- description of what action is related to the summary (i.e. insert, updated, deleted)public long getCount()
public void setCount(long count)
public String getDescription()
public void setDescription(String description)
public int getSortOrder()
public void setSortOrder(int sortOrder)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.