public interface ReportWriterService
Modifier and Type | Method and Description |
---|---|
void |
pageBreak()
Breaking the page and write a new header
|
void |
writeError(org.kuali.rice.krad.bo.BusinessObject businessObject,
List<Message> messages)
Same as writeError except that it provides for multiple messages for the BO.
|
void |
writeError(org.kuali.rice.krad.bo.BusinessObject businessObject,
Message message)
Writes an error message for the passed in business object.
|
void |
writeFormattedMessageLine(String format)
Pass through to PrintStream.printf except that it also handles pagination.
|
void |
writeFormattedMessageLine(String format,
Object... args)
Pass through to PrintStream.printf except that it also handles pagination.
|
void |
writeMultipleFormattedMessageLines(String format,
Object... args) |
void |
writeNewLines(int lines)
Writes "lines" number of newlines to the report
|
void |
writeParameterLine(String message,
Object... args)
Writes parameter usually placed at the end of the report.
|
void |
writeStatisticLine(String message,
Object... args)
Writes statistics usually placed at the end of the report.
|
void |
writeSubTitle(String message)
Writes a centered message.
|
void |
writeTable(List<? extends org.kuali.rice.krad.bo.BusinessObject> businessObjects,
boolean isHeaderRepeatedInNewPage,
boolean isRowBreakAcrossPageAllowed)
Write table into a report for the given list of business objects
|
void |
writeTableHeader(org.kuali.rice.krad.bo.BusinessObject businessObject)
Write table header into a report for the given business object
|
void |
writeTableHeader(Class<? extends org.kuali.rice.krad.bo.BusinessObject> businessObjectClass)
Write table header into a report for business objects of the given class
|
void |
writeTableRow(org.kuali.rice.krad.bo.BusinessObject businessObject)
Write table row into a report for the given business object
|
void |
writeTableRowSeparationLine(org.kuali.rice.krad.bo.BusinessObject businessObject)
write a separation line in a table
|
void |
writeTableRowWithColspan(org.kuali.rice.krad.bo.BusinessObject businessObject)
Write table row into a report for the given business object and also take the colspan in account
|
void writeSubTitle(String message)
message
- to be written centeredvoid writeError(org.kuali.rice.krad.bo.BusinessObject businessObject, Message message)
businessObject
- controlling the table header and values to be printedmessage
- associated with the businessObjectvoid writeError(org.kuali.rice.krad.bo.BusinessObject businessObject, List<Message> messages)
businessObject
- controlling the table header and values to be printedmessages
- associated with the businessObjectvoid writeStatisticLine(String message, Object... args)
message
- to writeargs
- for the message per standard String.formatvoid writeParameterLine(String message, Object... args)
message
- to writeargs
- for the message per standard String.formatvoid writeNewLines(int lines)
lines
- number of newlines to write to the reportvoid writeFormattedMessageLine(String format)
format
- void writeFormattedMessageLine(String format, Object... args)
format
- args
- void writeMultipleFormattedMessageLines(String format, Object... args)
void writeTableHeader(org.kuali.rice.krad.bo.BusinessObject businessObject)
businessObject
- the given business objectvoid writeTableHeader(Class<? extends org.kuali.rice.krad.bo.BusinessObject> businessObjectClass)
businessObjectClass
- the given class of a business objectvoid writeTableRow(org.kuali.rice.krad.bo.BusinessObject businessObject)
businessObject
- the given business objectvoid writeTable(List<? extends org.kuali.rice.krad.bo.BusinessObject> businessObjects, boolean isHeaderRepeatedInNewPage, boolean isRowBreakAcrossPageAllowed)
businessObjects
- the given business objectsisHeaderRepeatedInNewPage
- instruct if the header row needs to be repeated in a new pageisRowBreakAcrossPageAllowed
- determine whether a row can be broken across pagesvoid pageBreak()
void writeTableRowWithColspan(org.kuali.rice.krad.bo.BusinessObject businessObject)
businessObject
- the given business objectvoid writeTableRowSeparationLine(org.kuali.rice.krad.bo.BusinessObject businessObject)
businessObject
- the given business objectCopyright © 2004–2015 The Kuali Foundation. All rights reserved.