Class LayerSettingsThematicsBean
java.lang.Object
com.kheops.jmap.server.webadmin.faces.AbstractAdminFacesBean
com.kheops.jmap.server.webadmin.faces.BaseListBean<Thematic>
com.kheops.jmap.server.webadmin.faces.projects.LayerSettingsThematicsBean
-
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 TypeMethodDescriptionvoidcancelThematicsPositionOrder(javax.faces.event.ActionEvent actionEvent) categoriesNumber(Thematic thematic) currentThematicAttributes(Thematic thematic) protected voidintorg.primefaces.model.menu.MenuModelintorg.primefaces.model.menu.MenuModelgetThematicType(Thematic thematic) static StringgetThematicType(Thematic thematic, javax.servlet.http.HttpServletRequest request) List<javax.faces.model.SelectItem> getTypes()protected StringgetUrl()To indicate the url of the page used to manage the current listprotected voidinit()Implement any initialization logic here, other than retrieving the list of elements i.e Controllers initialization.booleanbooleanbooleanisBusy()booleanbooleanbooleanbooleanbooleanisQueued()booleanTo 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 storagevoidmove(javax.faces.event.ActionEvent actionEvent) voidprepareMoveThematic(javax.faces.event.ActionEvent actionEvent) voidsaveThematicsPositionOrder(javax.faces.event.ActionEvent actionEvent) voidthematicEnabledStateChanged(javax.faces.event.AjaxBehaviorEvent ajaxBehaviorEvent) voidviewThematic(javax.faces.event.ActionEvent event) Methods inherited from class com.kheops.jmap.server.webadmin.faces.BaseListBean
clearSelection, columnsRenderedValueChanged, compareLiterals, delete, getColumnsRendered, getDataList, getDeleteConfirmationMessage, 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
-
LayerSettingsThematicsBean
public LayerSettingsThematicsBean()
-
-
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<Thematic>
-
getThematics
-
getThematicNames
-
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<Thematic>- Returns:
- The whole list of elements
-
isAllowMultipleSelection
public boolean isAllowMultipleSelection()- Specified by:
isAllowMultipleSelectionin classBaseListBean<Thematic>
-
viewThematic
public void viewThematic(javax.faces.event.ActionEvent event) -
getUrl
Description copied from class:BaseListBeanTo indicate the url of the page used to manage the current list- Specified by:
getUrlin classBaseListBean<Thematic>- Returns:
- A relative path like '/projects/projects.jsf'
-
delete
- Specified by:
deletein classBaseListBean<Thematic>
-
thematicEnabledStateChanged
public void thematicEnabledStateChanged(javax.faces.event.AjaxBehaviorEvent ajaxBehaviorEvent) -
isEmptyOrTotalSelection
public boolean isEmptyOrTotalSelection() -
isDeleteButtonDisabled
public boolean isDeleteButtonDisabled() -
isAllElementsSelected
public boolean isAllElementsSelected() -
cancelThematicsPositionOrder
public void cancelThematicsPositionOrder(javax.faces.event.ActionEvent actionEvent) -
move
public void move(javax.faces.event.ActionEvent actionEvent) -
prepareMoveThematic
public void prepareMoveThematic(javax.faces.event.ActionEvent actionEvent) -
saveThematicsPositionOrder
public void saveThematicsPositionOrder(javax.faces.event.ActionEvent actionEvent) -
getOverAllStatus
public int getOverAllStatus() -
getStatus
-
isBusy
public boolean isBusy() -
isLayerBusy
public boolean isLayerBusy() -
isQueued
public boolean isQueued() -
isDeleteButtonVisible
public boolean isDeleteButtonVisible() -
isThematicsEmpty
public boolean isThematicsEmpty() -
getThematicType
-
getThematicType
-
getTypes
-
currentThematicAttributes
-
categoriesNumber
-
getBreadCrumbItems
- Overrides:
getBreadCrumbItemsin classAbstractAdminFacesBean
-
getSectionsAsTabsMenuModel
public org.primefaces.model.menu.MenuModel getSectionsAsTabsMenuModel() -
getSectionsAsTabsMenuModelIndex
public int getSectionsAsTabsMenuModelIndex() -
getSectionsMenuModel
public org.primefaces.model.menu.MenuModel getSectionsMenuModel()
-