View Javadoc

1   /*
2    * $Id: IProcessContext.java,v 1.18 2011/06/16 09:29:41 jbmeslin Exp $
3    * 
4    */
5   package org.rcfaces.core.internal.renderkit;
6   
7   import java.util.Calendar;
8   import java.util.Locale;
9   import java.util.TimeZone;
10  
11  import javax.faces.context.FacesContext;
12  
13  import org.rcfaces.core.internal.Constants;
14  import org.rcfaces.core.internal.RcfacesContext;
15  
16  /**
17   * 
18   * @author Olivier Oeuillot (latest modification by $Author: jbmeslin $)
19   * @version $Revision: 1.18 $ $Date: 2011/06/16 09:29:41 $
20   */
21  public interface IProcessContext {
22  
23      String DEFAULT_TIMEZONE_PARAMETER = Constants.getPackagePrefix()
24              + ".DEFAULT_TIMEZONE";
25  
26      String FORCED_DATE_TIMEZONE_PARAMETER = Constants.getPackagePrefix()
27              + ".FORCED_DATE_TIMEZONE";
28  
29      RcfacesContext getRcfacesContext();
30  
31      String getNamingSeparator();
32  
33      FacesContext getFacesContext();
34  
35      Boolean getMultiWindowMode();
36  
37      Boolean getDebugMode();
38  
39      Boolean getProfilerMode();
40  
41      boolean isDesignerMode();
42  
43      Locale getUserLocale();
44  
45      TimeZone getUserTimeZone();
46  
47      Calendar getUserCalendar();
48  
49      String getAbsolutePath(String uri, boolean containsContextPath);
50  
51      String getRelativePath(String uri);
52  
53      void changeBaseHREF(String base);
54  
55      String getBaseHREF();
56  
57      String getScriptType();
58  
59      Locale getDefaultLiteralLocale();
60  
61      TimeZone getDefaultTimeZone();
62  
63      TimeZone getForcedDateTimeZone();
64  
65      Calendar getForcedDateCalendar();
66  }