|
Openfire 3.6.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.util.WebBean org.jivesoftware.util.WebManager
public class WebManager
A utility bean for Openfire admin console pages.
Field Summary |
---|
Fields inherited from class org.jivesoftware.util.WebBean |
---|
application, out, request, response, session |
Constructor Summary | |
---|---|
WebManager()
|
Method Summary | |
---|---|
static void |
copy(URL src,
File dst)
Copies the contents at src to dst . |
AuthToken |
getAuthToken()
Returns the auth token redirects to the login page if an auth token is not found. |
Cache[] |
getCaches()
|
int |
getCurrentPage()
|
GroupManager |
getGroupManager()
|
LockOutManager |
getLockOutManager()
|
WebManager |
getManager()
|
MultiUserChatManager |
getMultiUserChatManager()
|
int |
getPageProperty(String pageName,
String property,
int defaultValue)
|
PresenceManager |
getPresenceManager()
|
PrivateStorage |
getPrivateStore()
|
int |
getRange()
|
int |
getRefreshValue(String pageName,
int defaultValue)
Returns the number of seconds between each page refresh for the specified page for the current logged user. |
RosterManager |
getRosterManager()
|
int |
getRowsPerPage(String pageName,
int defaultValue)
Returns the number of rows per page for the specified page for the current logged user. |
SecurityAuditManager |
getSecurityAuditManager()
|
XMPPServerInfo |
getServerInfo()
|
SessionManager |
getSessionManager()
|
int |
getStart()
|
User |
getUser()
Returns the page user or null if one is not found. |
UserManager |
getUserManager()
|
XMPPServer |
getXMPPServer()
Returns the XMPP server object -- can get many config items from here. |
boolean |
isEmbedded()
Returns true if the server is in embedded mode, false otherwise. |
boolean |
isServerRunning()
|
boolean |
isSetupMode()
Returns true if the Openfire container is in setup mode, false otherwise. |
void |
logEvent(String summary,
String details)
Logs a security event as the currently logged in user. |
void |
restart()
Restarts the server then sleeps for 3 seconds. |
void |
setPageProperty(String pageName,
String property,
int newValue)
|
void |
setRange(int range)
|
void |
setRefreshValue(String pageName,
int newValue)
Sets the number of seconds between each page refresh for the specified page for the current logged user. |
void |
setRowsPerPage(String pageName,
int newValue)
Sets the new number of rows per page for the specified page for the current logged user. |
void |
setStart(int start)
|
protected void |
showServerDown()
|
void |
stop()
Stops the server then sleeps for 3 seconds. |
void |
validateService()
|
Methods inherited from class org.jivesoftware.util.WebBean |
---|
init, init, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebManager()
Method Detail |
---|
public AuthToken getAuthToken()
public boolean isSetupMode()
public XMPPServer getXMPPServer()
public UserManager getUserManager()
public GroupManager getGroupManager()
public LockOutManager getLockOutManager()
public SecurityAuditManager getSecurityAuditManager()
public RosterManager getRosterManager()
public PrivateStorage getPrivateStore()
public PresenceManager getPresenceManager()
public SessionManager getSessionManager()
public MultiUserChatManager getMultiUserChatManager()
public XMPPServerInfo getServerInfo()
public void logEvent(String summary, String details)
summary
- Summary of event.details
- Details of event, can be null if no details available.public User getUser()
public boolean isEmbedded()
public void restart()
public void stop()
public WebManager getManager()
public void validateService()
public boolean isServerRunning()
public void setStart(int start)
public int getStart()
public void setRange(int range)
public int getRange()
public int getCurrentPage()
protected void showServerDown()
public static void copy(URL src, File dst) throws IOException
src
to dst
.
IOException
public int getRowsPerPage(String pageName, int defaultValue)
pageName
- the name of the page to look up its stored value.defaultValue
- the default value to return if no user value was found.
public void setRowsPerPage(String pageName, int newValue)
pageName
- the name of the page to stored its new value.newValue
- the new rows per page value.public int getRefreshValue(String pageName, int defaultValue)
pageName
- the name of the page to look up its stored value.defaultValue
- the default value to return if no user value was found.
public void setRefreshValue(String pageName, int newValue)
pageName
- the name of the page to stored its new value.newValue
- the new number of seconds between each page refresh.public int getPageProperty(String pageName, String property, int defaultValue)
public void setPageProperty(String pageName, String property, int newValue)
public Cache[] getCaches()
|
Openfire 3.6.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |