Package org.spincast.website.controllers
Class AdminController
java.lang.Object
org.spincast.website.controllers.AdminController
Admin controller
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAdminController
(String[] mainArgs, JsonManager jsonManager, SpincastUtils spincastUtils, NewsService newsService, org.spincast.website.AppConfig appConfig) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.spincast.website.AppConfig
protected JsonManager
protected String[]
protected NewsService
protected SpincastUtils
void
index
(AppRequestContext context) void
news
(AppRequestContext context)
-
Field Details
-
logger
protected static final org.slf4j.Logger logger
-
-
Constructor Details
-
AdminController
@Inject public AdminController(String[] mainArgs, JsonManager jsonManager, SpincastUtils spincastUtils, NewsService newsService, org.spincast.website.AppConfig appConfig)
-
-
Method Details
-
getMainArgs
-
getJsonManager
-
getSpincastUtils
-
getNewsService
-
getAppConfig
protected org.spincast.website.AppConfig getAppConfig() -
index
-
news
-