Class ApplicationAppHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class ApplicationAppHandler extends ApplicationQueryHandler
Handler for the app store application
Since:
jcms-10.0.3
  • Constructor Details

    • ApplicationAppHandler

      public ApplicationAppHandler()
  • Method Details

    • init

      protected void init()
      Description copied from class: JcmsFormHandler
      Method to implement if you need to initialize your handler from parameter received, prior to all security validation.

      You must absolutely not perform any action which modify data or site configuration.

      Therefore it is strongly recommend NOT TO implement this method, or use very wisely.

      Overrides:
      init in class ApplicationQueryHandler
    • processAction

      public boolean processAction() throws IOException
      Description copied from class: JcmsFormHandler
      Method to be implemented to check/validate action to be performed and process them.

      Default implementation is to return false. No need to call super method.

      This method may NOT be invoked at all if security validation are not met.

      You must ensure your handler and JSP can work properly without any code invoked in this method.

      Overrides:
      processAction in class JcmsFormHandler
      Returns:
      false if no redirection is needed, true otherwise
      Throws:
      IOException - IO Exception
    • getAppTitle

      public String getAppTitle()
    • displaySuggestions

      public boolean displaySuggestions()
    • getInstallDropdownItem

      public ApplicationAppHandler.InstallDropdownItem getInstallDropdownItem(Application app, int tabIndex)
    • displaySocialFooter

      public boolean displaySocialFooter()
    • getBreadcrumbItems

      public List<BreadcrumbItem> getBreadcrumbItems()
    • addFrontEndDependencies

      public void addFrontEndDependencies()
    • addUsageEvent

      public void addUsageEvent()
    • displayAdministration

      public boolean displayAdministration()
    • getInstalledApplications

      public ApplicationManager.InstalledApplications getInstalledApplications()
    • isApplicationInstalled

      public boolean isApplicationInstalled(Application application)
    • isApplicationInstalledInTab

      public boolean isApplicationInstalledInTab(Application application, int tabIndex)
    • getTabs

      public List<ApplicationLauncherTab> getTabs()
    • getInstallCount

      public int getInstallCount(Application application)
    • getNavigationMenuItems

      public List<AppSidebarSectionMenuItem> getNavigationMenuItems()
    • getAdministrationMenuItems

      public List<AppSidebarSectionMenuItem> getAdministrationMenuItems()
    • getModeSettings

      public EnumerateSettings getModeSettings()
    • getDefaultApplicationLauncher

      public ApplicationLauncher getDefaultApplicationLauncher()
    • displayTypeChooser

      public boolean displayTypeChooser()
    • getTypeSubTitle

      public String getTypeSubTitle()
    • getTypeSettings

      public EnumerateSettings getTypeSettings()
    • isDepartmentLauncherEnabled

      public boolean isDepartmentLauncherEnabled()
    • getDepartmentEnumerateSettings

      public EnumerateSettings getDepartmentEnumerateSettings()
    • isOpRecomputeInstallCountCache

      public boolean isOpRecomputeInstallCountCache()
    • setOpRecomputeInstallCountCache

      public void setOpRecomputeInstallCountCache(boolean opRecomputeInstallCountCache)
    • isAdminPageDisplayed

      public boolean isAdminPageDisplayed()
    • getAvailableAdminPage

      public ApplicationAppHandler.AdminPage getAvailableAdminPage()
    • canAccessAdminPage

      public boolean canAccessAdminPage()
    • canDeployApplication

      public boolean canDeployApplication()
    • getApplicationLink

      public static String getApplicationLink(Application app)
    • setMode

      public void setMode(String mode)
      Overrides:
      setMode in class ApplicationQueryHandler
    • setAdminPage

      public void setAdminPage(String adminPage)
    • setDepartmentGroup

      public void setDepartmentGroup(String departmentGroup)
    • getAvailableDepartmentGroup

      public Group getAvailableDepartmentGroup()
    • isOpSetup

      public boolean isOpSetup()
    • setOpSetup

      public void setOpSetup(boolean opSetup)
    • setApplicationRootCategory

      public void setApplicationRootCategory(String categoryId)
    • getAvailableapplicationRootCategory

      public Category getAvailableapplicationRootCategory()
    • setDisplayedApplication

      public void setDisplayedApplication(String displayedApplicationId)
    • getAvailableDisplayedApplication

      public AbstractShortcut getAvailableDisplayedApplication()
    • getSuggestions

      public Collection<Application> getSuggestions()
    • setSuggestions

      public void setSuggestions(Collection<Application> suggestions)
    • isOpResetDefaultLauncher

      public boolean isOpResetDefaultLauncher()
    • setOpResetDefaultLauncher

      public void setOpResetDefaultLauncher(boolean opResetDefaultLauncher)
    • getAvailableCategories

      public List<Category> getAvailableCategories()
    • generateHandlebarsScript

      public static String generateHandlebarsScript(String userLang, String buffer, javax.servlet.http.HttpServletRequest request)