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, selection
Fields inherited from class com.kheops.jmap.server.webadmin.faces.AbstractAdminFacesBean
CONFIGURATION_SAVED, GLOBAL_RES_FILE, OPERATION_FINISHED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelThematicsPositionOrder
(javax.faces.event.ActionEvent actionEvent) categoriesNumber
(Thematic thematic) currentThematicAttributes
(Thematic thematic) protected void
int
org.primefaces.model.menu.MenuModel
int
org.primefaces.model.menu.MenuModel
getThematicType
(Thematic thematic) static String
getThematicType
(Thematic thematic, javax.servlet.http.HttpServletRequest request) List
<javax.faces.model.SelectItem> getTypes()
protected String
getUrl()
To indicate the url of the page used to manage the current listprotected void
init()
Implement any initialization logic here, other than retrieving the list of elements i.e Controllers initialization.boolean
boolean
boolean
isBusy()
boolean
boolean
boolean
boolean
boolean
isQueued()
boolean
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 storagevoid
move
(javax.faces.event.ActionEvent actionEvent) void
prepareMoveThematic
(javax.faces.event.ActionEvent actionEvent) void
saveThematicsPositionOrder
(javax.faces.event.ActionEvent actionEvent) void
thematicEnabledStateChanged
(javax.faces.event.AjaxBehaviorEvent ajaxBehaviorEvent) void
viewThematic
(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, validateDeletion
Methods 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:BaseListBean
Implement any initialization logic here, other than retrieving the list of elements i.e Controllers initialization.- Specified by:
init
in classBaseListBean<Thematic>
-
getThematics
-
getThematicNames
-
listElements
Description copied from class:BaseListBean
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 storage- Specified by:
listElements
in classBaseListBean<Thematic>
- Returns:
- The whole list of elements
-
isAllowMultipleSelection
public boolean isAllowMultipleSelection()- Specified by:
isAllowMultipleSelection
in classBaseListBean<Thematic>
-
viewThematic
public void viewThematic(javax.faces.event.ActionEvent event) -
getUrl
Description copied from class:BaseListBean
To indicate the url of the page used to manage the current list- Specified by:
getUrl
in classBaseListBean<Thematic>
- Returns:
- A relative path like '/projects/projects.jsf'
-
delete
- Specified by:
delete
in 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:
getBreadCrumbItems
in classAbstractAdminFacesBean
-
getSectionsAsTabsMenuModel
public org.primefaces.model.menu.MenuModel getSectionsAsTabsMenuModel() -
getSectionsAsTabsMenuModelIndex
public int getSectionsAsTabsMenuModelIndex() -
getSectionsMenuModel
public org.primefaces.model.menu.MenuModel getSectionsMenuModel()
-