org.nuxeo.ecm.admin
Class SystemInfoManager
java.lang.Object
org.nuxeo.ecm.admin.SystemInfoManager
- All Implemented Interfaces:
- Serializable
@Name(value="systemInfo")
@Scope(value=CONVERSATION)
public class SystemInfoManager
- extends Object
- implements Serializable
Seam Bean to export System info.
- Author:
- Thierry Delprat
- See Also:
- Serialized Form
SystemInfoManager
public SystemInfoManager()
getHostInfo
public String getHostInfo()
getUptime
public String getUptime()
getNuxeoServerInfo
@Factory(value="nuxeoServerInfo",
scope=EVENT)
public SimplifiedServerInfo getNuxeoServerInfo()
isMultiRepo
public boolean isMultiRepo()
throws Exception
- Throws:
Exception
listAvailableRepositories
public List<Repository> listAvailableRepositories()
throws Exception
- Throws:
Exception
getCurrentRepositoryName
public String getCurrentRepositoryName()
throws Exception
- Throws:
Exception
setCurrentRepositoryName
public void setCurrentRepositoryName(String name)
throws Exception
- Throws:
Exception
getOpenSessionNumber
public int getOpenSessionNumber()
startRepoStats
public void startRepoStats()
throws Exception
- Throws:
Exception
checkReady
public void checkReady()
isStatInfoInProgress
public boolean isStatInfoInProgress()
isStatInfoAvailable
public boolean isStatInfoAvailable()
getStatInfo
@Factory(value="repoStatResult",
scope=EVENT)
public RepoStatInfo getStatInfo()
getRepoUsage
public String getRepoUsage()
throws Exception
- Throws:
Exception
getTimeRanges
public List<SelectItem> getTimeRanges()
getSelectedTimeRange
public String getSelectedTimeRange()
setSelectedTimeRange
public void setSelectedTimeRange(String dateRange)
getCurrentAuditPage
public int getCurrentAuditPage()
nextPage
public void nextPage()
prevPage
public void prevPage()
getLoginInfo
@Factory(value="userLoginEvents",
scope=EVENT)
public List<LogEntry> getLoginInfo()
throws Exception
- Throws:
Exception
restartServer
public String restartServer()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.