org.kuali.rice.kns.lookup
Class ExportViewHelper
java.lang.Object
org.kuali.rice.kns.lookup.ExportViewHelper
public class ExportViewHelper
- extends Object
A helper class to be used with the custom ExportView implementations for
Display Tag. Most of the logic for interfacing with the KNS export
system is encapsulated in this helper class so it can be shared between
the various Display Tag export implementations.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Constructor Summary |
ExportViewHelper(org.displaytag.model.TableModel tableModel)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExportViewHelper
public ExportViewHelper(org.displaytag.model.TableModel tableModel)
loadBusinessObjectEntry
protected BusinessObjectEntry loadBusinessObjectEntry()
loadBusinessObjects
protected List<BusinessObject> loadBusinessObjects(org.displaytag.model.TableModel tableModel)
getBusinessObjectEntry
public BusinessObjectEntry getBusinessObjectEntry()
getBusinessObjects
public List<BusinessObject> getBusinessObjects()
attemptCustomExport
public boolean attemptCustomExport(OutputStream outputStream,
String exportFormat)
throws IOException
- Throws:
IOException
attemptCustomExport
public boolean attemptCustomExport(Writer writer,
String exportFormat)
throws IOException
- Throws:
IOException
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.