| com.jcorporate.expresso.core.servlet.DBServlet com.jcorporate.expresso.services.servlet.DBCreate
DBCreate | public class DBCreate extends DBServlet (Code) | | Servlet to initialize the database and various default items
in it. Use it as a friendly alternative to the DBTool command line
utility.
author: Michael Nash version: $Revision: 1.25 $ $Date: 2004/11/17 20:48:18 $ |
isAdmin | protected boolean isAdmin(HttpServletRequest request, HttpServletResponse response) throws ServletException(Code) | | Checks to see if the current user is an Admin.
Parameters: request - The ServletRequest object Parameters: response - The Servlet Response object true if the CurrentLogin is an Admin User throws: ServletException - if there's an error processing the request |
isInitialDatabaseCreated | protected boolean isInitialDatabaseCreated()(Code) | | Checks to see if a database of any sort has already been created in
the default context.
True if the schemalist object exists in the system |
Fields inherited from com.jcorporate.expresso.core.servlet.DBServlet | final protected static String thisClass(Code)(Java Doc)
|
Methods inherited from com.jcorporate.expresso.core.servlet.DBServlet | public void destroy()(Code)(Java Doc) public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException(Code)(Java Doc) public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException(Code)(Java Doc) protected String getDBName(HttpServletRequest request)(Code)(Java Doc) public void init(ServletConfig sc) throws ServletException(Code)(Java Doc) public boolean requireLogin(HttpServletRequest req, HttpServletResponse res, String nextURL) throws IOException, ServletException, DBException, LogException, HtmlException(Code)(Java Doc) protected void setDBName(String newDBName, HttpServletRequest req) throws ServletException(Code)(Java Doc) public void setSkipLogin(boolean newSkip)(Code)(Java Doc) public void setupChannels(HttpServletRequest req) throws ServletException(Code)(Java Doc)
|
|
|