KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > params > AdminParamBean


1 //
2
// ____.
3
// __/\ ______| |__/\. _______
4
// __ .____| | \ | +----+ \
5
// _______| /--| | | - \ _ | : - \_________
6
// \\______: :---| : : | : | \________>
7
// |__\---\_____________:______: :____|____:_____\
8
// /_____|
9
//
10
// . . . i n j a h i a w e t r u s t . . .
11
//
12

13 //
14
// AdminParamBean
15
//
16
// NK 08.01.2002 HNY2002
17
//
18
//
19

20 package org.jahia.params;
21
22 import javax.servlet.ServletContext JavaDoc;
23 import javax.servlet.http.HttpServletRequest JavaDoc;
24 import javax.servlet.http.HttpServletResponse JavaDoc;
25
26 import org.jahia.exceptions.JahiaException;
27 import org.jahia.exceptions.JahiaPageNotFoundException;
28 import org.jahia.exceptions.JahiaSessionExpirationException;
29 import org.jahia.exceptions.JahiaSiteNotFoundException;
30 import org.jahia.services.pages.ContentPage;
31 import org.jahia.services.sites.JahiaSite;
32 import org.jahia.services.usermanager.JahiaUser;
33 import org.jahia.settings.SettingsBean;
34
35 /**
36  * This object contains most of the request context, including object such as
37  * the request and response objects, sessions, contexts, ...
38  *
39  * This class is a simplified version of the ParamBean class with just what is
40  * necessary to work within JahiaAdministration.
41  * Do not use this class within Jahia servlet, only with JahiaAdministration servlet.
42  *
43  * @author Khue NGuyen
44  */

45 public final class AdminParamBean extends ParamBean {
46
47     private static final String JavaDoc CLASS_NAME = AdminParamBean.class.getName();
48
49
50     /*
51      * Constructor
52      *
53      * @param HttpServletRequest request
54      * @param HttpServletResponse response
55      * @param ServletContext context
56      * @param JahiaPrivateSettings jSettings
57      * @param long startTime
58      * @param int httpMethod
59      * @param JahiaSite the site
60      * @param JahiaUser the user
61      * @param JahiaPage, the page can be null
62      */

63     public AdminParamBean( HttpServletRequest JavaDoc request,
64                             HttpServletResponse JavaDoc response,
65                             ServletContext JavaDoc context,
66                             SettingsBean jSettings,
67                             long startTime,
68                             int httpMethod,
69                             JahiaSite site,
70                             JahiaUser user,
71                             ContentPage page )
72
73         throws JahiaPageNotFoundException,
74                 JahiaSessionExpirationException,
75                 JahiaSiteNotFoundException,
76                 JahiaException {
77
78         super(request,response,context,jSettings,startTime,httpMethod, site, user, page);
79
80         // init Param Bean locales
81
this.getLocale();
82
83     }
84
85
86 }
87
Popular Tags