public class DesignerAppBean extends AppBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESIGNER_SELECTED_CLASS |
static java.lang.String |
DROP_AFTERBEGIN |
static java.lang.String |
DROP_AFTEREND |
static java.lang.String |
DROP_BEFOREBEGIN |
static java.lang.String |
DROP_BEFOREEND |
static java.lang.String |
DROP_INVALIDTARGET |
static java.lang.String |
NEWAPP_SECURITY_GROUP_PROPERTY |
static java.lang.String |
PROPERTIES_DIALOG_NOCONTROL |
static java.lang.String |
PROPERTIES_DIALOG_PREFIX |
static java.lang.String |
TOOLBOX_ID_PREFIX |
DIRECTPRINT_LINK, DIRECTPRINT_WATTACH_LINK, LONG_OP_INPRG, LONG_OP_READY, QUERY_ALL, QUERY_ALL_BOOKMARKS, QUERY_KEY, QUERY_NONE, QUICK_LINK
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 |
---|
DesignerAppBean() |
Modifier and Type | Method and Description |
---|---|
void |
addControlLabelsToCache(ControlInstance source) |
int |
APPCONTENT()
if app content is closed, open it...
|
int |
cancelduplicate()
Cancels Duplicate App in the Screen Designer.
|
int |
cancelinsert()
Cancels insert App in the Screen Designer.
|
void |
closepropertydialog() |
void |
closewindows() |
int |
CONTROLS()
if controls are closed, open them...
|
int |
COPYNODE() |
int |
CUTNODE() |
int |
DELETENODE() |
int |
designcontextmenu()
Handles the context menus in designer.
|
int |
DUPLICATE()
Duplicates the current App in Screen Designer.
|
int |
duplicateapp() |
int |
duplicateappnow()
Used to duplicate a new application in the designer.
|
int |
EXPORT()
Handles the Export button on the toolbar
|
int |
find() |
java.lang.String |
getCopyId(java.lang.String id) |
ControlInstance |
getCurrentControl()
Used to get the currently selected control
|
boolean |
getModifiedFlag() |
java.lang.String |
getViewport()
returns the viewport size set in the presentation
|
int |
IMPORT()
Handles the Import button on the toolbar
|
void |
initializeApp()
This method is called when the presentations "main" page is initalized and before the page is rendered.
|
void |
initializeReferences()
method to re-initialize references to controls used by designer each time a new app is loaded.
|
int |
INSERT() |
int |
insertcontrol()
FROM CANVAS
Creates a new control and inserts it before the target
Insert a new control into the control hierarchy and the ui.
|
boolean |
isPalleteLabelsOn()
Returns true of the control labels are to be shown or hidden in the pallete
|
boolean |
isPropertyDialogOpen() |
int |
movecontrol()
FROM CANVAS
Moves the control to a specific target
|
int |
newapp()
Used to create a new application in the designer.
|
int |
NEXT() |
int |
PASTENODE() |
int |
PREVIOUS() |
void |
propagateProperties(ControlInstance from,
ControlInstance to) |
int |
PROPERTIES()
if properties are closed, open them...
|
int |
SAVE() |
boolean |
saveYesNoCheck()
Checks the AppBean to see if it needs to be saved.
|
boolean |
saveYesNoInteractionCheck()
Checks the AppBean to see if it needs to be saved.
|
int |
selectcontrol()
FROM CANVAS
Selects the current control.
|
ControlInstance |
selectControl(java.lang.String id) |
ControlInstance |
selectControl(java.lang.String id,
boolean warn)
select the control specified by id.
|
int |
selecttab()
Event sent when a user clicks on a tab in the designer canvas, to change to that tab.
|
int |
setcontrollablestate()
Sets the state of the control labels pallete
|
int |
setmobilefields()
this method handles a 'setmobilefields' event sent by the page when an app is loaded in designer.
|
void |
setModifiedFlag(boolean modified)
the modified flag is used to determine when the xml has changed.
|
void |
setRefreshCanvas() |
int |
setvalue()
this setvalue is here so that we can catch the setting of Viewport and update the
|
void |
setValue(int nRow,
java.lang.String attribute,
java.lang.String value,
long accessModifier)
this setvalue is here so that we can catch the setting of ismobile and update the
|
int |
SHOWALLCTL()
toggle the showing of all controls.
|
int |
SHOWCONDUI()
toggle the showing of the conditional ui indicator.
|
boolean |
toBeSaved()
Returns whether the MboSet or it's children need to be saved.
|
int |
TOGGLEVP()
Toggle Viewport Display ON or OFF in app designer, and cause page to rerender
|
boolean |
validateContainer(java.lang.String newControlType,
java.lang.String toContainerType) |
addrow, appinfo, autoInitiateWorkflow, BOOKMARK, canExit, canSaveBasedOnLocks, CLEAR, clearfilter, convertPortalParameters, DELETE, ensureRecord, fireStructureChangedEvent, FLTRLASET, getAppInfo, getCurrentQueryDescription, getCurrentQueryName, getCurrentRow, getKPIId, getKPISelect, getKPIWhere, getMboSet, getPortalEvent, getQueryOption, getQuickFindRemote, getRecordLockProperties, getResultsBean, hasModifications, hasSaveAccess, hasSigOptionAccess, hasSigOptionAccess, hasStartRecord, HELPWF, inboxwf, initQuickFIndRemote, insert, isEmpty, isUserWhereClauseThroughIntegration, launchwf, MODIFYSLAS, moveToUniqueId, NAVHISTORY, RECORDLOCK, RECUNLOCK, refreshFieldErrors, reset, RESULTS, returnnovalue, returntoapp, returnwithvalue, ROUTEWF, RUNAREPORT, RUNREPORTBYNAME, RUNREPORTS, save, saveattachment, SEARCHATTR, SEARCHMORE, SEARCHWHER, setDefaultQbe, setFilterCleared, setKPIId, setQueryOption, setupBean, setupBean, setUserWhereClauseThroughIntegration, STOPWF, STRECLOCK, structureChangedEvent, submitPrintJob, toggledeleterow, updateForRecordLock
_useAllBookmarksQuery, _useAllRecsQuery, _usequery, addAttribute, addConditionalProperties, addDialogReference, addListener, addQbeAttribute, 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, clearSavedFilterSettings, clearSavedQbeSettings, close, copytonewrow, count, dataChangedEvent, delete, delete, deleteAndRemove, deleteAndRemove, displaycount, duplicateMbo, execute, fetchRecordData, fetchTableData, fetchTableData, filterrows, findAndCallMethod, fireChildChangedEvent, fireDataChangedEvent, fireDataChangedEvent, fireStructureChangedEvent, getAppWhere, getAttributes, getBoolean, getBoolean, getCacheRowIndex, getColumnDate, getColumnString, getCompleteWhere, getConditionalProperties, 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, 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, hierarchicalmove, highlightrow, highlightrow, insert, insertAtEnd, instantdelete, isAppTableRetain, isAttribute, isAttributeHidden, isAttributeHidden, isColumnSorted, 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, refreshTable, registerDynamicControlsWithERM, reloadTable, removeDialogReference, removeListener, removeRowOnCancel, rePosition, resetJSPFlags, resetQbe, resetWithSelection, restoreSavedQbeSettings, retainPosition, returnLookupValue, returnLookupValue, returnLookupValue, returnLookupValue, save, saveCurrentQbeSettings, scrollnext, scrollprev, select, select, selectAll, selectrecord, selectRows, sendRefreshTable, setApp, setAppDefault, setAppDefaults, setApplicationError, setAppWhere, setAsyncLock, setAttributes, setCurrentQueryDescription, setCurrentRow, setDate, setDate, setDate, setDefaultOrderBy, 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, setUserDefaults, setUserWhere, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromComponent, smartFill, smartFill, sort, sort, sortcolumn, sortcolumn, sqlwhere, 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 static final java.lang.String PROPERTIES_DIALOG_PREFIX
public static final java.lang.String PROPERTIES_DIALOG_NOCONTROL
public static final java.lang.String TOOLBOX_ID_PREFIX
public static final java.lang.String DROP_BEFOREBEGIN
public static final java.lang.String DROP_BEFOREEND
public static final java.lang.String DROP_AFTERBEGIN
public static final java.lang.String DROP_AFTEREND
public static final java.lang.String DROP_INVALIDTARGET
public static final java.lang.String NEWAPP_SECURITY_GROUP_PROPERTY
public static final java.lang.String DESIGNER_SELECTED_CLASS
public void initializeApp() throws MXException, java.rmi.RemoteException
AppBean
Only on the first initialize the method also checks for these mutually exclusiive special conditions:
A subsequent call to initializeApp() will not check for these conditions, causing the default reset to happen
initializeApp
in class AppBean
MXException
java.rmi.RemoteException
public void initializeReferences()
public int SHOWALLCTL() throws java.rmi.RemoteException
java.rmi.RemoteException
public int SHOWCONDUI() throws java.rmi.RemoteException
java.rmi.RemoteException
public int designcontextmenu()
public int PROPERTIES() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public int CONTROLS() throws java.rmi.RemoteException
java.rmi.RemoteException
public int APPCONTENT() throws java.rmi.RemoteException
java.rmi.RemoteException
public void closepropertydialog() throws java.rmi.RemoteException
java.rmi.RemoteException
public void closewindows() throws java.rmi.RemoteException
java.rmi.RemoteException
public int IMPORT()
public int DELETENODE() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int CUTNODE() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int COPYNODE() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int PASTENODE() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int SAVE() throws MXException, java.rmi.RemoteException
SAVE
in class AppBean
MXException
java.rmi.RemoteException
public int EXPORT()
public int INSERT() throws MXException, java.rmi.RemoteException
INSERT
in class AppBean
MXException
java.rmi.RemoteException
public int newapp() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int DUPLICATE() throws MXException, java.rmi.RemoteException
DUPLICATE
in class AppBean
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic int cancelinsert() throws MXException, java.rmi.RemoteException
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic int cancelduplicate() throws MXException, java.rmi.RemoteException
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic int duplicateappnow()
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic int duplicateapp() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setModifiedFlag(boolean modified)
modified
- public boolean getModifiedFlag()
public boolean toBeSaved() throws MXException
DataBean
toBeSaved
in class AppBean
MXException
public boolean saveYesNoInteractionCheck() throws MXException
AppBean
saveYesNoInteractionCheck
in class AppBean
MXApplicationYesNoCancelException
- Thrown with "jspmessages" and one of "savecontinue",
"interactioncontinue", or "saveinteractioncontinue" if the user has unsaved changes and or
is in the middle of a workflow interaction.MXException
public boolean saveYesNoCheck() throws MXException
AppBean
saveYesNoCheck
in class AppBean
MXApplicationYesNoCancelException
- Thrown with "jspmessages" and one of "savecontinue",
"interactioncontinue", or "saveinteractioncontinue" if the user has unsaved changes and or
is in the middle of a workflow interaction.MXException
public boolean isPalleteLabelsOn()
public int setcontrollablestate()
controlsLabelsState.
- public int find() throws MXException, java.rmi.RemoteException
find
in class AppBean
MXException
java.rmi.RemoteException
public int PREVIOUS() throws MXException
PREVIOUS
in class AppBean
MXException
public int NEXT() throws MXException
NEXT
in class AppBean
MXException
public ControlInstance getCurrentControl()
public java.lang.String getCopyId(java.lang.String id)
public int insertcontrol()
MXException
public void setRefreshCanvas()
public int movecontrol() throws MXException
MXException
public int selectcontrol()
MXExceptionunselect
public int selecttab()
public ControlInstance selectControl(java.lang.String id)
public ControlInstance selectControl(java.lang.String id, boolean warn)
wsc
- id
- public void addControlLabelsToCache(ControlInstance source)
public boolean validateContainer(java.lang.String newControlType, java.lang.String toContainerType)
public void propagateProperties(ControlInstance from, ControlInstance to)
public boolean isPropertyDialogOpen()
public int setvalue() throws MXException, java.rmi.RemoteException
setvalue
in class DataBean
MXException
java.rmi.RemoteException
public void setValue(int nRow, java.lang.String attribute, java.lang.String value, long accessModifier) throws MXException
setValue
in class DataBean
MXException
public int setmobilefields() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int TOGGLEVP() throws MXException
MXException
public java.lang.String getViewport()