org.kuali.rice.kns.lookup
Class ExportViewHelper

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean attemptCustomExport(OutputStream outputStream, String exportFormat)
           
 boolean attemptCustomExport(Writer writer, String exportFormat)
           
 BusinessObjectEntry getBusinessObjectEntry()
           
 List<BusinessObject> getBusinessObjects()
           
protected  BusinessObjectEntry loadBusinessObjectEntry()
           
protected  List<BusinessObject> loadBusinessObjects(org.displaytag.model.TableModel tableModel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportViewHelper

public ExportViewHelper(org.displaytag.model.TableModel tableModel)
Method Detail

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 © 2005–2014 The Kuali Foundation. All rights reserved.