Package org.spincast.website.controllers
Class MainPagesController
java.lang.Object
org.spincast.website.controllers.MainPagesController
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMainPagesController(String[] mainArgs, org.spincast.core.json.JsonManager jsonManager, org.spincast.core.utils.SpincastUtils spincastUtils, NewsService newsService, AppConfig appConfig) -
Method Summary
Modifier and TypeMethodDescriptionvoidabout(AppRequestContext context) voidcommunity(AppRequestContext context) voiddocumentation(AppRequestContext context) voiddownload(AppRequestContext context) protected AppConfigprotected org.spincast.core.json.JsonManagerprotected String[]protected NewsServiceprotected StringgetPluginDocTemplatePath(String pluginName) Return the classpath path to the plugin documentation template or NULL if not found.protected org.spincast.core.utils.SpincastUtilsvoidindex(AppRequestContext context) voidmore(AppRequestContext context) voidnews(AppRequestContext context) voidnewsEntry(AppRequestContext context) voidnewsEntryTest(AppRequestContext context) voidplugin(AppRequestContext context) A Plugin documentationvoidplugins(AppRequestContext context)
-
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
-
getJsonManager
protected org.spincast.core.json.JsonManager getJsonManager() -
getSpincastUtils
protected org.spincast.core.utils.SpincastUtils getSpincastUtils() -
getNewsService
-
getAppConfig
-
index
-
documentation
-
download
-
plugins
-
community
-
about
-
more
-
plugin
A Plugin documentation -
getPluginDocTemplatePath
Return the classpath path to the plugin documentation template or NULL if not found. -
news
-
newsEntryTest
-
newsEntry
-