Java Doc for CmsFrameset.java in  » Content-Management-System » opencms » org » opencms » workplace » 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 » opencms » org.opencms.workplace 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.opencms.workplace.CmsWorkplace
      org.opencms.workplace.CmsFrameset

CmsFrameset
public class CmsFrameset extends CmsWorkplace (Code)
Provides methods for building the main framesets of the OpenCms Workplace.

The following files use this class:

  • /views/top.html
  • /views/top_foot.html
  • /views/top_head.html


author:
   Alexander Kandzior
version:
   $Revision: 1.92 $
since:
   6.0.0



Field Summary
final public static  ListFRAMES_LIST
     The names of the supported frames in a list.
final public static  StringJSP_WORKPLACE_URI
     Path to the JSP workplace frame loader file.
final public static  StringPARAM_WP_FRAME
     The request parameter for the selection of the frame.
final public static  StringPARAM_WP_START
     The request parameter for the workplace start selection.
final public static  StringPARAM_WP_VIEW
     The request parameter for the workplace view selection.

Constructor Summary
public  CmsFrameset(CmsJspActionElement jsp)
    

Method Summary
public  StringgetBroadcastMessage()
    
public  StringgetLoginAddress()
    
public  StringgetLoginTime()
    
public  StringgetPreferencesButton()
    
public  StringgetProjectSelect(String htmlAttributes, String htmlWidth)
    
public  StringgetPublishButton()
    
public  StringgetPublishQueueButton()
    
public  StringgetSiteSelect(String htmlAttributes)
    
public  StringgetStartupUri()
    
public  StringgetViewSelect(String htmlAttributes)
    
public  StringgetWorkplaceReloadUri()
    
protected  voidinitTimeWarp(CmsUserSettings settings, HttpSession session)
    
protected  voidinitWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request)
    
public  booleanisReloadRequired()
     Returns true if a reload of the main body frame is required.

This value is modified with the select options (project, site or view) in the head frame of the Workplace.

public  booleanisSyncEnabled()
    
public  booleanshowSiteSelector()
    
protected  voidtopFrameReload(CmsWorkplaceSettings settings)
    

Field Detail
FRAMES_LIST
final public static List FRAMES_LIST(Code)
The names of the supported frames in a list.



JSP_WORKPLACE_URI
final public static String JSP_WORKPLACE_URI(Code)
Path to the JSP workplace frame loader file.



PARAM_WP_FRAME
final public static String PARAM_WP_FRAME(Code)
The request parameter for the selection of the frame.



PARAM_WP_START
final public static String PARAM_WP_START(Code)
The request parameter for the workplace start selection.



PARAM_WP_VIEW
final public static String PARAM_WP_VIEW(Code)
The request parameter for the workplace view selection.




Constructor Detail
CmsFrameset
public CmsFrameset(CmsJspActionElement jsp)(Code)
Public constructor.


Parameters:
  jsp - an initialized JSP action element





Method Detail
getBroadcastMessage
public String getBroadcastMessage()(Code)
Returns the javascript code for the broadcast message alert in the foot of the workplace.

javascript code showing an alert box when the foot load




getLoginAddress
public String getLoginAddress()(Code)
Returns the remote ip address of the current user.

the remote ip address of the current user




getLoginTime
public String getLoginTime()(Code)
Returns the last login time of the current user in localized format.

the last login time of the current user in localized format




getPreferencesButton
public String getPreferencesButton()(Code)
Returns the html for the "preferences" button depending on the current users permissions and the default workplace settings.

the html for the "preferences" button




getProjectSelect
public String getProjectSelect(String htmlAttributes, String htmlWidth)(Code)
Returns a html select box filled with the current users accessible projects.


Parameters:
  htmlAttributes - attributes that will be inserted into the generated html
Parameters:
  htmlWidth - additional style attributes containing width information a html select box filled with the current users accessible projects




getPublishButton
public String getPublishButton()(Code)
Returns the html for the "publish project" button depending on the current users permissions and the default workplace settings.

the html for the "publish project" button




getPublishQueueButton
public String getPublishQueueButton()(Code)
Returns the html for the "publish queue" button.

the html for the "publish queue" button




getSiteSelect
public String getSiteSelect(String htmlAttributes)(Code)
Returns a html select box filled with the current users accessible sites.


Parameters:
  htmlAttributes - attributes that will be inserted into the generated html a html select box filled with the current users accessible sites




getStartupUri
public String getStartupUri()(Code)
Returns the startup URI for display in the main body frame, this can either be the user default view, or (if set) a specific startup resource.

the startup URI for display in the main body frame




getViewSelect
public String getViewSelect(String htmlAttributes)(Code)
Returns a html select box filled with the views accessible by the current user.


Parameters:
  htmlAttributes - attributes that will be inserted into the generated html a html select box filled with the views accessible by the current user




getWorkplaceReloadUri
public String getWorkplaceReloadUri()(Code)
Returns the reload URI for the OpenCms workplace.

the reload URI for the OpenCms workplace




initTimeWarp
protected void initTimeWarp(CmsUserSettings settings, HttpSession session)(Code)

