public class DataExporter extends OutputResource
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_FAMILY |
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
CSV_TYPE |
static java.lang.String |
DEFAULT_RENDERER_TYPE |
static java.lang.String |
EXCEL_TYPE |
static java.lang.String |
PDF_TYPE |
registeredResource, resource, TYPE_BUTTON, TYPE_IMAGE| Constructor and Description |
|---|
DataExporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInfo() |
void |
broadcast(javax.faces.event.FacesEvent event) |
java.lang.String |
getClickToCreateFileText()
Deprecated.
|
java.lang.String |
getComponentType() |
java.lang.String |
getFamily() |
java.lang.String |
getFor() |
java.lang.String |
getIncludeColumns() |
java.lang.String |
getLabel() |
OutputTypeHandler |
getOutputTypeHandler() |
java.lang.String |
getPopupBlockerLabel() |
protected java.util.List |
getRenderedChildColumnsList(javax.faces.component.UIComponent component) |
java.lang.String |
getRendererType() |
java.lang.String |
getStyleClass()
Return the value of the
styleClass property. |
java.lang.String |
getType() |
javax.faces.component.UIData |
getUIData() |
boolean |
isIgnorePagination()
Return the value of the
ignorePagination property. |
boolean |
isReadyToExport() |
boolean |
isRenderLabelAsButton()
Return the value of the
renderLabelAsButton property. |
protected void |
processAllColumns(javax.faces.context.FacesContext fc,
OutputTypeHandler outputHandler,
java.util.List columns,
java.lang.String[] includeColumnsArray,
int countOfRowsDisplayed,
boolean footer) |
protected void |
processColumn(javax.faces.context.FacesContext fc,
OutputTypeHandler outputHandler,
javax.faces.component.UIComponent uiColumn,
int colIndex,
int countOfRowsDisplayed) |
protected void |
processColumnFooter(javax.faces.context.FacesContext fc,
OutputTypeHandler outputHandler,
javax.faces.component.UIComponent uiColumn,
int colIndex,
int countOfRowsDisplayed) |
protected void |
processColumnHeader(javax.faces.context.FacesContext fc,
OutputTypeHandler outputHandler,
javax.faces.component.UIComponent uiColumn,
int colIndex) |
protected void |
renderInUserDefinedOrder(javax.faces.context.FacesContext fc,
OutputTypeHandler outputHandler,
java.util.List columns,
java.lang.String[] includeColumnsArray,
int colIndex,
int countOfRowsDisplayed,
boolean footer) |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
Perform any processing required to restore the state from the entries in
the state Object.
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
Gets the state of the instance as a
Serializable Object. |
void |
setClickToCreateFileText(java.lang.String clickToCreateFileText)
Deprecated.
|
void |
setFor(java.lang.String forValue) |
void |
setIgnorePagination(boolean ignorePagination)
Set the value of the
ignorePagination property. |
void |
setIncludeColumns(java.lang.String includeColumns) |
void |
setOutputTypeHandler(OutputTypeHandler outputTypeHandler) |
void |
setPopupBlockerLabel(java.lang.String popupBlockerLabel) |
void |
setReadyToExport(boolean readyToExport) |
void |
setRenderLabelAsButton(boolean renderLabelAsButton)
Set the value of the
renderLabelAsButton property. |
void |
setStyleClass(java.lang.String styleClass) |
void |
setType(java.lang.String type) |
getAttachment, getFileName, getImage, getLastModified, getLastResourceHashCode, getMimeType, getPath, getRenderedOnUserRole, getResource, getStyle, getTarget, isAttachment, isDisabled, isRendered, isShared, setAttachment, setDisabled, setFileName, setImage, setLabel, setLastModified, setMimeType, setRenderedOnUserRole, setResource, setShared, setStyle, setTargetaddClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreepublic static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String DEFAULT_RENDERER_TYPE
public static final java.lang.String EXCEL_TYPE
public static final java.lang.String CSV_TYPE
public static final java.lang.String PDF_TYPE
public java.lang.String getFamily()
getFamily in class OutputResourcepublic java.lang.String getComponentType()
getComponentType in class OutputResourcepublic java.lang.String getRendererType()
getRendererType in class OutputResourcepublic javax.faces.component.UIData getUIData()
public java.lang.String getFor()
public void setFor(java.lang.String forValue)
public java.lang.String getType()
getType in class OutputResourcepublic void setType(java.lang.String type)
setType in class OutputResourcepublic boolean isReadyToExport()
public void setReadyToExport(boolean readyToExport)
public java.lang.String getClickToCreateFileText()
public void setClickToCreateFileText(java.lang.String clickToCreateFileText)
public OutputTypeHandler getOutputTypeHandler()
public void setOutputTypeHandler(OutputTypeHandler outputTypeHandler)
public java.lang.Object saveState(javax.faces.context.FacesContext context)
OutputResource
Gets the state of the instance as a Serializable Object.
saveState in interface javax.faces.component.StateHoldersaveState in class OutputResourcepublic void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
OutputResourcePerform any processing required to restore the state from the entries in the state Object.
restoreState in interface javax.faces.component.StateHolderrestoreState in class OutputResourcepublic java.lang.String getLabel()
getLabel in class OutputResourcepublic void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
broadcast in class javax.faces.component.UIComponentBasejavax.faces.event.AbortProcessingExceptionprotected java.util.List getRenderedChildColumnsList(javax.faces.component.UIComponent component)
public void addInfo()
addInfo in class OutputResourcepublic void setIgnorePagination(boolean ignorePagination)
Set the value of the ignorePagination property.
public boolean isIgnorePagination()
Return the value of the ignorePagination property.
public void setRenderLabelAsButton(boolean renderLabelAsButton)
Set the value of the renderLabelAsButton property.
public boolean isRenderLabelAsButton()
Return the value of the renderLabelAsButton property.
public void setStyleClass(java.lang.String styleClass)
setStyleClass in class OutputResourcepublic java.lang.String getStyleClass()
OutputResource
Return the value of the styleClass property.
getStyleClass in class OutputResourceprotected void processAllColumns(javax.faces.context.FacesContext fc,
OutputTypeHandler outputHandler,
java.util.List columns,
java.lang.String[] includeColumnsArray,
int countOfRowsDisplayed,
boolean footer)
protected void processColumnHeader(javax.faces.context.FacesContext fc,
OutputTypeHandler outputHandler,
javax.faces.component.UIComponent uiColumn,
int colIndex)
protected void processColumnFooter(javax.faces.context.FacesContext fc,
OutputTypeHandler outputHandler,
javax.faces.component.UIComponent uiColumn,
int colIndex,
int countOfRowsDisplayed)
protected void processColumn(javax.faces.context.FacesContext fc,
OutputTypeHandler outputHandler,
javax.faces.component.UIComponent uiColumn,
int colIndex,
int countOfRowsDisplayed)
public java.lang.String getIncludeColumns()
public void setIncludeColumns(java.lang.String includeColumns)
protected void renderInUserDefinedOrder(javax.faces.context.FacesContext fc,
OutputTypeHandler outputHandler,
java.util.List columns,
java.lang.String[] includeColumnsArray,
int colIndex,
int countOfRowsDisplayed,
boolean footer)
public java.lang.String getPopupBlockerLabel()
public void setPopupBlockerLabel(java.lang.String popupBlockerLabel)
Copyright 2025 ICEsoft Technologies Canada, Corp. All Rights Reserved.