public class StartCenterAppBean extends AppBean
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 |
---|
StartCenterAppBean() |
Modifier and Type | Method and Description |
---|---|
int |
cancelchanges()
Cancels the changes to the template.
|
boolean |
canConfigureSC()
Can User Configure start Center
|
boolean |
canUpdateSC()
Returns true if current user is self service app user
|
java.lang.String |
checkGroupAssociation()
Deprecated.
|
int |
createtemplate()
Handle the Create Template event
Creates a temporary start center for Admin as another tab and takes the admin to change content and layout
|
int |
deletetemplate()
Handles the delete template event.
|
java.util.HashSet |
getAllowedPortlets()
Gets allowed portlets for the current user
|
java.util.TreeMap |
getAllPortletsByColumns()
Gets allowed portlets for the current user or returns an empty map
|
PortletBean |
getBean(java.lang.String portletId)
Gets the bean for this portlet
|
java.lang.String |
getCurrentStartCenterUId()
Resets the set for data for that start center only
|
java.lang.String |
getGroupAssociationMessage(java.util.Hashtable messageInfo)
Returns a message if a start center was removed
|
java.lang.String |
getGroupAssociationMessageTemplateLink(java.util.Hashtable messageInfo)
Returns a message if a start center was removed due to templates being disassociated
|
java.lang.String |
getPageLayout()
Returns the current startcenter page layout
|
java.lang.String |
getPageLeftLayoutPercent()
Returns the current startcenter layout settings
|
java.lang.String |
getPageRightLayoutPercent()
Returns the current startcenter layout settings
|
java.util.Hashtable |
getPortletControlNameMap()
Returns a collection of portletappname vs their control names that are stored in the
database
|
java.lang.Object |
getPortletLoadingSync()
Returns the object used to synchronize across the various portlets so that they would cross threads.
|
java.lang.Object[] |
getStartCenters()
Returns list of current start centers with their names and ids to buld tabs etc
It also send back any messaages relating to user having being take away froma template. |
void |
getUserStartCenter()
Get all start centers for the current user when coming to the start center application
for the first time
|
boolean |
hasSigOptionAccess(int row,
java.lang.String sigOption)
Overridden to by pass sigoption check as this is a special app
When there are no start centers, still let the user access Profile options.
|
void |
initializeApp()
Overridden to
|
boolean |
isEditingTemplates(java.util.ArrayList startCenters)
Return true if currnet user has any templates open.
|
boolean |
isPortletAppAllowed(java.lang.String portletId)
Returns true if portlet application of the given Portlet type is allowed
|
boolean |
isSCAdmin()
Returns true if current user is allowed to create templates
|
boolean |
isTemplate()
Returns true if the current seleced start center is a template.
|
int |
savetemplate()
Handle the Create Template event
Creates a temporary start center for Admin as another tab and takes the admin to change content and layout
|
boolean |
showPortlet(java.lang.String portletName)
Returns if the portlet has to be shown or not.
|
int |
updatestartcenter()
Handles the delete template event.
|
addrow, autoInitiateWorkflow, BOOKMARK, canExit, canSaveBasedOnLocks, CLEAR, clearfilter, convertPortalParameters, DELETE, DUPLICATE, ensureRecord, find, fireStructureChangedEvent, FLTRLASET, getCurrentQueryDescription, getCurrentQueryName, getCurrentRow, getKPIId, getKPISelect, getKPIWhere, getMboSet, getPortalEvent, getQueryOption, getQuickFindRemote, getRecordLockProperties, getResultsBean, hasModifications, hasSaveAccess, hasSigOptionAccess, hasStartRecord, HELPWF, inboxwf, initQuickFIndRemote, insert, INSERT, isEmpty, isUserWhereClauseThroughIntegration, launchwf, MODIFYSLAS, moveToUniqueId, NAVHISTORY, NEXT, PREVIOUS, RECORDLOCK, RECUNLOCK, refreshFieldErrors, reset, RESULTS, returnnovalue, returntoapp, returnwithvalue, ROUTEWF, RUNAREPORT, RUNREPORTBYNAME, RUNREPORTS, save, SAVE, saveattachment, saveYesNoCheck, saveYesNoInteractionCheck, SEARCHATTR, SEARCHMORE, SEARCHWHER, setDefaultQbe, setFilterCleared, setKPIId, setQueryOption, setupBean, setupBean, setUserWhereClauseThroughIntegration, STOPWF, STRECLOCK, structureChangedEvent, submitPrintJob, toBeSaved, 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, 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, hierarchicalmove, highlightrow, highlightrow, insert, insertAtEnd, instantdelete, isAppTableRetain, isAttribute, isAttributeHidden, isAttributeHidden, isColumnSorted, 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, refreshTable, registerDynamicControlsWithERM, reloadTable, removeDialogReference, removeListener, removeRowOnCancel, rePosition, resetJSPFlags, resetQbe, resetWithSelection, restoreSavedQbeSettings, 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, 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 void initializeApp() throws MXException, java.rmi.RemoteException
initializeApp
in class AppBean
MXException
java.rmi.RemoteException
AppBean.initializeApp()
public boolean isSCAdmin()
bFlag
- true if user can create templatespublic java.lang.String getCurrentStartCenterUId()
startCenterId
- Current Start Center Idjava.rmi.RemoteException
MXException
public java.lang.String getPageLeftLayoutPercent()
public java.lang.String getPageRightLayoutPercent()
public java.util.HashSet getAllowedPortlets() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.util.TreeMap getAllPortletsByColumns()
java.rmi.RemoteException
MXException
public PortletBean getBean(java.lang.String portletId)
portletId
- java.rmi.RemoteException
MXException
public java.lang.String getPageLayout() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean canConfigureSC()
java.rmi.RemoteException
MXException
public java.lang.Object[] getStartCenters()
java.rmi.RemoteException
MXException
public java.lang.String getGroupAssociationMessage(java.util.Hashtable messageInfo)
messageInfo
- java.rmi.RemoteException
MXException
public java.lang.String getGroupAssociationMessageTemplateLink(java.util.Hashtable messageInfo)
messageInfo
- Hashtable of all messages that came from backend validationpublic boolean isTemplate()
java.rmi.RemoteException
MXException
public int savetemplate()
public int deletetemplate() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int updatestartcenter() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int cancelchanges() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int createtemplate()
public boolean isEditingTemplates(java.util.ArrayList startCenters)
startCenters
- public void getUserStartCenter()
public boolean isPortletAppAllowed(java.lang.String portletId)
portletId
- public boolean hasSigOptionAccess(int row, java.lang.String sigOption) throws java.rmi.RemoteException, MXException
hasSigOptionAccess
in class AppBean
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 boolean canUpdateSC()
public boolean showPortlet(java.lang.String portletName)
portletName
- java.rmi.RemoteException
MXException
public java.util.Hashtable getPortletControlNameMap()
public java.lang.String checkGroupAssociation()
java.rmi.RemoteException
MXException
public java.lang.Object getPortletLoadingSync()