public class DataBean extends WebClientBean implements javax.servlet.http.HttpSessionBindingListener, DataBeanListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALL_BOOKMARKS |
static java.lang.String |
ALL_RECORDS |
static int |
ATTR_COLUMN |
static int |
ATTR_DEFAULT |
static int |
ATTR_QBE |
static int |
ATTR_READONLY |
static int |
ATTR_REFRESH_TABLE |
static int |
ATTR_REQUIRED |
static int |
ATTR_RESET |
static int |
MAX_TABLEROWS
the types of structurechanged events that can be triggered.
|
static int |
TABLE_ALL_SELECTED |
static int |
TABLE_AT_FIRST_PAGE |
static int |
TABLE_AT_FIRST_ROW |
static int |
TABLE_AT_LAST_PAGE |
static int |
TABLE_AT_LAST_ROW |
static int |
TABLE_DETAILS_EXPANDED |
static int |
TABLE_EXPANDED |
static int |
TABLE_FILTER_EXPANDED |
static int |
TABLE_FILTERED |
static int |
TABLE_REFRESH_ALL_ROWS |
static int |
TABLE_REFRESH_FILTER |
static int |
TABLE_REFRESH_ROW |
static int |
TABLE_REFRESH_TITLE |
static int |
TABLE_ROW_CHANGED |
static int |
TABLE_START_EMPTY |
static int |
TABLE_SUBSELECT_ON |
static int |
TABLE_USE_SUBSELECT |
EVENT_CONTINUE, EVENT_HANDLED, EVENT_STOP_ALL
Constructor and Description |
---|
DataBean()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
_useAllBookmarksQuery() |
int |
_useAllRecsQuery() |
int |
_usequery() |
void |
addAttribute(java.lang.String attribute,
BitFlag flags)
Adds the attribute to the internal attribute list.
|
void |
addConditionalProperties(java.lang.String sigOption,
int row,
java.util.HashMap<java.lang.String,java.lang.String> properties)
Adds the passed in conditional properties to the conditional properties cache of the DataBean
|
void |
addDialogReference() |
void |
addListener(DataBeanListener listener)
Adds a listener (child DataBean) to this DataBean (parent).
|
void |
addQbeAttribute(java.lang.String attribute)
Adds the qbe attribute to the internal attribute list.
|
int |
addrow() |
void |
addSigOption(java.lang.String sigoption)
Add a sigoption to the databean to be used for conditonal UI.
|
void |
applyValuesToSharedAttributes(ComponentInstance component)
Deprecated.
|
boolean |
applyValuesToSharedAttributes(ComponentInstance component,
java.lang.String value)
When we do a setvalue on a shared attribute we need to update the cached value on all of the BoundComponents that share it so
they can update if they change.
|
boolean |
asyncLocked()
Is the bean being used by the AsyncProcess
|
void |
bindComponent(BoundComponentInstance boundComponent) |
boolean |
boundToTable()
Returns true if the DataBean has controls within a table bound to it.
|
java.lang.String |
buildPortalMsg(java.lang.String attribute,
java.lang.String newValue)
Builds the message to be sent to other portlets.
|
int |
callBeanMethod(java.lang.String method,
WebClientEvent event) |
int |
callBeanMethod(java.lang.String method,
WebClientEvent event,
java.lang.Class<?>[] paramTypes,
java.lang.Object[] params) |
int |
callBeanMethod(WebClientEvent event) |
int |
callBeanMethod(WebClientEvent event,
java.lang.Class<?>[] paramTypes,
java.lang.Object[] params) |
int |
callMethod(java.lang.String methodName,
WebClientEvent event) |
int |
callMethod(java.lang.String methodName,
WebClientEvent event,
java.lang.Class<?>[] paramTypes,
java.lang.Object[] params) |
int |
callMethod(WebClientEvent event) |
int |
callMethod(WebClientEvent event,
java.lang.Class<?>[] paramTypes,
java.lang.Object[] params) |
int |
callRemoteMethod(java.lang.String method) |
int |
callRemoteMethod(java.lang.String method,
java.lang.Class<?>[] paramTypes,
java.lang.Object[] params) |
int |
cancelDialog()
Called by the dialog control when the dialog is cancled.
|
boolean |
canCloseBean()
Returns true if the databean doesn't have a mboSetRemote or it's current mboSetRemote is an instance of
NonPersistentMboSetRemote, or the DataBean has a mboname.
|
boolean |
canFetchData()
Returns the fetchData flag, which if false prevents the DataBean from
fetching data until user interaction forces the fetch (like filtering)
|
boolean |
changeRequiredField(int row,
java.lang.String attribute,
boolean required)
Changes the required flag for the mbo of give row, for the specified attribute.
|
MXException |
checkAndDistributeRequiredError(MXException mxe)
This method check to see inf the MXExcpetion passed in is a required field is blank exception and if it is,
searches for other required fields.
|
void |
checkESigAuthenticated(java.lang.String option)
Checks if the esignature authentication dialog needs to be opened based on option
If the option does need authentication, it will throw an ESigLoginException
|
void |
checkForAppError() |
boolean |
checkMethodAccess(java.lang.String methodName)
Check if the method name is available on the MboSetRemote.
|
void |
clearBean() |
int |
clearfilter() |
void |
clearSavedFilterSettings() |
void |
clearSavedQbeSettings()
Clears out the saved qbe settings.
|
void |
close()
Closes the MboSet.
|
int |
copytonewrow() |
int |
count()
Returns the number of rows available on the remote Mbo object.
|
void |
dataChangedEvent(DataBean speaker)
event called by the "parent" DataBean which tells this DataBean that it's mbo
data (the parent's) has changed or been refreshed.
|
void |
delete()
Deletes the current row.
|
void |
delete(int nRow)
Deletes the given row.
|
void |
deleteAndRemove()
Deletes and removes the current row from the mboset.
|
void |
deleteAndRemove(int nRow)
Deletes and removes the given row from the MboSet.
|
java.lang.String |
displaycount() |
boolean |
duplicateMbo()
Duplicates the current mbo as a new mbo in the MboSet
|
int |
execute()
This method is meant to be overrided by dialog beans but by default
if the bean's remote is a NonPersistentMboSetRemote, then execute
is called on the bean's remote and if the DataBean has a parent then execute
is called on the bean's parent bean.
|
boolean |
fetchRecordData() |
int |
fetchTableData() |
int |
fetchTableData(int startingRow) |
int |
filterrows() |
int |
findAndCallMethod(WebClientEvent event,
DataBean datasrc,
java.lang.String method,
java.lang.Class<?>[] paramTypes,
java.lang.Object[] params) |
void |
fireChildChangedEvent()
Calls the "parent" DataBean's listenerChangedEvent.
|
void |
fireDataChangedEvent()
tells all listeners that this DataBean mbo data has changed or been refreshed
|
void |
fireDataChangedEvent(DataBean speaker)
tells all listeners that this DataBean mbo data has changed or been refreshed
|
void |
fireStructureChangedEvent()
tells all listeners that this DataBean references a new mbo or mboSetRemote
|
void |
fireStructureChangedEvent(DataBean speaker)
tells all listeners that this DataBean refrerences a new mbo or mboSetRemote
|
java.lang.String |
getAppWhere()
Returns the application defined where clause that overrides the
QBE.
|
java.lang.String[] |
getAttributes()
Returns a String array of attributes.
|
boolean |
getBoolean(int row,
java.lang.String col)
Return the boolean value for the specified column in the specified row
|
boolean |
getBoolean(java.lang.String col)
Return the boolean value for the specified column in the current row
|
int |
getCacheRowIndex(int rowDataBeanIndex) |
java.util.Date |
getColumnDate(int row,
java.lang.String col)
Return the date for the specified column in the specified row
|
java.lang.String |
getColumnString(int row,
java.lang.String col)
Return the string for the specified column in the specified row
|
java.lang.String |
getCompleteWhere() |
java.util.HashMap<java.lang.String,java.lang.String> |
getConditionalProperties(int row,
java.lang.String sigOption)
Returns a HashMap of conditional properties if the condition results for
the sigoption have changed since the last time the conditions were evaluated
on the mbo of the given row.
|
java.lang.String |
getCurrentQueryDescription() |
java.lang.String |
getCurrentQueryName() |
int |
getCurrentRow()
Returns the current row.
|
java.lang.String[][] |
getDataAsArray()
For each table attribute, this returns all rows of data
in an array where the first level is the rows of data and the second
level is the data for each of the attributes in that row.
|
java.lang.String[][] |
getDataAsArray(java.lang.String[] attributeNames)
For the given list of attributes, this returns all rows of data
in an array where the first level is the rows of data and the second
level is the data for each of the attributes in that row.
|
java.lang.String[][] |
getDataList(int row,
java.lang.String dataAttribute)
Returns a 2 dimensional String array of valid data, display values for use by controls such as combobox
|
java.lang.String[][] |
getDataList(int row,
java.lang.String dataAttribute,
java.lang.String displayAttribute)
Returns a 2 dimensional String array of valid data, display values for use by controls such as combobox
Throws MXException or RemoteException if the data could not be
obtained.
|
java.lang.String[][] |
getDataList(int row,
java.lang.String dataAttribute,
java.lang.String keyAttributeName,
java.lang.String displayAttribute) |
java.lang.String[][] |
getDataList(java.lang.String dataAttribute)
Returns a 2 dimensional String array of valid data, display values for use by controls such as combobox
|
java.lang.String[][] |
getDataListFromMboSetRemote(MboSetRemote setRemote,
java.lang.String dataAttribute,
java.lang.String displayAttribute) |
java.util.Date |
getDate(java.lang.String attribute)
Return the date for the requested attribute
|
java.lang.String |
getDefaultOrderBy() |
java.lang.String |
getDefaultValue(java.lang.String attribute)
method for getting default value for a particular attribute in mboset
|
java.lang.String |
getDescAttributeId()
Returns description attribute Id
|
int |
getEndRow()
Returns the possible last row index where the
table display ends.
|
int |
getEventRowIndex() |
java.lang.String |
getKeyAttribute()
Returns the key Attribute for the MboSet.
|
java.lang.String[] |
getKeyAttributes()
Returns a String array of the key attributes of the MboSet
|
WebClientEvent |
getLastEventHandled() |
int |
getLastFetchIndex()
Returns the last index for which data has been fethed.
|
MboSetRemote |
getList(java.lang.Integer row,
java.lang.String attribute)
Returns the Remote reference to the Mbo object (valuelist) associated
with the attribute for row.
|
MboSetRemote |
getList(int nRow,
java.lang.String attribute)
Returns the Remote reference to the Mbo object (valuelist) associated
with the attribute for row.
|
MboSetRemote |
getList(java.lang.String attribute)
Returns the Remote reference to the Mbo object (valuelist) associated
with the attribute for the current row.
|
java.lang.String |
getLockedByDisplayName(int row) |
MboRemote |
getMbo()
Returns the MboRemote reference to the current Mbo.
|
MboRemote |
getMbo(int row)
Returns the MboRemote reference for the given row.
|
MboRemote |
getMboForUniqueId(long uid)
Filters down the DataBean to the mbo that has the passed in unique id.
|
java.lang.String |
getMboName()
Returns the business object name
|
MboRemote |
getMboOrZombie()
Returns either the current mbo of a mboset or the mboset's zombie mbo if there isn't
a current mbo.
|
int |
getMboRowIndex(int tableRow) |
MboSetRemote |
getMboSet()
Returns the reference to the remote MboSet.
|
MboSetData |
getMboSetData(int row,
int count,
java.lang.String[] attributeNames)
Fetches multiple row MboSetData
|
MboSetRemote |
getMboSetFromSmartFind(int row,
java.lang.String attribute) |
MboSetRemote |
getMboSetFromSmartFind(java.lang.String attribute) |
MboSetRemote |
getMboSetFromSmartFind(java.lang.String app,
java.lang.String attribute) |
MboValueData |
getMboValueData(int nRow,
java.lang.String attribute)
Gets the requested attribute's data on a given row from the cache.
|
MboValueData |
getMboValueData(java.lang.String attribute)
Returns the MboValueData associated with the attribute for the
current row.
|
MboValueInfoStatic |
getMboValueInfo(java.lang.String attribute)
Gets the MboValueInfoStatic for requested attribute
|
MXSession |
getMXSession()
Returns a reference to the MXSession
|
java.util.List<ERMAttributeError> |
getNullRequiedFields() |
java.lang.String |
getOrderBy()
Returns the current ORDER BY clause
|
int |
getPageEndRow()
Returns the possible last row index where the
table display ends.
|
int |
getPageRowCount()
Returns the number of rows the page has.
|
int |
getPageStartIndex()
Returns the mbo index of the first row in the table
|
DataBean |
getParent()
gets the DataBean that this bean is listening to.
|
java.lang.String |
getParentRelationship() |
java.lang.String |
getQbe()
Get the multi-search QBE value
|
java.lang.String |
getQbe(java.lang.String attribute)
Returns the QBE (Query By Example) associated with the attribute.
|
java.util.Hashtable<java.lang.String,java.lang.String> |
getQbeAttributes()
Gets the current qbe attributes
This is used by the qbe page to get the qbe settings from the search remote and apply
them to the results bean
|
java.lang.String |
getQueryDescBeforeReviseAction() |
java.lang.String |
getQueryNameBeforeReviseAction() |
MboSetRemote |
getRemoteForDownload()
Returns a discardable MboSetRemote used for table downloading of data to excel.
|
MboSetRemote |
getRemoteForLookup()
Return the MboSetRemote used by a lookup off a field of the bean.
|
java.lang.String |
getReturnAttribute() |
ComponentInstance |
getReturnComponent() |
java.lang.String |
getReturnComponentId() |
java.lang.String |
getReturnControlId()
Deprecated.
FIREFOX - use getReturnComponentId() instead
|
int |
getRowIndexFromEvent(WebClientEvent event) |
java.util.Hashtable<java.lang.String,java.lang.String> |
getSavedFilterSettings() |
java.lang.String[][] |
getSelectedDataAsArray()
For each table attribute, this returns just the selected rows of data,
(if no rows are selected then all rows are used)
in an array where the first level is the rows of data and the second
level is the data for each of the attributes in that row.
|
java.lang.String[][] |
getSelectedDataAsArray(java.lang.String[] attributeNames)
For the given list of attributes, this returns just the selected rows of data,
(if no rows are selected then all rows are used)
in an array where the first level is the rows of data and the second
level is the data for each of the attributes in that row.
|
java.util.Vector<MboRemote> |
getSelection()
Returns a Vector of mbos marked for selection.
|
boolean |
getShowDetails()
Returns whether or not to show table details
This is only storage between pages
|
java.lang.String |
getSmartFillValue()
Returns the value the user typed in that involked the smartFill.
|
java.lang.String |
getSortOrder(java.lang.String sortAttribute) |
java.lang.String |
getString(int row,
java.lang.String attribute)
Return the string for the specified column in the specified row
|
java.lang.String |
getString(java.lang.String attribute)
Return the string for the specified column in the current row
|
java.lang.String[] |
getTableAttributes() |
int |
getTableOffset() |
BitFlag |
getTableStateFlags() |
java.lang.String |
getTitle(java.lang.String attribute)
Gets the title from the MboValueInfoStatic for the requested attribute
|
UIERMEntity |
getUIERMEntity() |
long |
getUniqueIdFromSmartFill(java.lang.String attribute,
java.lang.String value)
Gets the uniqueid for a particular attribute who's value is a key value in
a related table.
|
long |
getUniqueIdFromSmartFill(java.lang.String applicName,
java.lang.String attribute,
java.lang.String value)
Gets the uniqueid for a particular attribute who's value is a key value in
a related table.
|
java.lang.String |
getUniqueIdName()
Gets the unique ID name for the current Mbo.
|
long |
getUniqueIdValue()
Gets the unique ID value for the current row.
|
java.lang.String |
getUserAndQbeWhere()
Returns the user defined and qbe defined where clause
|
java.lang.String |
getUserWhere()
Returns the user defined where clause
|
MXException[] |
getWarnings() |
MboRemote |
getZombie() |
MboValueData |
getZombieMboValueData(java.lang.String attribute)
Gets the requested attribute's MboValueData from the mboSet's zombie mbo.
|
void |
handleRemoteException(java.rmi.RemoteException e) |
void |
handleRequiredFieldException(MXRequiredFieldException requiredFieldException,
WebClientEvent event)
Deprecated.
use checkAndDistributeRequiredError
|
boolean |
hasLongDescriptionText(int row,
java.lang.String attribute)
Returns whether the attribute has long description text.
|
boolean |
hasLongDescriptionText(java.lang.String attribute)
Returns whether the attribute has long description text.
|
boolean |
hasMboSetRemote()
This method will return true if the DataBean has a MboSetRemote.
|
boolean |
hasPageRows() |
boolean |
hasRow(int row)
Checks to see if the table has that row cached
|
boolean |
hasSameMboSet(DataBean bean) |
boolean |
hasSigOptionAccess(int row,
java.lang.String sigOption)
Returns true if the user has record level privileges for a given sigoption on the given mbo.
|
boolean |
hasSigOptionAccess(java.lang.String sigOption)
Returns true if the user has record level privileges for a given sigoption on the current mbo.
|
int |
hierarchicalmove() |
int |
highlightrow() |
int |
highlightrow(int row) |
void |
insert()
Inserts a row at the begining of the MboSet.
|
void |
insert(int nRow)
Inserts a row after the given row.
|
void |
insertAtEnd()
Inserts a row at the end of the MboSet.
|
int |
instantdelete() |
boolean |
isAppTableRetain()
Returne true if the retain table state flag is set and the current databean is
turned on to retain position
|
boolean |
isAttribute(java.lang.String attribute)
Checks whether the given attribute is in the list of
attributes that are currently set to this DataBean.
|
boolean |
isAttributeHidden(int row,
java.lang.String attribute) |
boolean |
isAttributeHidden(java.lang.String attribute) |
int |
isColumnSorted(java.lang.String componentId)
Deprecated.
FIREFEOX - Table control checks these
|
boolean |
isEmpty()
Returns try if mboset has no members
|
boolean |
isListTableModified()
Check to see if the records have modifications or deletes.
|
boolean |
isListTableRetain()
Check if it is resultsbean in a list and the Retain
List Table functionality is enabled via system configuration.
|
boolean |
isLookupMultiSelect(BoundComponentInstance boundComponentInstance,
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.
|
boolean |
isMboHidden() |
boolean |
isMboHidden(int row) |
boolean |
isModifiedRow()
Returns whether the current row is modified or not
|
boolean |
isModifiedRow(int row)
Returns whether the row is modified or not
|
boolean |
isNewRow()
Returns whether the row is new or not
|
boolean |
isNewRow(int row)
Returns whether the row is new or not
|
boolean |
isNewRowUnedited() |
boolean |
isRowDeleted(int row)
Returns whether the row is marked for delete or not.
|
boolean |
isRowLocked(int row) |
boolean |
isSelected(int row) |
boolean |
isSubSelect()
Is the table for this bean in multi-select mode
|
boolean |
isTableAttribute(java.lang.String attribute) |
boolean |
isTablePostionMarked()
Checks if the table has to retain position.
|
boolean |
isTableRowSelected(int row)
Returns whether the table row is marked for selection or not.
|
boolean |
isTableStateFlagSet(long flag)
Get the current value of a table state flag.
|
void |
listenerChangedEvent(DataBean speaker)
event called by the listeners which tells this DataBean that the child's data
has changed (mbo added, mdo deleted, mbo modified).
|
boolean |
madeRequiredConditionally(java.lang.String attribute) |
void |
markTablePosition(boolean inFlg)
Set the flag if mbo has changes and we have to retain the position
If the parent bean which is bound to a table then set it to postion also.
|
boolean |
moveToMboFromDataBean(DataBean dataBean,
java.lang.String dataAttribute)
Uses smartFindByObjectName to get the uniqueid of the value from the
passed in databean and then moves this databean's currentPosition to the
mbo with that uniqueid.
|
boolean |
needToAuthenticate(SessionContext sc,
java.lang.String option)
Deprecated.
FIREFEOX - ckeckEsigAuthenticated is the new way
|
boolean |
next()
Advances the current row position.
|
int |
nextrow() |
void |
positionState()
Tracks if the save has happened and the bean is marked to position the data
|
boolean |
previous()
Decrements the current row position.
|
int |
prevrow() |
void |
propagateRequired()
Loops thru the in memory list of mbos and sets the required flag for all attributes
marked as required by the presentation.
|
void |
queryAllBookmarks() |
void |
queryAllRecs() |
void |
refreshFieldErrors() |
void |
refreshTable()
Refreshes the data in the table.
|
void |
registerDynamicControlsWithERM(java.util.List<ControlInstance> controls) |
void |
reloadTable()
Gets a new MboSetRemote for the DataBean.
|
void |
removeDialogReference() |
void |
removeListener(DataBeanListener listener)
Adds a listener (child DataBean) to this DataBean (parent).
|
boolean |
removeRowOnCancel(int row) |
boolean |
rePosition()
This method is required to reposition of the databean to the retained postion.
|
void |
reset()
Resets the MboSet.
|
void |
resetJSPFlags() |
void |
resetQbe()
Resets the QBE expressions.
|
void |
resetWithSelection()
Filters the MboSet with the selected Mbos.
|
void |
restoreSavedQbeSettings()
clears out the user where (which clears all qbe fields) and restores the setting saved when
saveCurrentQbeSetting() was called.
|
void |
retainPosition() |
int |
returnLookupValue(MboRemote lookupMbo) |
int |
returnLookupValue(MboSetRemote lookupMboSet) |
int |
returnLookupValue(java.lang.String lookupValue) |
int |
returnLookupValue(java.lang.String componentId,
MboRemote lookupMbo)
Deprecated.
- This methd is not needed. Call returnLookupValue(MboRemote lookupMbo) where this method expects
the return component to be set via setReturnComponent method, prior to the call. preferably before launching the lookup
or applink.
|
void |
save()
Saves the changes made to the MboSet
Throws MXException or RemoteException on failure
The MboSet data or cached data will be undisturbed.
|
void |
save(MboRemote mbo)
Saves the changes made to the MboSet taking in a MboRemote
NOTE: This is used only for a NonPersistentMboSet
The MboSet data or cached data will be undisturbed.
|
void |
saveCurrentQbeSettings(boolean forceOverride)
Stores the current qbe settings so they can be re-established at another time.
|
int |
scrollnext() |
int |
scrollprev() |
void |
select(int row)
Marks the Mbo at the specified row Selected.
|
void |
select(int startIndex,
int count)
Marks the a set of Mbos starting from startIndex selected.
|
void |
selectAll()
selects all Mbos on in the MboSet, remotely
|
int |
selectrecord() |
void |
selectRows(java.util.Vector<MboRemote> selectMboRows,
java.util.Vector<MboRemote> unselectMboRows)
Sends two vectors (one a list of selected rows the other a list list of unselected rows) to
select and unselect mbos in the MboSet
|
void |
sendRefreshTable()
Sends the refreshTable event to all listeners than are dataBeans
|
void |
setApp(java.lang.String appName)
Sets the name of the application using this MboSet.
|
void |
setAppDefault(java.lang.String attribute,
java.lang.String value)
Called by AppDefaultTag to set insert default values from tags
|
void |
setAppDefaults()
Calls the MboSetRemote method setDefaultValues to set the JSP app
defaults for the MboSet.
|
void |
setApplicationError(java.lang.String dataAttribute,
int row,
ApplicationError error)
Sets the Application error on the mbo of the passed in index
|
void |
setAppWhere(java.lang.String sWhereClause)
Sets the application WHERE clause (app restrictions).
|
void |
setAsyncLock(boolean asyncLock)
Set whether or not the long op query AsyncProcess is envoking a method on this bean.
|
void |
setAttributes(java.lang.String[] attributelist,
BitFlag[] flags)
Replaces the internal attribute list with the new attributes.
|
void |
setCurrentQueryDescription(java.lang.String queryDescription) |
boolean |
setCurrentRow(int nRow)
Changes the current row position.
|
void |
setDate(BoundComponentInstance boundComponent,
java.util.Date value) |
void |
setDate(java.lang.String componentId,
java.util.Date value)
Updates an attribute's value (Date) on the current row.
|
void |
setDate(java.lang.String controlId,
java.lang.String attribute,
java.util.Date value)
Deprecated.
FIREFOX
|
void |
setDefaultOrderBy(java.lang.String sOrderByClause) |
void |
setDefaultQbe(java.lang.String attribute,
java.lang.String expression) |
void |
setDefaultValue(java.lang.String attribute,
MboRemote value)
method for setting default values for a mboset
|
void |
setDefaultValue(java.lang.String attribute,
java.lang.String value)
method for setting default values for a mboset
|
void |
setDescAttributeId(java.lang.String string)
Sets description attribute Id
|
void |
setDynamicAppDefaults(MboRemote mbo)
Set dynamice default values on the passed in mbo.
|
void |
setDynamicDefault(java.lang.String attribute,
DataBean frmDataBean,
java.lang.String frmAttribute,
java.lang.String defaultType)
Sets a dynamic default value on inserted mbos.
|
void |
setDynamicQbeDefaults()
calls setQbe for all default qbes.
|
void |
setEmptyOnClear(boolean emptyOnClear)
Sets the emptyOnClear flag that if true, when clearing the filter
of a table, prevent the DataBean from fetching data.
|
void |
setEsigValidated(boolean validated)
Set the eSignature valideted flag
|
void |
setEventRowIndex(int i) |
int |
setfiltervalue() |
void |
setLastEventHandled(WebClientEvent event) |
void |
setListTableModified(boolean inChange)
Flags the listable has been modified or records deleted.
|
void |
setListTableRetain(boolean inRetain)
Flag is enabled only if it is resultsbean in a list and the Retain
List Table functionality is enabled via system configuration.
|
void |
setMboName(java.lang.String sMboName)
Sets the business object name
|
void |
setNewRowUnedited(boolean unedited) |
void |
setOrderBy(java.lang.String sOrderByClause)
Sets the ORDER BY clause.
|
void |
setPageRowCount(int rowCount) |
void |
setParent(DataBean parent,
java.lang.String parentRelationship)
Sets the parent DataBean which this bean has a relationship to.
|
void |
setQbe(java.util.Hashtable<java.lang.String,java.lang.String> qbeAttrs) |
void |
setQbe(java.lang.String expression)
Sets a Qbe on all the fields which have been added to the MboSet
|
void |
setQbe(java.lang.String[] attributes,
java.lang.String expression)
Sets a QBE expression to the list of attributes.
|
void |
setQbe(java.lang.String attribute,
MboSetRemote expression)
Sets a QBE expression to the list of selected mbos in the passed in MboSetRemote.
|
void |
setQbe(java.lang.String attribute,
java.lang.String expression)
Sets a QBE expression to the attribute.
|
void |
setQbeAttributes(java.util.Hashtable<java.lang.String,java.lang.String> newQbeAttributes)
Sets the current qbe attributes
This is used by the qbe page to get the qbe settings from the search remote and apply
them to the results bean
|
void |
setQbeCaseSensitive(boolean caseSensitive)
Sets whether the QBE needs to be case sensitive or not.
|
void |
setQbeDefaults()
calls setQbe for all default qbes.
|
void |
setQbeExactMatch(boolean exact)
Sets whether the QBE needs to be an exact match or not.
|
void |
setQueryBySiteQbe() |
void |
setQueryDescBeforeReviseAction(java.lang.String queryDesc) |
void |
setQueryNameBeforeReviseAction(java.lang.String queryName) |
void |
setRemoveOnCancel(int row) |
void |
setReturnAttribute(java.lang.String string) |
void |
setReturnComponent(ComponentInstance comp) |
void |
setReturnComponentId(java.lang.String id) |
void |
setReturnControlId(java.lang.String string)
Deprecated.
FIREFOX - use setReturnComponentId instead
|
void |
setShowDetails(boolean b)
sets detailsopen flag to save details block state
This is only storage between pages
|
void |
setSmartFillValue(java.lang.String smartFillValue)
Sets the value the user typed in that involked the smartFill.
|
void |
setTableFlag(long flag,
boolean value) |
void |
setupBean(SessionContext sc)
Deprecated.
FIREFOX
|
void |
setupBean(WebClientSession wcs)
This method must be call after the bean is instantiated.
|
void |
setUserDefaults()
method for getting default value for a particular attribute in mboset
|
void |
setUserWhere(java.lang.String whereClause)
Sets the userwhereclause
|
int |
setvalue() |
void |
setValue(int row,
java.lang.String attribute,
MboRemote mboRemote)
Updates an attribute's value on the given row.
|
void |
setValue(int nRow,
java.lang.String attribute,
java.lang.String value)
Updates an attribute's value on the given row.
|
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) |
void |
setValue(java.lang.String attribute,
MboSetRemote mboSetRemote)
Updates an attribute's value on the given row.
|
void |
setValue(java.lang.String attribute,
java.lang.String value)
Updates an attribute's value on the current row.
|
void |
setValue(java.lang.String attribute,
java.lang.String value,
long accessModifier)
Updates an attribute's value on the current row.
|
void |
setValueFromComponent(BoundComponentInstance changedComponent,
WebClientEvent event,
java.lang.String newValue) |
MboSetRemote |
smartFill(int row,
java.lang.String attribute,
java.lang.String value,
boolean exactMatch) |
MboSetRemote |
smartFill(java.lang.String attribute,
java.lang.String value,
boolean exactMatch) |
void |
sort()
Used for sorting table windows.
|
void |
sort(java.lang.String sOrderByClause)
Used for sorting table windows.
|
int |
sortcolumn() |
int |
sortcolumn(java.lang.String sortString) |
int |
sqlwhere()
Handler for setting a query - the query name is in the event value
|
void |
structureChangedEvent(DataBean speaker)
event called by the "parent" DataBean which tells this DataBean that it references a new mbo or
MboSetRemote.
|
boolean |
toBeSaved()
Returns whether the MboSet or it's children need to be saved.
|
int |
toggledeleterow() |
int |
toggledetailstate(boolean open) |
int |
toggleselectallrows()
Marks all the mbos in the current table window page selected or unselected
|
int |
toggleselectrow() |
java.lang.String |
toString() |
void |
turnEmptyStateOn()
Sets a flag telling the the DataBean not to fetch any data until an event on the DataBean causes a "refreshing"
of the data (like filtering, setting of a value, etc...)
|
void |
unbindComponent(BoundComponentInstance boundComponent) |
void |
undelete()
Undeletes the current row.
|
void |
undelete(int nRow)
undeletes the given row.
|
void |
unselect(int row)
Marks the Mbo at the specified row Unselected.
|
void |
unselect(int startIndex,
int count)
Marks the a set of Mbos starting from startIndex Unselected.
|
void |
unselectAll()
Unselects all Mbos on in the MboSet, remotely
|
int |
useAllBookmarksQuery() |
int |
useAllRecsQuery() |
int |
useqbe()
Handler for setting a qbe set
|
int |
usequery()
Handler for setting a query - the query name is in the event value
|
void |
useQuery(java.lang.String queryName)
Uses the stored query as the user defined query that overrides
the QBE.
|
void |
useStoredQuery(java.lang.String queryName)
Uses the stored query as the user defined query that overrides
the QBE.
|
void |
validate()
Validates object.
|
void |
validateChildren()
Validates children of the current table.
|
void |
validateMbo()
Validates object.
|
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent event) |
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent event) |
getCreator, getId, setCreator, setId
public static final int ATTR_READONLY
public static final int ATTR_REQUIRED
public static final int ATTR_DEFAULT
public static final int ATTR_QBE
public static final int ATTR_COLUMN
public static final int ATTR_RESET
public static final int ATTR_REFRESH_TABLE
public static final int TABLE_EXPANDED
public static final int TABLE_AT_FIRST_PAGE
public static final int TABLE_AT_LAST_PAGE
public static final int TABLE_AT_FIRST_ROW
public static final int TABLE_AT_LAST_ROW
public static final int TABLE_FILTER_EXPANDED
public static final int TABLE_DETAILS_EXPANDED
public static final int TABLE_ROW_CHANGED
public static final int TABLE_FILTERED
public static final int TABLE_REFRESH_FILTER
public static final int TABLE_REFRESH_ROW
public static final int TABLE_REFRESH_ALL_ROWS
public static final int TABLE_ALL_SELECTED
public static final int TABLE_START_EMPTY
public static final int TABLE_USE_SUBSELECT
public static final int TABLE_SUBSELECT_ON
public static final int TABLE_REFRESH_TITLE
public static final int MAX_TABLEROWS
public static final java.lang.String ALL_BOOKMARKS
public static final java.lang.String ALL_RECORDS
public void setupBean(WebClientSession wcs)
setupBean
in class WebClientBean
wsc
- clientSession for the user.public void bindComponent(BoundComponentInstance boundComponent)
boundComopnentId
- the identifier of the component instance to be bound to this beanpublic void unbindComponent(BoundComponentInstance boundComponent)
boundComopnentId
- the identifier of the component instance to be bound to this bean@Deprecated public void setupBean(SessionContext sc)
WebClientBean
setupBean
in class WebClientBean
public void setNewRowUnedited(boolean unedited)
public boolean isNewRowUnedited()
public java.lang.String[] getTableAttributes()
public void setAppDefault(java.lang.String attribute, java.lang.String value)
public void setQbeDefaults()
public void setAppDefaults()
public void setParent(DataBean parent, java.lang.String parentRelationship)
public DataBean getParent()
public void addListener(DataBeanListener listener)
public void removeListener(DataBeanListener listener)
public void fireDataChangedEvent(DataBean speaker)
public void fireDataChangedEvent()
public void fireStructureChangedEvent(DataBean speaker)
public void sendRefreshTable()
public void fireStructureChangedEvent()
public void listenerChangedEvent(DataBean speaker)
public void dataChangedEvent(DataBean speaker)
dataChangedEvent
in interface DataBeanListener
public void structureChangedEvent(DataBean speaker)
structureChangedEvent
in interface DataBeanListener
public void fireChildChangedEvent()
public void setMboName(java.lang.String sMboName)
public java.lang.String getMboName()
public MXSession getMXSession()
public void setDefaultOrderBy(java.lang.String sOrderByClause) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getDefaultOrderBy()
public void setOrderBy(java.lang.String sOrderByClause) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getOrderBy()
public void setAppWhere(java.lang.String sWhereClause) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getAppWhere() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean hasMboSetRemote()
public MboSetRemote getMboSet() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setApp(java.lang.String appName) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.String getKeyAttribute()
public java.lang.String[] getKeyAttributes()
public java.lang.String[] getAttributes()
public boolean isAttribute(java.lang.String attribute)
public boolean isTableAttribute(java.lang.String attribute)
public void addAttribute(java.lang.String attribute, BitFlag flags)
public void addQbeAttribute(java.lang.String attribute)
public void setAttributes(java.lang.String[] attributelist, BitFlag[] flags)
public int count() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setUserWhere(java.lang.String whereClause) throws MXException
MXException
public java.lang.String getUserWhere() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getUserAndQbeWhere() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void useStoredQuery(java.lang.String queryName) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getQbe(java.lang.String attribute)
public void saveCurrentQbeSettings(boolean forceOverride) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void clearSavedQbeSettings()
public void restoreSavedQbeSettings() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void clearSavedFilterSettings()
public void setQbe(java.lang.String attribute, java.lang.String expression) throws MXException
MXException
public void setQbe(java.lang.String attribute, MboSetRemote expression) throws MXException
MXException
public void setQbe(java.lang.String[] attributes, java.lang.String expression) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setQbe(java.util.Hashtable<java.lang.String,java.lang.String> qbeAttrs) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setDefaultQbe(java.lang.String attribute, java.lang.String expression)
public void setQbe(java.lang.String expression) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getQbe() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Hashtable<java.lang.String,java.lang.String> getQbeAttributes()
public void setQbeAttributes(java.util.Hashtable<java.lang.String,java.lang.String> newQbeAttributes) throws MXException
MXException
public void setQbeExactMatch(boolean exact) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setQbeCaseSensitive(boolean caseSensitive) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void resetQbe() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean getBoolean(java.lang.String col) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean getBoolean(int row, java.lang.String col) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getString(java.lang.String attribute)
public java.lang.String getString(int row, java.lang.String attribute)
public java.lang.String getColumnString(int row, java.lang.String col) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Date getColumnDate(int row, java.lang.String col) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Date getDate(java.lang.String attribute) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getTitle(java.lang.String attribute) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getZombie() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getMboOrZombie() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboValueInfoStatic getMboValueInfo(java.lang.String attribute) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboValueData getZombieMboValueData(java.lang.String attribute) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboValueData getMboValueData(int nRow, java.lang.String attribute) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isAttributeHidden(java.lang.String attribute) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean isAttributeHidden(int row, java.lang.String attribute) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean isMboHidden() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean isMboHidden(int row) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public MboValueData getMboValueData(java.lang.String attribute) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getRemoteForLookup() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getList(java.lang.String attribute) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getList(java.lang.Integer row, java.lang.String attribute) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getList(int nRow, java.lang.String attribute) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String[][] getDataList(java.lang.String dataAttribute) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String[][] getDataList(int row, java.lang.String dataAttribute) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String[][] getDataList(int row, java.lang.String dataAttribute, java.lang.String keyAttributeName, java.lang.String displayAttribute) throws MXException, java.rmi.RemoteException
the
- row when the combo box is on a tabledataAttribute
- the name of the data attribute in this bean - the contents will be retrieved from the data source associated with the control bound to this attributekeyAttributeName
- the name of the key attribute in the data source. If null, dataAttribute is used insteaddisplayAttribute
- teh name of the value in the data source . If null, dataAttribute is used insteadMXException
- or RemoteException if the data could not be obtained.java.rmi.RemoteException
public java.lang.String[][] getDataList(int row, java.lang.String dataAttribute, java.lang.String displayAttribute) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String[][] getDataListFromMboSetRemote(MboSetRemote setRemote, java.lang.String dataAttribute, java.lang.String displayAttribute) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void validate() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void validateMbo() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void validateChildren() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MXException checkAndDistributeRequiredError(MXException mxe)
mxe
- The MXException to check and see if it is a required field is blank exception.Appinstance.propagateRequiredErrors
public void handleRequiredFieldException(MXRequiredFieldException requiredFieldException, WebClientEvent event)
requiredFieldException
- event
- public void save() throws MXException
MXException
public void checkForAppError() throws MXException
MXException
public void save(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void reset() throws MXException
MXException
public boolean canCloseBean()
public boolean hasSameMboSet(DataBean bean)
public void addDialogReference()
public void removeDialogReference()
public void close()
public boolean setCurrentRow(int nRow) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int getCurrentRow()
public boolean next() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean previous() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void insert(int nRow) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void insert() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void insertAtEnd() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void delete() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void delete(int nRow) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void deleteAndRemove() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void deleteAndRemove(int nRow) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void undelete() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void undelete(int nRow) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setDefaultValue(java.lang.String attribute, MboRemote value) throws MXException
MXException
public void setDefaultValue(java.lang.String attribute, java.lang.String value) throws MXException
MXException
public void setUserDefaults() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getDefaultValue(java.lang.String attribute)
public void setValue(java.lang.String attribute, java.lang.String value) throws MXException
MXException
@Deprecated public void setDate(java.lang.String controlId, java.lang.String attribute, java.util.Date value) throws MXException
MXException
public void setDate(java.lang.String componentId, java.util.Date value) throws MXException
MXException
public void setDate(BoundComponentInstance boundComponent, java.util.Date value) throws MXException
MXException
public void setValue(int nRow, java.lang.String attribute, java.lang.String value) throws MXException
MXException
public void setValue(java.lang.String attribute, java.lang.String value, long accessModifier) throws MXException
MXException
public void setValue(int nRow, java.lang.String attribute, java.lang.String value, long accessModifier) throws MXException
MXException
public void setValue(java.lang.String attribute, MboRemote mboRemote) throws MXException
MXException
public void setValue(int row, java.lang.String attribute, MboRemote mboRemote) throws MXException
MXException
public void setValue(java.lang.String attribute, MboSetRemote mboSetRemote) throws MXException
MXException
public int returnLookupValue(java.lang.String lookupValue) throws MXException
MXException
@Deprecated public int returnLookupValue(java.lang.String componentId, MboRemote lookupMbo) throws MXException
MXException
public int returnLookupValue(MboRemote lookupMbo) throws MXException
MXException
public int returnLookupValue(MboSetRemote lookupMboSet) throws MXException
MXException
public MboRemote getMbo() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getMbo(int row) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean duplicateMbo() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String[][] getDataAsArray()
public java.lang.String[][] getDataAsArray(java.lang.String[] attributeNames)
public java.lang.String[][] getSelectedDataAsArray()
public java.lang.String[][] getSelectedDataAsArray(java.lang.String[] attributeNames)
public void propagateRequired() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void retainPosition() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public int fetchTableData() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int fetchTableData(int startingRow) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean fetchRecordData() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetData getMboSetData(int row, int count, java.lang.String[] attributeNames) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean hasLongDescriptionText(int row, java.lang.String attribute)
public boolean hasLongDescriptionText(java.lang.String attribute)
public boolean toBeSaved() throws MXException
MXException
public boolean isRowDeleted(int row)
public boolean isModifiedRow()
public boolean isModifiedRow(int row)
public boolean hasRow(int row)
public boolean isNewRow()
public boolean isNewRow(int row)
public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
valueBound
in interface javax.servlet.http.HttpSessionBindingListener
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
valueUnbound
in interface javax.servlet.http.HttpSessionBindingListener
public void select(int row) throws MXException
MXException
public void unselect(int row) throws MXException
MXException
public boolean isSelected(int row) throws MXException
MXException
public java.util.Vector<MboRemote> getSelection() throws MXException
MXException
public void selectAll() throws MXException
MXException
public void unselect(int startIndex, int count) throws MXException
startIndex
- starting index position (must be >= 0)count
- number of Mbos after the start index to be marked unselected (must be > 0).MXException
public void select(int startIndex, int count) throws MXException
startIndex
- starting index position (must be >= 0)count
- number of Mbos after the start index to be marked unselected (must be > 0).MXException
public void unselectAll() throws MXException
MXException
public void selectRows(java.util.Vector<MboRemote> selectMboRows, java.util.Vector<MboRemote> unselectMboRows) throws MXException
MXException
public void resetWithSelection() throws MXException
MXException
public void sort() throws MXException
MXException
public void sort(java.lang.String sOrderByClause) throws MXException
MXException
@Deprecated public int isColumnSorted(java.lang.String componentId) throws MXException
MXException
public boolean isEmpty() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getCompleteWhere() throws MXException
MXException
public boolean checkMethodAccess(java.lang.String methodName) throws MXException
MXException
@Deprecated public boolean needToAuthenticate(SessionContext sc, java.lang.String option) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setShowDetails(boolean b)
public void setRemoveOnCancel(int row)
public int getLastFetchIndex()
public int getEndRow()
public int getCacheRowIndex(int rowDataBeanIndex)
public int getMboRowIndex(int tableRow)
public int getPageStartIndex()
public int getRowIndexFromEvent(WebClientEvent event)
public boolean hasPageRows()
public boolean removeRowOnCancel(int row)
public boolean isTableRowSelected(int row)
public boolean getShowDetails()
public int getPageEndRow()
public int getPageRowCount()
public int setfiltervalue() throws MXException
MXException
public boolean applyValuesToSharedAttributes(ComponentInstance component, java.lang.String value)
public void applyValuesToSharedAttributes(ComponentInstance component)
public void setValueFromComponent(BoundComponentInstance changedComponent, WebClientEvent event, java.lang.String newValue) throws MXException
MXException
public int setvalue() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void refreshFieldErrors() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.util.List<ERMAttributeError> getNullRequiedFields() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String displaycount() throws MXException
MXException
public int copytonewrow() throws MXException
MXException
public int addrow() throws MXException
MXException
public int scrollnext() throws MXException
MXException
public int scrollprev() throws MXException
MXException
public int nextrow() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int prevrow() throws MXException
MXException
public int toggledetailstate(boolean open) throws MXException
MXException
public int toggledeleterow() throws MXException
MXException
public int highlightrow() throws MXException
MXException
public int highlightrow(int row) throws MXException
MXException
public int toggleselectrow() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int toggleselectallrows() throws MXException
MXException
public int sortcolumn() throws MXException
MXException
public int sortcolumn(java.lang.String sortString) throws MXException
MXException
public int instantdelete() throws MXException
MXException
public int filterrows() throws MXException
MXException
public int clearfilter() throws MXException
MXException
public boolean isTableStateFlagSet(long flag)
flag
- The flag to checkpublic BitFlag getTableStateFlags()
public int selectrecord() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void resetJSPFlags()
public int getEventRowIndex()
public void setEventRowIndex(int i)
Used
- by the UI Framework to set the current row being drawn/refreshedpublic WebClientEvent getLastEventHandled()
public void setLastEventHandled(WebClientEvent event)
event
- public void setTableFlag(long flag, boolean value)
public int execute() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int callMethod(WebClientEvent event) throws MXException, java.lang.NoSuchMethodException, java.rmi.RemoteException
MXException
java.lang.NoSuchMethodException
java.rmi.RemoteException
public int callMethod(java.lang.String methodName, WebClientEvent event) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int callMethod(WebClientEvent event, java.lang.Class<?>[] paramTypes, java.lang.Object[] params) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int callMethod(java.lang.String methodName, WebClientEvent event, java.lang.Class<?>[] paramTypes, java.lang.Object[] params) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int findAndCallMethod(WebClientEvent event, DataBean datasrc, java.lang.String method, java.lang.Class<?>[] paramTypes, java.lang.Object[] params) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int callRemoteMethod(java.lang.String method) throws MXException, java.lang.NoSuchMethodException, java.rmi.RemoteException
MXException
java.lang.NoSuchMethodException
java.rmi.RemoteException
public int callRemoteMethod(java.lang.String method, java.lang.Class<?>[] paramTypes, java.lang.Object[] params) throws MXException, java.lang.NoSuchMethodException, java.rmi.RemoteException
MXException
java.lang.NoSuchMethodException
java.rmi.RemoteException
public int callBeanMethod(WebClientEvent event) throws MXException, java.lang.NoSuchMethodException, java.rmi.RemoteException
MXException
java.lang.NoSuchMethodException
java.rmi.RemoteException
public int callBeanMethod(java.lang.String method, WebClientEvent event) throws MXException, java.lang.NoSuchMethodException, java.rmi.RemoteException
MXException
java.lang.NoSuchMethodException
java.rmi.RemoteException
public int callBeanMethod(WebClientEvent event, java.lang.Class<?>[] paramTypes, java.lang.Object[] params) throws MXException, java.lang.NoSuchMethodException, java.rmi.RemoteException
MXException
java.lang.NoSuchMethodException
java.rmi.RemoteException
public int callBeanMethod(java.lang.String method, WebClientEvent event, java.lang.Class<?>[] paramTypes, java.lang.Object[] params) throws MXException, java.lang.NoSuchMethodException, java.rmi.RemoteException
MXException
java.lang.NoSuchMethodException
java.rmi.RemoteException
public java.lang.String getReturnAttribute()
public void setReturnAttribute(java.lang.String string)
@Deprecated public java.lang.String getReturnControlId()
public java.lang.String getReturnComponentId()
@Deprecated public void setReturnControlId(java.lang.String string)
public void setReturnComponentId(java.lang.String id)
public void setReturnComponent(ComponentInstance comp)
public ComponentInstance getReturnComponent()
public void handleRemoteException(java.rmi.RemoteException e) throws MXException
MXException
public void turnEmptyStateOn()
public MboRemote getMboForUniqueId(long uid) throws MXException, java.rmi.RemoteException
uid
- unique id to look for.MXException
java.rmi.RemoteException
public long getUniqueIdValue() throws MXException, java.rmi.RemoteException, java.lang.NullPointerException
MXException
java.rmi.RemoteException
java.lang.NullPointerException
psdi.mbo.getUniqueIDValue
public java.lang.String getUniqueIdName() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.mbo.getUniqueIDName
public MboSetRemote smartFill(int row, java.lang.String attribute, java.lang.String value, boolean exactMatch) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote smartFill(java.lang.String attribute, java.lang.String value, boolean exactMatch) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public long getUniqueIdFromSmartFill(java.lang.String attribute, java.lang.String value) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public long getUniqueIdFromSmartFill(java.lang.String applicName, java.lang.String attribute, java.lang.String value) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void refreshTable()
public void reloadTable()
public java.lang.String getSmartFillValue()
public void setSmartFillValue(java.lang.String smartFillValue)
public int cancelDialog() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkESigAuthenticated(java.lang.String option) throws MXException, java.rmi.RemoteException
option
- Option to checkMXException
- EsigLoginException if authentication is requiredjava.rmi.RemoteException
public void setEsigValidated(boolean validated)
public java.lang.String getDescAttributeId()
public void setDescAttributeId(java.lang.String string)
public void setPageRowCount(int rowCount)
public int _useAllRecsQuery() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int useAllRecsQuery() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int _useAllBookmarksQuery() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int useAllBookmarksQuery() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int _usequery() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int usequery() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void useQuery(java.lang.String queryName) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int sqlwhere() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int useqbe() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void queryAllRecs() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void queryAllBookmarks() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getCurrentQueryName()
public void clearBean() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setQueryBySiteQbe() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MXException[] getWarnings() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean moveToMboFromDataBean(DataBean dataBean, java.lang.String dataAttribute) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int hierarchicalmove() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int getTableOffset()
public java.lang.String getSortOrder(java.lang.String sortAttribute)
public void addSigOption(java.lang.String sigoption)
sigoption
- The sigoption name that will be used to get conditional properties for a control bound to the databeanpublic void addConditionalProperties(java.lang.String sigOption, int row, java.util.HashMap<java.lang.String,java.lang.String> properties)
sigOption
- the sigoption associated witht he conditional propertiesrow
- mbo index for which these conditional properies came fromproperties
- the map of name value pairs of conditional propertiespublic java.util.HashMap<java.lang.String,java.lang.String> getConditionalProperties(int row, java.lang.String sigOption) throws MXException, java.rmi.RemoteException
row
- the mbo to checksigOption
- the sigoption to get the condition properties for.MXException
java.rmi.RemoteException
public boolean hasSigOptionAccess(java.lang.String sigOption) throws java.rmi.RemoteException, MXException
sigOption
- The sigoption that will be checked to see if the user has privileges for it, for the given Mbo.java.rmi.RemoteException
MXException
public boolean hasSigOptionAccess(int row, java.lang.String sigOption) throws java.rmi.RemoteException, MXException
row
- The index of the mbo to do the check on.sigOption
- The sigoption that will be checked to see if the user has privileges for it, for the given Mbo.java.rmi.RemoteException
MXException
public MboSetRemote getMboSetFromSmartFind(int row, java.lang.String attribute) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getMboSetFromSmartFind(java.lang.String attribute) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getMboSetFromSmartFind(java.lang.String app, java.lang.String attribute) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean canFetchData()
public MboSetRemote getRemoteForDownload() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean isSubSelect()
public void setDynamicAppDefaults(MboRemote mbo)
public void setDynamicDefault(java.lang.String attribute, DataBean frmDataBean, java.lang.String frmAttribute, java.lang.String defaultType)
public void setDynamicQbeDefaults()
public boolean changeRequiredField(int row, java.lang.String attribute, boolean required)
public java.lang.String getQueryNameBeforeReviseAction()
public void setQueryNameBeforeReviseAction(java.lang.String queryName)
public java.lang.String getQueryDescBeforeReviseAction()
public void setQueryDescBeforeReviseAction(java.lang.String queryDesc)
public void setEmptyOnClear(boolean emptyOnClear)
public boolean asyncLocked()
public void setAsyncLock(boolean asyncLock)
public boolean madeRequiredConditionally(java.lang.String attribute)
public boolean isListTableModified()
public void setListTableModified(boolean inChange)
public boolean isListTableRetain()
public void setListTableRetain(boolean inRetain)
public java.lang.String getCurrentQueryDescription()
public void setCurrentQueryDescription(java.lang.String queryDescription)
public boolean boundToTable()
public void setApplicationError(java.lang.String dataAttribute, int row, ApplicationError error) throws MXException
MXException
public java.lang.String buildPortalMsg(java.lang.String attribute, java.lang.String newValue)
public boolean rePosition() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean isAppTableRetain()
public void positionState()
public void markTablePosition(boolean inFlg)
public boolean isTablePostionMarked()
public UIERMEntity getUIERMEntity()
public java.lang.String toString()
toString
in class java.lang.Object
public void registerDynamicControlsWithERM(java.util.List<ControlInstance> controls) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String getLockedByDisplayName(int row) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isRowLocked(int row) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isLookupMultiSelect(BoundComponentInstance boundComponentInstance, boolean isQueryInput)
boundComponentInstance
- isQueryInput
- public java.util.Hashtable<java.lang.String,java.lang.String> getSavedFilterSettings()
public java.lang.String getParentRelationship()