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.JsonManager jsonManager,
org.spincast.core.utils.SpincastUtils spincastUtils,
NewsService newsService,
AppConfig appConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected AppConfig |
getAppConfig() |
protected org.spincast.core.json.JsonManager |
getJsonManager() |
protected String[] |
getMainArgs() |
protected NewsService |
getNewsService() |
protected org.spincast.core.utils.SpincastUtils |
getSpincastUtils() |
void |
index(AppRequestContext context) |
void |
news(AppRequestContext context) |
@Inject public AdminController(String[] mainArgs, org.spincast.core.json.JsonManager jsonManager, org.spincast.core.utils.SpincastUtils spincastUtils, NewsService newsService, AppConfig appConfig)
protected String[] getMainArgs()
protected org.spincast.core.json.JsonManager getJsonManager()
protected org.spincast.core.utils.SpincastUtils getSpincastUtils()
protected NewsService getNewsService()
protected AppConfig getAppConfig()
public void index(AppRequestContext context)
public void news(AppRequestContext context)
Copyright © 2016. All rights reserved.