See Also:   org.opencms.workplace.CmsWorkplace.initTimeWarp(org.opencms.db.CmsUserSettingsjavax.servlet.http.HttpSession)



initWorkplaceRequestValues
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request)(Code)

See Also:   org.opencms.workplace.CmsWorkplace.initWorkplaceRequestValues(org.opencms.workplace.CmsWorkplaceSettingsjavax.servlet.http.HttpServletRequest)



isReloadRequired
public boolean isReloadRequired()(Code)
Returns true if a reload of the main body frame is required.

This value is modified with the select options (project, site or view) in the head frame of the Workplace. If a user changes one of these select values, the head frame is posted "against itself". The posted values will be processed by this class, causing the internal Workplace settings to change. After these settings have been changed, a reload of the main body frame is required in order to update it with the new values. A JavaScript in the Workplace head frame will be executed in this case.

true if a reload of the main body frame is required




isSyncEnabled
public boolean isSyncEnabled()(Code)
Returns true if the user has enabled synchronization.

true if the user has enabled synchronization




showSiteSelector
public boolean showSiteSelector()(Code)
Indicates if the site selector should be shown in the top frame depending on the count of accessible sites.

true if site selector should be shown, otherwise false




topFrameReload
protected void topFrameReload(CmsWorkplaceSettings settings)(Code)
Performs certain clear cache actions if the top frame is reloaded.


Parameters:
  settings - the current users workplace settings




Fields inherited from org.opencms.workplace.CmsWorkplace
final public static boolean DEBUG(Code)(Java Doc)
final public static String DEFAULT_LANGUAGE(Code)(Java Doc)
final public static Locale DEFAULT_LOCALE(Code)(Java Doc)
final public static String DIALOG_PATH_COMMON(Code)(Java Doc)
final public static String FILE_DIALOG_CLOSE(Code)(Java Doc)
final public static String FILE_DIALOG_SCREEN_CONFIRM(Code)(Java Doc)
final public static String FILE_DIALOG_SCREEN_ERROR(Code)(Java Doc)
final public static String FILE_DIALOG_SCREEN_ERRORPAGE(Code)(Java Doc)
final public static String FILE_DIALOG_SCREEN_WAIT(Code)(Java Doc)
final public static String FILE_EXPLORER_FILELIST(Code)(Java Doc)
final public static String FILE_REPORT_OUTPUT(Code)(Java Doc)
final public static int HTML_END(Code)(Java Doc)
final public static int HTML_START(Code)(Java Doc)
final public static String PARAM_WP_EXPLORER_RESOURCE(Code)(Java Doc)
final public static String PARAM_WP_PROJECT(Code)(Java Doc)
final public static String PARAM_WP_SITE(Code)(Java Doc)
final public static String PATH_DIALOGS(Code)(Java Doc)
final public static String PATH_WORKPLACE(Code)(Java Doc)
final protected static String REQUEST_ATTRIBUTE_MULTIPART(Code)(Java Doc)
final protected static String REQUEST_ATTRIBUTE_RELOADTREE(Code)(Java Doc)
final public static String RFS_PATH_RESOURCES(Code)(Java Doc)
final protected static String SESSION_WORKPLACE_CLASS(Code)(Java Doc)
final public static String TEMP_FILE_PREFIX(Code)(Java Doc)
final public static String VFS_DIR_DEFAULTBODIES(Code)(Java Doc)
final public static String VFS_DIR_TEMPLATES(Code)(Java Doc)
final public static String VFS_PATH_COMMONS(Code)(Java Doc)
final public static String VFS_PATH_EDITORS(Code)(Java Doc)
final public static String VFS_PATH_GALLERIES(Code)(Java Doc)
final public static String VFS_PATH_LOCALES(Code)(Java Doc)
final public static String VFS_PATH_MODULES(Code)(Java Doc)
final public static String VFS_PATH_RESOURCES(Code)(Java Doc)
final public static String VFS_PATH_SYSTEM(Code)(Java Doc)
final public static String VFS_PATH_VIEWS(Code)(Java Doc)
final public static String VFS_PATH_WORKPLACE(Code)(Java Doc)

