@Controller public abstract class AbstractInstallController extends AbstractController
Modifier and Type | Field and Description |
---|---|
private static String |
INSTALLATION_CONFIGURATION |
private static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
AbstractInstallController() |
Modifier and Type | Method and Description |
---|---|
protected javax.servlet.http.HttpSession |
checkPrevious(javax.servlet.http.HttpServletRequest req) |
private void |
checkPrevious(javax.servlet.http.HttpSession session) |
protected Map<String,String> |
getParameters(javax.servlet.http.HttpServletRequest req) |
static InstallationConfiguration |
getSettings(javax.servlet.http.HttpSession s) |
protected abstract InstallConstants.Step |
getStep() |
private boolean |
isComplete(javax.servlet.http.HttpSession session,
InstallConstants.Step step) |
org.springframework.web.servlet.ModelAndView |
onError(javax.servlet.http.HttpSession session,
InstallationSettingsError e) |
org.springframework.web.servlet.ModelAndView |
onError(InstallationRedirectError e) |
protected org.springframework.web.servlet.ModelAndView |
redirect(String path) |
private InstallConstants.Step[] |
reverseSteps(InstallConstants.Step step) |
protected void |
setComplete(javax.servlet.http.HttpSession session) |
static void |
setSettings(javax.servlet.http.HttpSession session,
InstallationConfiguration settings) |
protected Map<String,Object> |
toModel(InstallationConfiguration c) |
getBasePath, getContext, getDatabaseSettingsHandler, getMetaDataHandler, getSettingsManager, parseBoolean, parseBoolean, setContext, toJSONValueMap
private static final org.slf4j.Logger LOG
private static final String INSTALLATION_CONFIGURATION
public static InstallationConfiguration getSettings(javax.servlet.http.HttpSession s)
public static void setSettings(javax.servlet.http.HttpSession session, InstallationConfiguration settings)
protected Map<String,Object> toModel(InstallationConfiguration c) throws ConfigurationException, JSONException
ConfigurationException
JSONException
protected org.springframework.web.servlet.ModelAndView redirect(String path)
protected void setComplete(javax.servlet.http.HttpSession session)
protected javax.servlet.http.HttpSession checkPrevious(javax.servlet.http.HttpServletRequest req) throws InstallationRedirectError
InstallationRedirectError
private void checkPrevious(javax.servlet.http.HttpSession session) throws InstallationRedirectError
InstallationRedirectError
private InstallConstants.Step[] reverseSteps(InstallConstants.Step step)
private boolean isComplete(javax.servlet.http.HttpSession session, InstallConstants.Step step)
@ExceptionHandler(value=InstallationRedirectError.class) public org.springframework.web.servlet.ModelAndView onError(InstallationRedirectError e)
@ExceptionHandler(value=InstallationSettingsError.class) public org.springframework.web.servlet.ModelAndView onError(javax.servlet.http.HttpSession session, InstallationSettingsError e) throws ConfigurationException, JSONException
ConfigurationException
JSONException
protected abstract InstallConstants.Step getStep()
Copyright © 2012-2015 52north.org. All Rights Reserved.