Java Doc for FrontEndContext.java in  » Content-Management-System » daisy » org » outerj » daisy » frontend » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Content Management System » daisy » org.outerj.daisy.frontend 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.outerj.daisy.frontend.FrontEndContext

FrontEndContext
public class FrontEndContext (Code)
Provides access to front end (= "Daisy Wiki") context.

Since FrontEndContext is specific for a request, it should not be stored in places that exist longer than the duration of the request (e.g. session, stateful flow variables, ...)



Field Summary
final public static  StringREQUEST_ATTR_KEY
    

Constructor Summary
protected  FrontEndContext(Request request, ServiceManager serviceManager, Logger logger, String mountPoint, String daisyCocoonPath, String daisyContextPath)
    

Method Summary
public static  FrontEndContextget(Request request)
     Gets the front end context associated with the given request object.
public  ConfigurationManagergetConfigurationManager()
    
public  StringgetDaisyCocoonPath()
     Place where Daisy is mounted in the Cocoon URL space.
public  StringgetDaisyContextPath()
     Path on disk to the location of the Daisy front end application (= subdir within the Cocoon webapp).
public  SaxBuffergetGlobalSkinConf()
    
public  RepositorygetGuestRepository()
    
public  StringgetLayoutType()
     Returns the layoutType specified on the request, or null if not specified.
public  LocalegetLocale()
    
public  StringgetLocaleAsString()
    
public  LoggergetLog()
    
public  StringgetMountPoint()
     The place where the frontend is mounted in the URL space. Could e.g.
public  PageContextgetPageContext()
    
public  PageContextgetPageContext(String layoutType)
    
public  PageContextgetPageContext(String layoutType, Repository repository)
    
public  PageContextgetPageContext(Repository repository)
    
public  RepositorygetRepository()
    
public  RepositorygetRepository(String login, String password)
     Gets access to the repository object for a specific user, without changing the current repository of the session.
public  SiteConfgetSiteConf()
    
public  StringgetSkin()
    
public  WikiVersionModegetVersionMode()
    
public  booleaninSite()
    
public  booleanisLocaleSet()
     Test is the locale is set.
public  booleanisSkinSet()
    
public  Repositorylogin(String login, String password)
    
public  voidsetLocale(Locale locale)
    
public static  voidsetLocaleCookie(String locale, Response response)
    
public  voidsetSiteConf(SiteConf siteConf)
    
public  voidsetSkin(String skin)
    
public  voidsetVersionMode(WikiVersionMode versionMode)
    

Field Detail
REQUEST_ATTR_KEY
final public static String REQUEST_ATTR_KEY(Code)




Constructor Detail
FrontEndContext
protected FrontEndContext(Request request, ServiceManager serviceManager, Logger logger, String mountPoint, String daisyCocoonPath, String daisyContextPath)(Code)




Method Detail
get
public static FrontEndContext get(Request request)(Code)
Gets the front end context associated with the given request object. Throws an exception if it is missing.



getConfigurationManager
public ConfigurationManager getConfigurationManager()(Code)



getDaisyCocoonPath
public String getDaisyCocoonPath()(Code)
Place where Daisy is mounted in the Cocoon URL space. In other words, what you need to put after "cocoon://" to reach the root Daisy sitemap.

This string should correspond to a part (or whole) of the FrontEndContext.getMountPoint mount point .




getDaisyContextPath
public String getDaisyContextPath()(Code)
Path on disk to the location of the Daisy front end application (= subdir within the Cocoon webapp).



getGlobalSkinConf
public SaxBuffer getGlobalSkinConf() throws Exception(Code)



getGuestRepository
public Repository getGuestRepository() throws Exception(Code)



getLayoutType
public String getLayoutType()(Code)
Returns the layoutType specified on the request, or null if not specified.



getLocale
public Locale getLocale()(Code)



getLocaleAsString
public String getLocaleAsString()(Code)



getLog
public Logger getLog()(Code)



getMountPoint
public String getMountPoint()(Code)
The place where the frontend is mounted in the URL space. Could e.g. by "/daisy" or an empty string. Useful for building up absolute URLs.



getPageContext
public PageContext getPageContext()(Code)



getPageContext
public PageContext getPageContext(String layoutType)(Code)



getPageContext
public PageContext getPageContext(String layoutType, Repository repository)(Code)



getPageContext
public PageContext getPageContext(Repository repository)(Code)



getRepository
public Repository getRepository() throws Exception(Code)



getRepository
public Repository getRepository(String login, String password) throws Exception(Code)
Gets access to the repository object for a specific user, without changing the current repository of the session.



getSiteConf
public SiteConf getSiteConf()(Code)



getSkin
public String getSkin()(Code)



getVersionMode
public WikiVersionMode getVersionMode()(Code)



inSite
public boolean inSite()(Code)



isLocaleSet
public boolean isLocaleSet()(Code)
Test is the locale is set. Usually this is always the case, except if an error would occur before this initialization.



isSkinSet
public boolean isSkinSet()(Code)



login
public Repository login(String login, String password) throws Exception(Code)



setLocale
public void setLocale(Locale locale)(Code)



setLocaleCookie
public static void setLocaleCookie(String locale, Response response)(Code)



setSiteConf
public void setSiteConf(SiteConf siteConf)(Code)



setSkin
public void setSkin(String skin)(Code)



setVersionMode
public void setVersionMode(WikiVersionMode versionMode)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.