public class ResultSetPortlet extends PortletDataInstance
amIinitialize, DATASOURCE, INPUTMODE, labelOverride, ONDATACAHNGE, PARAM_APP, PARAM_APPTABTYPE, PARAM_DESIGNMODE, PARAM_LIGHTNING, PARAM_MOBILE, PARAM_MODULE, PARAM_PAGE, PARAM_PARENTCOMPONENT, PARAM_PARENTCONTROL, PARAM_PRESENTATION, PARAM_SCREENREADER, PARAM_SKINNAME, PARAM_TAB, PARAM_TABGROUP, PARAM_TABGROUP_MAIN, PARAM_TABLE, PARAM_USERINFO, PARAM_VERTICALLABEL, RERENDER_PROPERTY
EXCEPTION_ERROR, EXCEPTION_INFO, EXCEPTION_NONE, EXCEPTION_REQUIREDFIELD, EXCEPTION_SMARTFILL, EXCEPTION_WARNING, EXCEPTION_YESNOCANCEL, FORCE_WARNING_HANDLING, NO_PROMPT_WITH_WARNING, presentationTags, PROMPT_WHEN_WARNING_EXIST
Constructor and Description |
---|
ResultSetPortlet() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
canDownloadcsv()
returns whether or not the download csv button should be active.
|
void |
changeview()
Handles the changeDisplay event fire when user selects between
List or Graphical View in the portlet.
|
int |
clearfilter()
Removes the QBEs on the result set
|
java.lang.String |
compareValues(MboValueData mvd)
Compares two values based on the datatype of the primary value.
|
java.lang.String |
errorInPortlet()
Overridden to flag the error in getting data for the flag
Jun 6, 2007
|
java.util.ArrayList |
generateGraphData()
Returns result set data as mbo value data
|
java.lang.String |
getApp()
Returns the app for the query
|
java.lang.String |
getAppName()
Returns app name of the result set.
|
java.lang.String |
getConditionAttribute()
Returns display condition attribute associated with this protlet
|
java.util.HashSet |
getConditions()
Returns display conditions associated with this protlet
|
MboSetInfo |
getConfigMboSetInfo()
Returns MBoSetInfo for the current Set
|
boolean |
getErrorCondition() |
java.lang.String |
getFilterWhere(java.lang.String rsKey)
Returns a complete where clause based on the query where and filter where
This is passed to the application being called when clicking on the pie chart
|
java.util.Properties |
getGraphDetails()
Calls method on the remotes to get graph related details
|
java.lang.String |
getGraphError()
Overridden to flag the error in getting data for the flag
Jun 6, 2007
|
java.lang.String[] |
getGroupByAttribute()
Returns display condition attribute associated with this protlet
|
java.lang.String |
getKeyColumn()
Returns key column in the result set.
|
java.lang.String[] |
getLabels()
Returns labels for this portlet.
|
java.util.ArrayList |
getNonPersistentColumns()
Returns a collection of the columns that are non persistent
|
int |
getNoOfRecords()
Returns No of records
|
java.lang.String |
getQbeSetting(java.lang.String attribName)
Returns the qbes set on the result set
|
MboSetRemote |
getQueryMboSet(java.lang.String orderby)
return a MboSetRemote for the result set portlet query
|
MboSetInfo |
getResultMboSetInfo()
Called to get information on the attributes for the underlying table the query is bound to
|
MboSetData |
getResultSet()
Returns result set data as mbo value data
|
java.util.Vector |
getResultSetAttributes()
Returns a collection of the columns the user has selected to display the result set for
|
java.lang.String |
getSortAttribute(java.lang.String sortIndex)
Return the attribute name for sorting given a column index
|
void |
gotoportletapp()
Go to the application that the result set is based on, and apply the
full where clause of the result set in the portlet
|
boolean |
hasViewChanged() |
void |
initialize()
Overridden to store graph preference
|
java.lang.String |
isFilterOpen()
Returns whether filter panel is open
|
boolean |
isFilterSet()
Returns true if filter is set on this portlet
|
boolean |
isSiteError()
Returns if the site is different than the current site.
|
void |
openrecord()
Call through the method in superclass to open an app with unqiueid
|
boolean |
queryExists()
Returns true if the related query exists
|
int |
rsdisplay()
Handles call to show the dialog for changing a Result Set graph option
|
void |
setErrorCondition(boolean flag) |
void |
setFilterToggled(boolean flag) |
void |
setqbeandfilter()
This method handles the "setqbeandfilter" event where use enters a qbe and presses the enter key
|
void |
setQbes(java.lang.String qbeKeyValuePair)
Stores the qbe done on the result set portlet graph
|
void |
setUpDefaults()
Call mnethod on the remotes to setup defaults fot the set
|
int |
setvalue()
This method handles the "setqbe" event where use enters a qbe and tabs out
|
void |
setViewChanged(boolean flag) |
void |
showrsdata()
Called when a sector in the pie or bar of the chart is clicked
|
void |
togglefilter()
Simply toggles the expanded state of the section
|
checkOrStoreCachedProperty, cleanup, createRenderData, deleteportlet, editportlet, filter, formatNumber, getAppBean, getAppId, getKPIImage, getLabels, getPortletCacheId, getStartCenterPane, getStateManager, hasData, instantiatedatasrc, isFiltered, isFilterToggled, isLinkedToKPI, isLinkedToReport, isMaximised, isPortletStateChanged, isPortletUpdated, isPortletVisible, openrecord, openreport, percentKPIMark, refreshdata, scroll, setFiltered, setHasData, setHasLinkedReportsOrKPIs, setPortletStateChanged, setPortletUpdated, sort, toggleportlet
broadcastEvent, getDataBean, instantiatedatasrcdesign, render
addChild, addComponent, canInsert, canInsert, canRemove, childHasError, childHasErrorFocus, clearComponent, clearErrors, copy, createRenderId, errorLevelChanged, eventCheck, findComponentByDescriptorId, findDesignerProperty, findProperty, findUseForLablledByComponent, getAdaptorInstance, getBoundComponent, getComponent, getComponents, getConditonallyChanged, getDataSource, getDescriptorControl, getDesignerProperty, getDesignerSelected, getDesignerSelectedControl, getElement, getErrorLevel, getGeneratedControl, getOriginalControl, getOriginalProperty, getProperties, getProperty, getProperty, getPropertyIgnoreFlags, getPropertyOriginator, getPropertyUncle, getRecordHover, getSkipPreRender, getTableControl, getTakesValueComponent, handleEvent, hasChanged, hasChangedConditionally, hasChildElements, hasMaskedChanged, hasRecordHover, hasVisibleChildren, isDesignerEditedProperty, isDisabled, isFocusable, isGenerated, isHiddenByLicense, isIncluded, isLastChild, isMainrecActionMenu, isMasked, isOnTableFilterRow, isOnTableTitleRow, isPersistentProperty, isReInitialize, isSelected, isToBeDisplayedOnCurrentTab, isToBeDisplayedOnTab, isVisible, launchexternal, moveChild, needsRender, parseParamvalues, preRender, preRenderChecks, quickinsert, registerDesignerEditedProperty, reInitialize, removeChild, renderChildren, resetDataSource, resolveParam, resolveParams, setAttributeError, setBoundComponent, setChangedFlag, setChangedFlag, setDesignerSelected, setDisabled, setElement, setErrorFocusOnControl, setFocus, setFocus, setFocusable, setFocusTable, setGenerated, setGeneratedControl, setIncluded, setIncluded, setNeedsRender, setOnTableFilterRow, setOnTableRow, setOnTableTitleRow, setOriginalControl, setPropertyOriginator, setPropertyUncle, setReInitialize, setReRenderFlags, setSelected, setSkipPreRender, setTableControl, setVisibility, stopRender, walkForId, walkForId
addChild, addChild, addRefreshListener, clearChildren, clearProperties, clone, clone, getBoolean, getChildCount, getChildIndex, getChildren, getConsiderInDesigner, getDescriptor, getId, getIdExtension, getInt, getLocalizedType, getPage, getParent, getParentInstance, getPropertyNames, getRefreshListeners, getRenderId, getRowNum, getSafeId, getString, getType, getWebClientSession, handleEvent, hasAnyPropertyChanged, hasLocalProperty, hasPropertyChanged, initProperty, isDynamicContainer, isOnTable, isOnTableRow, maintainControlId, removeProperty, setConsiderInDesigner, setDescriptor, setDynamicContainer, setOnTable, setParent, setProperty, setProperty, setRenderId, setType, setWebClientSession, toString
public MboSetData getResultSet() throws MXException, java.rmi.RemoteException
starting
- indexend
- indexMXException
java.rmi.RemoteException
public MboSetInfo getResultMboSetInfo() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetInfo getConfigMboSetInfo() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.ArrayList generateGraphData() throws MXException, java.rmi.RemoteException
starting
- indexend
- indexMXException
java.rmi.RemoteException
public int getNoOfRecords() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getKeyColumn() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getAppName() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Vector getResultSetAttributes() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getSortAttribute(java.lang.String sortIndex)
getSortAttribute
in class PortletDataInstance
colIndex
- public java.lang.String getApp() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isSiteError()
public java.util.HashSet getConditions() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String getConditionAttribute() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String[] getGroupByAttribute() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String compareValues(MboValueData mvd)
mvd
- MboValueData value to be comparedexpressions
- MboValueData[][] containing data for Portlet display conditionspublic java.util.Properties getGraphDetails() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String getFilterWhere(java.lang.String rsKey) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void setUpDefaults() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void setQbes(java.lang.String qbeKeyValuePair)
attributeName
- qbeExpression
- public java.lang.String getQbeSetting(java.lang.String attribName)
public int clearfilter()
public boolean isFilterSet()
public boolean queryExists() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String[] getLabels()
public void changeview()
public int rsdisplay()
public void setqbeandfilter()
public int setvalue()
public boolean hasViewChanged()
public void setViewChanged(boolean flag)
listViewOn
- - Set true if the user would like to see portlet in list or graphical mode.public void openrecord()
public void gotoportletapp()
public void initialize()
initialize
in class PortletDataInstance
PortletDataInstance.initialize()
public java.lang.String errorInPortlet() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
psdi.webclient.controls.PortletDataInstance#errorInPortlet()
public java.lang.String getGraphError() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
psdi.webclient.controls.PortletDataInstance#errorInPortlet()
public void showrsdata()
public void togglefilter()
togglefilter
in class PortletDataInstance
public java.lang.String isFilterOpen()
isFilterOpen
in class PortletDataInstance
public void setFilterToggled(boolean flag)
setFilterToggled
in class PortletDataInstance
public void setErrorCondition(boolean flag)
public boolean getErrorCondition()
public java.util.ArrayList getNonPersistentColumns() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.Object canDownloadcsv()
public MboSetRemote getQueryMboSet(java.lang.String orderby) throws MXException, java.rmi.RemoteException
orderby
- MXException
java.rmi.RemoteException