public class MainPagesController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
MainPagesController(String[] mainArgs,
org.spincast.core.json.IJsonManager jsonManager,
org.spincast.core.utils.ISpincastUtils spincastUtils,
INewsService newsService,
IAppConfig appConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
about(IAppRequestContext context) |
void |
community(IAppRequestContext context) |
void |
documentation(IAppRequestContext context) |
void |
download(IAppRequestContext context) |
protected IAppConfig |
getAppConfig() |
protected org.spincast.core.json.IJsonManager |
getJsonManager() |
protected String[] |
getMainArgs() |
protected INewsService |
getNewsService() |
protected String |
getPluginDocTemplatePath(String pluginName)
Return the classpath path to the plugin documentation template
or NULL if not found.
|
protected org.spincast.core.utils.ISpincastUtils |
getSpincastUtils() |
void |
index(IAppRequestContext context) |
void |
more(IAppRequestContext context) |
void |
news(IAppRequestContext context) |
void |
newsEntry(IAppRequestContext context) |
void |
plugin(IAppRequestContext context)
A Plugin documentation
|
void |
plugins(IAppRequestContext context) |
void |
presentation(IAppRequestContext context) |
@Inject public MainPagesController(String[] mainArgs, org.spincast.core.json.IJsonManager jsonManager, org.spincast.core.utils.ISpincastUtils spincastUtils, INewsService newsService, IAppConfig appConfig)
protected String[] getMainArgs()
protected org.spincast.core.json.IJsonManager getJsonManager()
protected org.spincast.core.utils.ISpincastUtils getSpincastUtils()
protected INewsService getNewsService()
protected IAppConfig getAppConfig()
public void index(IAppRequestContext context)
public void presentation(IAppRequestContext context)
public void documentation(IAppRequestContext context)
public void download(IAppRequestContext context)
public void plugins(IAppRequestContext context)
public void community(IAppRequestContext context)
public void about(IAppRequestContext context)
public void more(IAppRequestContext context)
public void plugin(IAppRequestContext context)
protected String getPluginDocTemplatePath(String pluginName)
public void news(IAppRequestContext context)
public void newsEntry(IAppRequestContext context)
Copyright © 2016. All rights reserved.