Class LayerSettingsThematicsBean


public class LayerSettingsThematicsBean extends BaseListBean<Thematic>
  • 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 class BaseListBean<Thematic>
    • getThematics

      public List<Thematic> getThematics()
    • getThematicNames

      public List<String> getThematicNames()
    • listElements

      protected List<Thematic> 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 class BaseListBean<Thematic>
      Returns:
      The whole list of elements
    • isAllowMultipleSelection

      public boolean isAllowMultipleSelection()
      Specified by:
      isAllowMultipleSelection in class BaseListBean<Thematic>
    • viewThematic

      public void viewThematic(javax.faces.event.ActionEvent event)
    • getUrl

      protected String getUrl()
      Description copied from class: BaseListBean
      To indicate the url of the page used to manage the current list
      Specified by:
      getUrl in class BaseListBean<Thematic>
      Returns:
      A relative path like '/projects/projects.jsf'
    • delete

      protected void delete(List<Thematic> selectedElements)
      Specified by:
      delete in class BaseListBean<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

      public String getStatus()
    • isBusy

      public boolean isBusy()
    • isLayerBusy

      public boolean isLayerBusy()
    • isQueued

      public boolean isQueued()
    • isDeleteButtonVisible

      public boolean isDeleteButtonVisible()
    • isThematicsEmpty

      public boolean isThematicsEmpty()
    • getThematicType

      public String getThematicType(Thematic thematic)
    • getThematicType

      public static String getThematicType(Thematic thematic, javax.servlet.http.HttpServletRequest request)
    • getTypes

      public List<javax.faces.model.SelectItem> getTypes()
    • currentThematicAttributes

      public String currentThematicAttributes(Thematic thematic)
    • categoriesNumber

      public String categoriesNumber(Thematic thematic)
    • getBreadCrumbItems

      public List<BreadCrumbItem> getBreadCrumbItems()
      Overrides:
      getBreadCrumbItems in class AbstractAdminFacesBean
    • getSectionsAsTabsMenuModel

      public org.primefaces.model.menu.MenuModel getSectionsAsTabsMenuModel()
    • getSectionsAsTabsMenuModelIndex

      public int getSectionsAsTabsMenuModelIndex()
    • getSectionsMenuModel

      public org.primefaces.model.menu.MenuModel getSectionsMenuModel()