public class BaseController extends Object implements com.webpagebytes.cms.WPBRequestHandler
Modifier and Type | Field and Description |
---|---|
protected com.webpagebytes.cms.WPBContentProvider |
contentProvider |
protected WPBDatabase |
database |
protected static String |
GLOBALS_LOGIN_PAGE_URI_KEY |
protected static int |
MAX_RECORDS |
protected static String |
SESSION_ACCOUNT_BALANCE |
protected static String |
SESSION_COOKIE |
protected static String |
SESSION_LOGIN_USERID |
protected static String |
SESSION_LOGIN_USERNAME |
Constructor and Description |
---|
BaseController() |
Modifier and Type | Method and Description |
---|---|
protected Session |
getSession(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
handleRequest(javax.servlet.http.HttpServletRequest arg0,
javax.servlet.http.HttpServletResponse arg1,
com.webpagebytes.cms.WPBModel arg2,
com.webpagebytes.cms.WPBForward arg3) |
void |
initialize(com.webpagebytes.cms.WPBContentProvider contentProvider) |
protected static final String SESSION_LOGIN_USERID
protected static final String SESSION_ACCOUNT_BALANCE
protected static final String SESSION_LOGIN_USERNAME
protected static final String GLOBALS_LOGIN_PAGE_URI_KEY
protected static final String SESSION_COOKIE
protected static final int MAX_RECORDS
protected WPBDatabase database
protected com.webpagebytes.cms.WPBContentProvider contentProvider
protected Session getSession(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws com.webpagebytes.cms.exception.WPBException
com.webpagebytes.cms.exception.WPBException
public void handleRequest(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1, com.webpagebytes.cms.WPBModel arg2, com.webpagebytes.cms.WPBForward arg3) throws com.webpagebytes.cms.exception.WPBException
handleRequest
in interface com.webpagebytes.cms.WPBRequestHandler
com.webpagebytes.cms.exception.WPBException
public void initialize(com.webpagebytes.cms.WPBContentProvider contentProvider)
initialize
in interface com.webpagebytes.cms.WPBRequestHandler
Copyright © 2016. All rights reserved.