Class MessagingBean
java.lang.Object
com.kheops.jmap.server.webadmin.faces.AbstractAdminFacesBean
com.kheops.jmap.server.webadmin.faces.BaseListBean<SystemMessage>
com.kheops.jmap.server.webadmin.faces.MessagingBean
-
Field Summary
Fields inherited from class com.kheops.jmap.server.webadmin.faces.BaseListBean
first, itemsPerPage, list, selectionFields inherited from class com.kheops.jmap.server.webadmin.faces.AbstractAdminFacesBean
CONFIGURATION_SAVED, GLOBAL_RES_FILE, OPERATION_FINISHED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddelete(List<SystemMessage> selectedElements) protected StringTo be overriden by subclasses to show specific delete confirmation messagesprotected StringgetUrl()To indicate the url of the page used to manage the current listMessage[]protected voidinit()Implement any initialization logic here, other than retrieving the list of elements i.e Controllers initialization.booleanprotected List<SystemMessage> To obtain the list of elements that will be managed in the current page In general, subclasses will use some controller object to retrieve it from database or some other persistent storagevoidnewMessage(javax.faces.event.ActionEvent actionEvent) voidsendMessage(javax.faces.event.ActionEvent actionEvent) Methods inherited from class com.kheops.jmap.server.webadmin.faces.BaseListBean
clearSelection, columnsRenderedValueChanged, compareLiterals, delete, getColumnsRendered, getDataList, getDisplayedResult, getFirstOwner, getItemsPerPages, getList, getOwnersOverlay, getRenderedColumnDefaultValue, getSelectedRowsCount, getSelectionType, getToggleableColumns, getTotalResult, getViewUrl, hideNotAccessibleObjects, hideObjectsNotOwnedByMe, isColumnRendered, isDisabledForSelection, isEditionDisabled, isHideNotAccessibleObjects, isHideObjectsNotOwnedByMe, onPageChange, onRowSelection, refresh, refresh, refreshFilteredList, refreshSelection, refreshViewOnDelete, selectAll, selectionExists, selectNone, setColumnRendered, setColumnRendered, setHideNotAccessibleObjects, setHideObjectsNotOwnedByMe, setItemsPerPages, validateDeletionMethods inherited from class com.kheops.jmap.server.webadmin.faces.AbstractAdminFacesBean
addDuplicateNameErrorMessage, addErrorMessage, addErrorMessage, addGlobalErrorMessage, addGlobalErrorMessage, addGlobalInfoMessage, addGlobalWarningMessage, addInfoMessage, addInfoMessage, addRequiredErrorMessage, addWarningMessage, addWarningMessage, closeDialog, containsCharacters, convertColor, convertColor, createDuplicateNameErrorMessage, displayMessage, findComponent, findObjectByName, formatDouble, formatInteger, getComponentsToUpdate, getController, getController, getDeleteConfirmationTitle, getDialogs, getEditingObjectId, getExternalContext, getJMapAdminSessionBean, getJMapServerAdminBean, getJMapServerUserAdminBean, getJsfBean, getLanguageLabel, getLanguages, getLanguagesConverter, getLayerStatusConverter, getMessage, getMessage, getParameter, getReadableFileSize, getRequest, getRequestLocale, getRequestParameter, getSessionAttribute, getSessionBean, getSessionId, getSessionUser, initRequestContext, isDuplicate, isExtensionAvailable, openDialog, redirectToPage, reloadCurrentPage, required, reverseArray, showMessageDialog, validateDuplicateName
-
Constructor Details
-
MessagingBean
public MessagingBean()
-
-
Method Details
-
init
protected void init()Description copied from class:BaseListBeanImplement any initialization logic here, other than retrieving the list of elements i.e Controllers initialization.- Specified by:
initin classBaseListBean<SystemMessage>
-
getBreadCrumbItems
- Overrides:
getBreadCrumbItemsin classAbstractAdminFacesBean
-
listElements
Description copied from class:BaseListBeanTo obtain the list of elements that will be managed in the current page In general, subclasses will use some controller object to retrieve it from database or some other persistent storage- Specified by:
listElementsin classBaseListBean<SystemMessage>- Returns:
- The whole list of elements
-
isAllowMultipleSelection
public boolean isAllowMultipleSelection()- Specified by:
isAllowMultipleSelectionin classBaseListBean<SystemMessage>
-
getUrl
Description copied from class:BaseListBeanTo indicate the url of the page used to manage the current list- Specified by:
getUrlin classBaseListBean<SystemMessage>- Returns:
- A relative path like '/projects/projects.jsf'
-
getDeleteConfirmationMessage
Description copied from class:BaseListBeanTo be overriden by subclasses to show specific delete confirmation messages- Overrides:
getDeleteConfirmationMessagein classBaseListBean<SystemMessage>
-
delete
- Specified by:
deletein classBaseListBean<SystemMessage>
-
getUsersMessages
-
newMessage
public void newMessage(javax.faces.event.ActionEvent actionEvent) -
sendMessage
public void sendMessage(javax.faces.event.ActionEvent actionEvent)
-