Java Doc for WebManager.java in  » Net » openfire » org » jivesoftware » util » 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 » Net » openfire » org.jivesoftware.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jivesoftware.util.WebBean
      org.jivesoftware.util.WebManager

WebManager
public class WebManager extends WebBean (Code)
A utility bean for Openfire admin console pages.



Constructor Summary
public  WebManager()
    

Method Summary
public static  voidcopy(URL src, File dst)
     Copies the contents at src to dst.
public  AuthTokengetAuthToken()
     Returns the auth token redirects to the login page if an auth token is not found.
public  Cache[]getCaches()
    
public  intgetCurrentPage()
    
public  GroupManagergetGroupManager()
    
public  WebManagergetManager()
    
public  MultiUserChatServergetMultiUserChatServer()
    
public  intgetPageProperty(String pageName, String property, int defaultValue)
    
public  PresenceManagergetPresenceManager()
    
public  PrivateStoragegetPrivateStore()
    
public  intgetRange()
    
public  intgetRefreshValue(String pageName, int defaultValue)
     Returns the number of seconds between each page refresh for the specified page for the current logged user.
public  RosterManagergetRosterManager()
    
public  intgetRowsPerPage(String pageName, int defaultValue)
     Returns the number of rows per page for the specified page for the current logged user. The rows per page value is stored as a user property.
public  XMPPServerInfogetServerInfo()
    
public  SessionManagergetSessionManager()
    
public  intgetStart()
    
public  UsergetUser()
     Returns the page user or null if one is not found.
public  UserManagergetUserManager()
    
public  XMPPServergetXMPPServer()
     Returns the XMPP server object -- can get many config items from here.
public  booleanisEmbedded()
     Returns true if the server is in embedded mode, false otherwise.
public  booleanisServerRunning()
    
public  booleanisSetupMode()
     Returns true if the Openfire container is in setup mode, false otherwise.
public  voidrestart()
     Restarts the server then sleeps for 3 seconds.
public  voidsetPageProperty(String pageName, String property, int newValue)
    
public  voidsetRange(int range)
    
public  voidsetRefreshValue(String pageName, int newValue)
     Sets the number of seconds between each page refresh for the specified page for the current logged user.
public  voidsetRowsPerPage(String pageName, int newValue)
     Sets the new number of rows per page for the specified page for the current logged user. The rows per page value is stored as a user property.
public  voidsetStart(int start)
    
protected  voidshowServerDown()
    
public  voidstop()
     Stops the server then sleeps for 3 seconds.
public  voidvalidateService()
    


Constructor Detail
WebManager
public WebManager()(Code)




Method Detail
copy
public static void copy(URL src, File dst) throws IOException(Code)
Copies the contents at src to dst.



getAuthToken
public AuthToken getAuthToken()(Code)
Returns the auth token redirects to the login page if an auth token is not found.



getCaches
public Cache[] getCaches()(Code)



getCurrentPage
public int getCurrentPage()(Code)



getGroupManager
public GroupManager getGroupManager()(Code)



getManager
public WebManager getManager()(Code)



getMultiUserChatServer
public MultiUserChatServer getMultiUserChatServer()(Code)



getPageProperty
public int getPageProperty(String pageName, String property, int defaultValue)(Code)



getPresenceManager
public PresenceManager getPresenceManager()(Code)



getPrivateStore
public PrivateStorage getPrivateStore()(Code)



getRange
public int getRange()(Code)



getRefreshValue
public int getRefreshValue(String pageName, int defaultValue)(Code)
Returns the number of seconds between each page refresh for the specified page for the current logged user. The value is stored as a user property. The same property is being used for different pages. The encoding format is the following "pageName1=value,pageName2=value".
Parameters:
  pageName - the name of the page to look up its stored value.
Parameters:
  defaultValue - the default value to return if no user value was found. the number of seconds between each page refresh for the specified page forthe current logged user.



getRosterManager
public RosterManager getRosterManager()(Code)



getRowsPerPage
public int getRowsPerPage(String pageName, int defaultValue)(Code)
Returns the number of rows per page for the specified page for the current logged user. The rows per page value is stored as a user property. The same property is being used for different pages. The encoding format is the following "pageName1=value,pageName2=value".
Parameters:
  pageName - the name of the page to look up its stored value.
Parameters:
  defaultValue - the default value to return if no user value was found. the number of rows per page for the specified page for the current logged user.



getServerInfo
public XMPPServerInfo getServerInfo()(Code)



getSessionManager
public SessionManager getSessionManager()(Code)



getStart
public int getStart()(Code)



getUser
public User getUser()(Code)
Returns the page user or null if one is not found.



getUserManager
public UserManager getUserManager()(Code)



getXMPPServer
public XMPPServer getXMPPServer()(Code)
Returns the XMPP server object -- can get many config items from here.



isEmbedded
public boolean isEmbedded()(Code)
Returns true if the server is in embedded mode, false otherwise.



isServerRunning
public boolean isServerRunning()(Code)



isSetupMode
public boolean isSetupMode()(Code)
Returns true if the Openfire container is in setup mode, false otherwise.



restart
public void restart()(Code)
Restarts the server then sleeps for 3 seconds.



setPageProperty
public void setPageProperty(String pageName, String property, int newValue)(Code)



setRange
public void setRange(int range)(Code)



setRefreshValue
public void setRefreshValue(String pageName, int newValue)(Code)
Sets the number of seconds between each page refresh for the specified page for the current logged user. The value is stored as a user property. The same property is being used for different pages. The encoding format is the following "pageName1=value,pageName2=value".
Parameters:
  pageName - the name of the page to stored its new value.
Parameters:
  newValue - the new number of seconds between each page refresh.



setRowsPerPage
public void setRowsPerPage(String pageName, int newValue)(Code)
Sets the new number of rows per page for the specified page for the current logged user. The rows per page value is stored as a user property. The same property is being used for different pages. The encoding format is the following "pageName1=value,pageName2=value".
Parameters:
  pageName - the name of the page to stored its new value.
Parameters:
  newValue - the new rows per page value.



setStart
public void setStart(int start)(Code)



showServerDown
protected void showServerDown()(Code)



stop
public void stop()(Code)
Stops the server then sleeps for 3 seconds.



validateService
public void validateService()(Code)



Fields inherited from org.jivesoftware.util.WebBean
public ServletContext application(Code)(Java Doc)
public JspWriter out(Code)(Java Doc)
public HttpServletRequest request(Code)(Java Doc)
public HttpServletResponse response(Code)(Java Doc)
public HttpSession session(Code)(Java Doc)

Methods inherited from org.jivesoftware.util.WebBean
public void init(HttpServletRequest request, HttpServletResponse response, HttpSession session, ServletContext app, JspWriter out)(Code)(Java Doc)
public void init(HttpServletRequest request, HttpServletResponse response, HttpSession session, ServletContext app)(Code)(Java Doc)
public void init(PageContext pageContext)(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.