public class ReportDialogBean extends DataBean
ALL_BOOKMARKS, ALL_RECORDS, ATTR_COLUMN, ATTR_DEFAULT, ATTR_QBE, ATTR_READONLY, ATTR_REFRESH_TABLE, ATTR_REQUIRED, ATTR_RESET, MAX_TABLEROWS, TABLE_ALL_SELECTED, TABLE_AT_FIRST_PAGE, TABLE_AT_FIRST_ROW, TABLE_AT_LAST_PAGE, TABLE_AT_LAST_ROW, TABLE_DETAILS_EXPANDED, TABLE_EXPANDED, TABLE_FILTER_EXPANDED, TABLE_FILTERED, TABLE_REFRESH_ALL_ROWS, TABLE_REFRESH_FILTER, TABLE_REFRESH_ROW, TABLE_REFRESH_TITLE, TABLE_ROW_CHANGED, TABLE_START_EMPTY, TABLE_SUBSELECT_ON, TABLE_USE_SUBSELECT
EVENT_CONTINUE, EVENT_HANDLED, EVENT_STOP_ALL
Constructor and Description |
---|
ReportDialogBean() |
Modifier and Type | Method and Description |
---|---|
void |
createScheduleRecord(java.util.Hashtable reportParams,
DataBean rptParmBean,
MboRemote thisRpt) |
int |
displayRequestDialog(java.lang.String pageName) |
int |
editadhocreport() |
java.lang.String |
fetchProperty(java.util.Properties maxProps,
java.lang.String propName) |
void |
getCustomReportProps(java.util.Properties maxProps,
java.util.Hashtable reportParams) |
java.util.Hashtable |
getEmailSchedParams(java.util.Hashtable reportParams,
DataBean rptParmBean,
java.lang.String reportType) |
java.lang.String |
getFileDesc(java.lang.String appName,
java.lang.String filename) |
java.util.Hashtable |
getMaxPropRptParams(java.util.Hashtable reportParams,
MXSession mxsession) |
java.util.Properties |
getMaxProps() |
java.util.Hashtable |
getRptRecordParams(java.util.Hashtable reportParams,
MXSession mxsession,
MboSetRemote reportData) |
java.lang.String |
getSearchFolder()
This is a dummy method.
|
java.lang.String |
getSelectionWhere(DataBean resultsBean)
Constructs an returns the "in" statement for the selected records based
on the results bean passed in.
|
java.util.Hashtable |
getStdParams(java.util.Hashtable reportParams,
MXSession mxsession) |
java.util.Hashtable |
getWhereParams(java.util.Hashtable reportParams,
MXSession mxsession,
DataBean rptParmBean,
java.lang.String reportNum,
boolean useWhere) |
java.util.Hashtable |
getWhereParams(java.util.Hashtable reportParams,
MXSession mxsession,
DataBean rptParmBean,
java.lang.String reportNum,
boolean useWhere,
boolean isdetail) |
int |
handleQuickReporting(java.lang.String reportType,
WebClientEvent event,
java.util.Hashtable reportParams,
java.lang.String reportNum,
boolean attachdoc,
java.lang.String rptParmKey,
java.lang.String brosDPUrl)
Creates the Birt PDF url and pass control to PrintDocs if PAD option is
selected
|
void |
initialize()
Typically called after the DataBean gets a new MboSetRemote
On the MboSetRemote it sets the app, the app defaults, user defaults
If the remote is an instanceof NonPersistentMboSetRemote then setup is
called on it and sets the current row to 0.
|
boolean |
isLookupMultiSelect(BoundComponentInstance component,
boolean isQueryInput)
Override this method in individual beans if other application-specific factors need to be considered
in addition to whether or not the control is query-based to determine if a lookup is MultiSelect
or not.
|
MboRemote |
linkFileDesc(java.lang.String destfoldername,
java.lang.String filename,
java.lang.String ext) |
java.lang.String |
noDef(java.lang.String val) |
java.lang.String |
nsDef(java.lang.String val) |
java.lang.String |
qualifyWhere(MXSession mxsession,
java.lang.String where,
java.lang.String baseTable)
Deprecated.
Replaced by ReportUtil.qualifyWhere(where, baseTable)
|
int |
requestreportrun() |
int |
runrequestpage() |
void |
setDate(java.lang.String controlId,
java.lang.String attribute,
java.util.Date value)
Once this is removed, merge setDate and setDateInternal
|
void |
setQbe(java.lang.String attribute,
java.lang.String expression)
Sets a QBE expression to the attribute.
|
java.util.Hashtable |
setRedirect(java.util.Hashtable reportParams,
java.lang.String reportType,
java.lang.String overridePath,
java.lang.String quickPrintType) |
void |
setReportMaxRows(int maxrows)
Set the maximum number of rows a report can print.
|
int |
setvalue() |
void |
setValue(int nRow,
java.lang.String attribute,
java.lang.String value,
long accessModifier)
Updates an attribute's value on the given row.
|
void |
setValue(java.lang.String attribute,
MboRemote mboRemote) |
java.lang.Integer[] |
sortDate(java.util.Hashtable fileList) |
java.lang.String |
spcDef(java.lang.String val) |
int |
submitWOChangePrintJob(java.lang.String repKey)
Special duplicate method required to handle Print Attach Docs when called
from WOStatus Change UI behaviour is different from the regular Toolbar
action.
|
boolean |
validateSchedFields(DataBean rptParmBean,
java.util.Hashtable reportParams) |
_useAllBookmarksQuery, _useAllRecsQuery, _usequery, addAttribute, addConditionalProperties, addDialogReference, addListener, addQbeAttribute, addrow, addSigOption, applyValuesToSharedAttributes, applyValuesToSharedAttributes, asyncLocked, bindComponent, boundToTable, buildPortalMsg, callBeanMethod, callBeanMethod, callBeanMethod, callBeanMethod, callMethod, callMethod, callMethod, callMethod, callRemoteMethod, callRemoteMethod, cancelDialog, canCloseBean, canFetchData, changeRequiredField, checkAndDistributeRequiredError, checkESigAuthenticated, checkForAppError, checkMethodAccess, clearBean, clearfilter, clearSavedFilterSettings, clearSavedQbeSettings, close, copytonewrow, count, dataChangedEvent, delete, delete, deleteAndRemove, deleteAndRemove, displaycount, duplicateMbo, execute, fetchRecordData, fetchTableData, fetchTableData, filterrows, findAndCallMethod, fireChildChangedEvent, fireDataChangedEvent, fireDataChangedEvent, fireStructureChangedEvent, fireStructureChangedEvent, getAppWhere, getAttributes, getBoolean, getBoolean, getCacheRowIndex, getColumnDate, getColumnString, getCompleteWhere, getConditionalProperties, getCurrentQueryDescription, getCurrentQueryName, getCurrentRow, getDataAsArray, getDataAsArray, getDataList, getDataList, getDataList, getDataList, getDataListFromMboSetRemote, getDate, getDefaultOrderBy, getDefaultValue, getDescAttributeId, getEndRow, getEventRowIndex, getKeyAttribute, getKeyAttributes, getLastEventHandled, getLastFetchIndex, getList, getList, getList, getLockedByDisplayName, getMbo, getMbo, getMboForUniqueId, getMboName, getMboOrZombie, getMboRowIndex, getMboSet, getMboSetData, getMboSetFromSmartFind, getMboSetFromSmartFind, getMboSetFromSmartFind, getMboValueData, getMboValueData, getMboValueInfo, getMXSession, getNullRequiedFields, getOrderBy, getPageEndRow, getPageRowCount, getPageStartIndex, getParent, getParentRelationship, getQbe, getQbe, getQbeAttributes, getQueryDescBeforeReviseAction, getQueryNameBeforeReviseAction, getRemoteForDownload, getRemoteForLookup, getReturnAttribute, getReturnComponent, getReturnComponentId, getReturnControlId, getRowIndexFromEvent, getSavedFilterSettings, getSelectedDataAsArray, getSelectedDataAsArray, getSelection, getShowDetails, getSmartFillValue, getSortOrder, getString, getString, getTableAttributes, getTableOffset, getTableStateFlags, getTitle, getUIERMEntity, getUniqueIdFromSmartFill, getUniqueIdFromSmartFill, getUniqueIdName, getUniqueIdValue, getUserAndQbeWhere, getUserWhere, getWarnings, getZombie, getZombieMboValueData, handleRemoteException, handleRequiredFieldException, hasLongDescriptionText, hasLongDescriptionText, hasMboSetRemote, hasPageRows, hasRow, hasSameMboSet, hasSigOptionAccess, hasSigOptionAccess, hierarchicalmove, highlightrow, highlightrow, insert, insert, insertAtEnd, instantdelete, isAppTableRetain, isAttribute, isAttributeHidden, isAttributeHidden, isColumnSorted, isEmpty, isListTableModified, isListTableRetain, isMboHidden, isMboHidden, isModifiedRow, isModifiedRow, isNewRow, isNewRow, isNewRowUnedited, isRowDeleted, isRowLocked, isSelected, isSubSelect, isTableAttribute, isTablePostionMarked, isTableRowSelected, isTableStateFlagSet, listenerChangedEvent, madeRequiredConditionally, markTablePosition, moveToMboFromDataBean, needToAuthenticate, next, nextrow, positionState, previous, prevrow, propagateRequired, queryAllBookmarks, queryAllRecs, refreshFieldErrors, refreshTable, registerDynamicControlsWithERM, reloadTable, removeDialogReference, removeListener, removeRowOnCancel, rePosition, reset, resetJSPFlags, resetQbe, resetWithSelection, restoreSavedQbeSettings, retainPosition, returnLookupValue, returnLookupValue, returnLookupValue, returnLookupValue, save, save, saveCurrentQbeSettings, scrollnext, scrollprev, select, select, selectAll, selectrecord, selectRows, sendRefreshTable, setApp, setAppDefault, setAppDefaults, setApplicationError, setAppWhere, setAsyncLock, setAttributes, setCurrentQueryDescription, setCurrentRow, setDate, setDate, setDefaultOrderBy, setDefaultQbe, setDefaultValue, setDefaultValue, setDescAttributeId, setDynamicAppDefaults, setDynamicDefault, setDynamicQbeDefaults, setEmptyOnClear, setEsigValidated, setEventRowIndex, setfiltervalue, setLastEventHandled, setListTableModified, setListTableRetain, setMboName, setNewRowUnedited, setOrderBy, setPageRowCount, setParent, setQbe, setQbe, setQbe, setQbe, setQbeAttributes, setQbeCaseSensitive, setQbeDefaults, setQbeExactMatch, setQueryBySiteQbe, setQueryDescBeforeReviseAction, setQueryNameBeforeReviseAction, setRemoveOnCancel, setReturnAttribute, setReturnComponent, setReturnComponentId, setReturnControlId, setShowDetails, setSmartFillValue, setTableFlag, setupBean, setupBean, setUserDefaults, setUserWhere, setValue, setValue, setValue, setValue, setValue, setValueFromComponent, smartFill, smartFill, sort, sort, sortcolumn, sortcolumn, sqlwhere, structureChangedEvent, toBeSaved, toggledeleterow, toggledetailstate, toggleselectallrows, toggleselectrow, toString, turnEmptyStateOn, unbindComponent, undelete, undelete, unselect, unselect, unselectAll, useAllBookmarksQuery, useAllRecsQuery, useqbe, usequery, useQuery, useStoredQuery, validate, validateChildren, validateMbo, valueBound, valueUnbound
getCreator, getId, setCreator, setId
public void initialize() throws MXException, java.rmi.RemoteException
DataBean
MXException
java.rmi.RemoteException
public void setValue(int nRow, java.lang.String attribute, java.lang.String value, long accessModifier) throws MXException
DataBean
setValue
in class DataBean
MXException
public int runrequestpage() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int displayRequestDialog(java.lang.String pageName) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isLookupMultiSelect(BoundComponentInstance component, boolean isQueryInput)
DataBean
isLookupMultiSelect
in class DataBean
public int requestreportrun() throws MXException, java.rmi.RemoteException, java.sql.SQLException
MXException
java.rmi.RemoteException
java.sql.SQLException
public int editadhocreport() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void createScheduleRecord(java.util.Hashtable reportParams, DataBean rptParmBean, MboRemote thisRpt) throws MXException, java.rmi.RemoteException, java.sql.SQLException
MXException
java.rmi.RemoteException
java.sql.SQLException
public boolean validateSchedFields(DataBean rptParmBean, java.util.Hashtable reportParams) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Hashtable getEmailSchedParams(java.util.Hashtable reportParams, DataBean rptParmBean, java.lang.String reportType) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Hashtable setRedirect(java.util.Hashtable reportParams, java.lang.String reportType, java.lang.String overridePath, java.lang.String quickPrintType) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Hashtable getWhereParams(java.util.Hashtable reportParams, MXSession mxsession, DataBean rptParmBean, java.lang.String reportNum, boolean useWhere) throws MXException, java.rmi.RemoteException, java.sql.SQLException
MXException
java.rmi.RemoteException
java.sql.SQLException
public java.util.Hashtable getWhereParams(java.util.Hashtable reportParams, MXSession mxsession, DataBean rptParmBean, java.lang.String reportNum, boolean useWhere, boolean isdetail) throws MXException, java.rmi.RemoteException, java.sql.SQLException
MXException
java.rmi.RemoteException
java.sql.SQLException
public java.util.Hashtable getStdParams(java.util.Hashtable reportParams, MXSession mxsession) throws MXException, java.rmi.RemoteException, java.sql.SQLException
MXException
java.rmi.RemoteException
java.sql.SQLException
public java.util.Hashtable getRptRecordParams(java.util.Hashtable reportParams, MXSession mxsession, MboSetRemote reportData) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Hashtable getMaxPropRptParams(java.util.Hashtable reportParams, MXSession mxsession) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String fetchProperty(java.util.Properties maxProps, java.lang.String propName)
public void getCustomReportProps(java.util.Properties maxProps, java.util.Hashtable reportParams)
public java.lang.String noDef(java.lang.String val) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String spcDef(java.lang.String val) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String nsDef(java.lang.String val) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Properties getMaxProps() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String qualifyWhere(MXSession mxsession, java.lang.String where, java.lang.String baseTable) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getFileDesc(java.lang.String appName, java.lang.String filename) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote linkFileDesc(java.lang.String destfoldername, java.lang.String filename, java.lang.String ext) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.Integer[] sortDate(java.util.Hashtable fileList)
public void setReportMaxRows(int maxrows)
maxrows
- public java.lang.String getSelectionWhere(DataBean resultsBean) throws java.rmi.RemoteException, MXException
resultsBean
- java.rmi.RemoteException
MXException
public void setQbe(java.lang.String attribute, java.lang.String expression) throws MXException
DataBean
setQbe
in class DataBean
MXException
public int setvalue() throws MXException, java.rmi.RemoteException
setvalue
in class DataBean
MXException
java.rmi.RemoteException
public void setValue(java.lang.String attribute, MboRemote mboRemote) throws MXException
setValue
in class DataBean
MXException
public void setDate(java.lang.String controlId, java.lang.String attribute, java.util.Date value) throws MXException
DataBean
setDate
in class DataBean
MXException
public int handleQuickReporting(java.lang.String reportType, WebClientEvent event, java.util.Hashtable reportParams, java.lang.String reportNum, boolean attachdoc, java.lang.String rptParmKey, java.lang.String brosDPUrl) throws java.rmi.RemoteException, MXException, java.sql.SQLException
reportType
- event
- reportParams
- reportNum
- attachdoc
- java.rmi.RemoteException
MXException
java.sql.SQLException
public int submitWOChangePrintJob(java.lang.String repKey) throws MXException, java.rmi.RemoteException
repKey
- MXException
java.rmi.RemoteException
public java.lang.String getSearchFolder()