public class TreeControlBean 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 |
---|
TreeControlBean() |
Modifier and Type | Method and Description |
---|---|
int |
clearbreadcrumbs() |
void |
dataChangedEvent(DataBean speaker)
Overriden
|
Tree |
getBoundTree()
Returns the tree control bound to this bean
|
java.util.ArrayList |
getBreadcrumbs()
Skeleon method which can be implemented to return an array list of
breadcrumbs expected by the Breadcrums control.
|
java.lang.Object[][] |
getChildren(java.lang.String objectname,
java.lang.String uniqueid,
java.lang.String[] dataattributes,
int maxchildren)
Gets childnre for a given node
|
java.lang.Object[] |
getMboValueData(java.lang.String[] dataattributes)
Gets data a for givens et of attributes from the current mbo
|
java.lang.String |
getobjectname()
Returns Object name
|
java.lang.Object[][] |
getPathToTop(java.lang.String objectname,
java.lang.String uniqueid,
java.lang.String[] dataattributes,
int maxchildren)
Gets Path to Top for a given node
|
boolean |
getRefreshTree() |
java.lang.String |
getSourceAttributeValue() |
java.lang.String |
getSourceDataAttribute() |
java.lang.Object[][] |
getTop(java.lang.String[] dataattributes,
int maxchildren)
Gets the top nodes for the tree structure.
|
java.lang.String |
getuniqueidname()
Returns uniqueidname
|
java.lang.String |
getuniqueidvalue()
Returns uniqueidvalue
|
void |
markTreesForRefresh(java.lang.String dontRefreshMe)
Marks all trees on current page to be refreshed except this one when next render come around
to this one.
|
int |
selectnode()
Handles the selectnode event fired from the frontend or through TreeNode
It gets MBo for the uniqueid passed whena a node is selected
|
int |
selectrecord()
Handles the selectrecord event fired from the frontend
(non-Javadoc)
|
void |
setcurrentnode(java.lang.String newobjectname,
java.lang.String newuniqueidname,
java.lang.String newuniqueidvalue)
Sets the current node using the objectname, new uniqueidname and its value.
|
void |
setHierarchy(java.lang.String objectname,
java.lang.String uniqueid,
java.lang.String hierarchy)
Sets the reference point for starting of the hierarchy
|
void |
setIgnoreTreeRefresh(boolean ignoreTreeRefresh)
Flag to avoid calling markTreesForRefresh
|
void |
setobjectname(java.lang.String newobjectname)
Sets objectname
|
void |
setRefreshTree(boolean flag)
Sets flag for tree refresh
|
void |
setSourceAttributeValue(java.lang.String sourceAttributevalue)
Sets new source attribute
|
void |
setSourceDataAttribute(java.lang.String sourceDataattribute)
Sets new source data attribute
|
void |
setuniqueidname(java.lang.String newuniqueidname)
Sets uniqueidname
|
void |
setuniqueidvalue(java.lang.String newuniqueidvalue)
Sets uniqueidvalue
|
_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, 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, getQbe, getQbe, getQbeAttributes, getQueryDescBeforeReviseAction, getQueryNameBeforeReviseAction, getRemoteForDownload, getRemoteForLookup, getReturnAttribute, getReturnComponent, getReturnComponentId, getReturnControlId, getRowIndexFromEvent, 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, returnLookupValue, returnLookupValue, returnLookupValue, returnLookupValue, save, save, saveCurrentQbeSettings, scrollnext, scrollprev, select, select, selectAll, 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, 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 int selectrecord() throws MXException, java.rmi.RemoteException
selectrecord
in class DataBean
MXException
java.rmi.RemoteException
DataBean.selectrecord()
public int selectnode() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setcurrentnode(java.lang.String newobjectname, java.lang.String newuniqueidname, java.lang.String newuniqueidvalue) throws MXException, java.rmi.RemoteException
newobjectname
- newuniqueidname
- newuniqueidvalue
- MXException
java.rmi.RemoteException
- Apr 16, 2007public java.lang.Object[][] getTop(java.lang.String[] dataattributes, int maxchildren) throws MXException, java.rmi.RemoteException
dataattributes
- maxchildren
- MXException
java.rmi.RemoteException
- Apr 16, 2007public java.lang.Object[][] getChildren(java.lang.String objectname, java.lang.String uniqueid, java.lang.String[] dataattributes, int maxchildren) throws MXException, java.rmi.RemoteException
objectname
- uniqueid
- dataattributes
- maxchildren
- MXException
java.rmi.RemoteException
- Apr 16, 2007public java.lang.Object[][] getPathToTop(java.lang.String objectname, java.lang.String uniqueid, java.lang.String[] dataattributes, int maxchildren) throws MXException, java.rmi.RemoteException
objectname
- uniqueid
- dataattributes
- maxchildren
- MXException
java.rmi.RemoteException
- Apr 16, 2007public java.lang.Object[] getMboValueData(java.lang.String[] dataattributes) throws MXException, java.rmi.RemoteException
dataattributes
- MXException
java.rmi.RemoteException
- Apr 16, 2007public void setHierarchy(java.lang.String objectname, java.lang.String uniqueid, java.lang.String hierarchy) throws MXException, java.rmi.RemoteException
objectname
- uniqueid
- hierarchy
- MXException
java.rmi.RemoteException
- Apr 16, 2007public java.lang.String getobjectname()
public void setobjectname(java.lang.String newobjectname)
newobjectname
- Apr 16, 2007public java.lang.String getuniqueidname()
public void setuniqueidname(java.lang.String newuniqueidname)
newuniqueidname
- Apr 16, 2007public java.lang.String getuniqueidvalue()
public void setuniqueidvalue(java.lang.String newuniqueidvalue)
newuniqueidvalue
- Apr 16, 2007public void setRefreshTree(boolean flag)
flag
- Apr 16, 2007public boolean getRefreshTree()
public java.lang.String getSourceAttributeValue()
public void setSourceAttributeValue(java.lang.String sourceAttributevalue)
sourceAttributevalue
- Apr 10, 2007public java.lang.String getSourceDataAttribute()
public void setSourceDataAttribute(java.lang.String sourceDataattribute)
sourceAttributevalue
- Apr 10, 2007public java.util.ArrayList getBreadcrumbs()
public int clearbreadcrumbs()
public Tree getBoundTree()
public void markTreesForRefresh(java.lang.String dontRefreshMe)
public void setIgnoreTreeRefresh(boolean ignoreTreeRefresh)
ignoreTreeRefresh
- public void dataChangedEvent(DataBean speaker)
dataChangedEvent
in interface DataBeanListener
dataChangedEvent
in class DataBean