Methods inherited from org.opencms.workplace.CmsWorkplace
protected void addMessages(CmsMessages messages)(Code)(Java Doc)
protected void addMessages(String bundleName)(Code)(Java Doc)
protected Map allParamValues()(Code)(Java Doc)
public String allParamsAsHidden()(Code)(Java Doc)
public String allParamsAsRequest()(Code)(Java Doc)
public String bodyEnd()(Code)(Java Doc)
public String bodyStart(String className)(Code)(Java Doc)
public String bodyStart(String className, String parameters)(Code)(Java Doc)
public static String buildSelect(String parameters, List options, List values, int selected, boolean useLineFeed)(Code)(Java Doc)
public String buildSelect(String parameters, List options, List values, int selected)(Code)(Java Doc)
public String button(String href, String target, String image, String label, int type)(Code)(Java Doc)
public String button(String href, String target, String image, String label, int type, String imagePath)(Code)(Java Doc)
public String buttonBar(int segment)(Code)(Java Doc)
public String buttonBar(int segment, String attributes)(Code)(Java Doc)
public String buttonBarHorizontalLine()(Code)(Java Doc)
public String buttonBarLabel(String label)(Code)(Java Doc)
public String buttonBarLabel(String label, String className)(Code)(Java Doc)
public String buttonBarLine(int leftPixel, int rightPixel, String className)(Code)(Java Doc)
public String buttonBarLineSpacer(int pixel)(Code)(Java Doc)
public String buttonBarSeparator(int leftPixel, int rightPixel)(Code)(Java Doc)
public String buttonBarSpacer(int width)(Code)(Java Doc)
public String buttonBarStartTab(int leftPixel, int rightPixel)(Code)(Java Doc)
public void checkLock(String resource) throws CmsException(Code)(Java Doc)
public void checkLock(String resource, CmsLockType type) throws CmsException(Code)(Java Doc)
protected void checkRole() throws CmsRoleViolationException(Code)(Java Doc)
protected String decodeParamValue(String paramName, String paramValue)(Code)(Java Doc)
public void fillParamValues(CmsWorkplaceSettings settings, HttpServletRequest request)(Code)(Java Doc)
public void fillParamValues(HttpServletRequest request)(Code)(Java Doc)
public String getBroadcastMessageString()(Code)(Java Doc)
public CmsObject getCms()(Code)(Java Doc)
public String getEncoding()(Code)(Java Doc)
public String getExplorerFileListFullUri()(Code)(Java Doc)
public String getFrameSource(String frameName, String uri)(Code)(Java Doc)
public CmsJspActionElement getJsp()(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public CmsMacroResolver getMacroResolver()(Code)(Java Doc)
public CmsMessages getMessages()(Code)(Java Doc)
public List getMultiPartFileItems()(Code)(Java Doc)
protected Map getParameterMap()(Code)(Java Doc)
public static String getResourceUri(String resourceName)(Code)(Java Doc)
public String getResourceUri()(Code)(Java Doc)
public HttpSession getSession()(Code)(Java Doc)
public CmsWorkplaceSettings getSettings()(Code)(Java Doc)
public static String getSkinUri()(Code)(Java Doc)
public static String getStyleUri(CmsJspActionElement jsp)(Code)(Java Doc)
public static String getStyleUri(CmsJspActionElement jsp, String filename)(Code)(Java Doc)
public String getStyleUri(String filename)(Code)(Java Doc)
public static String getTemporaryFileName(String resourceName)(Code)(Java Doc)
public String htmlEnd()(Code)(Java Doc)
public String htmlStart(String title)(Code)(Java Doc)
protected void initMessages()(Code)(Java Doc)
public boolean initSettings(CmsWorkplaceSettings settings, HttpServletRequest request)(Code)(Java Doc)
protected void initTimeWarp(CmsUserSettings settings, HttpSession session)(Code)(Java Doc)
public static CmsWorkplaceSettings initUserSettings(CmsObject cms, CmsWorkplaceSettings settings, boolean update)(Code)(Java Doc)
protected void initWorkplaceMembers(CmsJspActionElement jsp)(Code)(Java Doc)
abstract protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request)(Code)(Java Doc)
public static synchronized CmsWorkplaceSettings initWorkplaceSettings(CmsObject cms, CmsWorkplaceSettings settings, boolean update)(Code)(Java Doc)
public boolean isForwarded()(Code)(Java Doc)
public boolean isHelpEnabled()(Code)(Java Doc)
public boolean isSubElement()(Code)(Java Doc)
public static boolean isTemporaryFile(CmsResource resource)(Code)(Java Doc)
public static boolean isTemporaryFileName(String resourceName)(Code)(Java Doc)
public String key(String keyName)(Code)(Java Doc)
public String key(String keyName, Object[] params)(Code)(Java Doc)
public String keyDefault(String keyName, String defaultValue)(Code)(Java Doc)
public String nullToEmpty(String value)(Code)(Java Doc)
public String pageBody(int segment, String className, String parameters)(Code)(Java Doc)
public String pageHtml(int segment, String title)(Code)(Java Doc)
public String pageHtmlStyle(int segment, String title, String stylesheet)(Code)(Java Doc)
protected Map paramValues()(Code)(Java Doc)
public String paramsAsHidden()(Code)(Java Doc)
public String paramsAsHidden(Collection excludes)(Code)(Java Doc)
public Map paramsAsParameterMap()(Code)(Java Doc)
public String paramsAsRequest()(Code)(Java Doc)
public String resolveMacros(String input)(Code)(Java Doc)
public void sendCmsRedirect(String location) throws IOException(Code)(Java Doc)
public void sendForward(String location, Map params) throws IOException, ServletException(Code)(Java Doc)
public void setForwarded(boolean forwarded)(Code)(Java Doc)
public String shortKey(String keyName)(Code)(Java Doc)
static void storeSettings(HttpSession session, CmsWorkplaceSettings settings)(Code)(Java Doc)
protected void switchToCurrentProject() throws CmsException(Code)(Java Doc)
protected CmsUUID switchToTempProject() throws CmsException(Code)(Java Doc)

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.