public class AdminController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
AdminController(String[] mainArgs,
org.spincast.core.json.IJsonManager jsonManager,
org.spincast.core.utils.ISpincastUtils spincastUtils,
INewsService newsService,
IAppConfig appConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected IAppConfig |
getAppConfig() |
protected org.spincast.core.json.IJsonManager |
getJsonManager() |
protected String[] |
getMainArgs() |
protected INewsService |
getNewsService() |
protected org.spincast.core.utils.ISpincastUtils |
getSpincastUtils() |
void |
index(IAppRequestContext context) |
void |
news(IAppRequestContext context) |
@Inject public AdminController(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 news(IAppRequestContext context)
Copyright © 2016. All rights reserved.