public class GLNavigatorDialogBean extends DataBean
Modifier and Type | Field and Description |
---|---|
GLNavigatorComboboxBean |
comboboxBean |
boolean |
firstTime |
java.lang.String |
orgAttribute |
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 |
---|
GLNavigatorDialogBean() |
Modifier and Type | Method and Description |
---|---|
int |
cancelDialog()
Called by the dialog control when the dialog is cancled.
|
void |
clearData()
Clears data for the table.
|
int |
execute()
Handle when user clicks the done button.
|
void |
fetchOrgAndSiteIdFromSource()
Retrieves Org and Site from source.
|
GLFormat |
getCurrentGLFormat()
Returns the current state in GLFormat.
|
int |
getCurrentSegment()
Allows the caller to determine which segment is currently selected
|
java.lang.String |
getPlaceHolder() |
int |
getSegmentCount()
Returns the number of segments in the loaded gl format
|
char |
getSegmentDelimiter(int segment)
Returns the delimiter character for the requested sement, according to the
loaded gl format
|
java.lang.String |
getSegmentName(int segment)
Provides access to the name of the requested segment, according to the
loaded gl format.
|
java.lang.String |
getSegmentPlaceHolder()
Returns the placeholder character used by the loaded gl format to pad a
null gl segment value
|
int |
getSegmentSize(int segment)
Returns the number of characters in the requested segment value
|
java.lang.String |
getSegmentValue(int segment)
Provides access to the text value of a given segment.
|
int |
refreshGL()
Handle when the user clears a segment.
|
void |
refreshGLData(GLNavigatorSelectOrgBean orgBean)
Based on current ORGID and current segment, it refreshs accounts.
|
void |
setCurrentSegment(int i) |
void |
setOrgId(java.lang.String newOrgId)
Sets the orgid to be used for fetching GLComponents
|
int |
setsegment()
Handle the case where a segment is clicked.
|
int |
setsegmentvalue()
Handle when the user has selected a segment value.
|
void |
structureChangedEvent(DataBean speaker)
Overridden to refresh FL components when OrgID changes
|
boolean |
validateComponent(java.lang.String compVal)
Returns the whether a particular component is valid or not
|
_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, canCloseBean, canFetchData, changeRequiredField, checkAndDistributeRequiredError, checkESigAuthenticated, checkForAppError, checkMethodAccess, clearBean, clearfilter, clearSavedFilterSettings, clearSavedQbeSettings, close, copytonewrow, count, dataChangedEvent, delete, delete, deleteAndRemove, deleteAndRemove, displaycount, duplicateMbo, 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, isLookupMultiSelect, 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, 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, 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, setValue, setValue, setValue, setValueFromComponent, smartFill, smartFill, sort, sort, sortcolumn, sortcolumn, sqlwhere, 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 GLNavigatorComboboxBean comboboxBean
public java.lang.String orgAttribute
public boolean firstTime
public int execute() throws MXException, java.rmi.RemoteException
execute
in class DataBean
column
- name where the resulting glaccount is to be storedMXException
java.rmi.RemoteException
public int cancelDialog() throws MXException, java.rmi.RemoteException
DataBean
cancelDialog
in class DataBean
MXException
java.rmi.RemoteException
public int setsegment() throws MXException, java.rmi.RemoteException
the
- string parameter taken from the http request containing the index of
the clicked segmentMXException
java.rmi.RemoteException
public int setsegmentvalue() throws MXException, java.rmi.RemoteException
value
- of the selected segmentMXException
java.rmi.RemoteException
public int refreshGL() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getPlaceHolder()
public GLFormat getCurrentGLFormat() throws MXException
MXException
public int getCurrentSegment()
public java.lang.String getSegmentValue(int segment)
public java.lang.String getSegmentName(int segment)
public int getSegmentSize(int segment)
public char getSegmentDelimiter(int segment)
public int getSegmentCount()
public java.lang.String getSegmentPlaceHolder()
public boolean validateComponent(java.lang.String compVal) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void refreshGLData(GLNavigatorSelectOrgBean orgBean) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setOrgId(java.lang.String newOrgId)
newOrgId
- public void clearData() throws MXException
MXException
java.rmi.RemoteException
public void fetchOrgAndSiteIdFromSource()
public void structureChangedEvent(DataBean speaker)
structureChangedEvent
in interface DataBeanListener
structureChangedEvent
in class DataBean
DataBeanListener.structureChangedEvent(psdi.webclient.system.beans.DataBean)
public void setCurrentSegment(int i)