Class MainPagesController

java.lang.Object
org.spincast.website.controllers.MainPagesController

public class MainPagesController extends Object
  • Field Details

    • logger

      protected static final org.slf4j.Logger logger
  • Constructor Details

    • MainPagesController

      @Inject public MainPagesController(String[] mainArgs, org.spincast.core.json.JsonManager jsonManager, org.spincast.core.utils.SpincastUtils spincastUtils, NewsService newsService, AppConfig appConfig)
  • Method Details

    • getMainArgs

      protected String[] getMainArgs()
    • getJsonManager

      protected org.spincast.core.json.JsonManager getJsonManager()
    • getSpincastUtils

      protected org.spincast.core.utils.SpincastUtils getSpincastUtils()
    • getNewsService

      protected NewsService getNewsService()
    • getAppConfig

      protected AppConfig getAppConfig()
    • index

      public void index(AppRequestContext context)
    • documentation

      public void documentation(AppRequestContext context)
    • download

      public void download(AppRequestContext context)
    • plugins

      public void plugins(AppRequestContext context)
    • community

      public void community(AppRequestContext context)
    • about

      public void about(AppRequestContext context)
    • more

      public void more(AppRequestContext context)
    • plugin

      public void plugin(AppRequestContext context)
      A Plugin documentation
    • getPluginDocTemplatePath

      protected String getPluginDocTemplatePath(String pluginName)
      Return the classpath path to the plugin documentation template or NULL if not found.
    • news

      public void news(AppRequestContext context)
    • newsEntryTest

      public void newsEntryTest(AppRequestContext context)
    • newsEntry

      public void newsEntry(AppRequestContext context)